I am trying this in a chrooted enviroment, and get problems from the early stages; glibc fails to compile the first time.
(Edit: I guess this is the error noted in the previous post - note to self: read more than the first page)
Code: Select all
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20050125-r1/work/build-default-i686-pc-linux-gnu-linuxthreads/posix/globtest.out] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4/posix'
make[1]: *** [posix/tests] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20050125-r1/work/glibc-2.3.4'
make: *** [check] Error 2
!!! ERROR: sys-libs/glibc-2.3.4.20050125-r1 failed.
!!! Function toolchain-glibc_src_test, Line 254, Exitcode 2
!!! linuxthreads glibc did not pass make check
!!! If you need support, post the topmost build error, NOT this status message.
After taking many hours to compile nearly 27,000 files.
Code: Select all
fe04 / # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-nitro1 i686)
=================================================================
System uname: 2.6.11-nitro1 i686
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 00:07:42)]
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-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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="-O3 -march=athlon-xp -mtune=athlon-xp -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms test userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.frftp://ftp.rhnet.is/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror.nutsmaas.nl/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X acpi apm arts avi berkdb bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 ithreads jpeg kde ldap libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png pthreads python qt quicktime readline samba sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib linguas_en_GB"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I suppose a few people could call my C-flags a bit OTT, but I managed to follow the original guide fine.
----
A bit of research found
bug #85782, which seems simular to mine. My posix/globtest.out is slightly different though:
Code: Select all
--- - 2005-03-28 18:58:49.338648000 +0100
+++ /tmp/globtest-out 2005-03-28 18:58:49.000000000 +0100
@@ -1 +1 @@
-/var/tmp/portage
+GLOB_NOMATCH
Tilde test failed
--- - 2005-03-28 18:58:49.352559000 +0100
+++ /tmp/globtest-out 2005-03-28 18:58:49.000000000 +0100
@@ -1 +1 @@
-/var/tmp/portage/
+GLOB_NOMATCH
Tilde2 test failed
--- - 2005-03-28 18:58:49.358980000 +0100
+++ /tmp/globtest-out 2005-03-28 18:58:49.000000000 +0100
@@ -1 +1 @@
-/var/tmp/portage
+GLOB_NOMATCH
Tilde3 test failed
It has +GLOB_NOMATCH instead of +root.
:: Luca :: Mac Fag :: Original Macbook, 2g RAM :: Closet Linux user (seasoned with salt and pepper) :: C2D E4400 @ 2ghz, 4g RAM (only 3.2g detected under 64bit...), Nvidia 9600GSO ::