Gentoo Archives: gentoo-dev

From: Joe DeRosa <derosa@×××××××××.net>
To: gentoo-dev@××××××××××.org
Subject: RE: [gentoo-dev] segfault during bootstrap (rc6-r9)
Date: Sun, 23 Sep 2001 22:12:35
Message-Id: 000801c144af$0d9c57c0$14002a0a@optonline.net
In Reply to: [gentoo-dev] segfault during bootstrap (rc6-r9) by Chris Houser
1 Chris,
2 I was getting the same error messages, they were because I was piping
3 output through tee to a file:
4 scripts/bootstrap.sh files/bootstrapfile | tee bootstrap.log
5 or even if I just used simple io redirectoion:
6 scripts/bootstrap.sh files/bootstrapfile > bootstrap.log
7 Once I removed the redirection, everything went smooth.
8
9 Joe
10
11 -----Original Message-----
12 From: gentoo-dev-admin@××××××××××.org
13 [mailto:gentoo-dev-admin@××××××××××.org] On Behalf Of Chris Houser
14 Sent: Sunday, September 23, 2001 11:09 PM
15 To: gentoo-dev@××××××××××.org
16 Subject: [gentoo-dev] segfault during bootstrap (rc6-r9)
17
18 I have been having problems getting build-ix86-1.0_rc6-r9.tbz2 to
19 bootstrap, using portage-1.6.9. During the 'merge' portion of the glibc
20 emerge, I would get this output:
21
22 ...
23 /var/tmp/portage/glibc-2.2.4-r1/image/sbin/sln
24 >>> Completed installing into /var/tmp/portage/glibc-2.2.4-r1/image/
25
26 Saving ld-linux,libc6 and libpthread
27 /bin/cp: cannot create regular file `/tmp/ld-linux.so.2': Text file
28 busy
29
30 ...and then a segfault. I tried this a couple times, getting similar or
31 identical results.
32
33 Finally, I decided to manually step through what the bootstrap script
34 does:
35
36 # USE="build" ebuild
37 /usr/portage/sys-apps/baselayout-1.6.3/baselayout-1.6.3.ebuild merge
38 # USE="build" ebuild
39 /usr/portage/sys-devel/binutils-2.11.90.0.7/binutils-2.11.90.0.7.ebuild
40 merge
41 # USE="build" ebuild /usr/portage/sys-devel/gcc/gcc-2.95.3-r5.ebuild
42 merge
43 # ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r1.ebuild merge
44
45 ...and this seemed to work fine. I don't know why. I finished doing
46 the manual bootstrap, and it seems to be working fine:
47
48 # ebuild
49 /usr/portage/sys-devel/binutils/binutils-2.11.90.0.27.ebuild merge
50 # emerge sys-devel/gcc
51 # emerge sys-apps/texinfo
52
53 I don't know what was broken before, or why it worked, but I thought I
54 should at least record what I did. Hopefully if anyone else sees the
55 same bootstrap error I did, we'll be able to find a fix.
56
57 My machine is now happily working on 'emerge system'. Thanks to
58 everyone on IRC that helped me a long the way.
59
60 --Chris
61
62 _______________________________________________
63 gentoo-dev mailing list
64 gentoo-dev@××××××××××.org
65 http://cvs.gentoo.org/mailman/listinfo/gentoo-dev