On 09/15/2009 10:35 AM, Helmut Jarausch wrote:
Hi,

as I have just bitten by it, have a look at
http://bugs.gentoo.org/show_bug.cgi?id=285004

before upgrading to x11-libs/libxcb-1.4 (1.4.-r1)

since this breaks any X11-application (including your
browser to look at the URL above)

Such an update should be DOUBLY MASKED !!!

And the messages coming with libxcb just don't help.
revdep-rebuild doesn't help either.

And one cannot remerge the broken packages either,
since there configure bails out.

Oh dear, Gentoo !

It temporarily broke my system too, but nothing dramatic:

emerge -1 -j4 \
$(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
           x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
           x11-libs/pango x11-libs/gtk+ gnome-base/libgnomeui \
           x11-libs/qt-gui; do \
    qlist -IC $i; \
done) -v

resulted in a build failure (a package complained about missing symbols in libxcb-xlib.so during the link step). According to the upgrade guide, that was not supposed to happen. The fix was easy though; I just ran revdep-rebuild at this point (not many packages needed a rebuild, I guess having "--as-needed" in my LDFLAGS saved the day) and then I repeated the command, finally deleted /usr/lib/libxcb-xlib.so* and everything was fine.

One other slight breakage was revdep-rebuild wanting to rebuilt the same package over and over again. If revdep-rebuild wants to repeatedly rebuild a package, you have to unmerge that package first and then re-run revdep-rebuild; only then will you see the final packages that need to be rebuild (in my case, kde-base/systemsettings).

Of course, rebooting the machine before finishing all of this is not a good idea.


Reply via email to