Summary: | update to glibc-2.3.6-r4 fails with missing file stdio_lim.d | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Schreiber <als> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | als |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge log for last emerge --update glibc run |
Description
Alexander Schreiber
2006-06-26 04:16:35 UTC
that's a bit weird since that rule is supposed to be generating stdio_lim.d are you out of space or something ? if you try to emerge glibc again, does it work ? Plenty of disk space all around: Filesystem Size Used Avail Use% Mounted on /dev/hda1 1.8G 569M 1.2G 34% / udev 495M 152K 495M 1% /dev shm 495M 0 495M 0% /dev/shm /dev/mapper/system-var 2.0G 345M 1.6G 18% /var /dev/mapper/system-vartmp 4.0G 181M 3.6G 5% /var/tmp /dev/mapper/system-varlog 2.0G 540M 1.4G 29% /var/log /dev/mapper/system-varlogarchive 2.0G 33M 1.9G 2% /var/log/archive /dev/mapper/system-varspool 4.0G 52M 3.7G 2% /var/spool /dev/mapper/system-www 4.0G 40M 4.0G 1% /var/www /dev/mapper/system-usr 7.9G 4.8G 2.8G 64% /usr /dev/mapper/system-distfiles 7.9G 1.1G 6.5G 15% /usr/portage/distfiles /dev/mapper/system-home 4.0G 665M 3.1G 18% /home /dev/mapper/system-postgresql 16G 296M 16G 2% /var/lib/postgresql tmpfs 1.0G 421M 604M 42% /tmp Created attachment 90245 [details]
emerge log for last emerge --update glibc run
looks ok to me ... does this directory exist: /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits you could also try with FEATURES=-userpriv The directory exists: l /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits total 16 -rw-r--r-- 1 root root 1797 Jun 27 08:33 stdio_lim.dT -rw-r--r-- 1 root root 11455 Jun 27 08:33 stdio_lim.hT removing userpriv from FEATURES and recompiling still dies with the same error: i686-pc-linux-gnu-gcc -E -dM -MD -MP -MF /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.dT -MT '/var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.h /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.d' \ -Iinclude -I. -I/var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads -Ilibio -I/var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads -Isysdeps/i386/elf -Ilinuxthreads/sysdeps/unix/sysv/linux/i386 -Ilinuxthreads/sysdeps/unix/sysv/linux -Ilinuxthreads/sysdeps/pthread -Isysdeps/pthread -Ilinuxthreads/sysdeps/unix/sysv -Ilinuxthreads/sysdeps/unix -Ilinuxthreads/sysdeps/i386/i686 -Ilinuxthreads/sysdeps/i386 -Ilibidn/sysdeps/unix -Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Isysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf -Isysdeps/generic -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include -isystem /usr/include -xc - -o /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.hT gcc: /var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.d: No such file or directory make[1]: *** [/var/tmp/portage/glibc-2.3.6-r4/work/build-default-i686-pc-linux-gnu-linuxthreads/bits/stdio_lim.st] Error 1 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r4/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.6-r4 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile glibc-2.3.6-r4.ebuild, line 1131: Called toolchain-glibc_src_compile glibc-2.3.6-r4.ebuild, line 230: Called die !!! make for default failed !!! If you need support, post the topmost build error, and the call stack if relevant. After stracing the aborting gcc invocation and pouring over the resulting trace file, I found the problem. In short: an old work-around of mine came around and bit me on the ass. Long: The gcc driver was calling out to i686-pc-linux-gnu-gcc. But it didn't execute the right executable (/usr/bin/i686-pc-linux-gnu-gcc), it actually executed /usr/local/bin/i686-pc-linux-gnu-gcc. This is a wrapper shell script that basically execs gcc with all its arguments. I created it about four months ago to work around some trouble with upgrading gcc. It did the job, the gcc upgrade worked and lots of updates later I had totally forgotten it. Removing /usr/local/bin/i686-pc-linux-gnu-gcc resulted in gcc executing the correct executable and everything worked again. Sorry for wasting your time. |