View previous topic :: View next topic |
Author |
Message |
cracki n00b
Joined: 12 Oct 2005 Posts: 34
|
Posted: Sat Feb 07, 2009 6:51 pm Post subject: no libxcb-xlib.la, whole system unuseable |
|
|
After an emerge world yesterday my system is now completly unuseable.
Most apps fail to emerge:
/bin/sed: can't read /usr/lib64/libxcb-xlib.la: No such file or directory
libtool: link: `/usr/lib64/libxcb-xlib.la' is not a valid libtool archive
KDE doesnt start, only one working is fluxbox please help! |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sat Feb 07, 2009 8:07 pm Post subject: |
|
|
Tried re-emerging libxcb? |
|
Back to top |
|
|
cracki n00b
Joined: 12 Oct 2005 Posts: 34
|
Posted: Sat Feb 07, 2009 8:49 pm Post subject: |
|
|
No that doesnt help. |
|
Back to top |
|
|
stei7766 n00b
Joined: 11 May 2008 Posts: 4
|
Posted: Sun Feb 08, 2009 7:47 pm Post subject: |
|
|
Ugh.
libxcb is causing all kinds of trouble for me with a emerge -vuDN world.
Updates as I try to figure out whats going on, but at this point I'm terrified to reboot.
Check bug 158476 for some info. |
|
Back to top |
|
|
stei7766 n00b
Joined: 11 May 2008 Posts: 4
|
Posted: Sun Feb 08, 2009 9:24 pm Post subject: |
|
|
Hmm, check which version of libxcb you have installed. It seems that libxcb-xlib.la was removed from libxcb with version 1.1.92. Seems like a bit of a nutty change to make over a minor version bump, especially considering how many things depend upon that one file.
I downgraded and everything is ok now. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Sat Mar 07, 2009 7:44 pm Post subject: |
|
|
downgrade to libxcb-1.1 _________________ this is a strange strange world. |
|
Back to top |
|
|
lynczu n00b
Joined: 23 Dec 2005 Posts: 17
|
Posted: Sun Mar 08, 2009 5:15 pm Post subject: |
|
|
tranquilcool wrote: | downgrade to libxcb-1.1 |
Lots of pkgs require libxcb-1.2, e.g. ffmpeg. Is there any other option? |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Mar 08, 2009 9:27 pm Post subject: |
|
|
I have the same problem. the x11 overlay asked me to upgrade
some packages which pulled in libxcb-1.2 and now downgrading
would be a big pain ....
I temporarily unmerged libxcb-1.2, emerged 1.1, moved the libxcb-xlib*
files from /usr/lib to /usr/local/lib, then upgraded to libxcb-1.2 once
again. Now the old programs will at least run and so will the new ones.
But I can't emerge the old packages that depended on the old libxcb.
It's a big mess, and I don't know how it ought to be fixed ...
Any advice would be very welcome ... _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
justinkb Apprentice
Joined: 23 Dec 2008 Posts: 161
|
Posted: Mon Mar 09, 2009 11:00 am Post subject: |
|
|
mask the packages in the overlay, revdep-rebuild and depclean is what i would do...
or... revdep-rebuild all the packages to link against libxcb-1.2 (assuming this is possible, which should be likely), however, this might take a long time since that will amount to emerging over 100 of packages.
i remember changing cairo use flag to -xcb, and having to rebuild virtually every package that used X. |
|
Back to top |
|
|
Gef Apprentice
Joined: 17 May 2008 Posts: 180 Location: France
|
Posted: Mon Mar 09, 2009 11:46 am Post subject: |
|
|
I dealt with the same issue this week-end.
libxcb-1.2 pulled in with x11 overlay. The upgrade broke many packages.
I used the one-liner trick from bug #158476 and then massively used revdep-rebuild, and --keep-going option for portage (2.2.*) to recompile everything that needed to be.
Everything is now sane and stable.
A few hours ago, x11 staff added a modified version of their xcb-rebuilder.sh script, that can be usefull ($PORTDIR_OVERLAY/x11-libs/libxcb/files/xcb-rebuilder.sh). _________________ Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64 |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Mar 09, 2009 1:21 pm Post subject: |
|
|
Not working for me - the packages won't rebuild after the new libxcb is
in place since they seem to need files that libxcb-1.2 has decided to
remove altogether. I don't see how to fix this short of downgrading.
It's annoying that xcb-rebuild.sh tries to rebuild packages that cannot
be rebuilt because of libxcb-1.2 _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
Gef Apprentice
Joined: 17 May 2008 Posts: 180 Location: France
|
Posted: Mon Mar 09, 2009 1:23 pm Post subject: |
|
|
Did you sed'd out the *libxcb* references in /usr/lib/*.la and /usr/kde/lib/*.la ? _________________ Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64 |
|
Back to top |
|
|
IlGab Guru
Joined: 26 Nov 2004 Posts: 486
|
Posted: Mon Mar 09, 2009 1:25 pm Post subject: |
|
|
I have a proble with this new libxcb... many package failed to build but not for a missing .la
Gimp failed with
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_unlock_io'
/usr/lib/libxcb-xlib.so.0: undefined reference to `_xcb_lock_io'
But I can't find anything about this issue.
Anyone have the same problem ? |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Mar 09, 2009 1:58 pm Post subject: |
|
|
Quote: | Did you sed'd out the *libxcb* references in /usr/lib/*.la and /usr/kde/lib/*.la |
yeah - I ran that little magic spell.
But here's an example of one problem (and this nightmare has many facets).
I emerged libxcb-1.2 (using x11 overlay). The message after the emerge is
this:
Code: | * libxcb-1.2 removed libxcb-xlib.so. Run xcb-rebuilder.sh to rebuild
* packages that broke. revdep-rebuild may also work. |
Now I run xcb-rebuilder.sh and it wants to rebuild (among others) kicker.
But kicker fails with this message:
Code: | usr/kde/3.5/bin/kde-config: error while loading shared libraries: libxcb-xlib.so.0: cannot open shared object file: No such file or directory |
The very thing which requires rebuilding after installing libxcb is what prevents that
rebuilding. It's a "nice" catch-22. _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
Gef Apprentice
Joined: 17 May 2008 Posts: 180 Location: France
|
Posted: Mon Mar 09, 2009 3:24 pm Post subject: |
|
|
Haaa
Quote: |
~ # qfile /usr/kde/3.5/bin/kde-config
kde-base/kdelibs (/usr/kde/3.5/bin/kde-config) |
You want to rebuild kdelibs (I did it yesterday) _________________ Laptop : Gentoo ~amd64
(remote) Server : Gentoo amd64 |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Mon Mar 09, 2009 4:02 pm Post subject: |
|
|
that might work - but I've decide to rebuild with -xcb
(That will show xcb who's boss ) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
|
gimpel Advocate
Joined: 15 Oct 2004 Posts: 2720 Location: Munich, Bavaria
|
Posted: Mon Mar 09, 2009 5:16 pm Post subject: |
|
|
Generally a revdep-rebuild solves it, but in case of Gtk+ apps like gimp I had to run a source /etc/profile between tries in the same shell.
There is also a script /usr/bin/xcb-rebuilder.sh which doesn't really work that well. _________________ http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
|
|
Back to top |
|
|
jUmB0 n00b
Joined: 19 Jan 2004 Posts: 29 Location: (Currently back in Iraqistan)
|
Posted: Sat Apr 04, 2009 10:57 pm Post subject: |
|
|
im guessing people affected by this are compiz users who built cairo +xcb
nobody would enable such an odd useflag just out of curiosity
after compiling libxcb from the x11 overlay
rebuild cairo first and then revdep-rebuild -- --keep-going
but you could probably omit the --keep-going part |
|
Back to top |
|
|
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Apr 04, 2009 11:16 pm Post subject: |
|
|
jUmB0 wrote: | im guessing people affected by this are compiz users who built cairo +xcb
nobody would enable such an odd useflag just out of curiosity | I did jUmB0 wrote: | after compiling libxcb from the x11 overlay
rebuild cairo first and then revdep-rebuild -- --keep-going
but you could probably omit the --keep-going part | So I can just get rid of the xcb USE flag globaly without loosing any real functionality or just build cairo -xcb? |
|
Back to top |
|
|
jUmB0 n00b
Joined: 19 Jan 2004 Posts: 29 Location: (Currently back in Iraqistan)
|
Posted: Sun Apr 05, 2009 12:35 am Post subject: |
|
|
if you dont know what a useflag does you may not want to enable it globally
equery -h xcb
or
euse -I xcb
see what packages have been actually compiled with the xcb flag enabled
its probably better off in package.use, you may want to review your make.conf
equery d libxcb
to check what depends on the offending library
emerge those packages first. once those packages are rebuilt and are presumably using the
correct library revdep-rebuild will remerge everything linked agaisnt them, magically fixing the problem.
you will feel like a wizard.
you should be able to walk away and have a working system whenever revdep-rebuild is done.
it worked for me but I'm not willing to break my system to verify this |
|
Back to top |
|
|
smithjd15 Tux's lil' helper
Joined: 12 Mar 2003 Posts: 130 Location: Edmonton, AB, CA
|
Posted: Thu Oct 01, 2009 3:47 am Post subject: |
|
|
* libxcb-xlib.so is no longer shipped by libxcb but was kept on your system
*
* While your system will still work, emerging new packages or updates
* will likely fail. You can fix broken libtool .la files by running :
*
* /var/paludis/x11-libs/libxcb/files/xcb-rebuilder.sh
*
* To completely get rid of libxcb-xlib.so references, please read :
* http://www.gentoo.org/proj/en/desktop/x/x11/libxcb-1.4-upgrade-guide.xml |
|
Back to top |
|
|
|