Source: pitivi
Version: 0.999-1.1
Severity: serious

Hello, looks like your software FTBFS with python3.8.
The reason is that Python functions are used in c code but the library is not 
linked to it
grep PyList_Type . -R
./pitivi/coptimizations/renderer.c:  if (!PyArg_ParseTuple (args, "O!ii", 
&PyList_Type, &samples, &width, &height))


can you please add the link?
this patch does something similar, but we should change it to autodetect the 
current python library

http://launchpadlibrarian.net/465718636/pitivi_0.999-1.1_0.999-1.1ubuntu1.diff.gz

thanks

Gianfranco


[11/16] cc  -o renderer.so 'renderer@sha/pitivi_coptimizations_renderer.c.o' 
-Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group 
-Wl,-soname,renderer.so -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wl,-Bsymbolic-functions -Wl,-z,relro 
/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libcairo.so 
-Wl,--end-group
FAILED: renderer.so 
cc  -o renderer.so 'renderer@sha/pitivi_coptimizations_renderer.c.o' 
-Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group 
-Wl,-soname,renderer.so -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
-Wl,-Bsymbolic-functions -Wl,-z,relro 
/usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so 
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so 
/usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libcairo.so 
-Wl,--end-group
/usr/bin/ld: renderer@sha/pitivi_coptimizations_renderer.c.o: in function 
`py_fill_surface':
./deb-build/../pitivi/coptimizations/renderer.c:30: undefined reference to 
`PyList_Type'
/usr/bin/ld: ./deb-build/../pitivi/coptimizations/renderer.c:30: undefined 
reference to `PyArg_ParseTuple'
/usr/bin/ld: ./deb-build/../pitivi/coptimizations/renderer.c:33: undefined 
reference to `PyList_Size'
/usr/bin/ld: ./deb-build/../pitivi/coptimizations/renderer.c:50: undefined 
reference to `PyList_GetItem'
/usr/bin/ld: ./deb-build/../pitivi/coptimizations/renderer.c:51: undefined 
reference to `PyFloat_AsDouble'
/usr/bin/ld: ./deb-build/../pitivi/coptimizations/renderer.c:54: undefined 
reference to `PyErr_Occurred'
/usr/bin/ld: renderer@sha/pitivi_coptimizations_renderer.c.o: in function 
`_Py_DECREF':
/usr/include/python3.8/object.h:478: undefined reference to `_Py_Dealloc'
/usr/bin/ld: /usr/include/python3.8/object.h:478: undefined reference to 
`_Py_Dealloc'
/usr/bin/ld: renderer@sha/pitivi_coptimizations_renderer.c.o: in function 
`import_cairo':
/usr/include/pycairo/py3cairo.h:264: undefined reference to `PyCapsule_Import'
/usr/bin/ld: renderer@sha/pitivi_coptimizations_renderer.c.o: in function 
`PyInit_renderer':
./deb-build/../pitivi/coptimizations/renderer.c:134: undefined reference to 
`PyModule_Create2'
collect2: error: ld returned 1 exit status
[12/16] /usr/bin/intltool-merge --xml-style /<<PKGBUILDDIR>>/po 
../data/org.pitivi.Pitivi.appdata.xml.in data/org.pitivi.Pitivi.appdata.xml
Merging translations into data/org.pitivi.Pitivi.appdata.xml.
CREATED data/org.pitivi.Pitivi.appdata.xml
[13/16] /usr/bin/meson --internal symbolextractor 
subprojects/gst-transcoder/libgsttranscoder-1.0.so.0 
'subprojects/gst-transcoder/7016d90@@gsttranscoder-1.0@sha/libgsttranscoder-1.0.so.0.symbols'
 
[14/16] /usr/bin/g-ir-scanner -pthread -I/usr/include/gobject-introspection-1.0 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
--no-libtool --namespace=GstTranscoder --nsversion=1.0 --warn-all --output 
subprojects/gst-transcoder/GstTranscoder-1.0.gir '--add-init-section=extern 
gboolean gst_init(gint *argc, gchar **argv); gst_init(NULL,NULL);' 
-I/<<PKGBUILDDIR>>/subprojects/gst-transcoder 
-I/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder 
--filelist=/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder/7016d90@@gsttranscoder-1.0@sha/GstTranscoder_1.0_gir_filelist
 --include=GObject-2.0 --include=Gst-1.0 --include=GstPbutils-1.0 
--symbol-prefix=gst_ --identifier-prefix=Gst --cflags-begin 
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
-I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -D_FORTIFY_SOURCE=2 
--cflags-end --add-include-path=/usr/share/gir-1.0 --library gsttranscoder-1.0 
-L/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder 
--extra-library=glib-2.0 --extra-library=gobject-2.0 
--extra-library=gstreamer-1.0 --extra-library=gstpbutils-1.0 
--extra-library=gstaudio-1.0 --extra-library=gstvideo-1.0 
--extra-library=gstbase-1.0 --sources-top-dirs 
/<<PKGBUILDDIR>>/subprojects/gst-transcoder --sources-top-dirs 
/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder
g-ir-scanner: link: x86_64-linux-gnu-gcc -pthread -o 
/<<PKGBUILDDIR>>/deb-build/tmp-introspectwznwxfiq/GstTranscoder-1.0 -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security 
/<<PKGBUILDDIR>>/deb-build/tmp-introspectwznwxfiq/GstTranscoder-1.0.o -L. 
-Wl,-rpath,. -Wl,--no-as-needed 
-L/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder 
-Wl,-rpath,/<<PKGBUILDDIR>>/deb-build/subprojects/gst-transcoder 
-lgsttranscoder-1.0 -lglib-2.0 -lgobject-2.0 -lgstreamer-1.0 -lgstpbutils-1.0 
-lgstaudio-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgio-2.0 -lgobject-2.0 
-Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-Bsymbolic-functions 
-Wl,-z,relro

Reply via email to