After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609185 - libpixbufloader-png.so not installed on parallel install with autotools
libpixbufloader-png.so not installed on parallel install with autotools
Status: RESOLVED WONTFIX
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
: 711571 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-02-06 19:55 UTC by Adrian Bunk
Modified: 2017-08-10 17:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
install log (153.18 KB, text/plain)
2010-02-06 19:55 UTC, Adrian Bunk
Details

Description Adrian Bunk 2010-02-06 19:55:16 UTC
Created attachment 153160 [details]
install log

This install failure of libpixbufloader-png.so seems to be the mixture of "make -j4 install" and bad luck/timing.

It seems it is not ensured that libgdk_pixbuf-2.0.so is installed before any loaders get installed?
Comment 1 Javier Jardón (IRC: jjardon) 2010-02-06 21:41:43 UTC

*** This bug has been marked as a duplicate of bug 607839 ***
Comment 2 Adrian Bunk 2010-03-04 14:35:43 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 607839 ***

It's not a duplicate of this bug 607839.

Bug 607839 is about the BUILD_GDIPLUS_LOADERS case, and I've not enabled that.

I've also verified that I dtill get this error occasionally with the fix for bug 607839 applied.
Comment 3 Pacho Ramos 2011-06-19 11:45:24 UTC
Also reported downstream at:
http://bugs.gentoo.org/show_bug.cgi?id=368731
Comment 4 Bastien Nocera 2014-10-22 16:51:38 UTC
Does this still happen?
Comment 5 Peter Stuge 2016-11-29 13:46:18 UTC
(In reply to Bastien Nocera from comment #4)
> Does this still happen?

Yes, this still happens. Seen with  The relevant build log is available in Bug 711571, which is still NEW. Suggest reopen this bug and mark 711571 duplicate.

Downstream bugs:
https://bugs.gentoo.org/show_bug.cgi?id=481372
https://bugs.gentoo.org/show_bug.cgi?id=368731

My build+install log:
https://481372.bugs.gentoo.org/attachment.cgi?id=356298

When building gdk-pixbuf on a Gentoo system *without gdk-pixbuf installed* the build can fail with parallel make. Some reports need -j7, others -j5.

This happens with gdk-pixbuf 2.26, 2.28 and 2.36.

Sorry that I haven't pushed this upstream for so long.


This is what I've found in the logs:

When linking libpixbufloader-png.la there's `libgdk_pixbuf-2.0.la` on the libtool link command line, which turns into `./.libs/libgdk_pixbuf-2.0.so` for gcc. That .so file was already built so this works.

But when relinking libpixbufloader-png.la then the `libgdk_pixbuf-2.0.la` on the libtool command line turns into something like `-L$DESTDIR/usr/lib -lgdk_pixbuf-2.0` for gcc, and when running make -j$many_enough then there isn't yet a libgdk_pixbuf-2.0.so for gcc to pick up, resulting in:
/usr/lib/gcc/i486-pc-linux-gnu/4.6.3/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lgdk_pixbuf-2.0

Maybe you will say that this a libtool problem, but I guess it also depends on how gdk-pixbuf uses libtool, because the problem only ever happens with gdk-pixbuf.

Thanks!
Comment 6 Anton Gubarkov 2016-12-15 10:14:45 UTC
Still happens on 2.36.1 (in Gentoo)
Comment 7 Bastien Nocera 2016-12-15 10:32:56 UTC
*** Bug 711571 has been marked as a duplicate of this bug. ***
Comment 8 Bastien Nocera 2016-12-15 10:34:21 UTC
Somebody will have to figure it out, because there's nothing obvious in the Makefile.am, such as using "-lgdk_pixbuf..." directly instead of the ".la".
Comment 9 Bastien Nocera 2017-08-10 17:55:04 UTC
I don't think we're ever going to figure out what the problem is, or fix this in autotools, so I'll say, please use the meson build system in 2.36.8 and newer and file a new bug if you have problems with the installation.