1 |
Dear all, |
2 |
One of our users, "hunt3r" on #gentoo, is having boostrap fail while |
3 |
building "sed", which for whatever reason is getting built before |
4 |
gcc/glibc. You can see his (her? dunno) log at |
5 |
http://lifeline.sytes.net:8001/emerge.log. Should bootstrap be building |
6 |
sed? If so, should it build it before gcc and glibc? (I normally |
7 |
wouldn't post this sort of problem here, but I tend to consider any |
8 |
failures that our users see during bootstrap to be show-stoppers for our |
9 |
1.4 release.) |
10 |
|
11 |
Hmmm, is it possible that his build fails because he has "static" in |
12 |
USE? I haven't looked at the new bootstrap script very carefully to see |
13 |
how it filters USE flags. |
14 |
|
15 |
The specific sed error he's getting is: |
16 |
|
17 |
10:39 <hunt3r> gcc -mcpu=pentium2 -O2 -pipe -static -o sed sed.o |
18 |
compile.o |
19 |
execute.o regex.o fmt.o ../lib/libsed.a |
20 |
10:39 <hunt3r> |
21 |
./usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/../../../../i586-pc-lin |
22 |
ux-gnu/bin/ld: cannot find -lc |
23 |
10:39 <hunt3r> collect2: ld returned 1 exit status |
24 |
10:39 <hunt3r> make[2]: *** [sed] Error 1 |
25 |
10:39 <hunt3r> make[2]: Leaving directory |
26 |
`/var/tmp/portage/sed-4.0.7/work/sed-4.0.7/sed' |
27 |
10:39 <hunt3r> make[1]: *** [all-recursive] Error 1 |
28 |
10:39 <hunt3r> make[1]: Leaving directory |
29 |
`/var/tmp/portage/sed-4.0.7/work/sed-4.0.7' |
30 |
10:39 <hunt3r> make: *** [all] Error 2 |
31 |
10:39 <hunt3r> !!! ERROR: sys-apps/sed-4.0.7 failed. |
32 |
10:39 <hunt3r> !!! Function src_compile, Line 28, Exitcode 2 |
33 |
10:39 <hunt3r> !!! Static build failed |
34 |
|
35 |
and his emerge --info is: |
36 |
|
37 |
10:44 <hunt3r> localhost portage # emerge --info |
38 |
10:44 <hunt3r> !!! No gcc found. You probably need to 'source |
39 |
/etc/profile' to |
40 |
update |
41 |
10:44 <hunt3r> !!! the environment of this terminal and possibly other |
42 |
terminals also. |
43 |
10:44 <hunt3r> Portage 2.0.48-r1 (default-x86-1.4, [unavailable], |
44 |
glibc-2.3.1-r4) |
45 |
10:44 <hunt3r> |
46 |
================================================================= |
47 |
10:44 <hunt3r> System uname: 2.4.21-0.13mdk i686 Celeron (Mendocino) |
48 |
10:44 <hunt3r> GENTOO_MIRRORS="http://gentoo.oregonstate.edu |
49 |
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" |
50 |
10:44 <hunt3r> CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config |
51 |
/usr/kde/2/share/config /usr/kde/3/share/config" |
52 |
10:44 <hunt3r> CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" |
53 |
10:44 <hunt3r> PORTDIR="/usr/portage" |
54 |
10:44 <hunt3r> DISTDIR="/usr/portage/distfiles" |
55 |
10:44 <hunt3r> PKGDIR="/usr/portage/packages" |
56 |
10:44 <hunt3r> PORTAGE_TMPDIR="/var/tmp" |
57 |
10:44 <hunt3r> PORTDIR_OVERLAY="" |
58 |
10:44 <hunt3r> USE="berkdb gdbm gnome mad mikmod nls pdflib quicktime |
59 |
3dfx |
60 |
3dnow aalib acl alsa apache2 arts apm atlas avi bonobo |
61 |
cdr cjk |
62 |
crypt cups curl dga doc dvd emacs encode ethereal flash |
63 |
gb gd |
64 |
ggi gif gpm gps gtk gtk2 gtkhtml guile icc imap imlib |
65 |
ipv6 jack |
66 |
java jikes jpeg junit kde kerberos krb4 ladcca lcms ldap |
67 |
leim |
68 |
libg++ libgda libwww maildir matrox mcal memlimit mmx |
69 |
motif |
70 |
mozilla mpeg mule ncurses odbc oggvorbis opengl oss pam |
71 |
perl |
72 |
plotutils |
73 |
10:44 <hunt3r> sasl scanner sdl slang snmp socks5 spell sse ssl static |
74 |
svga |
75 |
tcltk tcpd tetex tiff truetype usb wmf X Xaw3d xml xml2 |
76 |
xmms xv |
77 |
zlib x86" |
78 |
10:44 <hunt3r> COMPILER="gcc3" |
79 |
10:44 <hunt3r> CHOST="i686-pc-linux-gnu" |
80 |
10:44 <hunt3r> CFLAGS="-mcpu=pentium2 -O2 -pipe" |
81 |
10:44 <hunt3r> CXXFLAGS="-mcpu=pentium2 -O2 -pipe" |
82 |
10:44 <hunt3r> ACCEPT_KEYWORDS="x86" |
83 |
10:44 <hunt3r> MAKEOPTS="-j2" |
84 |
10:44 <hunt3r> AUTOCLEAN="yes" |
85 |
10:45 <hunt3r> SYNC="rsync://rsync.gentoo.org/gentoo-portage" |
86 |
10:45 <hunt3r> FEATURES="sandbox ccache" |
87 |
|
88 |
-- |
89 |
Grant Goodyear <g2boojum@g.o> |