During compiling it hangs. The last output is: ./ges-types.h ./ges.h ./ges-prelude.h ./ges-enums.h ./ges-gerror.h ./ges-meta-container.h ./ges-timeline.h ./ges-layer.h ./ges-clip.h ./ges-pipeline.h ./ges-source-clip.h ./ges-uri-clip.h ./ges-base-effect-clip.h ./ges-effect-clip.h ./ges-operation-clip.h ./ges-base-transition-clip.h ./ges-transition-clip.h ./ges-test-clip.h ./ges-title-clip.h ./ges-overlay-clip.h ./ges-text-overlay-clip.h ./ges-base-effect.h ./ges-effect.h ./ges-track.h ./ges-audio-track.h ./ges-video-track.h ./ges-track-element.h ./ges-source.h ./ges-operation.h ./ges-video-source.h ./ges-audio-source.h ./ges-video-uri-source.h ./ges-audio-uri-source.h ./ges-image-source.h ./ges-multi-file-source.h ./ges-transition.h ./ges-audio-transition.h ./ges-video-transition.h ./ges-video-test-source.h ./ges-audio-test-source.h ./ges-title-source.h ./ges-text-overlay.h ./ges-screenshot.h ./ges-formatter.h ./ges-pitivi-formatter.h ./ges-asset.h ./ges-uri-asset.h ./ges-clip-asset.h ./ges-track-element-asset.h ./ges-extractable.h ./ges-project.h ./ges-base-xml-formatter.h ./ges-xml-formatter.h ./ges-command-line-formatter.h ./ges-timeline-element.h ./ges-container.h ./ges-effect-asset.h ./ges-smart-adder.h ./ges-utils.h ./ges-group.h ./ges-version.h \ ./ges.c ./ges-enums.c ./ges-meta-container.c ./ges-timeline.c ./ges-layer.c ./ges-clip.c ./ges-pipeline.c ./ges-source-clip.c ./ges-base-effect-clip.c ./ges-effect-clip.c ./ges-uri-clip.c ./ges-operation-clip.c ./ges-base-transition-clip.c ./ges-transition-clip.c ./ges-test-clip.c ./ges-title-clip.c ./ges-overlay-clip.c ./ges-text-overlay-clip.c ./ges-track.c ./ges-audio-track.c ./ges-video-track.c ./ges-track-element.c ./ges-source.c ./ges-operation.c ./ges-video-source.c ./ges-audio-source.c ./ges-video-uri-source.c ./ges-audio-uri-source.c ./ges-image-source.c ./ges-multi-file-source.c ./ges-transition.c ./ges-audio-transition.c ./ges-video-transition.c ./ges-video-test-source.c ./ges-audio-test-source.c ./ges-title-source.c ./ges-text-overlay.c ./ges-base-effect.c ./ges-effect.c ./ges-screenshot.c ./ges-formatter.c ./ges-pitivi-formatter.c ./ges-asset.c ./ges-uri-asset.c ./ges-clip-asset.c ./ges-track-element-asset.c ./ges-extractable.c ./ges-project.c ./ges-base-xml-formatter.c ./ges-xml-formatter.c ./ges-command-line-formatter.c ./ges-auto-transition.c ./ges-timeline-element.c ./ges-container.c ./ges-effect-asset.c ./ges-smart-adder.c ./ges-smart-video-mixer.c ./ges-utils.c ./ges-group.c ./ges-validate.c ./ges-structured-interface.c ./ges-structure-parser.c ./gstframepositioner.c g-ir-scanner: link: ../libtool --mode=link --tag=CC x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/media-libs/gstreamer-editing-services-1.14.1/work/gstreamer-editing-services-1.14.1/ges/tmp-introspectll95h365/GES-1.0 -export-dynamic -march=native -O2 -pipe tmp-introspectll95h365/var/tmp/portage/media-libs/gstreamer-editing-services-1.14.1/work/gstreamer-editing-services-1.14.1/ges/tmp-introspectll95h365/GES-1.0.o -L. libges-1.0.la -Wl,--export-dynamic -lgmodule-2.0 -pthread -lgstpbutils-1.0 -lgstcontroller-1.0 -lgstreamer-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,-O1 -Wl,--as-needed libtool: link: x86_64-pc-linux-gnu-gcc -o /var/tmp/portage/media-libs/gstreamer-editing-services-1.14.1/work/gstreamer-editing-services-1.14.1/ges/tmp-introspectll95h365/.libs/GES-1.0 -march=native -O2 -pipe tmp-introspectll95h365/var/tmp/portage/media-libs/gstreamer-editing-services-1.14.1/work/gstreamer-editing-services-1.14.1/ges/tmp-introspectll95h365/GES-1.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,--export-dynamic -L. ./.libs/libges-1.0.so -lgmodule-2.0 -lgstpbutils-1.0 -lgstcontroller-1.0 -lgstreamer-1.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -Wl,--as-needed -pthread No protocol specified No protocol specified (gst-plugin-scanner:30844): GLib-GObject-WARNING **: cannot register existing type 'GstAggregator' (gst-plugin-scanner:30844): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (gst-plugin-scanner:30844): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed (gst-plugin-scanner:30844): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (gst-plugin-scanner:30844): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (gst-plugin-scanner:30844): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed (gst-plugin-scanner:30844): GLib-GObject-WARNING **: cannot register existing type 'GstQtQuick2VideoSink' (gst-plugin-scanner:30844): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed (gst-plugin-scanner:30844): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed (gst-plugin-scanner:30844): GStreamer-CRITICAL **: gst_element_register: assertion 'g_type_is_a (type, GST_TYPE_ELEMENT)' failed
It is impossible to go out, it is completly locked. Even CTRL+C doesn't have any effect. My emerge --info: Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r4, 4.17.2-gentoo x86_64) ================================================================= System uname: Linux-4.17.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-gentoo-2.6 KiB Mem: 16280700 total, 4855932 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 25 Jun 2018 12:00:01 +0000 Head commit of repository gentoo: a59dcdff501b8ccc44c93cdb5082bd4a81f4b196 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.5-r1::gentoo dev-util/cmake: 3.11.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6::gentoo sys-apps/openrc: 0.37::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo sys-devel/gcc: 7.3.0-r3::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r3::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 Techwolf location: /var/lib/layman/Techwolf sync-type: laymansync sync-uri: https://github.com/Techwolf/techwolf-overlay.git masters: gentoo priority: 50 betagarden location: /var/lib/layman/betagarden masters: gentoo priority: 50 flow location: /var/lib/layman/flow masters: gentoo priority: 50 games-overlay location: /var/lib/layman/games-overlay sync-type: laymansync sync-uri: git://github.com/hasufell/games-overlay.git masters: gentoo priority: 50 rion location: /var/lib/layman/rion sync-type: laymansync sync-uri: https://github.com/rion-overlay/rion-overlay.git masters: gentoo priority: 50 superposition location: /var/lib/layman/superposition sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/repo/user/superposition.git masters: gentoo priority: 50 vortex location: /var/lib/layman/vortex masters: gentoo priority: 50 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/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en it_IT en_US" MAKEOPTS="-j5" 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 activities alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dell dri dri3 dts dvd dvdr egl emboss encode exif fam ffmpeg fftw flac fortran gdbm gif glamor gpm gtk hidpi iconv icu id3tag ipv6 javafx jpeg kde kipi kwallet lcms ldap libinput libnotify libtirpc mad mng modules mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ntfs objc ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qml qt3support qt5 readline s3tc sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd theora tiff touchpad truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="snd_hda_intel" 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="karbon plan sheets stage words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2 glamor" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick wacom synaptics evdev libinput" KERNEL="linux" L10N="it" 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 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby23" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="intel i965 i915 vesa v4l v4l2 modesetting fbdev" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I reproduced this on my laptop; worked fine on desktop where bump was made. Looks like gst-plugin-scanner deadlocks or something during introspection build (g-ir-scanner). Perhaps adding some missing environment vars will help out, will have to see about reliable reproducing and then fixing it. To help with extra information from those that hit this - does it always hang, or does a retry sometimes succeed and get this installed? This bug likely only happens with USE=introspection, so it passing after switching that off as a workaround doesn't count (for the report on sometimes not hanging emerge)
Me too. pstree reports: ebuild.sh─emake─make─make─sh─sh─make─make─python3.6─GES-1.0─gst-plugin-scanner strace shows it stuck in futex(0x…, FUTEX_WAIT_PRIVATE, 711, NULL). gdb sees a single thread and gives this stack trace for it: #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 #1 0x00007f5cc82b40cf in g_cond_wait (cond=cond@entry=0x7f5cc85375a0 <g_once_cond>, mutex=mutex@entry=0x7f5cc85375b0 <g_once_mutex>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gthread-posix.c:1395 #2 0x00007f5cc82952ef in g_once_init_enter (location=location@entry=0x7f5cc617fc50 <type>) at /var/tmp/portage/dev-libs/glib-2.54.3-r6/work/glib-2.54.3/glib/gthread.c:665 #3 0x00007f5cc5f23628 in gst_aggregator_get_type () at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/libs/gst/base/gstaggregator.c:2395 #4 0x00007f5cc4fd339d in gst_audio_aggregator_get_type () at /var/tmp/portage/media-libs/gst-plugins-base-1.14.1/work/gst-plugins-base-1.14.1/gst-libs/gst/audio/gstaudioaggregator.c:444 #5 0x00007f5ca4e7e9ac in gst_audiomixer_get_type () at /var/tmp/portage/media-libs/gst-plugins-base-1.14.1/work/gst-plugins-base-1.14.1/gst/audiomixer/gstaudiomixer.c:207 #6 0x00007f5ca4e7ea58 in plugin_init (plugin=0x563960e83d40) at /var/tmp/portage/media-libs/gst-plugins-base-1.14.1/work/gst-plugins-base-1.14.1/gst/audiomixer/gstaudiomixer.c:560 #7 0x00007f5cc85c0155 in gst_plugin_register_func (plugin=0x563960e83d40, desc=0x7f5ca5084d20 <gst_plugin_desc>, user_data=0x0) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstplugin.c:524 #8 0x00007f5cc85c219d in _priv_gst_plugin_load_file_for_registry (filename=filename@entry=0x563960b771fc "/usr/lib64/gstreamer-1.0/libgstaudiomixer.so", registry=0x563960b7b160, registry@entry=0x0, error=error@entry=0x0) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstplugin.c:885 #9 0x00007f5cc85c2baa in gst_plugin_load_file (filename=filename@entry=0x563960b771fc "/usr/lib64/gstreamer-1.0/libgstaudiomixer.so", error=error@entry=0x0) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstplugin.c:681 #10 0x00007f5cc85c4fb7 in do_plugin_load (tag=119, filename=0x563960b771fc "/usr/lib64/gstreamer-1.0/libgstaudiomixer.so", l=0x563960b79c30) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstpluginloader.c:728 #11 handle_rx_packet (payload_len=45, payload=0x563960b771fc "/usr/lib64/gstreamer-1.0/libgstaudiomixer.so", tag=119, pack_type=<optimized out>, l=0x563960b79c30) Don't have the time to retry this just now, so no info about reproducibility. at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstpluginloader.c:836 #12 read_one (l=0x563960b79c30) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstpluginloader.c:1006 #13 exchange_packets (l=l@entry=0x563960b79c30) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstpluginloader.c:1034 #14 0x00007f5cc85c5df0 in _gst_plugin_loader_client_run () at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/gst/gstpluginloader.c:583 #15 0x0000563960138979 in main (argc=<optimized out>, argv=0x7ffcb3725778) at /var/tmp/portage/media-libs/gstreamer-1.14.1/work/gstreamer-1.14.1/libs/gst/helpers/gst-plugin-scanner.c:67
(In reply to Mart Raudsepp from comment #2) > To help with extra information from those that hit this - does it always > hang, or does a retry sometimes succeed and get this installed? > This bug likely only happens with USE=introspection, so it passing after > switching that off as a workaround doesn't count (for the report on > sometimes not hanging emerge) I hit this on x86 with =media-libs/gstreamer-editing-services-1.14.1. However, it passed on first retry attempt. USE=introspection was set.
Same problem, but with few differences: - Repearing manual emerge changes nothing - Lines "No protocol specified" before last warnings don't appear - Ctrl+C works. After Ctrl+C it gives this: ^C Exiting on signal 2 sandbox:stop caught signal 2 in pid 27129 sandbox:stop Send signal 4 more times to force SIGKILL 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 547, in scanner_main shlibs = create_binary(transformer, options, args) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 426, in create_binary gdump_parser.parse() File "/usr/lib64/gobject-introspection/giscanner/gdumpparser.py", line 115, in parse tree = self._execute_binary_get_tree() File "/usr/lib64/gobject-introspection/giscanner/gdumpparser.py", line 177, in _execute_binary_get_tree subprocess.check_call(args, stdout=sys.stdout, stderr=sys.stderr) File "/usr/lib64/python3.5/subprocess.py", line 266, in check_call retcode = call(*popenargs, **kwargs) File "/usr/lib64/python3.5/subprocess.py", line 249, in call return p.wait(timeout=timeout) File "/usr/lib64/python3.5/subprocess.py", line 1399, in wait (pid, sts) = self._try_wait(0) File "/usr/lib64/python3.5/subprocess.py", line 1349, in _try_wait (pid, sts) = os.waitpid(self.pid, wait_flags) KeyboardInterrupt make[3]: *** [Makefile:1709: GES-1.0.gir] Error 1 make[2]: *** [Makefile:763: all] Interrupt make[1]: *** [Makefile:645: all-recursive] Interrupt make: *** [Makefile:555: all] Interrupt /usr/portage/media-libs/gstreamer-editing-services/gstreamer-editing-services-1.14.1.ebuild: src_compile aborted; exiting. Tried to manually run some commands from build system - i could only understand, that it hangs on g-ir-scanner call.