Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62220 - emerge libglade-2.4.0 fails with gtk+-2.4.1, but runs fine with gtk+-2.4.4
Summary: emerge libglade-2.4.0 fails with gtk+-2.4.1, but runs fine with gtk+-2.4.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-30 05:26 UTC by Michael Schilling
Modified: 2004-08-31 00:01 UTC (History)
0 users

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 Michael Schilling 2004-08-30 05:26:12 UTC
emerge libglade failed with the following errors:
-------------------------------------------------
gcc -O2 -march=i686 -fomit-frame-pointer -Wall -std=c9x -o .libs/test-libglade test-libglade.o -Wl,--export-dynamic  glade/.libs/libglade-2.0.so /usr/lib/libxml2.so -lpthread -lz /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld: warning: libXinerama.so.1, needed by /usr/lib/libgdk-x11-2.0.so, not found (try using -rpath or -rpath-link)
/usr/lib/libgdk-x11-2.0.so: undefined reference to `XineramaIsActive'
/usr/lib/libgdk-x11-2.0.so: undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [test-libglade] Error 1
make[2]: Leaving directory `/var/tmp/portage/libglade-2.4.0/work/libglade-2.4.0'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libglade-2.4.0/work/libglade-2.4.0'
make: *** [all] Error 2

!!! ERROR: gnome-base/libglade-2.4.0 failed.
!!! Function gnome2_src_compile, Line 38, Exitcode 2
!!! compile failure 
-------------------------------------------------------
after updating gtk+ from version 2.4.1 to 2.4.4, emerge libglade worked!

Reproducible: Always
Steps to Reproduce:




In the RDEPEND Variable of the ebuild it should probably say:
  >=x11-libs/gtk+-2.4.4
instead of:
  >=x11-libs/gtk+-2.4
Comment 1 foser (RETIRED) gentoo-dev 2004-08-30 11:49:39 UTC
I don't think so, you compiled gtk+-2.4.1 with xinerama support back then, but ditched it later on and now you get the linking problems. Upgrading just rebuilds & relinks without the xinerama support & then ofcourse it works.
Comment 2 Michael Schilling 2004-08-31 00:01:44 UTC
This is possible too. Because it was a new install, I probably used the precompiled gtk+ package of the 2004.2-package-CD. So if that package is compiled with xinerama support, you are right.