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 776892 - gdk-pixbuf 2.36.3: wrong libtool version
gdk-pixbuf 2.36.3: wrong libtool version
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: general
unspecified
Other All
: Normal major
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2017-01-05 07:05 UTC by Tom Schoonjans
Modified: 2018-05-22 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tom Schoonjans 2017-01-05 07:05:49 UTC
Hi,

After updating gdk-pixbuf to 2.36.3 in Homebrew, we saw a couple of failing tests like this:

/usr/local/Cellar/gwyddion/2.47_1/bin/gwyddion --version
dyld: Library not loaded: /usr/local/opt/gdk-pixbuf/lib/libgdk_pixbuf-2.0.0.dylib
  Referenced from: /usr/local/Cellar/gwyddion/2.47_1/bin/gwyddion
  Reason: Incompatible library version: gwyddion requires version 3602.0.0 or later, but libgdk_pixbuf-2.0.0.dylib provides version 3601.0.0

A little digging into configure.ac revealed this change in 9e87fc089b90a52fd1c2a26769c94dcd843f6a29

-m4_define([gdk_pixbuf_micro_version], [2])
-m4_define([gdk_pixbuf_interface_age], [0])
+m4_define([gdk_pixbuf_micro_version], [3])
+m4_define([gdk_pixbuf_interface_age], [3])

I think the problem here was the change in gdk_pixbuf_interface_age, which I don't think was justified since bug fix releases don't add API, and which led to the observed problem as lt_current depends on gdk_pixbuf_interface_age.

Thanks for looking into this.

Tom
Comment 1 Ryan Schmidt 2017-01-17 09:05:17 UTC
I noted this in MacPorts too:

https://trac.macports.org/ticket/53334

I'm not familiar with gdk-pixbuf's code or build system, but I would appreciate a fix in the next release that solves this problem by causing the library version number to be larger than the one that was shipped in 2.36.2.
Comment 2 Jussi Kukkonen 2017-01-23 13:17:48 UTC
This is not mac-specific, definitely happening on linux too. CCing mclasen (I assume you get these anyway but ... just in case).


Documenting the versions as I understand them:

version | libtool version
2.36.0  | 0.3600.0
2.36.1  | 0.3601.0
2.36.2  | 0.3602.0
2.36.3  | 0.3600.3
2.36.4  | 0.3600.4

The original mistake happened in the first two updates to 2.36 (interface_age should have been bumped). But 2.36.3 shouldn't fix the earlier mistakes like that, right?


I'd add a patch except I'm not sure what the cleanest fix here is...
Comment 3 GNOME Infrastructure Team 2018-05-22 13:22:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/61.