1 |
I have similar breakage with xcb*-0.3.8 but with gnome-base/nautilus |
2 |
this time, but seems related with startup-notification... |
3 |
|
4 |
During the ebuild compilation, it fail with a link error searching for |
5 |
libxcb-aux, libxcb-event and libxcb-atom. I search in all .la file, run |
6 |
lafilefixer to verify if all la is fixed |
7 |
|
8 |
--- |
9 |
|
10 |
CCLD libeel-2.la |
11 |
CCLD check-program |
12 |
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: |
13 |
cannot find -lxcb-aux |
14 |
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: |
15 |
cannot find -lxcb-event |
16 |
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: |
17 |
cannot find -lxcb-atom |
18 |
collect2: ld returned 1 exit status |
19 |
make[2]: *** [check-program] Error 1 |
20 |
make[2]: Leaving directory |
21 |
`/var/tmp/portage/gnome-base/nautilus-2.32.2.1-r1/work/nautilus-2.32.2.1/eel' |
22 |
make[1]: *** [all-recursive] Error 1 |
23 |
make[1]: Leaving directory |
24 |
`/var/tmp/portage/gnome-base/nautilus-2.32.2.1-r1/work/nautilus-2.32.2.1' |
25 |
make: *** [all] Error 2 |
26 |
emake failed |
27 |
|
28 |
--- |
29 |
|
30 |
I found refs about this libs in some .la files inside /usr/lib (here |
31 |
libcheese-gtk.la, libgksu2.la libgnome-desktop-2.la, |
32 |
libmetacity-private.la and libstartup-notification-1.la) |
33 |
|
34 |
It looks like nautilus search for libstartup-notification and the .la |
35 |
file end with screw everything. Maybe lafilefixer should have some logic |
36 |
to search for missing lib inside la file, like revdep-rebuild do on |
37 |
binary files. Searching for such breakages is really a pain, and can |
38 |
happen oftenly with such bad tools as libtool... |
39 |
|
40 |
|
41 |
Both xcb and startup-notification are latest version and compile |
42 |
without a problem: |
43 |
|
44 |
[I] x11-libs/startup-notification |
45 |
Available versions: 0.10 (~)0.10_p20110426 {static-libs} |
46 |
Installed versions: 0.10_p20110426(16:40:14 |
47 |
04/27/11)(-static-libs) |
48 |
[I] x11-libs/xcb-util |
49 |
Available versions: 0.3.6 (~)0.3.8 {debug doc static-libs test} |
50 |
Installed versions: 0.3.8(10:15:14 04/28/11)(-doc -static-libs |
51 |
-test) |
52 |
|
53 |
(of course revdep-rebuild found nothing to do on |
54 |
/usr/lib/libstartup-notification-1.so, so no easy way to find and |
55 |
eliminate such painful bugs.) |
56 |
|
57 |
Manoel |
58 |
|
59 |
|
60 |
>There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has |
61 |
> already |
62 |
>been removed from portage (a very bad decision). |
63 |
> |
64 |
>The major problem is with libstartup-notification, which relies on a |
65 |
> function |
66 |
>defined in xcb-util-0.3.6 and no longer exists in 0.3.8. |