Gentoo Archives: gentoo-dev

From: "Rémi Cardona" <remi@g.o>
To: gentoo dev <gentoo-dev@l.g.o>, gentoo-dev-announce@l.g.o
Subject: [gentoo-dev] Unmasking of libxcb 1.4 and related libs in !2008.0 profiles
Date: Tue, 18 Aug 2009 14:52:44
Message-Id: 4A8AC037.6000700@gentoo.org
1 Hi all,
2
3 Just a quick heads up that I have just unmasked x11-libs/libxcb-1.4 and
4 its companion libraries in all profiles _except_ 2008.0.
5
6 As some of you have already found out, since 1.2, libxcb stopped
7 shipping a very specific library: libxcb-xlib.so. This library was only
8 ever meant to be used internally by libX11, but due to libtool's
9 infamous .la files, the removal of this library may cause some headaches
10 during the upgrade.
11
12 Here are a few steps to fix the breakage :
13
14 1) make sure that /usr/lib/libxcb-xlib.* are gone. Portage 2.2_rc* users
15 _should_ remove it as well.
16
17 2) run /usr/portage/x11-libs/libxcb/files/xcb-rebuilder.sh to fix .la
18 files. If the tool reports broken packages, please read on. If not,
19 lucky you, your system is ready to go :)
20
21 3) run the following one liner to rebuild a simple, yet effective,
22 subset of potentially broken packages. Do not worry, packages you don't
23 have installed will not be installed.
24
25 emerge --oneshot --nodeps \
26 $(for i in x11-proto/ x11-libs/libxcb x11-libs/libX11 x11-libs/libXext \
27 x11-libs/libX x11-libs/xcb-util x11-libs/cairo \
28 x11-libs/pango x11-libs/gtk+ gnome-base/libgnomeui \
29 x11-libs/qt-gui; do \
30 qlist -IC $i; \
31 done) -pv
32
33 4) use revdep-rebuild (from app-portage/gentoolkit) to finish fixing the
34 rest of your system.
35
36 I hope those instructions are clear enough. If not, please don't
37 hesitate to let me know.
38
39 Oh and if someone with sufficient guidexml skills could xmlify these
40 instructions, I would be very thankful :)
41
42 Thanks for reading this.
43
44 Rémi

Replies