emerge -uDN world includes this package, leads to this error: libtool: install: (cd /var/tmp/portage/dev-python/pygobject-3.10.2/image//usr/lib && { ln -s -f libpyglib-gi-2.0-python3.3.so.0.0.0 libpyglib-gi-2.0-python3.3.so || { rm -f libpyglib-gi-2.0-python3.3.so && ln -s libpyglib-gi-2.0-python3.3.so.0.0.0 libpyglib-gi-2.0-python3.3.so; }; }) /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lpyglib-gi-2.0-python3.3 collect2: error: ld returned 1 exit status libtool: install: /usr/lib/portage/bin/ebuild-helpers/xattr/install -c .libs/libpyglib-gi-2.0-python3.3.lai /var/tmp/portage/dev-python/pygobject-3.10.2/image//usr/lib/libpyglib-gi-2.0-python3.3.la libtool: install: error: relink `_glib.la' with the above command before installing it Reproducible: Always Steps to Reproduce: 1. emerge -uDN world 2. 3. See attachments.
Created attachment 374606 [details] emerge --info
Created attachment 374608 [details] emerge -pqv
Created attachment 374610 [details] build log
Created attachment 374612 [details] system merge environment
...would you mind checking if '-j1' helps ?' odd though, *might* be a bug in the install wrapper...
(In reply to Rafał Mużyło from comment #5) > ...would you mind checking if '-j1' helps ?' > > odd though, *might* be a bug in the install wrapper... OK, that seems to have done the trick. Works for me.
A little more investigation, excerpting gi/_glib/Makefile: > install: install-am > install-am: all-am > @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am > install-exec-am: install-libLTLIBRARIES > install-data-am: install-pyglibLTLIBRARIES install-pyglibPYTHON > install-libLTLIBRARIES: $(lib_LTLIBRARIES) > install-pyglibLTLIBRARIES: $(pyglib_LTLIBRARIES) IMO, install-pyglibLTLIBRARIES should have a dependency on install-libLTLIBRARIES, but I'm unsure about the "correct" way to write that into gi/_glib/Makefile.am. Might be an automake bug as well.
(In reply to Michael Haubenwallner from comment #7) > A little more investigation, excerpting gi/_glib/Makefile: > > > install: install-am > > install-am: all-am > > @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am > > > install-exec-am: install-libLTLIBRARIES > > install-data-am: install-pyglibLTLIBRARIES install-pyglibPYTHON > > > install-libLTLIBRARIES: $(lib_LTLIBRARIES) > > install-pyglibLTLIBRARIES: $(pyglib_LTLIBRARIES) > > > IMO, install-pyglibLTLIBRARIES should have a dependency on > install-libLTLIBRARIES, but I'm unsure about the "correct" way to write that > into gi/_glib/Makefile.am. Might be an automake bug as well. Not sure if automake maintainers will know :/
3.16.2 looks to be parallel make safe, can you retry?
(In reply to Michael Haubenwallner from comment #7) iirc, if "pyglib" libs use "lib" libs, then yes, it should have a manual dep declared. unfortunately, automake does not handle these scenarios well currently and is a known issue.