OK, lets start with the handbook. To update your system and remove
orphaned dependencies you do the following:
1) emerge --update --deep --newuse world
2) emerge --depclean
3) revdep-rebuild
1 is no problem.
Mike Frysinger schrieb:
> On Saturday 16 June 2007, Marc Blumentritt wrote:
>> 1.) crossdev should place the created tool chain progs in the world file
>> (or if there is a better suited place, than there).
>
> no, this was done by request
2 is a problem with crossdev, or rather is a problem with a cross tool
chain build with crossdev. The above solution is the only one I got so
far. I do not like it, since the world file is normally not used in this
way, but until you provide a better way, this is my solutuion.
>
>> 2.) crossdev should create a file in /etc/revdep-rebuild , where the
>> created folder(s) with the cross tool chain(s) is(are) protected from
>> revdep-rebuild.
>
> no, revdep-rebuild shouldnt be snooping in paths it has no business being in,
> nor should it try analyzing object files that arent part of the native host
3 is a problem with crossdev, or rather is a problem with a cross tool
chain build with crossdev. I'm using gentoo since 2005 and I have read
every now and then about revdep-rebuild being broken. I cannot say
anything about this, because I do not know, how it works. The only thing
I know, is, that revdep-rebuild is the official tool to use, when you
update your system. Therefore I think, crossdev should support it, even
if it is broken. The way to do it I described above. Certain binary
packages are using this method, since libraries provide by precompiled
binaries cannot be rebuild. I think, it is not so hard to implement,
isn't it?
Regards,
Marc
--
gentoo-embedded@g.o mailing list
|