On Friday 16 February 2007 08:25:45 Luigi Pinna wrote: > Hi, > I gave a sync 2 days ago and my world update had that output: > # emerge -upvD world > > These are the packages that would be merged, in order: > > Calculating world dependencies | > > !!! Ebuilds for the following packages are either all > !!! masked or don't exist: > sys-fs/raidtools
You should probably fix that (there's thread on gentoo-dev@ about sys-fs/mdadm
superceeding raidtools...).
[SNIP]
> RANLIB libudev.a
> make: x86_64-pc-linux-gnu-ranlib: Kommando nicht gefunden
> make: *** [libudev.a] Fehler 127
[SNIP]
> support... /var/tmp/portage/sys-libs/glibc-2.5/work/glibc-2.5/configure:
> line 5513: readelf: command not found
> no
> configure: error: Need linker with .init_array/.fini_array support.
These belong to binutils. Most likely your binutils config is just broken
meaning /usr/bin/{ranlib,readelf} are dangling symlinks (or pointing to
dangling symlinks...) rather that pointing to the correct location.
# ls -l /usr/bin/{ranlib,readelf}
lrwxrwxrwx 1 root root 24 2006-12-02 02:20 /usr/bin/ranlib ->
i686-pc-linux-gnu-ranlib
lrwxrwxrwx 1 root root 25 2006-12-02 02:20 /usr/bin/readelf ->
i686-pc-linux-gnu-readelf
# ls -l /usr/bin/i686-pc-linux-gnu-{ranlib,readelf}
lrwxrwxrwx 1 root root 33 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-ranlib ->
/usr/i686-pc-linux-gnu/bin/ranlib
lrwxrwxrwx 1 root root 34 2006-12-02 02:20 /usr/bin/i686-pc-linux-gnu-readelf
-> /usr/i686-pc-linux-gnu/bin/readelf
There's a good chance that you can fix this with binutils-config.
# binutils-config -l
[1] i686-pc-linux-gnu-2.16.1
[2] i686-pc-linux-gnu-2.17 *
# binutils-config 2
* Switching to i686-pc-linux-gnu-2.17 ...
[ ok ]
[...]
# source /etc/profile
Even if the right binutils is selected, reselecting it may fix it..
--
Bo Andresen
pgpsDmhIAkwll.pgp
Description: PGP signature

