Bug 28380 - undefined symbols (from poppler?): rpm formal deps don't reflect the real deps
Summary: undefined symbols (from poppler?): rpm formal deps don't reflect the real deps
Status: CLOSED WONTFIX
Alias: None
Product: Branch 5.1
Classification: Distributions
Component: inkscape (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: Vitaly Lipatov
QA Contact: QA 5.1
URL:
Keywords:
Depends on: 15079 28381
Blocks:
  Show dependency tree
 
Reported: 2013-01-18 04:47 MSK by Ivan Zakharyaschev
Modified: 2017-08-06 23:49 MSK (History)
1 user (show)

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 04:47:11 MSK
The undefined symbols in inkscape make it crash when opening some PDFs.

$ rpm -qa 'inkscape*'
inkscape-0.47-alt3
$ ldd -r /usr/bin/inkscape 
	linux-gate.so.1 =>  (0xb7fa3000)
	libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0xb7c55000)
	libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb7c10000)
	libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0xb7bcc000)
	libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0xb7ba0000)
	libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0xb7b7d000)
	libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7b29000)
	libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb7af5000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb79c6000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb79c0000)
	libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0xb79ba000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7564000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb74b9000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb749d000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7491000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb7416000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb73f0000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb73ae000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7327000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb72f7000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb72ae000)
	libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb71d2000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb71ac000)
	libgsl.so.0 => /usr/lib/libgsl.so.0 (0xb6fea000)
	libz.so.1 => /lib/libz.so.1 (0xb6fd3000)
	libpopt.so.0 => /lib/libpopt.so.0 (0xb6fc9000)
	libaspell.so.15 => /usr/lib/libaspell.so.15 (0xb6f2c000)
	libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb6ed1000)
	libm.so.6 => /lib/libm.so.6 (0xb6ea7000)
	libdl.so.2 => /lib/libdl.so.2 (0xb6ea2000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb6e87000)
	libwpg-0.1.so.1 => /usr/lib/libwpg-0.1.so.1 (0xb6e60000)
	libwpg-stream-0.1.so.1 => /usr/lib/libwpg-stream-0.1.so.1 (0xb6e4f000)
	libMagick++.so.2 => /usr/lib/libMagick++.so.2 (0xb6de7000)
	libgc.so.1 => /usr/lib/libgc.so.1 (0xb6db4000)
	liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb6d80000)
	libpoppler.so.5 => /usr/lib/libpoppler.so.5 (0xb6be0000)
	libpoppler-glib.so.4 => /usr/lib/libpoppler-glib.so.4 (0xb6baf000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6ac4000)
	libc.so.6 => /lib/libc.so.6 (0xb6960000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6943000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb6824000)
	libgiomm-2.4.so.1 => /usr/lib/libgiomm-2.4.so.1 (0xb67c3000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb67a4000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb67a0000)
	libenchant.so.1 => /usr/lib/libenchant.so.1 (0xb6799000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6793000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb668b000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb667b000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6671000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb666d000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb6663000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb665a000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6650000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb664c000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6648000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb65e7000)
	libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb65be000)
	libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb65b9000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb65b1000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb6597000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb656f000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6569000)
	libpcre.so.3 => /lib/libpcre.so.3 (0xb652a000)
	librt.so.1 => /lib/librt.so.1 (0xb6521000)
	libgslcblas.so.0 => /usr/lib/libgslcblas.so.0 (0xb64f0000)
	libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb64bd000)
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb649e000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6464000)
	libgnutls.so.26 => /usr/lib/libgnutls.so.26 (0xb63c8000)
	libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb63c4000)
	libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb63b8000)
	libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb63a7000)
	libresolv.so.2 => /lib/libresolv.so.2 (0xb6390000)
	libutil.so.1 => /lib/libutil.so.1 (0xb638c000)
	/lib/ld-linux.so.2 (0xb7fa4000)
	libMagickCore.so.2 => /usr/lib/libMagickCore.so.2 (0xb6163000)
	libMagickWand.so.2 => /usr/lib/libMagickWand.so.2 (0xb6051000)
	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb602f000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb602b000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb6025000)
	libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb5fd1000)
	libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb5fc0000)
	libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb5f46000)
	liblqr-1.so.0 => /usr/lib/liblqr-1.so.0 (0xb5f35000)
	libbz2.so.1 => /lib/libbz2.so.1 (0xb5f23000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb5f1e000)
undefined symbol: _ZN12GfxResources13lookupShadingEPc	(/usr/bin/inkscape)
undefined symbol: _ZN13GfxColorSpace5parseEP6Object	(/usr/bin/inkscape)
undefined symbol: _ZN12GfxResources13lookupPatternEPc	(/usr/bin/inkscape)
$ apt-cache showpkg inkscape
Package: inkscape
Versions: 
0.47-alt3(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_5.1_branch_i586_base_pkglist.classic)(/var/lib/rpm/Packages)

Reverse Depends: 
  make-figure,inkscape
  gnome-office-light,inkscape
Dependencies: 
0.47-alt3 - desktop-file-utils (0 (null)) icc-profiles (0 (null)) /lib/ld-linux.so.2 (0 (null)) libMagick++.so.2 (0 (null)) libX11.so.6 (0 (null)) libaspell.so.15 (0 (null)) libatkmm-1.6.so.1 (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.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libcairo.so.2(CAIRO_1.2) (0 (null)) libcairo.so.2(CAIRO_1.6) (0 (null)) libcairo.so.2(CAIRO_1.7) (0 (null)) libcairomm-1.0.so.1 (0 (null)) libdl.so.2(GLIBC_2.0) (0 (null)) libdl.so.2(GLIBC_2.1) (0 (null)) libfontconfig.so.1 (0 (null)) libfreetype.so.6 (0 (null)) libgc.so.1 (0 (null)) libgcc_s.so.1(GCC_3.0) (0 (null)) libgcc_s.so.1(GCC_4.0.0) (0 (null)) libgdk-x11-2.0.so.0(GDK_2.12) (0 (null)) libgdk_pixbuf-2.0.so.0 (0 (null)) libgdkmm-2.4.so.1 (0 (null)) libglib-2.0.so.0(GLIB_2.12) (0 (null)) libglib-2.0.so.0(GLIB_2.14) (0 (null)) libglib-2.0.so.0(GLIB_2.15.6) (0 (null)) libglib-2.0.so.0(GLIB_2.8) (0 (null)) libglibmm-2.4.so.1 (0 (null)) libgnomevfs-2.so.0 (0 (null)) libgobject-2.0.so.0 (0 (null)) libgsl.so.0 (0 (null)) libgtk-x11-2.0.so.0(GTK_2.10) (0 (null)) libgtk-x11-2.0.so.0(GTK_2.12) (0 (null)) libgtk-x11-2.0.so.0(GTK_2.14) (0 (null)) libgtkmm-2.4.so.1 (0 (null)) libgtkspell.so.0 (0 (null)) liblcms.so.1 (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libm.so.6(GLIBC_2.1) (0 (null)) libpango-1.0.so.0(PANGO_1.12) (0 (null)) libpangocairo-1.0.so.0(PANGOCAIRO_1.12) (0 (null)) libpangoft2-1.0.so.0(PANGOFT2_1.12) (0 (null)) libpangomm-1.4.so.1 (0 (null)) libpng12.so.0(PNG_12) (0 (null)) libpoppler-glib.so.4 (0 (null)) libpoppler.so.5 (0 (null)) libpopt.so.0(LIBPOPT_0) (0 (null)) libpthread.so.0(GLIBC_2.0) (0 (null)) libsigc-2.0.so.0 (0 (null)) libstdc++.so.6(CXXABI_1.3) (0 (null)) libstdc++.so.6(CXXABI_1.3.1) (0 (null)) libstdc++.so.6(GLIBCXX_3.4) (0 (null)) libstdc++.so.6(GLIBCXX_3.4.11) (0 (null)) libstdc++.so.6(GLIBCXX_3.4.9) (0 (null)) libwpg-0.1.so.1 (0 (null)) libwpg-stream-0.1.so.1 (0 (null)) libxml2.so.2 (0 (null)) libxslt.so.1 (0 (null)) libz.so.1 (0 (null)) rtld(GNU_HASH) (0 (null)) 
Provides: 
0.47-alt3 - inkscape 
Reverse Provides: 
inkscape 0.47-alt3
$ 

This is probably because of ABI incompatibility with poppler -- http://lists.altlinux.org/pipermail/sisyphus/2010-January/345142.html , https://bugs.launchpad.net/inkscape/+bug/548746 , https://bugs.launchpad.net/inkscape/+bug/548746 .

This required version of poppler libs should be reflected in the formal deps of the RPM package.


[mort@localhost Downloads]$ ldd -r /usr/bin/inkscape | fgrep -i poppler
	libpoppler.so.5 => /usr/lib/libpoppler.so.5 (0xb6b1f000)
	libpoppler-glib.so.4 => /usr/lib/libpoppler-glib.so.4 (0xb6aee000)
undefined symbol: _ZN12GfxResources13lookupShadingEPc	(/usr/bin/inkscape)
undefined symbol: _ZN13GfxColorSpace5parseEP6Object	(/usr/bin/inkscape)
undefined symbol: _ZN12GfxResources13lookupPatternEPc	(/usr/bin/inkscape)
[mort@localhost Downloads]$ rpm -qf /usr/lib/libpoppler.so.5 /usr/lib/libpoppler-glib.so.4
libpoppler5-0.12.4-alt1
libpoppler4-glib-0.12.4-alt1
[mort@localhost Downloads]$ apt-cache showpkg libpoppler5 libpoppler4-glib
Package: libpoppler5
Versions: 
0.12.4-alt1(/var/lib/rpm/Packages)
0.12.4-alt0.M51.3(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_5.1_branch_i586_base_pkglist.classic)

Reverse Depends: 
  libpoppler4-glib,libpoppler5 0.12.4-alt1
  libpoppler3-qt4,libpoppler5 0.12.4-alt1
  poppler,libpoppler5 0.12.4-alt0.M51.3
  libpoppler4-glib,libpoppler5 0.12.4-alt0.M51.3
  libpoppler3-qt4,libpoppler5 0.12.4-alt0.M51.3
  libpoppler2-qt,libpoppler5 0.12.4-alt0.M51.3
  libpoppler-devel,libpoppler5 0.12.4-alt0.M51.3
Dependencies: 
0.12.4-alt1 - poppler-data (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.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libfontconfig.so.1 (0 (null)) libfreetype.so.6 (0 (null)) libgcc_s.so.1(GCC_3.0) (0 (null)) libjpeg.so.62 (0 (null)) liblcms.so.1 (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libm.so.6(GLIBC_2.1) (0 (null)) libpng12.so.0(PNG_12) (0 (null)) libstdc++.so.6(CXXABI_1.3) (0 (null)) libstdc++.so.6(GLIBCXX_3.4) (0 (null)) libz.so.1 (0 (null)) rtld(GNU_HASH) (0 (null)) rtld(GNU_UNIQUE) (0 (null)) 
0.12.4-alt0.M51.3 - poppler-data (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.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libfontconfig.so.1 (0 (null)) libfreetype.so.6 (0 (null)) libgcc_s.so.1(GCC_3.0) (0 (null)) libjpeg.so.62 (0 (null)) liblcms.so.1 (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libm.so.6(GLIBC_2.1) (0 (null)) libpng12.so.0(PNG_12) (0 (null)) libstdc++.so.6(CXXABI_1.3) (0 (null)) libstdc++.so.6(GLIBCXX_3.4) (0 (null)) libz.so.1 (0 (null)) rtld(GNU_HASH) (0 (null)) 
Provides: 
0.12.4-alt1 - /usr/lib/libpoppler.so.5.0.0 libpoppler5 libpoppler.so.5(POPPLER_0.12.4) libpoppler.so.5 
0.12.4-alt0.M51.3 - /usr/lib/libpoppler.so.5.0.0 libpoppler5 libpoppler.so.5(POPPLER_0.12.4) libpoppler.so.5 
Reverse Provides: 
libpoppler5 0.12.4-alt1
libpoppler5 0.12.4-alt0.M51.3
Package: libpoppler4-glib
Versions: 
0.12.4-alt1(/var/lib/rpm/Packages)
0.12.4-alt0.M51.3(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_5.1_branch_i586_base_pkglist.classic)

Reverse Depends: 
  libpoppler-glib-devel,libpoppler4-glib 0.12.4-alt0.M51.3
Dependencies: 
0.12.4-alt1 - libpoppler5 (5 0.12.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.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libcairo.so.2(CAIRO_1.2) (0 (null)) libcairo.so.2(CAIRO_1.4) (0 (null)) libcairo.so.2(CAIRO_1.7) (0 (null)) libfreetype.so.6 (0 (null)) libgcc_s.so.1(GCC_3.0) (0 (null)) libgdk_pixbuf-2.0.so.0 (0 (null)) libglib-2.0.so.0(GLIB_2.10) (0 (null)) libglib-2.0.so.0(GLIB_2.14) (0 (null)) libglib-2.0.so.0(GLIB_2.15.6) (0 (null)) libgobject-2.0.so.0(GLIB_2.12) (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libpoppler.so.5 (0 (null)) libstdc++.so.6(CXXABI_1.3) (0 (null)) libstdc++.so.6(GLIBCXX_3.4) (0 (null)) rtld(GNU_HASH) (0 (null)) 
0.12.4-alt0.M51.3 - libpoppler5 (5 0.12.4-alt0.M51.3) 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.2) (0 (null)) libc.so.6(GLIBC_2.3.4) (0 (null)) libc.so.6(GLIBC_2.4) (0 (null)) libcairo.so.2(CAIRO_1.2) (0 (null)) libcairo.so.2(CAIRO_1.4) (0 (null)) libcairo.so.2(CAIRO_1.7) (0 (null)) libfreetype.so.6 (0 (null)) libgcc_s.so.1(GCC_3.0) (0 (null)) libgdk_pixbuf-2.0.so.0 (0 (null)) libglib-2.0.so.0(GLIB_2.10) (0 (null)) libglib-2.0.so.0(GLIB_2.14) (0 (null)) libglib-2.0.so.0(GLIB_2.15.6) (0 (null)) libgobject-2.0.so.0(GLIB_2.12) (0 (null)) libm.so.6(GLIBC_2.0) (0 (null)) libpoppler.so.5 (0 (null)) libstdc++.so.6(CXXABI_1.3) (0 (null)) libstdc++.so.6(GLIBCXX_3.4) (0 (null)) rtld(GNU_HASH) (0 (null)) 
Provides: 
0.12.4-alt1 - /usr/lib/libpoppler-glib.so.4.0.0 libpoppler4-glib libpoppler-glib.so.4(LIBPOPPLER4_0.12.0) libpoppler-glib.so.4 
0.12.4-alt0.M51.3 - /usr/lib/libpoppler-glib.so.4.0.0 libpoppler4-glib libpoppler-glib.so.4(LIBPOPPLER4_0.12.0) libpoppler-glib.so.4 
Reverse Provides: 
libpoppler4-glib 0.12.4-alt1
libpoppler4-glib 0.12.4-alt0.M51.3
[mort@localhost Downloads]$
Comment 1 Ivan Zakharyaschev 2013-01-18 05:29:24 MSK
Installing the libs from branch 5.1 doesn't fix the problem:


$ rpm -qa '*poppler*'
libpoppler3-qt4-0.12.4-alt0.M51.3
poppler-data-0.4.2-alt0.M51.1
libpoppler4-glib-0.12.4-alt0.M51.3
libpoppler5-0.12.4-alt0.M51.3
$
Comment 2 Vitaly Lipatov 2017-08-06 23:49:05 MSK
Закрываю задачи для Branch 5.1.