Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150409 - broken libgtk-x11-2.0.so.0 from gtk+-2.8.x
Summary: broken libgtk-x11-2.0.so.0 from gtk+-2.8.x
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-07 13:06 UTC by Anton Repko
Modified: 2007-03-05 18:54 UTC (History)
1 user (show)

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


Attachments
output of emerge --info (emerge-info,3.16 KB, text/plain)
2006-10-13 13:44 UTC, Anton Repko
Details
output of emerge gtk+ (emerge-gtk+-2.8.19.tar.bz2,43.28 KB, text/plain)
2006-10-14 13:52 UTC, Anton Repko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Repko 2006-10-07 13:06:12 UTC
after upgrading portage tree to 20060928 and trying to upgrade gnome (compiler gcc-3.4.6-r1; glibc-2.4-r3, glib-2.10.3, gtk+-2.8.19, I recompiled all x11 packages with this), I was unable to install gtkhtml:

/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cairo_create'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cairo_set_source_pixbuf'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cairo_rectangle'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_x11_display_set_cursor_theme'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_screen_set_resolution_libgtk_only'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_screen_get_font_options_libgtk_only'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_window_set_urgency_hit'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_x11_window_get_user_time'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cursor_new_from_name'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cursor_get_image'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_screen_set_font_options_libgtk_only'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_cairo_set_source_color'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_display_warp_pointer'
/usr/lib/libgtk-x11-2.0.so.0: undefined reference to `gdk_screen_get_resolution_libgtk_only'

and unable to run any gtk-based application (same missing functions). (I didn't use gcc 4.1.1, because it couldn't compile kdelibs). I tried GRP package gtk+-2.8.8 from 2006.1, which gave same errors (so there is probably problem with dependencies in ebuild of gtk+-2.8.xx, not compilation). Finally, I installed GRP package gtk+-2.6.7 and gnome applications run without errors.
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2006-10-07 13:35:44 UTC
try running "emerge -DuNa world", you shouldn't try to only update some parts of portage unless you have a very good reason not to. You can also try rebuilding cairo and then gtk+.
Comment 2 Anton Repko 2006-10-13 13:44:07 UTC
Created attachment 99592 [details]
output of emerge --info
Comment 3 Anton Repko 2006-10-13 13:45:45 UTC
I compiled gcc-4.1.1, ran emerge -e, so the whole system is up to date (except broken packages fox, octave, gnumeric, scilab, celestia, rezound, audacity). Problem with missing functions in libgtk-x11-2.0.so.0 is still here.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2006-10-13 21:47:58 UTC
Did you do an emerge sync? because it looks like you don't have all the latest packages (kernel-headers, you seem to have 2.6.11 whereas the latest is 2.6.17)

Please run :
emerge --sync
emerge -Duav world
revdep-rebuild
Comment 5 Anton Repko 2006-10-14 06:15:14 UTC
I didn't use emerge --sync, I downloaded snapshot portage-20061007.tar.bz2 and then ran emerge -e (packages fox, octave, celestia, rezound unable to compile by new gcc-4.1.1 succesfully compiled by gcc-3.4.6). Now:
emerge -Duav world -> only wanted to emerge gtkhtml-3.10.2 (failed) and gnumeric
revdep-rebuild -> emerged openbabel and then everything was OK

linux-headers-2.6.17-r1 is masked ~amd64, but I emerged it either.

I wonder why libgtk-x11-2.0.so.0 from gtk+-2.6.x is bigger than from gtk+-2.8.x, maybe some functions are exported elsewhere, what is probably my problem. I wanted to know where.
I think I emerge GRP package gtk+-2.6.7 again and let it be...
(I can't compile gtk+-2.6.10-r1 by neither gcc-3.4.6, gcc-4.1.1)
Comment 6 Anton Repko 2006-10-14 13:52:13 UTC
Created attachment 99678 [details]
output of emerge gtk+

there are three files:
gtk+compil-stdout - output of emerge --buildpkgonly -v gtk+ (USE="tiff jpeg")
gtk+compil-stderr - error output
list-files - list of files in created package
compiled with gcc-4.1.1 on amd64 (updated profile from 2005.1 to 2006.1/desktop)
other packages: glib-2.10.3, cairo-1.0.4, pango-1.12.3
size of gtk+-2.8.19.tbz2 - 4492417 B
size of libgtk-x11-2.0.so.0.800.19 - 3231688 B
This is about GRP package from http://tinderbox.x86.dev.gentoo.org/hardened/amd64/multilib/gtk+-2.8.19.tbz2
(which is probably compiled with gcc-3.4.6) to compare:
size of gtk+-2.8.19.tbz2 - 6883811 B
size of libgtk-x11-2.0.so.0.800.19 - 3933248 B
But after installing this package, there is another error:
gtk-query-immodules-2.0: symbol lookup error: /usr/lib/libgtk-x11-2.0.so.0: undefined symbol: gdk_cairo_create
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2007-03-04 23:24:29 UTC
Can you still reproduce with gtk 2.10 and cairo 1.2 ?

Thanks
Comment 8 Anton Repko 2007-03-05 18:40:53 UTC
Sorry, I moved to Debian. I'm busy now and don't have time for compiling.
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2007-03-05 18:54:08 UTC
Closing as per comment #8.