Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61890 - glibc-2.3.3.20040420-r1 fails compiling during bootstrap
Summary: glibc-2.3.3.20040420-r1 fails compiling during bootstrap
Status: RESOLVED DUPLICATE of bug 61856
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 23:28 UTC by klavs klavsen
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 klavs klavsen 2004-08-26 23:28:26 UTC
scripts/bootstrap.sh emerges a lot - but after some hours (slow via c3) it fails with this (tried twice) - see "Actual results for error msg".

p.s. my USE flags are set in make.conf to:
USE="apache2 chroot gd imap innodb ipv6 maildir mcal memlimit hardened pic \
         ppds sasl snmp usb vhosts -kde -qt -X -gnome"

and 
CLAGS="-march=i586 -m3dnow -O2 -pipe -fomit-frame-pointer -ffast-math -falign-functions=4 -falign-jumps=4 -fstack-protector"

which I've been using for ages (fstack-protector and use hardened/pic are new) on the same machine.

Also it seems like a logic bug, since it thinks the linux-headers that came (or didn't?) come with the 2004.2-stage1 x86 tarball.

p.s. this is in a chrooted install.

Reproducible: Always
Steps to Reproduce:
1.untar 2004.2-stage1 x86 tarball - follow Gentoo handbook
2. cd /usr/portage && scripts/bootstrap.sh
3. ... 

Actual Results:  
got this error:
..
>>> Done.
>>> extracting info

* Checking kernel headers for broken sysctl.h ... yes

* Your version of:

* /linux/sysctl.h

* is broken (from a user space perspective). Please apply
* the following patch:

* *******************************************************
cat: /var/tmp/portage-pkg/glibc-2.3.3.20040420-r1/inf/files/fix-sysctl_h.patch:
No such file or directory
* *******************************************************

* To fix, just do this:
* cd /linux/
* patch -p3 <
/var/tmp/portage-pkg/glibc-2.3.3.20040420-r1/inf/files/fix-sysctl_h.patch


!!! ERROR: glibc-2.3.3.20040420-r1/glibc-2.3.3.20040420-r1 failed.
!!! Function pkg_setup, Line 214, Exitcode 0
!!! Broken linux/sysctl.h header included in kernel sources!

!!! Error running pkg_setup
..

Expected Results:  
finish compiling..

Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.6)
=================================================================
System uname: 2.6.6 i686 VIA Ezra
Gentoo Base System version 1.4.16
Autoconf:
Automake:
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org
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="apache2 apm arts avi berkdb chroot crypt cups encode foomaticdb gd gdbm gif
gpm gtk gtk2 hardened imap imlib innodb ipv6 jpeg libg++ libwww mad maildir mcal
memlimit mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib pic png
ppds python quicktime readline sasl sdl slang snmp spell ssl svga tcpd truetype
usb vhosts x86 xml2 xmms xv zlib"
Comment 1 Lance Albertson (RETIRED) gentoo-dev 2004-08-29 19:07:25 UTC

*** This bug has been marked as a duplicate of 61856 ***