public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] udev and glibc update
@ 2007-02-16  7:25 Luigi Pinna
  2007-02-16  8:25 ` Bo Ørsted Andresen
  0 siblings, 1 reply; 2+ messages in thread
From: Luigi Pinna @ 2007-02-16  7:25 UTC (permalink / raw
  To: List Gentoo

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

... done!
[ebuild     U ] sys-fs/udev-104-r11 [104-r9] USE="(-selinux)" 0 kB
[ebuild     U ] sys-libs/glibc-2.5 [2.4-r4] USE="nls nptl 
nptlonly -build -glibc-compat20 -glibc-omitfp -hardened 
(-multilib) -profile (-selinux)" 0 kB

If I start to update both upgrade failed!
Udev gives:
[...]
>>> Source unpacked.
>>> Compiling source 
in /var/tmp/portage/sys-fs/udev-104-r11/work/udev-104 ...
/usr/bin/x86_64-pc-linux-gnu-ar
get_libdir = lib64
  GENHDR   udev_version.h
  CC       udev_device.o
  CC       udev_config.o
  CC       udev_node.o
  CC       udev_db.o
  CC       udev_sysfs.o
  CC       udev_rules.o
  CC       udev_rules_parse.o
  CC       udev_utils.o
  CC       udev_utils_string.o
  CC       udev_utils_file.o
  CC       udev_utils_run.o
  CC       udev_sysdeps.o
  AR       libudev.a
  RANLIB   libudev.a
make: x86_64-pc-linux-gnu-ranlib: Kommando nicht gefunden
make: *** [libudev.a] Fehler 127

!!! ERROR: sys-fs/udev-104-r11 failed.

and glibc:
[...]
checking whether we need to use -P to assemble .S files... no
checking whether .text pseudo-op must be used... yes
checking for assembler global-symbol directive... .globl
checking for .set assembler directive... yes
checking for assembler .type directive prefix... @
checking for .symver assembler directive... yes
checking for ld --version-script... yes
checking for .previous assembler directive... yes
checking for .protected and .hidden assembler directive... yes
checking whether __attribute__((visibility())) is supported... yes
checking for broken __attribute__((visibility()))... no
checking for broken __attribute__((alias()))... no
checking whether to put _rtld_local into .sdata section... no
checking for .preinit_array/.init_array/.fini_array 
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.

!!! ERROR: sys-libs/glibc-2.5 failed.


How can I solve those problems?
I rebuilded gcc but no change...
Thanks, Luigi
- -- 
Public key GPG(0xC5CB65CD) on
hkp://pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF1Vx/5ZpKrsXLZc0RAjPPAKCPLYyA6tQkP21nPCUsigMsWugZIwCgmYoT
ZmYZ9ho4VVvIrEYSCGN+RxM=
=WTyy
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] udev and glibc update
  2007-02-16  7:25 [gentoo-user] udev and glibc update Luigi Pinna
@ 2007-02-16  8:25 ` Bo Ørsted Andresen
  0 siblings, 0 replies; 2+ messages in thread
From: Bo Ørsted Andresen @ 2007-02-16  8:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2051 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-16  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16  7:25 [gentoo-user] udev and glibc update Luigi Pinna
2007-02-16  8:25 ` Bo Ørsted Andresen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox