Gentoo Archives: gentoo-embedded

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Re: cross tool chain and depclean
Date: Mon, 18 Jun 2007 17:41:54
Message-Id: f56dnm$a69$1@sea.gmane.org
In Reply to: Re: [gentoo-embedded] Re: cross tool chain and depclean by Mike Frysinger
1 OK, lets start with the handbook. To update your system and remove
2 orphaned dependencies you do the following:
3
4 1) emerge --update --deep --newuse world
5 2) emerge --depclean
6 3) revdep-rebuild
7
8 1 is no problem.
9
10 Mike Frysinger schrieb:
11 > On Saturday 16 June 2007, Marc Blumentritt wrote:
12 >> 1.) crossdev should place the created tool chain progs in the world file
13 >> (or if there is a better suited place, than there).
14 >
15 > no, this was done by request
16
17 2 is a problem with crossdev, or rather is a problem with a cross tool
18 chain build with crossdev. The above solution is the only one I got so
19 far. I do not like it, since the world file is normally not used in this
20 way, but until you provide a better way, this is my solutuion.
21 >
22 >> 2.) crossdev should create a file in /etc/revdep-rebuild , where the
23 >> created folder(s) with the cross tool chain(s) is(are) protected from
24 >> revdep-rebuild.
25 >
26 > no, revdep-rebuild shouldnt be snooping in paths it has no business being in,
27 > nor should it try analyzing object files that arent part of the native host
28
29 3 is a problem with crossdev, or rather is a problem with a cross tool
30 chain build with crossdev. I'm using gentoo since 2005 and I have read
31 every now and then about revdep-rebuild being broken. I cannot say
32 anything about this, because I do not know, how it works. The only thing
33 I know, is, that revdep-rebuild is the official tool to use, when you
34 update your system. Therefore I think, crossdev should support it, even
35 if it is broken. The way to do it I described above. Certain binary
36 packages are using this method, since libraries provide by precompiled
37 binaries cannot be rebuild. I think, it is not so hard to implement,
38 isn't it?
39
40 Regards,
41 Marc
42
43
44 --
45 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] Re: cross tool chain and depclean Mike Frysinger <vapier@g.o>