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
Chris,
I was getting the same error messages, they were because I was piping
output through tee to a file:
scripts/bootstrap.sh files/bootstrapfile | tee bootstrap.log
or even if I just used simple io redirectoion:
scripts/bootstrap.sh files/bootstrapfile > bootstrap.log
Once I removed the redirection, everything went smooth.

Joe

-----Original Message-----
From: gentoo-dev-admin@××××××××××.org
[mailto:gentoo-dev-admin@××××××××××.org] On Behalf Of Chris Houser
Sent: Sunday, September 23, 2001 11:09 PM
To: gentoo-dev@××××××××××.org
Subject: [gentoo-dev] segfault during bootstrap (rc6-r9)

I have been having problems getting build-ix86-1.0_rc6-r9.tbz2 to
bootstrap, using portage-1.6.9.  During the 'merge' portion of the glibc
emerge, I would get this output:

    ...
    /var/tmp/portage/glibc-2.2.4-r1/image/sbin/sln
    >>> Completed installing into /var/tmp/portage/glibc-2.2.4-r1/image/

    Saving ld-linux,libc6 and libpthread
    /bin/cp: cannot create regular file `/tmp/ld-linux.so.2': Text file
busy

...and then a segfault.  I tried this a couple times, getting similar or
identical results.

Finally, I decided to manually step through what the bootstrap script
does:

    # USE="build" ebuild
/usr/portage/sys-apps/baselayout-1.6.3/baselayout-1.6.3.ebuild merge
    # USE="build" ebuild
/usr/portage/sys-devel/binutils-2.11.90.0.7/binutils-2.11.90.0.7.ebuild
merge
    # USE="build" ebuild /usr/portage/sys-devel/gcc/gcc-2.95.3-r5.ebuild
merge
    # ebuild /usr/portage/sys-libs/glibc/glibc-2.2.4-r1.ebuild merge

...and this seemed to work fine.  I don't know why.  I finished doing
the manual bootstrap, and it seems to be working fine:

    # ebuild
/usr/portage/sys-devel/binutils/binutils-2.11.90.0.27.ebuild merge
    # emerge sys-devel/gcc
    # emerge sys-apps/texinfo

I don't know what was broken before, or why it worked, but I thought I
should at least record what I did.  Hopefully if anyone else sees the
same bootstrap error I did, we'll be able to find a fix.

My machine is now happily working on 'emerge system'.  Thanks to
everyone on IRC that helped me a long the way.

--Chris

_______________________________________________
gentoo-dev mailing list
gentoo-dev@××××××××××.org
http://cvs.gentoo.org/mailman/listinfo/gentoo-dev