Bug 28382 - RPM formal deps should require the required version of libgdkpixbuf (and libpango)
Summary: RPM formal deps should require the required version of libgdkpixbuf (and libp...
Status: NEW
Alias: None
Product: Branch p6
Classification: Distributions
Component: gimp (show other bugs)
Version: не указана
Hardware: all Linux
: P3 normal
Assignee: Andrey Cherepanov
QA Contact: QA p6
URL:
Keywords:
Depends on: 28383 28493 5900 15079
Blocks:
  Show dependency tree
 
Reported: 2013-01-18 07:23 MSK by Ivan Zakharyaschev
Modified: 2013-02-02 16:55 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2013-01-18 07:23:31 MSK
Gimp doesn't run with the message:

GdkPixbuf version too old!

GIMP requires GdkPixbuf version 2.24.1 or later.
Installed GdkPixbuf version is 2.23.4.

Somehow you or your software packager managed
to install GIMP with an older GdkPixbuf version.

Please upgrade to GdkPixbuf version 2.24.1 or later.

# rpm -qa gimp '*gdk-pixbuf*'
gimp-2.8.0-alt0.M60P.1
libgdk-pixbuf-2.23.4-alt2
libgdk-pixbuf-gir-2.23.4-alt2
libgdk-pixbuf-locales-2.23.4-alt2
# 

If one installs/updates the gimp package, the required versions of the libraries should be required (and updated).

setversioned dependencies (https://bugzilla.altlinux.org/show_bug.cgi?id=15079 ) don't help in this case, as you can see.

# apt-cache showpkg libgdk-pixbuf
Package: libgdk-pixbuf
Versions: 
2.24.1-alt0.M60P.1(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p6_branch_i586_base_pkglist.classic)
2.23.4-alt2(/var/lib/apt/lists/Simply%20Linux%206.0.1%20%20(Flounder)%20i586%20build%202011-10-20_ALTLinux_base_pkglist.main)(/var/lib/rpm/Packages)

Reverse Depends: 
  libgdk-pixbuf-xlib,libgdk-pixbuf 2.23.4-alt2
  libgdk-pixbuf-locales,libgdk-pixbuf 2.23.4-alt2
  libgdk-pixbuf-gir,libgdk-pixbuf 2.23.4-alt2
  libgdk-pixbuf-locales,libgdk-pixbuf 2.24.1-alt0.M60P.1
  libgdk-pixbuf-xlib,libgdk-pixbuf 2.24.1-alt0.M60P.1
  libgdk-pixbuf-gir,libgdk-pixbuf 2.24.1-alt0.M60P.1
Dependencies: 
2.24.1-alt0.M60P.1 - libgdk-pixbuf-locales (5 2.24.1) /bin/sh (0 (null)) /lib/ld-linux.so.2 (0 (null)) /usr/lib/rpm (0 (null)) grep (0 (null)) libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.11) (0 (null)) libc.so.6(GLIBC_2.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libc.so.6(GLIBC_2.7) (0 (null)) libgio-2.0.so.0 (2 set:ojDUBtHVRjDPl1ZoV0Z6CNJRrS2Jug8Yc0Wx5v57NIMwEHhzg61oMGL6mWPSt7aRQj) libglib-2.0.so.0 (2 set:oh1iMw3r0kQMZpInqcCNcWLGqGCz5nOcrztK04GbYwVrZ90txDZg8iFjFHlhjei4A1myi7uGUDJ6vmrwQZvGXTdaZfTXeE9LKST2Sg9F8jlFDXu24V3LseqiLZoWkVO1J4Pw7Hb2lW6zqwlJuVaYtKEE63WRsHmmBWKp3Ag3gLc6kxWmBWIBswRaE4nZICtgLZ4Ve1yTlaldq9pwoVA6FPQRK2R2Qe3hxrzc6kjwWrnjdZgfZqAZ4AkatMbhnUBq9gQFVm9tUxCA1ZA95xxMdgq80) libgmodule-2.0.so.0 (2 set:heIUaJXnCFo) libgobject-2.0.so.0 (2 set:mg9fAxvQ6GrJRTvuVtJGswx1rBjQchPy76wD6rGug7cpq121QXcjUnN9fBqdZjpFNELn3VTe8ZtewH06gDRtBfQUl) libjpeg.so.62 (2 set:jevZkgcYSG7BUx6ZsaoQx9wQHfpooZ8GlMGLen9vviN6m6670) libm.so.6(GLIBC_2.0) (0 (null)) libpng12.so.0 (2 set:lfmxVHikkrZb2nR9l2sbOakytwUp53gT0MAIU6CVxgCAdw9OS5CwFDSTv1mPgNtAQHIZ7ZfBQ8giG4MTHA9cII0JmdHE5) libpng12.so.0(PNG_12) (0 (null)) libpthread.so.0(GLIBC_2.0) (0 (null)) libpthread.so.0(GLIBC_2.2) (0 (null)) libtiff.so.4 (2 set:lhs2h9FXqsVhAiJAXbUbETSUrQuHc) rtld(GNU_HASH) (0 (null)) libgdk-pixbuf-loaders (1 2.24.1) 
2.23.4-alt2 - libgdk-pixbuf-locales (5 2.23.4) /bin/sh (0 (null)) /lib/ld-linux.so.2 (0 (null)) /usr/lib/rpm (0 (null)) grep (0 (null)) libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.11) (0 (null)) libc.so.6(GLIBC_2.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libc.so.6(GLIBC_2.7) (0 (null)) libgio-2.0.so.0 (2 set:ojDUBtHVRjDPl1ZoV0Z6CNJRrS2Jug8Yc0Wx5v57NIMwEHhzg61oMGL6mWPSt7aRQj) libglib-2.0.so.0 (2 set:oh60p3wy6SfpLQoczpQvlRkd7bKkvZLSJNen021YAFf1W2fZ1gAiDinHyCsA883I4BeYkNfrdZsq3ASZBtZK6BZvXt7QAnnXr1rEAkAFGQPtf1yYxne7dFnvkDaneEBo6YothEiTok3IGRbnxLP55RogLCrROGkTdrw4q0WBNwakTGkDJA3Im1BUWDdXwuXFsD0NXaBG6JAcgIsizQpWqnxq1qDxEMJh63G9gZdKCqYx7vBID8FkWwnyKMbRiwEjPJiWM3d93Zpia23xrwQg0) libgmodule-2.0.so.0 (2 set:heIUaJXnCFo) libgobject-2.0.so.0 (2 set:mg9fAxvQ6GrJRTvuVtJGswx1rBjQchP6abLp1fdSkZ0Ww9jbg8wuDp2ZGUADiJ6ZFIQoQTHxYr74ZC7Ml03EPWKO7qYa) libjpeg.so.62 (2 set:jevZkgcYSG7BUx6ZsaoQx9wQHfpooZ8GlMGLen9vviN6m6670) libm.so.6(GLIBC_2.0) (0 (null)) libpng12.so.0 (2 set:lfmxVHikkrZb2nR9l2sbOakytwUp53gT0MAIU6CVxgCAdw9OS5CwFDSTv1mPgNtAQHIZ7ZfBQ8giG4MTHA9cII0JmdHE5) libpng12.so.0(PNG_12) (0 (null)) libpthread.so.0(GLIBC_2.0) (0 (null)) libpthread.so.0(GLIBC_2.2) (0 (null)) libtiff.so.4 (2 set:lhs2h9FXqsVhAiJAXbUbETSUrQuHc) rtld(GNU_HASH) (0 (null)) libgdk-pixbuf-loaders (1 2.23.4) 
Provides: 
2.24.1-alt0.M60P.1 - libgdk-pixbuf libgdk_pixbuf-2.0.so.0(GDK_2.8) libgdk_pixbuf-2.0.so.0(GDK_2.21.7) libgdk_pixbuf-2.0.so.0(GDK_2.17.6) libgdk_pixbuf-2.0.so.0(GDK_2.14) libgdk_pixbuf-2.0.so.0 libgdk-pixbuf-loaders 
2.23.4-alt2 - libgdk-pixbuf libgdk_pixbuf-2.0.so.0(GDK_2.8) libgdk_pixbuf-2.0.so.0(GDK_2.21.7) libgdk_pixbuf-2.0.so.0(GDK_2.17.6) libgdk_pixbuf-2.0.so.0(GDK_2.14) libgdk_pixbuf-2.0.so.0 libgdk-pixbuf-loaders 
Reverse Provides: 
libgdk-pixbuf 2.23.4-alt2
libgdk-pixbuf 2.24.1-alt0.M60P.1
# 

The same applies to the libpango dependency of gimp. It reported a wrong version of libpango, before I have manually updated it:

Jan 17 15:13:10 cerob synaptic: libpango-1.29.4-alt1.M60P.1 installed 
Jan 17 15:13:10 cerob synaptic: libpango-1.28.4-alt0.M60P.1 removed 
Jan 17 15:13:11 cerob synaptic: libpango-gir-1.29.4-alt1.M60P.1 installed 
Jan 17 15:13:11 cerob synaptic: libpango-gir-1.28.4-alt0.M60P.1 removed 

This should have happened automatically with APT (when updating gimp).
Comment 1 Ivan Zakharyaschev 2013-01-18 07:25:53 MSK
A similar old case: https://bugzilla.altlinux.org/show_bug.cgi?id=5900 .
Comment 2 Ivan Zakharyaschev 2013-01-18 08:19:49 MSK
Can't we import the required version of libraries from the version-checking code of gimp?..

Or perhaps disable the version-checking code, if we trust set-versions?
Comment 3 Ivan Zakharyaschev 2013-01-18 08:22:08 MSK
The next problem library is BABL:

BABL version too old!

GIMP requires BABL version 0.1.10 or later.
Installed BABL version is 0.1.4.

Somehow you or your software packager managed
to install GIMP with an older BABL version.

Please upgrade to BABL version 0.1.10 or later.
Comment 4 Ivan Zakharyaschev 2013-01-18 08:22:44 MSK
apt> showpkg libbabl
Package: libbabl
Versions: 
0.1.10-alt0.M60P.1(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_p6_branch_i586_base_pkglist.classic)
0.1.4-alt1(/var/lib/apt/lists/Simply%20Linux%206.0.1%20%20(Flounder)%20i586%20build%202011-10-20_ALTLinux_base_pkglist.main)(/var/lib/rpm/Packages)

Reverse Depends: 
  libbabl-devel,libbabl 0.1.10-alt0.M60P.1
Dependencies: 
0.1.10-alt0.M60P.1 - libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.11) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libdl.so.2(GLIBC_2.0) (0 (null)) libdl.so.2(GLIBC_2.1) (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libm.so.6(GLIBC_2.1) (0 (null)) rtld(GNU_HASH) (0 (null)) 
0.1.4-alt1 - libc.so.6(GLIBC_2.0) (0 (null)) libc.so.6(GLIBC_2.1) (0 (null)) libc.so.6(GLIBC_2.1.3) (0 (null)) libc.so.6(GLIBC_2.11) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libdl.so.2(GLIBC_2.0) (0 (null)) libdl.so.2(GLIBC_2.1) (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libm.so.6(GLIBC_2.1) (0 (null)) rtld(GNU_HASH) (0 (null)) 
Provides: 
0.1.10-alt0.M60P.1 - libbabl libbabl-0.1.so.0 
0.1.4-alt1 - libbabl libbabl-0.1.so.0 
Reverse Provides: 
libbabl 0.1.4-alt1
libbabl 0.1.10-alt0.M60P.1
apt>
Comment 5 Ivan Zakharyaschev 2013-01-18 08:23:39 MSK
Then gtk+:

Gtk+ version too old (micro mismatch)

GIMP requires GTK+ version 2.24.10 or later.
Installed GTK+ version is 2.24.7.

Somehow you or your software packager managed
to install GIMP with an older GTK+ version.

Please upgrade to GTK+ version 2.24.10 or later.
Comment 6 Ivan Zakharyaschev 2013-01-18 08:24:54 MSK
After updating all these libs, gimp finally runs.