Bug 16006

Summary: inkscape and inkscape-viewer should require the new version of libgtkmm(?)
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: inkscapeAssignee: Vitaly Lipatov <lav>
Status: CLOSED WONTFIX QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: lav
Version: unstable   
Hardware: all   
OS: Linux   
Bug Depends on: 15079, 16012    
Bug Blocks:    

Description Ivan Zakharyaschev 2008-06-13 20:40:17 MSD
inkscape-0.46-alt2
inkscape-viewer-0.46-alt2

APT installed the new version of inkscape and inkscape-viewer, but now /usr/bin/inkscape and /usr/bin/inkview have undefined symbols, because APT didn't know that the new
version of a library (libgtkmm?) is required. A solution would be to add version to the symbols in libgtkmm's ABI and rebuild inkscape{,-viewer}.

$ rpm -q inkscape{,-viewer} -l | fgrep bin/ | xargs ldd -r
/usr/bin/inkscape:
        linux-gate.so.1 =>  (0xb7f9f000)
        libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0xb7ceb000)
        libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb7cac000)
        libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0xb7c6e000)
        libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0xb7c4a000)
        libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0xb7c33000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7bee000)
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb7bba000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7a9e000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7a98000)
        libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0xb7a93000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb76b5000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7620000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7606000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb759d000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7576000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7539000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74be000)
        libz.so.1 => /lib/libz.so.1 (0xb74aa000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7480000)
        libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0xb7447000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb737c000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7358000)
        libpopt.so.0 => /lib/libpopt.so.0 (0xb734f000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb72f7000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb720e000)
        libm.so.6 => /lib/libm.so.6 (0xb71e8000)
        libperl.so.5.8 => /usr/lib/libperl.so.5.8 (0xb70bd000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb70a5000)
        libssl.so.6 => /lib/libssl.so.6 (0xb7066000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0xb6f30000)
        libwpg-0.1.so.1 => /usr/lib/libwpg-0.1.so.1 (0xb6f09000)
        libwpg-stream-0.1.so.1 => /usr/lib/libwpg-stream-0.1.so.1 (0xb6ef9000)
        libMagick++.so.10 => /usr/lib/libMagick++.so.10 (0xb6e87000)
        libgc.so.1 => /usr/lib/libgc.so.1 (0xb6e56000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb6e27000)
        libpoppler.so.3 => /usr/lib/libpoppler.so.3 (0xb6c8c000)
        libpoppler-glib.so.3 => /usr/lib/libpoppler-glib.so.3 (0xb6c66000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6b80000)
        libc.so.6 => /lib/libc.so.6 (0xb6a58000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6a4c000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6a32000)
        libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0xb6a2f000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6a2b000)
        libenchant.so.1 => /usr/lib/libenchant.so.1 (0xb6a24000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6a1a000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6a15000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6a07000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb69ff000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb69fc000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb69f3000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb69ed000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb69e4000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb69e1000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb69de000)
        libdirectfb-1.1.so.0 => /usr/lib/libdirectfb-1.1.so.0 (0xb696e000)
        libdirect-1.1.so.0 => /usr/lib/libdirect-1.1.so.0 (0xb695d000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb6937000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb690e000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb68ee000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb68bb000)
        libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0xb68b7000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb689c000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6865000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb67ec000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb679b000)
        libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb6797000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb678c000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb677d000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb676b000)
        libutil.so.1 => /lib/libutil.so.1 (0xb6767000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6764000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb674c000)
        /lib/ld-linux.so.2 (0x80000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb6719000)
        libMagick.so.10 => /usr/lib/libMagick.so.10 (0xb6535000)
        libWand.so.10 => /usr/lib/libWand.so.10 (0xb6473000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6453000)
        libfusion-1.1.so.0 => /usr/lib/libfusion-1.1.so.0 (0xb644b000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb63fc000)
        librt.so.1 => /lib/librt.so.1 (0xb63f3000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb63e2000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb63de000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb63db000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb63d6000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb6382000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb6370000)
undefined symbol: _ZThn8_N3Gtk12ListViewTextD0Ev        (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewTextD1Ev     (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewTextD0Ev     (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewText11append_textERKN4Glib7ustringE  (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewTextD2Ev     (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewTextC2EjbNS_13SelectionModeE (/usr/bin/inkscape)
undefined symbol: _ZTv0_n16_N3Gtk12ListViewTextD1Ev     (/usr/bin/inkscape)
undefined symbol: _ZNK3Gtk12ListViewText4sizeEv (/usr/bin/inkscape)
undefined symbol: _ZThn8_N3Gtk12ListViewTextD1Ev        (/usr/bin/inkscape)
undefined symbol: _ZNK3Gtk12ListViewText8get_textEjj    (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewText11clear_itemsEv  (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewText8set_textEjjRKN4Glib7ustringE    (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk9SizeGroup17set_ignore_hiddenEb        (/usr/bin/inkscape)
undefined symbol: _ZTv0_n16_N3Gtk12ListViewTextD0Ev     (/usr/bin/inkscape)
undefined symbol: _ZN3Gtk12ListViewText16set_column_titleEjRKN4Glib7ustringE    (/usr/bin/inkscape)
/usr/bin/inkview:
        linux-gate.so.1 =>  (0xb7fb9000)
        libgtkmm-2.4.so.1 => /usr/lib/libgtkmm-2.4.so.1 (0xb7d05000)
        libgdkmm-2.4.so.1 => /usr/lib/libgdkmm-2.4.so.1 (0xb7cc6000)
        libatkmm-1.6.so.1 => /usr/lib/libatkmm-1.6.so.1 (0xb7c88000)
        libpangomm-1.4.so.1 => /usr/lib/libpangomm-1.4.so.1 (0xb7c64000)
        libcairomm-1.0.so.1 => /usr/lib/libcairomm-1.0.so.1 (0xb7c4d000)
        libglibmm-2.4.so.1 => /usr/lib/libglibmm-2.4.so.1 (0xb7c08000)
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0xb7bd4000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7ab8000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb7ab2000)
        libgtkspell.so.0 => /usr/lib/libgtkspell.so.0 (0xb7aad000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb76cf000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb763a000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7620000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb75b7000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7590000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7553000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb74d8000)
        libz.so.1 => /lib/libz.so.1 (0xb74c4000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb749a000)
        libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0xb7461000)
        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0xb7396000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7372000)
        libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0xb731a000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7231000)
        libm.so.6 => /lib/libm.so.6 (0xb720b000)
        libperl.so.5.8 => /usr/lib/libperl.so.5.8 (0xb70e0000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb70c9000)
        libssl.so.6 => /lib/libssl.so.6 (0xb7089000)
        libcrypto.so.6 => /lib/libcrypto.so.6 (0xb6f53000)
        libwpg-0.1.so.1 => /usr/lib/libwpg-0.1.so.1 (0xb6f2c000)
        libwpg-stream-0.1.so.1 => /usr/lib/libwpg-stream-0.1.so.1 (0xb6f1c000)
        libMagick++.so.10 => /usr/lib/libMagick++.so.10 (0xb6eaa000)
        libgc.so.1 => /usr/lib/libgc.so.1 (0xb6e7a000)
        liblcms.so.1 => /usr/lib/liblcms.so.1 (0xb6e4a000)
        libpoppler.so.3 => /usr/lib/libpoppler.so.3 (0xb6caf000)
        libpoppler-glib.so.3 => /usr/lib/libpoppler-glib.so.3 (0xb6c89000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6ba3000)
        libc.so.6 => /lib/libc.so.6 (0xb6a7b000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6a70000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb6a55000)
        libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0xb6a52000)
        libdl.so.2 => /lib/libdl.so.2 (0xb6a4e000)
        libenchant.so.1 => /usr/lib/libenchant.so.1 (0xb6a47000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb6a3d000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb6a38000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb6a2a000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb6a22000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb6a1f000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xb6a17000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb6a10000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb6a07000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb6a04000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb6a01000)
        libdirectfb-1.1.so.0 => /usr/lib/libdirectfb-1.1.so.0 (0xb6992000)
        libdirect-1.1.so.0 => /usr/lib/libdirect-1.1.so.0 (0xb6980000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb695a000)
        libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb6931000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6911000)
        libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb68df000)
        libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0xb68da000)
        libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb68bf000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0xb6888000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb680f000)
        libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0xb67be000)
        libavahi-glib.so.1 => /usr/lib/libavahi-glib.so.1 (0xb67ba000)
        libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0xb67af000)
        libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0xb67a0000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb678e000)
        libutil.so.1 => /lib/libutil.so.1 (0xb678a000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb6788000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb676f000)
        /lib/ld-linux.so.2 (0x80000000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0xb673c000)
        libMagick.so.10 => /usr/lib/libMagick.so.10 (0xb6558000)
        libWand.so.10 => /usr/lib/libWand.so.10 (0xb6496000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb6477000)
        libfusion-1.1.so.0 => /usr/lib/libfusion-1.1.so.0 (0xb646e000)
        libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0xb641f000)
        librt.so.1 => /lib/librt.so.1 (0xb6416000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb6406000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb6401000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb63fe000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb63f9000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0xb63a5000)
        libbz2.so.1 => /lib/libbz2.so.1 (0xb6394000)
undefined symbol: _ZThn8_N3Gtk12ListViewTextD0Ev        (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewTextD1Ev     (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewTextD0Ev     (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewText11append_textERKN4Glib7ustringE  (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewTextD2Ev     (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewTextC2EjbNS_13SelectionModeE (/usr/bin/inkview)
undefined symbol: _ZTv0_n16_N3Gtk12ListViewTextD1Ev     (/usr/bin/inkview)
undefined symbol: _ZNK3Gtk12ListViewText4sizeEv (/usr/bin/inkview)
undefined symbol: _ZThn8_N3Gtk12ListViewTextD1Ev        (/usr/bin/inkview)
undefined symbol: _ZNK3Gtk12ListViewText8get_textEjj    (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewText11clear_itemsEv  (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewText8set_textEjjRKN4Glib7ustringE    (/usr/bin/inkview)
undefined symbol: _ZN3Gtk9SizeGroup17set_ignore_hiddenEb        (/usr/bin/inkview)
undefined symbol: _ZTv0_n16_N3Gtk12ListViewTextD0Ev     (/usr/bin/inkview)
undefined symbol: _ZN3Gtk12ListViewText16set_column_titleEjRKN4Glib7ustringE    (/usr/bin/inkview)
$ 

apt> showpkg libgtkmm2
Package: libgtkmm2
Versions: 
2.12.7-alt1(/var/lib/apt/lists/ftp.altlinux.org_pub_distributions_ALTLinux_Sisyphus_i586_base_pkglist.classic)(/var/lib/apt/lists/ftp.linux.kiev.ua_pub_Linux_ALT_Sisyphus_i586_base_pkglist.classic)
2.8.3-alt0.1(/var/lib/rpm/Packages)
Comment 1 Ivan Zakharyaschev 2008-06-13 21:29:09 MSD
(In reply to comment #0)

>  A solution would be to add version to the symbols in libgtkmm's ABI and rebuild

https://bugzilla.altlinux.org/show_bug.cgi?id=16012
Comment 2 Vitaly Lipatov 2010-01-03 03:26:55 MSK
Это не решается в рамках пакета inkscape.