Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304145 - app-emulation/emul-linux-x86-*-20091231 break older apps
Summary: app-emulation/emul-linux-x86-*-20091231 break older apps
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-09 17:08 UTC by Tanktalus
Modified: 2010-02-10 16:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2010-02-09 17:08:18 UTC
Basically, with the new emul, I get:

/opt/IBM/Rational/ClearCase701/CCRC/ccrc: symbol lookup error: /usr/lib32/libgtk-x11-2.0.so.0: undefined symbol: g_dgettext

When I backlevel all the 20091231 levels to the 2008 level, this application comes up and works.

I don't see g_dgettext in the old libgtk-x11, either, so I'm not really sure what's going on, just that this app works again by going back.

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-02-10 09:14:01 UTC
Please show the output of:
ldd -r /usr/lib32/libgtk-x11-2.0.so.0
Comment 2 Tanktalus 2010-02-10 14:06:43 UTC
	linux-gate.so.1 =>  (0xf772d000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf737e000)
	libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf72fc000)
	libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf72f2000)
	libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf72b6000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf71c9000)
	libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf71c5000)
	libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf71c1000)
	libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf71bb000)
	libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf71a1000)
	libgobject-2.0.so.0 => /lib32/libgobject-2.0.so.0 (0xf7164000)
	libgmodule-2.0.so.0 => /lib32/libgmodule-2.0.so.0 (0xf715f000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf715b000)
	libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf708b000)
	libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf7030000)
	libm.so.6 => /lib32/libm.so.6 (0xf700a000)
	libc.so.6 => /lib32/libc.so.6 (0xf6ec1000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6e96000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6e87000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf6e7e000)
	libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf6e7a000)
	libXi.so.6 => /usr/lib32/libXi.so.6 (0xf6e70000)
	libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf6e69000)
	libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf6e5f000)
	libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf6e37000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf6db7000)
	libz.so.1 => /lib32/libz.so.1 (0xf6da3000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf6d9f000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf6d99000)
	/lib/ld-linux.so.2 (0xf772e000)
	libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf6d75000)
	libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf6d4b000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf6d29000)
Comment 3 Pacho Ramos gentoo-dev 2010-02-10 14:20:03 UTC
The following libs should be under /usr/lib32 and not /lib32/, what package is providing them? Or, did they installed manually by you in the past?
(In reply to comment #2)
>         libgobject-2.0.so.0 => /lib32/libgobject-2.0.so.0 (0xf7164000)
>         libgmodule-2.0.so.0 => /lib32/libgmodule-2.0.so.0 (0xf715f000)
>         libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf708b000)


equery b /lib32/libgobject-2.0.so.0 please? Thanks
Comment 4 Tanktalus 2010-02-10 14:36:43 UTC
$ equery b /lib32/libgobject-2.0.so.0
[ Searching for file(s) /lib32/libgobject-2.0.so.0 in *... ]
app-emulation/emul-linux-x86-glib-2.16.5 (/lib32/libgobject-2.0.so.0 -> libgobject-2.0.so.0.1600.5)

Note that this is a *working* system at the moment, so the ldd above is against the 2008* levels, not 2009.  Not sure if that was implied or not, so I'm just making it explicit.
Comment 5 Pacho Ramos gentoo-dev 2010-02-10 14:39:13 UTC
ldd should be run on non-working system ;-)

(In reply to comment #4)
> $ equery b /lib32/libgobject-2.0.so.0
> [ Searching for file(s) /lib32/libgobject-2.0.so.0 in *... ]
> app-emulation/emul-linux-x86-glib-2.16.5 (/lib32/libgobject-2.0.so.0 ->
> libgobject-2.0.so.0.1600.5)

Are you using multilib overlay?
Comment 6 Tanktalus 2010-02-10 14:51:18 UTC
Ok, I "upgraded" to the broken version, and when installing the gtklibs, I noticed this output:

 * Generating gtk+ immodules/gdk-pixbuf loaders listing...                      
Cannot load module /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so: /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext                         
/usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so does not export GTK+ IM module API: /usr/lib32/gtk-2.0/2.10.0/immodules/im-xim.so: undefined symbol: g_dgettext         
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-ani.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal         
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal         
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal         
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-icns.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal        
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-ico.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal         
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal        
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-pcx.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-pnm.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-ras.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-tga.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-tiff.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-wbmp.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-xbm.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal
g_module_open() failed for /usr/lib32/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so: /usr/lib32/libgdk_pixbuf-2.0.so.0: undefined symbol: g_set_error_literal

That doesn't seem good :-)  Repeating the ldd now gives me:

$ ldd -r /usr/lib32/libgtk-x11-2.0.so.0
        linux-gate.so.1 =>  (0xf7766000)                 
        libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf7310000)
        libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf730c000)      
        libXi.so.6 => /usr/lib32/libXi.so.6 (0xf7302000)                  
        libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf72fa000)          
        libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf72ef000)        
        libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf72d6000)
        libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf72cb000)
        libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf72c7000)        
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf72b8000)                    
        libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf72b3000)              
        libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf72ad000)                
        libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf7293000)              
        libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf722a000)                  
        libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf71ca000)            
        libpng12.so.0 => /usr/lib32/libpng12.so.0 (0xf71a5000)                  
        libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf719b000)              
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7081000)                      
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7068000)                      
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7064000)                      
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf705e000)                  
        libgio-2.0.so.0 => /lib32/libgio-2.0.so.0 (0xf6ffe000)                  
        libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf6fd6000)    
        libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf6f95000)          
        libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6f69000)        
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf6ee4000)            
        libz.so.1 => /lib32/libz.so.1 (0xf6ecf000)                              
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf6ea9000)                  
        libgobject-2.0.so.0 => /lib32/libgobject-2.0.so.0 (0xf6e6d000)          
        libgmodule-2.0.so.0 => /lib32/libgmodule-2.0.so.0 (0xf6e68000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf6e64000)
        libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf6d94000)
        libm.so.6 => /lib32/libm.so.6 (0xf6d6d000)
        libc.so.6 => /lib32/libc.so.6 (0xf6c25000)
        /lib/ld-linux.so.2 (0xf7767000)
undefined symbol: g_set_error_literal   (/usr/lib32/libgdk_pixbuf-2.0.so.0)
undefined symbol: g_dgettext    (/usr/lib32/libgdk_pixbuf-2.0.so.0)
undefined symbol: g_content_type_from_mime_type (/usr/lib32/libgdk_pixbuf-2.0.so.0)
undefined symbol: g_emblemed_icon_get_icon      (/usr/lib32/libgdk-x11-2.0.so.0)
undefined symbol: g_emblemed_icon_get_type      (/usr/lib32/libgdk-x11-2.0.so.0)
undefined symbol: g_dgettext    (/usr/lib32/libgdk-x11-2.0.so.0)
undefined symbol: g_emblemed_icon_get_icon      (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_signal_chain_from_overridden_handler        (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_volume_get_activation_root  (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_signal_override_class_handler       (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_dpgettext2  (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_emblem_get_icon     (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_emblemed_icon_get_emblems   (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_emblemed_icon_get_type      (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_set_error_literal   (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_signal_new_class_handler    (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_dgettext    (/usr/lib32/libgtk-x11-2.0.so.0)
undefined symbol: g_content_type_from_mime_type (/usr/lib32/libgtk-x11-2.0.so.0)

The output from equery b hasn't changed, as I think you'd expect.

Comment 7 Pacho Ramos gentoo-dev 2010-02-10 16:10:35 UTC
You still have some "strange" files like /lib32/libgio-2.0.so.0 that are not expected to be there. Maybe I am wrong, but seems that you have some "unofficial" 32bits libs in your system. Are you using multilib overlay? What emul-linux* packages do you have? (you can run simply "eix -I emul-linux" for checking what packages are installed on your system)
Comment 8 Tanktalus 2010-02-10 16:30:24 UTC
Ok, that may be - we have an overlay at $work where there are some other 32-bit apps which require more emul-linux-x86-*-style ebuilds, which are part of that overlay.  Now that you're mentioning it, I don't think I'm using them anymore, so I can uninstall them.

$ equery l emul-linux
[ Searching for package 'emul-linux' in all categories among: ]
 * installed packages                                          
[I--] [  ] app-emulation/emul-linux-x86-avahi-0.6.22-r1 (0)    
[I--] [  ] app-emulation/emul-linux-x86-baselibs-20091231 (0)  
[I--] [  ] app-emulation/emul-linux-x86-compat-20091231-r1 (0) 
[I--] [  ] app-emulation/emul-linux-x86-eel-2.22.2 (0)         
[I--] [  ] app-emulation/emul-linux-x86-gail-1.22.3 (0)        
[I--] [ ~] app-emulation/emul-linux-x86-gconf-2.22.0 (0)
[I--] [  ] app-emulation/emul-linux-x86-glib-2.16.5 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gnome-desktop-2.22.3 (0)
[I--] [  ] app-emulation/emul-linux-x86-gnome-keyring-2.22.2 (0)
[I--] [  ] app-emulation/emul-linux-x86-gnome-menus-2.22.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-gnome-vfs-2.22.0 (0)
[I--] [  ] app-emulation/emul-linux-x86-gnutls-2.2.5 (0)
[I--] [  ] app-emulation/emul-linux-x86-gtklibs-20091231 (0)
[I--] [ ~] app-emulation/emul-linux-x86-libbonobo-2.22.0 (0)
[I--] [ ~] app-emulation/emul-linux-x86-libbonoboui-2.22.0 (0)
[I--] [  ] app-emulation/emul-linux-x86-libglade-2.6.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-libgnome-2.22.0 (0)
[I--] [  ] app-emulation/emul-linux-x86-libgnomecanvas-2.20.1.1 (0)
[I--] [  ] app-emulation/emul-linux-x86-libgnomeprint-2.18.4 (0)
[I--] [  ] app-emulation/emul-linux-x86-libgnomeprintui-2.18.2 (0)
[I--] [ ~] app-emulation/emul-linux-x86-libgnomeui-2.22.1 (0)
[I--] [  ] app-emulation/emul-linux-x86-libtasn1-1.3 (0)
[I--] [  ] app-emulation/emul-linux-x86-libxkbfile-1.0.4 (0)
[I--] [  ] app-emulation/emul-linux-x86-medialibs-20091231 (0)
[I--] [  ] app-emulation/emul-linux-x86-orbit-2.14.13 (0)
[I--] [ ~] app-emulation/emul-linux-x86-popt-1.13 (0)
[I--] [  ] app-emulation/emul-linux-x86-qtlibs-20081109 (0)
[I--] [  ] app-emulation/emul-linux-x86-sdl-20091231 (0)
[I--] [  ] app-emulation/emul-linux-x86-soundlibs-20091231-r1 (0)
[I--] [  ] app-emulation/emul-linux-x86-startup-notification-0.9 (0)
[I--] [  ] app-emulation/emul-linux-x86-xlibs-20091231 (0)

I'll go through them and see which ones come from that overlay, and emerge -C them.
Comment 9 Tanktalus 2010-02-10 16:36:17 UTC
That did it.  I don't know which one interfered, but something did.  They're all gone, and now the app works.

Thanks a bunch!  I suppose that makes this defect INVALID.
Comment 10 Pacho Ramos gentoo-dev 2010-02-10 16:37:44 UTC
Yes, it's invalid, but happy to see your problem solved :-)

Regards