Gentoo Archives: gentoo-user

From: Rumen Yotov <rumen@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] revdep-rebuild problem and gcc-3.4.5-r1
Date: Sun, 14 May 2006 16:36:58
Message-Id: 44675B52.2060400@qrypto.org
In Reply to: [gentoo-user] revdep-rebuild problem and gcc-3.4.5-r1 by "John J. Foster"
1 John J. Foster wrote:
2 > Good morning all,
3 >
4 > I usually run
5 > //garbanzo/root # emerge -pv depclean
6 >
7 > followed by
8 > //garbanzo/root # revdep-rebuild -p
9 > after all world updates, and rarely have any issues at all. This is a
10 > stable x86 system, except for kde, mutt, amarok and their dependencies.
11 > For about a week now, revdep-rebuild is spitting out
12 >
13 > //garbanzo/root # revdep-rebuild -p
14 > ...
15 > broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/lib-org-w3c-dom.la
16 > (requires /usr/lib/libgcj.la)
17 > broken /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/lib-org-xml-sax.la
18 > (requires /usr/lib/libgcj.la)
19 > done.
20 > ...
21 > All prepared. Starting rebuild...
22 > emerge --oneshot -p =sys-devel/gcc-3.4.5-r1
23 > These are the packages that I would merge, in order:
24 > Calculating dependencies ...done!
25 > [ebuild R ] sys-devel/gcc-3.4.5-r1
26 > Now you can remove -p (or --pretend) from arguments and
27 > re-run revdep-rebuild.
28 >
29 > I go ahead and remove the pretend option or reemerge gcc, and the next
30 > run of revdep-rebuild show the same thing. I'm not real sure how to
31 > proceed.
32 >
33 > All ideas welcome,
34 > Thanks,
35 > festus
36 >
37 Hi,
38 Check Bug-125728, there's a solution too, but only for GCC-4.X branch.
39 For 3.4.X manually fix the two broken files. Two steps below:
40 1.qlist gcc | grep -i libgcj.la (equery files gcc | grep -i libgcj.la);
41 2.manually replace "/usr/lib/libgcj.la" with
42 "/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcj.la" (from step 1).
43 PS:the solution for gcc-4.X is by putting a new option in an eclass.
44 HTH.Rumen
45 --
46 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] revdep-rebuild problem and gcc-3.4.5-r1 "John J. Foster" <Gentoo-User@××××××××××××.com>