GNOME Bugzilla – Bug 791019
jhbuild : Error during phase build of gstreamer: Error running ninja
Last modified: 2018-11-03 16:13:12 UTC
JhBuild stops twice with those lines of errors. ninja [103/460] Generating Gst-1.0.gir with a custom command. /usr/include/bits/mathcalls-helper-functions.h:21: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __fpclassifyf128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__))' at '__value' /usr/include/bits/mathcalls-helper-functions.h:25: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __signbitf128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__))' at '__value' /usr/include/bits/mathcalls-helper-functions.h:30: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __isinff128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));' at '__value' /usr/include/bits/mathcalls-helper-functions.h:33: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __finitef128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));' at '__value' /usr/include/bits/mathcalls-helper-functions.h:36: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __isnanf128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));' at '__value' /usr/include/bits/mathcalls-helper-functions.h:39: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __iseqsigf128 (_Float128 __x, _Float128 __y) __attribute__ ((__nothrow__ , __leaf__));' at '__x' /usr/include/bits/mathcalls-helper-functions.h:42: syntax error, unexpected identifier, expecting ')' or ',' in 'extern int __issignalingf128 (_Float128 __value) __attribute__ ((__nothrow__ , __leaf__))' at '__value' g-ir-scanner: link: cc -o /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect5teaozhm/Gst-1.0 /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect5teaozhm/Gst-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -lgstreamer-1.0 -lunwind -lgobject-2.0 -lm -ldl -lgmodule-2.0 -lglib-2.0 -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/jhbuild/install/lib -Wl,-rpath,/home/$$$/jhbuild/install/lib -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/jhbuild/install/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -L/home/$$$/jhbuild/install/lib [132/460] Generating symbol file 'libs/gst/controller/gstcontroller-1.0@sha/libs/gst/controller/libgstcontroller-1.0.so.0.1300.0.sy[134/460] Generating symbol file 'libs/gst/controller/gstcontroller-1.0@sha/libs/gst/controller/libgstcontroller-1.0.so.0.1300.0.sy[138/460] Generating GstBase-1.0.gir with a custom command. FAILED: libs/gst/base/GstBase-1.0.gir /home/$$$/jhbuild/install/bin/g-ir-scanner -I/home/$$$/jhbuild/install/include/gobject-introspection-1.0 -I/home/$$$/jhbuild/install/include/glib-2.0 -I/home/$$$/jhbuild/install/lib/glib-2.0/include -pthread --no-libtool --namespace=GstBase --nsversion=1.0 --warn-all --output libs/gst/base/GstBase-1.0.gir '--add-init-section=extern void gst_init(gint*,gchar**);g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);g_setenv("GST_REGISTRY_1.0", "/no/way/this/exists.reg", TRUE);g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);g_setenv("GST_PLUGIN_SYSTEM_PATH_1_0", "", TRUE);gst_init(NULL,NULL);' --c-include=gst/base/base.h -I/home/$$$/DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/libs/gst/base -I/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -I./. -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. -I./libs -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/libs -I./. -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. -I./. -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. --filelist=/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base/gstbase-1.0@sha/GstBase_1.0_gir_filelist --include=GLib-2.0 --include=GObject-2.0 --include=GModule-2.0 --include=Gst-1.0 --symbol-prefix=gst --identifier-prefix=Gst --pkg-export=gstreamer-base-1.0 --cflags-begin -fvisibility=hidden -I./. -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. -I./libs -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/libs -I./gst/parse -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/gst/parse -I/home/$$$/jhbuild/install/include/glib-2.0 -I/home/$$$/jhbuild/install/lib/glib-2.0/include -pthread --cflags-end -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -L/home/$$$/jhbuild/install/lib --extra-library=unwind --extra-library=gobject-2.0 --extra-library=m --extra-library=dl -L/home/$$$/.cache/jhbuild/build/gstreamer/gst --extra-library=gstreamer-1.0 --extra-library=gmodule-2.0 --extra-library=glib-2.0 -pthread --add-include-path=/home/$$$/.cache/jhbuild/build/gstreamer/gst -I./. -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. -I./libs -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/libs -I./gst -I../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/gst --add-include-path=./. --add-include-path=../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/. --add-include-path=./libs --add-include-path=../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/libs --add-include-path=./gst --add-include-path=../../../../DONNEES/APPLICATIONS/JhBuild/checkout/gstreamer/gst -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -L/home/$$$/.cache/jhbuild/build/gstreamer/gst --library gstbase-1.0 g-ir-scanner: link: cc -o /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1.0 /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -lgstbase-1.0 -lunwind -lgobject-2.0 -lm -ldl -lgstreamer-1.0 -lgmodule-2.0 -lglib-2.0 -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -L/home/$$$/jhbuild/install/lib -Wl,-rpath,/home/$$$/jhbuild/install/lib -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/jhbuild/install/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -L/home/$$$/jhbuild/install/lib /home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base/libgstbase-1.0.so : référence indéfinie vers « gst_buffer_list_calculate_size » collect2: error: ld a retourné le statut de sortie 1 linking of temporary binary failed: Command '['cc', '-o', '/home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1.0', '/home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1.0.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-lgstbase-1.0', '-lunwind', '-lgobject-2.0', '-lm', '-ldl', '-lgstreamer-1.0', '-lgmodule-2.0', '-lglib-2.0', '-L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', '-L/home/$$$/jhbuild/install/lib', '-Wl,-rpath,/home/$$$/jhbuild/install/lib', '-L/home/$$$/.cache/jhbuild/build/gstreamer/gst', '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst', '-L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', '-L/home/$$$/.cache/jhbuild/build/gstreamer/gst', '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst', '-L/home/$$$/jhbuild/install/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-L/home/$$$/jhbuild/install/lib']' returned non-zero exit status 1. [139/460] Generating GstController-1.0.gir with a custom command. g-ir-scanner: link: cc -o /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect4a4yq_b1/GstController-1.0 /home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect4a4yq_b1/GstController-1.0.o -L. -Wl,-rpath,. -Wl,--no-as-needed -lgstcontroller-1.0 -lunwind -lgobject-2.0 -lm -ldl -lgstreamer-1.0 -lgmodule-2.0 -lglib-2.0 -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/controller -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/controller -L/home/$$$/jhbuild/install/lib -Wl,-rpath,/home/$$$/jhbuild/install/lib -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/controller -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/controller -L/home/$$$/.cache/jhbuild/build/gstreamer/gst -Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst -L/home/$$$/jhbuild/install/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -L/home/$$$/jhbuild/install/lib [140/460] Compiling C object 'libs/gst/check/gstcheck-1.0@sha/gstcheck.c.o'. ninja: build stopped: subcommand failed. *** Error during phase build of gstreamer: ########## Error running ninja *** [18/86]
> JhBuild stops twice with those lines of errors. > /usr/include/bits/mathcalls-helper-functions.h:21: syntax error, unexpected > identifier, expecting ')' or ',' in 'extern int __fpclassifyf128 (_Float128 > __value) __attribute__ ((__nothrow__ , __leaf__))' at '__value' This syntax error thing doesn't look like it's our fault, more like a bug in g-ir-scanner. > FAILED: libs/gst/base/GstBase-1.0.gir > /home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base/libgstbase-1.0.so : > référence indéfinie vers « gst_buffer_list_calculate_size » > collect2: error: ld a retourné le statut de sortie 1 > linking of temporary binary failed: Command '['cc', '-o', > '/home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1. > 0', > '/home/$$$/.cache/jhbuild/build/gstreamer/tmp-introspect9p723ycg/GstBase-1.0. > o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-lgstbase-1.0', > '-lunwind', '-lgobject-2.0', '-lm', '-ldl', '-lgstreamer-1.0', > '-lgmodule-2.0', '-lglib-2.0', > '-L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', > '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', > '-L/home/$$$/jhbuild/install/lib', > '-Wl,-rpath,/home/$$$/jhbuild/install/lib', > '-L/home/$$$/.cache/jhbuild/build/gstreamer/gst', > '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst', > '-L/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', > '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/libs/gst/base', > '-L/home/$$$/.cache/jhbuild/build/gstreamer/gst', > '-Wl,-rpath,/home/$$$/.cache/jhbuild/build/gstreamer/gst', > '-L/home/$$$/jhbuild/install/lib', '-lgio-2.0', '-lgobject-2.0', > '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', > '-L/home/$$$/jhbuild/install/lib']' returned non-zero exit status 1. It seems to fail to pick up the in-tree built libgstreamer-1.0.so here (with the new symbol) and instead probaly picks up a system-installed lib. Not sure where that bug is, don't think it's in our scripts, probably more likely in Meson or g-ir-scanner.
What distro is this with? What meson version?
https://github.com/mesonbuild/meson/issues/2182 might be related, although here we have also -Wl,-rpath in the linker flags. Wonder if it gets passed through. Also, there's an rpath vs. runpath issue on some distros iirc.
Fedora 27 and meson 0.43.0 (meson were installed by jhbuild too without issues).
g-ir-scanner's developpers should be contacted ?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/13.