Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glibc configure fails while doing 2005 upgrade (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Tue Mar 29, 2005 11:52 pm    Post subject: glibc configure fails while doing 2005 upgrade (solved) Reply with quote

Followed the manual installion in hte 2005 upgrade guide. When I got to the step that said emerge -v --oneshot '>=sys-libs/glibc-2.3.4.20041102' (code listing 9) it failed with the following:

Code:

hecking for is_selinux_enabled in -lselinux... no
checking for egrep... grep -E
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function glibc_do_configure, Line 707, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message


Anyone have any idea what is going on?


Last edited by hvengel on Wed Mar 30, 2005 6:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
battersea
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2003
Posts: 122
Location: Hove, Belgium

PostPosted: Wed Mar 30, 2005 12:21 am    Post subject: Reply with quote

same problem here
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Mar 30, 2005 12:28 am    Post subject: Reply with quote

OK so I am not the only one. Also all of my 32 bit apps are not working at this point. Of course I have not been able to complete the upgrade so this may nont mean anything. I think I will open a bug report on it.
Back to top
View user's profile Send private message
ebrostig
Bodhisattva
Bodhisattva


Joined: 20 Jul 2002
Posts: 3152
Location: Orlando, Fl

PostPosted: Wed Mar 30, 2005 12:31 am    Post subject: Reply with quote

Can you post the output of 'emerge info'?

I'm particularly interested in your gcc version among other things.

Erik
_________________
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Mar 30, 2005 12:37 am    Post subject: Reply with quote

Created bug report.

https://bugs.gentoo.org/show_bug.cgi?id=87187
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Wed Mar 30, 2005 4:16 am    Post subject: Reply with quote

same problem here
Code:
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.

!!! ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed.
!!! Function glibc_do_configure, Line 707, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message.

make: *** [step5] Error 1
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Wed Mar 30, 2005 6:18 am    Post subject: Reply with quote

Why dont u post the config.log. Probably some error in the configure script.
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Mar 30, 2005 7:36 am    Post subject: Reply with quote

It is attached to the bug report. But it looks like this is what the problem is:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find /emul/linux/x86/lib/libc.so.6

There are many files in /emul/linux/x86/lib so I am not sure what happened to this one. Anyone know which package has this?
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Mar 30, 2005 7:57 am    Post subject: Reply with quote

Here is my emerge info:

Code:

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 28 2005, 23:05:42)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.osuosl.org/ http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts cdr crypt cups curl dvr esd fam flac font-server foomaticdb fortran gdbm gif gimpprint gpm gtk gtk2 imagemagick imlib ipv6 jack java jp2 jpeg junit kde lzw lzw-tiff mad matrox motif mp3 nas ncurses nls nptl oggvorbis opengl oss pam perl pic png ppds python qt readline scanner sdl ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales wxwindows xinerama xml2 xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Back to top
View user's profile Send private message
McHosch
n00b
n00b


Joined: 17 Feb 2005
Posts: 2

PostPosted: Wed Mar 30, 2005 11:43 am    Post subject: Reply with quote

it works for me with:

FEATURES="-sandbox" emerge glibc
Back to top
View user's profile Send private message
brenden
l33t
l33t


Joined: 09 Mar 2004
Posts: 710
Location: Calgary, AB

PostPosted: Wed Mar 30, 2005 3:47 pm    Post subject: Reply with quote

still no good here :(
Back to top
View user's profile Send private message
wiktorw
n00b
n00b


Joined: 14 Dec 2004
Posts: 39
Location: Lodz, Poland

PostPosted: Wed Mar 30, 2005 4:05 pm    Post subject: Reply with quote

McHosch wrote:
it works for me with:

FEATURES="-sandbox" emerge glibc


But then you might end with a system without working sandbox!

It happened to me once while upgrading...
So I'm doing a clean installation of 2005.0 right now :|
Oh well, it just happens sometimes.
_________________
Change is the only constant in the universe.
Heraclitus
Back to top
View user's profile Send private message
hvengel
Guru
Guru


Joined: 19 Sep 2004
Posts: 515

PostPosted: Wed Mar 30, 2005 6:59 pm    Post subject: Reply with quote

The error that I was recieving appears to be because something happened when I emerged emul/.../glibc... since I was missing /emul/linux/x86/lib/libc.so.6. So I tried to re-emerge emul/.../glibc... and this didn't work.

What I ended up doing was resetting the profile to 2004.3 and then removing /lib32 and /usr/lib32 and then recreating the symlinks from /lib32 and /usr/lib32 to /emul... This basicly reset my system to a 2004.3 profile and I started over.

I am currently compiling glibc (which takes a long time even on an amd64 machine) and I am well past where it failed before. So it apears that either I messed up during the first 2005 update process or that there was some kind of glitch the first time I emerged emul/.../glibc... Doesn't matter which at this point. What does matter is that it is not hard to reset your system so that it is a 2004.3 system again so that you can start the 2005 update process from the begining.

Edit

I can report that this worked. Everything on my machine is fine now.

End edit
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 31, 2005 8:17 pm    Post subject: Reply with quote

Please follow up to https://forums.gentoo.org/viewtopic-t-293507.html

Moved from Gentoo on AMD64.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum