John J. Foster wrote:
> Good morning all,
>
> I usually run
> //garbanzo/root # emerge -pv depclean
>
> followed by
> //garbanzo/root # revdep-rebuild -p
> after all world updates, and rarely have any issues at all. This is a
> stable x86 system, except for kde, mutt, amarok and their dependencies.
> For about a week now, revdep-rebuild is spitting out
>
> //garbanzo/root # revdep-rebuild -p
> ...
> broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/lib-org-w3c-dom.la
> (requires /usr/lib/libgcj.la)
> broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/lib-org-xml-sax.la
> (requires /usr/lib/libgcj.la)
> done.
> ...
> All prepared. Starting rebuild...
> emerge --oneshot -p =sys-devel/gcc-3.4.5-r1
> These are the packages that I would merge, in order:
> Calculating dependencies ...done!
> [ebuild R ] sys-devel/gcc-3.4.5-r1
> Now you can remove -p (or --pretend) from arguments and
> re-run revdep-rebuild.
>
> I go ahead and remove the pretend option or reemerge gcc, and the next
> run of revdep-rebuild show the same thing. I'm not real sure how to
> proceed.
>
> All ideas welcome,
> Thanks,
> festus
>
Hi,
Check Bug-125728, there's a solution too, but only for GCC-4.X branch.
For 3.4.X manually fix the two broken files. Two steps below:
1.qlist gcc | grep -i libgcj.la (equery files gcc | grep -i libgcj.la);
2.manually replace "/usr/lib/libgcj.la" with
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcj.la" (from step 1).
PS:the solution for gcc-4.X is by putting a new option in an eclass.
HTH.Rumen
--
[email protected] mailing list