View previous topic :: View next topic |
Author |
Message |
VanDan Guru
Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Wed Jul 16, 2008 12:03 pm Post subject: Updated libX11, borked things ... |
|
|
Hi all. I've been updating things ... as you do ... and I've broken quite a few things indeed. I'm pretty sure the culprit is libX11 ( from git ). Anyway, I'm getting the error:
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lxcb-xlib |
when rebuilding things. For example, a unixODBC build end like this:
Code: | Making install in src
make[1]: Entering directory `/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/src'
make[2]: Entering directory `/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/src'
test -z "/usr/lib64" || /bin/mkdir -p "/var/tmp/portage/dev-db/unixODBC-2.2.12/image//usr/lib64"
test -z "/usr/include" || /bin/mkdir -p "/var/tmp/portage/dev-db/unixODBC-2.2.12/image//usr/include"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libgtkodbcconfig.la' '/var/tmp/portage/dev-db/unixODBC-2.2.12/image//usr/lib64/libgtkodbcconfig.la'
/usr/bin/install -c -m 644 'odbcconfig.h' '/var/tmp/portage/dev-db/unixODBC-2.2.12/image//usr/include/odbcconfig.h'
libtool: install: warning: relinking `libgtkodbcconfig.la'
libtool: install: (cd /var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/src; /bin/sh /var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/libtool --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -march=x86-64 -O2 -msse3 -pipe -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -Wl,-O1 -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -o libgtkodbcconfig.la -rpath /usr/lib64 odbcconfig.lo support.lo callbacks.lo ../../odbcinst/libodbcinst.la -inst-prefix-dir /var/tmp/portage/dev-db/unixODBC-2.2.12/image/)
libtool: relink: x86_64-pc-linux-gnu-gcc -shared .libs/odbcconfig.o .libs/support.o .libs/callbacks.o -Wl,-rpath -Wl,/usr/lib64 -L/var/tmp/portage/dev-db/unixODBC-2.2.12/image//usr/lib64 -L/usr/lib64 -lgnomeui-2 -lgio-2.0 -lgnome-keyring -ljpeg -luuid -lbonoboui-2 -lSM -lICE -lgnomecanvas-2 -lgailutil -lxcb-render-util -lxcb-render -lgnome-2 -lgnomevfs-2 -ldbus-glib-1 -lnsl -lgnutls -ltasn1 -lgcrypt -lgpg-error -lavahi-glib -lavahi-client -ldbus-1 -lavahi-common -lresolv -lutil -lpopt -lbonobo-2 -lbonobo-activation -lORBitCosNaming-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lexpat -lpango-1.0 -lcairo -lfontconfig -lfreetype -lxml2 -lglitz -lpng12 -lz -lXrender -lX11 -lxcb-xlib -lxcb -lXau -lXdmcp -lpixman-1 -lm -lgconf-2 -lORBit-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lodbcinst -lltdl -ldl -lpthread -march=x86-64 -msse3 -pthread -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,libgtkodbcconfig.so.0 -o .libs/libgtkodbcconfig.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lxcb-xlib
collect2: ld returned 1 exit status
libtool: install: error: relink `libgtkodbcconfig.la' with the above command before installing it
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/unixODBC-2.2.12/work/unixODBC-2.2.12/gODBCConfig/src'
make: *** [install-recursive] Error 1
*
* ERROR: dev-db/unixODBC-2.2.12 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2675: Called die
* The specific snippet of code:
* emake DESTDIR="${D}" install || die "emake gODBCConfig install failed";
* The die message:
* emake gODBCConfig install failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/unixODBC-2.2.12/temp/environment'.
* |
This looks like some gtk/gnome library is being linked against that's broken. I've had semi-similar problems to this before - before I had to rebuild gtk-doc. It's not gtk-doc this time. Does anyone know what's going on? _________________ David Hicks' plea. Was it:
a) I plead guilty, or
b) Please let me out of here and end the torture |
|
Back to top |
|
|
massimo Veteran
Joined: 22 Jun 2003 Posts: 1226
|
Posted: Wed Jul 16, 2008 12:09 pm Post subject: |
|
|
A shot in the dark: re-emerge x11-libs/libxcb _________________ Hello 911? How are you? |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
Posted: Wed Jul 16, 2008 12:53 pm Post subject: |
|
|
Try revdep-rebuild (from gentoolkit). _________________ My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing. |
|
Back to top |
|
|
VanDan Guru
Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Thu Jul 17, 2008 1:58 am Post subject: |
|
|
Yeah I've done both of these - no progress. One thing I did notice though was this patch:
Code: | xcb-0001-Remove-libxcb-xlib-and-xcbxlib.h.patch |
Sounds related. Anyway, for now, I've gone sym-link crazy until things stop complaining. _________________ David Hicks' plea. Was it:
a) I plead guilty, or
b) Please let me out of here and end the torture |
|
Back to top |
|
|
hirakendu Guru
Joined: 24 Jan 2007 Posts: 386 Location: san diego
|
|
Back to top |
|
|
VanDan Guru
Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Thu Jul 17, 2008 8:46 am Post subject: |
|
|
Quote: | Another shot in dark - do you have USE='xcb' while emerging libX11? |
Yes _________________ David Hicks' plea. Was it:
a) I plead guilty, or
b) Please let me out of here and end the torture |
|
Back to top |
|
|
makuro n00b
Joined: 19 Sep 2009 Posts: 1 Location: San Jose, CA
|
Posted: Sat Sep 19, 2009 1:04 pm Post subject: |
|
|
I had a similar problem. I did reemerge the x11-libs/libxcb, which didn't fix the problem, per se. But I did pick up on a message that came with the package. It said to run a revdep-rebuild on libxcb-xlib.so.0.0.0, followed by execution of some sort of fix-it script. Basically:
Code: | revdep-rebuild -i --library="libxcb-xlib.so.0.0.0"
/usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh |
No more problems with -lxcb-xlib missing. |
|
Back to top |
|
|
loftwyr l33t
Joined: 29 Dec 2004 Posts: 970 Location: 43°38'23.62"N 79°27'8.60"W
|
|
Back to top |
|
|
|