1 |
On Wednesday 03 January 2007 09:17, Alan McKinnon wrote: |
2 |
> I was recently giving DirectFB a test evaluation and would like to |
3 |
> remove it. My wm of choice - e17 - currently doesn't compile with |
4 |
> directfb on the system which changes "like to remove" to "must remove". |
5 |
> Should be easy enough, I've done it before: |
6 |
[SNIP] |
7 |
> But not this time. revdep-rebuild throws out about 100 of these: |
8 |
> |
9 |
> broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la |
10 |
> (requires /usr/lib/libdirectfb.la) |
11 |
> broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la |
12 |
> (requires /usr/lib/libfusion.la) |
13 |
> broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la |
14 |
> (requires /usr/lib/libdirect.la) |
15 |
> |
16 |
> Affected packages are mostly beryl, emerald, gimp, gtk+2 and the e17 |
17 |
> supporting libs. |
18 |
|
19 |
It have been better to include the full output of `revdep-rebuild -i -vp` |
20 |
either inline or attached as a compressed file... |
21 |
|
22 |
> I've tried to remerge about 10 of them manually and |
23 |
> they ALL fail with this same kind of error: |
24 |
[SNIP] |
25 |
> /bin/sh ./libtool --mode=link |
26 |
> i686-pc-linux-gnu-gcc -O2 -march=pentium4 -pipe -Wall -std=c9x |
27 |
> -fno-strict-aliasing -o pangocairo.la -rpath |
28 |
> /usr/lib/python2.4/site-packages/gtk-2.0 -module -avoid-version |
29 |
> -export-symbols-regex initpangocairo pangocairo_la-pangocairomodule.lo |
30 |
> pangocairo_la-pangocairo.lo -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 |
31 |
> -lgmodule-2.0 -ldl -lglib-2.0 -lcairo grep: /usr/lib/libdirectfb.la: No |
32 |
> such file or directory |
33 |
> /bin/sed: can't read /usr/lib/libdirectfb.la: No such file or directory |
34 |
> libtool: link: `/usr/lib/libdirectfb.la' is not a valid libtool archive |
35 |
[SNIP] |
36 |
> I get the revdep-rebuild output - the .la lists a lib that is not longer |
37 |
> there. But why the compile error? pygtk has no directfb USE flag, and I |
38 |
> can't figure out why it would want to grep /usr/lib/libdirectfb.la. |
39 |
[SNIP] |
40 |
|
41 |
Because it links against cairo which is still linked against libdirectfb.la. |
42 |
revdep-rebuild makes no attempt (or fails ;) to figure out in which order the |
43 |
packages should remerged. Cairo, pango and gtk+ are probably on the list from |
44 |
revdep-rebuild and should be remerged first (in that order)... |
45 |
|
46 |
-- |
47 |
Bo Andresen |