Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35321 - sys-libs/glibc-2.3.2-r3 error: No such file or directory
Summary: sys-libs/glibc-2.3.2-r3 error: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-08 02:29 UTC by Miroslav Šulc
Modified: 2004-12-12 00:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2003-12-08 02:29:47 UTC
Updating to sys-libs/glibc-2.3.2-r3 doesn't work only on some systems.

Here is the end of the output:

gcc -M -MP pwd.c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -freorder-blocks -mcpu=i686 -pipe      -I../include -I.
-I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io -I.. -I../libio
 -I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere
-I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i486
-I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic  -nostdinc -isystem
/usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include -isystem /usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1     | sed
-e 's,pwd\.o,/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.o
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.os
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.op
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.og
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.ob
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.oS
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.d,' -e 's@
/var/tmp/portage/glibc-2\.3\.2-r3/work/glibc-2\.3\.2/buildhere/@
$(common-objpfx)@g' -e
's@^/var/tmp/portage/glibc-2\.3\.2-r3/work/glibc-2\.3\.2/buildhere/@$(common-objpfx)@g'
> /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.T
/bin/sh: line 1:
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/ftwtest.T: No such
file or directory
/bin/sh: line 1:
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.T: No such
file or directory
stdout: Broken pipe
make[2]: ***
[/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/pwd.d] Error 1
make[2]: *** Waiting for unfinished jobs....
stdout: Broken pipe
make[2]: ***
[/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/io/ftwtest.d] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r3 failed.
!!! Function src_compile, Line 442, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -uUDvp world
Actual Results:  
The error mentioned above

Expected Results:  
Should compile and install without errors.

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
CHOST="i486-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm gtk2 imlib jpeg
libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pdflib png
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline
java tcpd pam ssl perl python -X -gtk -gnome -qt -kde"
Comment 1 Miroslav Šulc gentoo-dev 2003-12-08 02:40:51 UTC
I have found some info in description of another type of glibc bug - maybe the problem is in the value CHOST is set to. I will try to set

CHOST="i586-pc-linux-gnu"
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 04:08:54 UTC
first of all
/bin/sh should always point to your used shell

# ls -la /bin/sh
lrwxrwxrwx    1 root     root            4 Oct  5 21:57 /bin/sh -> bash


k6 is CHOST="
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 04:08:54 UTC
first of all
/bin/sh should always point to your used shell

# ls -la /bin/sh
lrwxrwxrwx    1 root     root            4 Oct  5 21:57 /bin/sh -> bash


k6 is CHOST="í586-pc-linux-gnu"
and CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
Comment 4 Miroslav Šulc gentoo-dev 2003-12-08 04:19:16 UTC
Thank you. I have corrected also the CFLAGS. bash was correct. I'll get the results in a few hours.
Comment 5 Miroslav Šulc gentoo-dev 2003-12-11 01:26:46 UTC
The suggested solution helped for one of my machines - Pentium MMX (thanks). The AMD machine couldn't compile again without error. I would appreciate any suggestion.

Here is the error:

gcc iso8859-16.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=i586 -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.os
In file included from iso8859-16.c:23:
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:85:19: warning: null character(s) ignored
In file included from iso8859-16.c:23:
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:85: `LATIN' undeclared here (not in a function)
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:85: initializer element is not constant
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:85: (near initialization for `to_ucs4[85]')
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:85: parse error before "CAPITAL"
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:341:19: warning: null character(s) ignored
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:341: `LATIN' undeclared here (not in a function)
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:341: initializer element is not constant
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:341: (near initialization for `from_ucs4[85]')
/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.h:341: parse error before "CAPITAL"
gcc t.61.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=i586 -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DNOT_IN_libc -o /var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/t.61.os
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/buildhere/iconvdata/iso8859-16.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2/iconvdata'
make[1]: *** [iconvdata/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r3/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r3 failed.
!!! Function src_compile, Line 442, Exitcode 2
!!! (no error message)


Here are current settings:

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/qmail/control /var/qmail/alias"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gpm gtk2 imlib jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java tcpd pam ssl perl python -X -gtk -gnome -qt -kde"
Comment 6 Maurice van der Pot (RETIRED) gentoo-dev 2004-12-11 16:41:20 UTC
Miroslav, is this still a problem with the latest stable glibc?
Comment 7 Miroslav Šulc gentoo-dev 2004-12-12 00:37:35 UTC
I have reinstalled some of the machines from installation made on Pentium4. I don't know wheather the problem persists. I will close this bug as I am not interested in this bug anymore. I'll set it to INVALID as it seems that the problem was in wrong configuration.