On Wednesday 03 January 2007 09:17, Alan McKinnon wrote:
> I was recently giving DirectFB a test evaluation and would like to
> remove it. My wm of choice - e17 - currently doesn't compile with
> directfb on the system which changes "like to remove" to "must remove".
> Should be easy enough, I've done it before:
[SNIP]
> But not this time. revdep-rebuild throws out about 100 of these:
>
>   broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la
> (requires /usr/lib/libdirectfb.la)
>   broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la
> (requires /usr/lib/libfusion.la)
>   broken /usr/lib/python2.4/site-packages/gtk-2.0/vtemodule.la
> (requires /usr/lib/libdirect.la)
>
> Affected packages are mostly beryl, emerald, gimp, gtk+2 and the e17
> supporting libs.

It have been better to include the full output of `revdep-rebuild -i -vp` 
either inline or attached as a compressed file...

> I've tried to remerge about 10 of them manually and 
> they ALL fail with this same kind of error:
[SNIP]
> /bin/sh ./libtool --mode=link
> i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -pipe -Wall -std=c9x
> -fno-strict-aliasing   -o pangocairo.la -rpath
> /usr/lib/python2.4/site-packages/gtk-2.0 -module -avoid-version 
> -export-symbols-regex initpangocairo pangocairo_la-pangocairomodule.lo
> pangocairo_la-pangocairo.lo -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0
> -lgmodule-2.0 -ldl -lglib-2.0 -lcairo grep: /usr/lib/libdirectfb.la: No
> such file or directory
> /bin/sed: can't read /usr/lib/libdirectfb.la: No such file or directory
> libtool: link: `/usr/lib/libdirectfb.la' is not a valid libtool archive
[SNIP]
> I get the revdep-rebuild output - the .la lists a lib that is not longer
> there. But why the compile error? pygtk has no directfb USE flag, and I
> can't figure out why it would want to grep /usr/lib/libdirectfb.la.
[SNIP]

Because it links against cairo which is still linked against libdirectfb.la. 
revdep-rebuild makes no attempt (or fails ;) to figure out in which order the 
packages should remerged. Cairo, pango and gtk+ are probably on the list from 
revdep-rebuild and should be remerged first (in that order)...

-- 
Bo Andresen

Attachment: pgpUJv4yi2uYx.pgp
Description: PGP signature

Reply via email to