FAILED: GstTranscoder-1.0.gir 'g-ir-scanner' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.h' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.c' '-pthread' '-I/usr/include/gobject-introspection-1.0' '-I/usr/lib64/libffi-3.2.1/include' '-I/usr/include/glib-2.0' '-I/usr/lib64/glib-2.0/include' '--no-libtool' '--namespace=GstTranscoder' '--nsversion=1.0' '--warn-all' '--output' 'GstTranscoder-1.0.gir' '--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); gst_init(NULL,NULL);' '--include=GObject-2.0' '--include=Gst-1.0' '--include=GstPbutils-1.0' '--symbol-prefix=gst_' '--identifier-prefix=Gst' '--add-include-path=/usr/share/gir-1.0' '-L/var/tmp/portage/media-plugins/gst-transcoder-1.8.1/work/gst-transcoder-1.8.1/build/.' '--library' 'gsttranscoder-1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tmp-introspect0Wc69s/var/tmp/portage/media-plugins/gst-transcoder-1.8.1/work/gst-transcoder-1.8.1/build/tmp-introspect0Wc69s/GstTranscoder-1.0.o: undefined reference to symbol 'gst_init' /usr/lib64/libgstreamer-1.0.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Traceback (most recent call last): $ cat emerge-info.txt ----------------------------------------------------------------- This is an unstable amd64 chroot image (named amd64-desktop-unstable_20160916-100730) at a hardened host acting as a tinderbox. ----------------------------------------------------------------- USE flags ... ... in make.conf: USE=" pax_kernel xtpax -cdinstall -oci8 -bindist alisp apache -apache2 avformat -bugzilla cairo cdb cddb -consolekit dbus dec_av2 -designer dnssec dvb dvd ffmpeg ftp -git -glamor gnutls graphtft gstreamer gtk2 gudev -gzip ipv6 -jadetex javaxml ldap -libvirtd mod mpi mta multitarget ncurses obj ois openexr opengl -pdo pkcs11 policykit pyqt4 qml sdl -smartcard smpeg -sql sqlite3 ssh-askpass ssl sslv3 system-jpeg system-libevent system-sqlite theora timidity tk -tls uml utils uxa vaapi vala vlc vorbis xa -xkb xmlreader xslt" ... in /etc/portage/package.use/*: mail-mta/ssmtp ssl mta net-misc/wget ssl app-crypt/pinentry -qt4 app-editors/emacs -dbus -svg -ssl -gtk -gtk3 app-text/xmlto -latex dev-libs/boehm-gc threads dev-libs/libpcre pcre16 dev-qt/qtgui egl eglfs net-nds/openldap -sasl dev-util/cmake -qt4 -qt5 dev-vcs/git -perl gnome-base/librsvg -tools media-libs/mesa -vaapi sys-apps/kmod tools <=net-misc/openssh-7.3_p1-r2 -hpn net-misc/iputils -caps -filecaps entries in /etc/portage/package.unmask/*: media-video/ffmpeg sys-devel/gcc:6.2.0 ----------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.2.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python2.7 (fallback) ----------------------------------------------------------------- Portage 2.3.0 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-6.2.0, glibc-2.23-r2, 4.7.4-hardened x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.7.4-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3 KiB Mem: 65285480 total, 21718724 free KiB Swap: 67108860 total, 67108860 free Timestamp of repository gentoo: Sat, 17 Sep 2016 22:27:14 +0000 sh bash 4.3_p46 ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1 app-shells/bash: 4.3_p46::gentoo dev-lang/perl: 5.24.0-r1::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.6.2::gentoo dev-util/pkgconfig: 0.29.1::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.21.7::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.26.1::gentoo sys-devel/gcc: 6.2.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.23-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: 1 local location: /usr/local/portage masters: gentoo priority: 2 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/distfiles" EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi alisp alsa amd64 apache avformat berkdb bluetooth branding bzip2 cairo cdb cdda cddb cdr cli cracklib crypt cups cxx dbus dec_av2 dnssec dri dts dvb dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran ftp gdbm gif gnutls gpm graphtft gstreamer gtk gtk2 gudev iconv ipv6 javaxml jpeg lcms ldap libnotify mad mmx mmxext mng mod modules mp3 mp4 mpeg mpi mta multilib multitarget ncurses nls nptl obj ogg ois openexr opengl openmp pam pango pax_kernel pcre pdf pkcs11 png policykit ppds pyqt4 qml qt3support qt4 readline sdl seccomp session smpeg spell sqlite3 sse sse2 ssh-askpass ssl sslv3 startup-notification svg system-jpeg system-libevent system-sqlite tcpd theora tiff timidity tk truetype udev udisks uml unicode upower usb utils uxa vaapi vala vlc vorbis wxwidgets x264 xa xattr xcb xml xmlreader xslt xtpax xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="am" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 446316 [details] emerge-history.txt
Created attachment 446318 [details] environment
Created attachment 446320 [details] media-plugins:gst-transcoder-1.8.1:20160918-000029.log
I have no problem merging this build with gcc-6.2.0.
it emerges at 1 of 10 images and failed at 8 others (7 x gcc-6.2.0 and 1x gcc-5.4) - so indeed not a gcc-6 only issue :/
Introspection building should be fixed in 1.8.2. It was missing some dependencies to pull gstreamer introspection. As for parallel build failures, if there is any, that would make me sad because this is another "hype" build system and this is going to suck to debug it.
Created attachment 446622 [details] emerge --info /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/build.log ################################################################## [32;01m * [39;49;00mPackage: media-plugins/gst-transcoder-1.8.2 [32;01m * [39;49;00mRepository: gentoo [32;01m * [39;49;00mMaintainer: gstreamer@gentoo.org [32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU [32;01m * [39;49;00mFEATURES: preserve-libs sandbox selinux sesandbox userpriv >>> Unpacking source... >>> Unpacking gst-transcoder-1.8.2.tar.gz to /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work >>> Source unpacked in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work >>> Preparing source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... [1mThe Meson build system[0m Version: 0.34.0 Source dir: [1m/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2[0m Build dir: [1m/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2/mesonbuild[0m Build type: [1mnative build[0m Build machine cpu family: [1mx86_64[0m Build machine cpu: [1mx86_64[0m Project name: [1mgst-renderer[0m Native c compiler: [1mcc[0m (gcc 5.4.0) Appending CFLAGS from environment: '-Os -pipe' Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed' Checking for function "[1mgetrusage[0m": [1;32mYES[0m Found pkg-config: [1m/usr/bin/pkg-config[0m (0.29.1) Native dependency [1mgobject-2.0[0m found: [1;32mYES[0m 2.48.2 Native dependency [1mglib-2.0[0m found: [1;32mYES[0m 2.48.2 Native dependency [1mgstreamer-1.0[0m found: [1;32mYES[0m 1.8.3 Native dependency [1mgstreamer-pbutils-1.0[0m found: [1;32mYES[0m 1.8.3 Build targets in project: [1m5[0m >>> Source configured. >>> Compiling source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/environment: line 1906: cd: build: No such file or directory >>> Source compiled. >>> Test phase [not enabled]: media-plugins/gst-transcoder-1.8.2 >>> Install gst-transcoder-1.8.2 into /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/ category media-plugins make -j4 DESTDIR=/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/ install cd /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2/mesonbuild && DESTDIR="/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/" ninja install [0/12] Compiling c object 'gsttranscoder-1.0@sha/gst-libs_gst_transcoding_transcoder_gsttranscoder.c.o'[K [0/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gsttranscodebin.c.o'[K [0/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gsturitranscodebin.c.o'[K [0/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gst-cpu-throttling-clock.c.o'[K [0/12] Compiling c object 'gst-transcoder-1.0@exe/tools_gst-transcoder.c.o'[K [1/12] Compiling c object 'gst-transcoder-1.0@exe/tools_gst-transcoder.c.o'[K [2/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gst-cpu-throttling-clock.c.o'[K [3/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gsturitranscodebin.c.o'[K [4/12] Compiling c object 'gsttranscoderplugin@sha/gst_transcode_gsttranscodebin.c.o'[K [4/12] Linking target libgsttranscoderplugin.so[K [5/12] Linking target libgsttranscoderplugin.so[K [6/12] Compiling c object 'gsttranscoder-1.0@sha/gst-libs_gst_transcoding_transcoder_gsttranscoder.c.o'[K [6/12] Linking target libgsttranscoder-1.0.so.0[K [7/12] Linking target libgsttranscoder-1.0.so.0[K [7/12] 'Generating GstTranscoder-1.0.gir with a custom command.'[K [7/12] Generating symbol file 'gsttranscoder-1.0@sha/libgsttranscoder-1.0.so.0.symbols'.[K [8/12] Generating symbol file 'gsttranscoder-1.0@sha/libgsttranscoder-1.0.so.0.symbols'.[K [8/12] Linking target gst-transcoder-1.0[K [9/12] Linking target gst-transcoder-1.0[K [10/12] 'Generating GstTranscoder-1.0.gir with a custom command.'[K FAILED: GstTranscoder-1.0.gir 'g-ir-scanner' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.h' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.c' '-pthread' '-I/usr/include/gobject-introspection-1.0' '-I/usr/lib64/libffi-3.2.1/include' '-I/usr/include/glib-2.0' '-I/usr/lib64/glib-2.0/include' '--no-libtool' '--namespace=GstTranscoder' '--nsversion=1.0' '--warn-all' '--output' 'GstTranscoder-1.0.gir' '--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); gst_init(NULL,NULL);' '--include=GObject-2.0' '--include=Gst-1.0' '--include=GstPbutils-1.0' '--symbol-prefix=gst_' '--identifier-prefix=Gst' '--add-include-path=/usr/share/gir-1.0' '-L/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2/mesonbuild/.' '--library' 'gsttranscoder-1.0' /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: tmp-introspectd3XbhU/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2/mesonbuild/tmp-introspectd3XbhU/GstTranscoder-1.0.o: undefined reference to symbol 'gst_init' /usr/lib64/libgstreamer-1.0.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 66, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 544, in scanner_main shlibs = create_binary(transformer, options, args) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 419, in create_binary gdump_parser.get_error_quark_functions()) File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 328, in compile_introspection_binary return dc.run() File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 174, in run self._link(bin_path, introspection_obj) File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 296, in _link raise LinkError(e) distutils.errors.LinkError: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 ninja: build stopped: subcommand failed. make: *** [Makefile:5: install] Error 1 [31;01m*[0m ERROR: media-plugins/gst-transcoder-1.8.2::gentoo failed (install phase): [31;01m*[0m emake failed [31;01m*[0m [31;01m*[0m If you need support, post the output of `emerge --info '=media-plugins/gst-transcoder-1.8.2::gentoo'`, [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-plugins/gst-transcoder-1.8.2::gentoo'`. [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/build.log'. [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/environment'. [31;01m*[0m Working directory: '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2' [31;01m*[0m S: '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2'
(In reply to Denis Descheneaux from comment #7) > Created attachment 446622 [details] > emerge --info > > /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/build.log > ################################################################## > > [32;01m * [39;49;00mPackage: media-plugins/gst-transcoder-1.8.2 > [32;01m * [39;49;00mRepository: gentoo > [32;01m * [39;49;00mMaintainer: gstreamer@gentoo.org > [32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux > userland_GNU > [32;01m * [39;49;00mFEATURES: preserve-libs sandbox selinux sesandbox > userpriv > >>> Unpacking source... > >>> Unpacking gst-transcoder-1.8.2.tar.gz to /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work > >>> Source unpacked in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work > >>> Preparing source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... > >>> Source prepared. > >>> Configuring source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... > [1mThe Meson build system[0m > Version: 0.34.0 > Source dir: > [1m/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1. > 8.2[0m > Build dir: > [1m/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1. > 8.2/mesonbuild[0m > Build type: [1mnative build[0m > Build machine cpu family: [1mx86_64[0m > Build machine cpu: [1mx86_64[0m > Project name: [1mgst-renderer[0m > Native c compiler: [1mcc[0m (gcc 5.4.0) > Appending CFLAGS from environment: '-Os -pipe' > Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--as-needed' > Checking for function "[1mgetrusage[0m": [1;32mYES[0m > Found pkg-config: [1m/usr/bin/pkg-config[0m (0.29.1) > Native dependency [1mgobject-2.0[0m found: [1;32mYES[0m 2.48.2 > Native dependency [1mglib-2.0[0m found: [1;32mYES[0m 2.48.2 > Native dependency [1mgstreamer-1.0[0m found: [1;32mYES[0m 1.8.3 > Native dependency [1mgstreamer-pbutils-1.0[0m found: [1;32mYES[0m 1.8.3 > Build targets in project: [1m5[0m > >>> Source configured. > >>> Compiling source in /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8.2 ... > /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/environment: line > 1906: cd: build: No such file or directory > >>> Source compiled. > >>> Test phase [not enabled]: media-plugins/gst-transcoder-1.8.2 > > >>> Install gst-transcoder-1.8.2 into /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/ category media-plugins > make -j4 DESTDIR=/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/ > install > cd > /var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8. > 2/mesonbuild && > DESTDIR="/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/image/" ninja > install > > [0/12] Compiling c object > 'gsttranscoder-1.0@sha/gst-libs_gst_transcoding_transcoder_gsttranscoder.c. > o'[K > [0/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gsttranscodebin.c.o'[K > [0/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gsturitranscodebin.c.o'[K > [0/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gst-cpu-throttling-clock.c.o'[K > [0/12] Compiling c object 'gst-transcoder-1.0@exe/tools_gst-transcoder.c.o'[K > [1/12] Compiling c object 'gst-transcoder-1.0@exe/tools_gst-transcoder.c.o'[K > [2/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gst-cpu-throttling-clock.c.o'[K > [3/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gsturitranscodebin.c.o'[K > [4/12] Compiling c object > 'gsttranscoderplugin@sha/gst_transcode_gsttranscodebin.c.o'[K > [4/12] Linking target libgsttranscoderplugin.so[K > [5/12] Linking target libgsttranscoderplugin.so[K > [6/12] Compiling c object > 'gsttranscoder-1.0@sha/gst-libs_gst_transcoding_transcoder_gsttranscoder.c. > o'[K > [6/12] Linking target libgsttranscoder-1.0.so.0[K > [7/12] Linking target libgsttranscoder-1.0.so.0[K > [7/12] 'Generating GstTranscoder-1.0.gir with a custom command.'[K > [7/12] Generating symbol file > 'gsttranscoder-1.0@sha/libgsttranscoder-1.0.so.0.symbols'.[K > [8/12] Generating symbol file > 'gsttranscoder-1.0@sha/libgsttranscoder-1.0.so.0.symbols'.[K > [8/12] Linking target gst-transcoder-1.0[K > [9/12] Linking target gst-transcoder-1.0[K > [10/12] 'Generating GstTranscoder-1.0.gir with a custom command.'[K > FAILED: GstTranscoder-1.0.gir > 'g-ir-scanner' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.h' > '../gst-libs/gst/transcoding/transcoder/gsttranscoder.c' '-pthread' > '-I/usr/include/gobject-introspection-1.0' > '-I/usr/lib64/libffi-3.2.1/include' '-I/usr/include/glib-2.0' > '-I/usr/lib64/glib-2.0/include' '--no-libtool' '--namespace=GstTranscoder' > '--nsversion=1.0' '--warn-all' '--output' 'GstTranscoder-1.0.gir' > '--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); > gst_init(NULL,NULL);' '--include=GObject-2.0' '--include=Gst-1.0' > '--include=GstPbutils-1.0' '--symbol-prefix=gst_' '--identifier-prefix=Gst' > '--add-include-path=/usr/share/gir-1.0' > '-L/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1. > 8.2/mesonbuild/.' '--library' 'gsttranscoder-1.0' > /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ > ld: > tmp-introspectd3XbhU/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/ > gst-transcoder-1.8.2/mesonbuild/tmp-introspectd3XbhU/GstTranscoder-1.0.o: > undefined reference to symbol 'gst_init' > /usr/lib64/libgstreamer-1.0.so.0: error adding symbols: DSO missing from > command line > collect2: error: ld returned 1 exit status > Traceback (most recent call last): > File "/usr/bin/g-ir-scanner", line 66, in <module> > sys.exit(scanner_main(sys.argv)) > File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line > 544, in scanner_main > shlibs = create_binary(transformer, options, args) > File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line > 419, in create_binary > gdump_parser.get_error_quark_functions()) > File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 328, in > compile_introspection_binary > return dc.run() > File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 174, in > run > self._link(bin_path, introspection_obj) > File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 296, in > _link > raise LinkError(e) > distutils.errors.LinkError: command 'x86_64-pc-linux-gnu-gcc' failed with > exit status 1 > ninja: build stopped: subcommand failed. > make: *** [Makefile:5: install] Error 1 > [31;01m*[0m ERROR: media-plugins/gst-transcoder-1.8.2::gentoo failed > (install phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info > '=media-plugins/gst-transcoder-1.8.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv > '=media-plugins/gst-transcoder-1.8.2::gentoo'`. > [31;01m*[0m The complete build log is located at > '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at > '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/temp/environment'. > [31;01m*[0m Working directory: > '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8. > 2' > [31;01m*[0m S: > '/var/tmp/portage/media-plugins/gst-transcoder-1.8.2/work/gst-transcoder-1.8. > 2' I have the really same problem.
Does it change anything if downgrading to meson-0.33.0?
Downgrading to meson-0.33.0 fixed the problem for me.
(In reply to Pacho Ramos from comment #9) > Does it change anything if downgrading to meson-0.33.0? It also resolves my problem, thanks. :) so ... would you have a mind to mask >dev-util/meson-0.33.0 ? only gst-transcoder depends on meson in my machine.
*** Bug 594780 has been marked as a duplicate of this bug. ***
building fine with =dev-util/meson-0.33.0
As a matter of fact I reproduce this error with meson-0.34. All my previous work on gst-transcoder was done with 0.33 hence me not meeting this problem. We should probably mask 0.34.
From the build of media-plugins/gst-transcoder-1.8.1 using meson-0.33.0: 'g-ir-scanner' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.h' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.c' '-pthread' '-I/usr/include/gobject-introspection-1.0' '-I/usr/lib64/libffi-3.2.1/include' '-I/usr/include/glib-2.0' '-I/usr/lib64/glib-2.0/include' '--no-libtool' '--namespace=GstTranscoder' '--nsversion=1.0' '--warn-all' '--output' 'GstTranscoder-1.0.gir' '--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); gst_init(NULL,NULL);' '--include=GObject-2.0' '--include=Gst-1.0' '--include=GstPbutils-1.0' '--symbol-prefix=gst_' '--identifier-prefix=Gst' '--add-include-path=/usr/share/gir-1.0' '-lgstreamer-1.0' '-lgobject-2.0' '-lglib-2.0' '-L/var/tmp/portage/media-plugins/gst-transcoder-1.8.1/work/gst-transcoder-1.8.1/build/.' '--library' 'gsttranscoder-1.0' It correctly includes "'-lgobject-2.0' '-lglib-2.0'". When building with meson-0.34.0, it omits those linking flags for whatever reason, leading to unresolved symbols.
(In reply to Peter Levine from comment #15) > From the build of media-plugins/gst-transcoder-1.8.1 using meson-0.33.0: > > 'g-ir-scanner' '../gst-libs/gst/transcoding/transcoder/gsttranscoder.h' > '../gst-libs/gst/transcoding/transcoder/gsttranscoder.c' '-pthread' > '-I/usr/include/gobject-introspection-1.0' > '-I/usr/lib64/libffi-3.2.1/include' '-I/usr/include/glib-2.0' > '-I/usr/lib64/glib-2.0/include' '--no-libtool' '--namespace=GstTranscoder' > '--nsversion=1.0' '--warn-all' '--output' 'GstTranscoder-1.0.gir' > '--add-init-section=extern gboolean gst_init(gint *argc, gchar **argv); > gst_init(NULL,NULL);' '--include=GObject-2.0' '--include=Gst-1.0' > '--include=GstPbutils-1.0' '--symbol-prefix=gst_' '--identifier-prefix=Gst' > '--add-include-path=/usr/share/gir-1.0' '-lgstreamer-1.0' '-lgobject-2.0' > '-lglib-2.0' > '-L/var/tmp/portage/media-plugins/gst-transcoder-1.8.1/work/gst-transcoder-1. > 8.1/build/.' '--library' 'gsttranscoder-1.0' > > > It correctly includes "'-lgobject-2.0' '-lglib-2.0'". When building with > meson-0.34.0, it omits those linking flags for whatever reason, leading to > unresolved symbols. Actually, never mind. It doesn't appear to need those libraries for symbol resolution after all.
[master 077354d] package.mask: meson-0.34.0 is broken (#594172) 1 file changed, 4 insertions(+)
This works ok for me with latest meson version, also I needed to fix the ebuild of 1.8.2 as build dir was renamed but ebuild wasn't dying properly. Hopefully it will die in future breakages instead of silently failing