Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507258 - dev-python/pygobject-3.10.2 - ld: cannot find -lpyglib-gi-2.0-python3.3
Summary: dev-python/pygobject-3.10.2 - ld: cannot find -lpyglib-gi-2.0-python3.3
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-09 16:17 UTC by Willard Dawson
Modified: 2015-06-23 16:58 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,16.67 KB, text/plain)
2014-04-09 16:18 UTC, Willard Dawson
Details
emerge -pqv (emerge-pqv,144 bytes, text/plain)
2014-04-09 16:18 UTC, Willard Dawson
Details
build log (build.log,138.20 KB, text/plain)
2014-04-09 16:18 UTC, Willard Dawson
Details
system merge environment (environment,156.28 KB, text/plain)
2014-04-09 16:19 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2014-04-09 16:17:46 UTC
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.
Comment 1 Willard Dawson 2014-04-09 16:18:12 UTC
Created attachment 374606 [details]
emerge --info
Comment 2 Willard Dawson 2014-04-09 16:18:35 UTC
Created attachment 374608 [details]
emerge -pqv
Comment 3 Willard Dawson 2014-04-09 16:18:59 UTC
Created attachment 374610 [details]
build log
Comment 4 Willard Dawson 2014-04-09 16:19:42 UTC
Created attachment 374612 [details]
system merge environment
Comment 5 Rafał Mużyło 2014-04-09 22:29:44 UTC
...would you mind checking if '-j1' helps ?'

odd though, *might* be a bug in the install wrapper...
Comment 6 Willard Dawson 2014-04-10 00:53:24 UTC
(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.
Comment 7 Michael Haubenwallner (RETIRED) gentoo-dev 2014-04-24 19:44:43 UTC
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.
Comment 8 Pacho Ramos gentoo-dev 2014-05-31 11:17:26 UTC
(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 :/
Comment 9 Pacho Ramos gentoo-dev 2015-06-20 10:09:59 UTC
3.16.2 looks to be parallel make safe, can you retry?
Comment 10 SpanKY gentoo-dev 2015-06-23 16:58:11 UTC
(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.