View previous topic :: View next topic |
Author |
Message |
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Wed Mar 30, 2005 1:33 am Post subject: bootstrap fails: rm: cannot remove `libctest': No such file |
|
|
Just used 2004.3 stage1 and the new portage tarball and wanted to bootstrap the system:
Code: |
livecd portage # scripts/bootstrap.sh
Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2004 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
* Using baselayout : >=sys-apps/baselayout-1.9.4
* Using portage : >=sys-apps/portage-2.0.50-r10
* Using os-headers : virtual/os-headers
* Using binutils : >=sys-devel/binutils-2.15.90.0.1.1-r1
* Using gcc : >=sys-devel/gcc-3.3.4
* Using gettext : sys-devel/gettext
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : sys-libs/zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
Configuring environment ...
* GENTOO_MIRRORS='http://ftp.easynet.nl/mirror/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'
* PORTDIR='/usr/portage'
* DISTDIR='/usr/portage/distfiles'
* PKGDIR='/usr/portage/packages'
* PORTAGE_TMPDIR='/var/tmp'
* CFLAGS='-O3 -pipe -march=k8'
* CHOST='x86_64-pc-linux-gnu'
* CXXFLAGS='-O3 -pipe -march=k8'
* MAKEOPTS='-j2'
* ACCEPT_KEYWORDS='amd64'
* FEATURES='autoaddcvs ccache distlocks sandbox'
* STAGE1_USE='multilib'
-------------------------------------------------------------------------------
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51-r2 to /
>>> md5 src_uri ;-) portage-2.0.51-r2.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51-r2.tar.bz2 to /var/tmp/portage/portage-2.0.51-r2/work
>>> Source unpacked.
gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory
* No valid multilib environment found!
* Building without multilib support. If
* you want to have multilib support,
* emerge gcc with "multilib" in your
* useflags.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory
ldd: ./libctest: No such file or directory
rm: cannot remove `libctest': No such file or directory
gcc -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
gcc: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.2/: Is a directory
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.51-r2 failed.
!!! Function src_compile, Line 66, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
livecd portage #
|
my make.conf
Code: |
livecd etc # cat make.conf
CFLAGS="-O3 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/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"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="dvd -gtk -gnome qt kde alsa cdr dvdr ogg vorbis mozilla multilib"
MAKEOPTS="-j2"
|
What's wrong?
files used:
stage1-amd64-2004.3.tar.bz2
portage-20041022.tar.bz2
I know I can also take 2005.0, but this one should work fine (and did work previous times). _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Wed Mar 30, 2005 7:04 am Post subject: |
|
|
well, just tried with 2005.0 and the same portage.tar.bz2.
livecd / # cd /usr/portage/
livecd portage # scripts/bootstrap.sh
!!! Error: '' does not exist. Exiting.
livecd portage #
Just googled it, didn't give much of a clue about where te problem is..... _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Wed Mar 30, 2005 10:12 am Post subject: |
|
|
I had some problems with bootstrap. Mainly b/c I wanted to have GCC3.4 and 2.6.11 kernel-headers from the start.
Anyway, I couldn't solve them so I went around and emerged all the packages bootsrap wants manually starting from linux-headers, gcc, glibc, libc and then the others. When I started e.g. baselayout first I got error in emerging portage.
So far, so good. Maybe it's not by-the-book wat but it worked for me and "emerge system" went smoothly. I was able to complie new kernel as well.
Hope that helps. Give it a try. _________________ p3k4
Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light |
|
Back to top |
|
|
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Wed Mar 30, 2005 10:22 am Post subject: |
|
|
ok I'll try in a few hours _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
boudewijn Apprentice
Joined: 11 Jan 2005 Posts: 257 Location: Netherlands
|
Posted: Wed Mar 30, 2005 10:53 am Post subject: |
|
|
well emerge isn't going to work before installing portage... but can I install that prior to bootstrapping?
and:
I'll get the new kernel later on (section 7 of the handbook ), and the new gcc will be emerged after install.....
so I just want a very standard install (of done this about a dozen times before on this box, and never encountered this problem ) _________________ Mijn Nederlandstalige Gentoo forum:
http://www.gentoo-forum.nl |
|
Back to top |
|
|
peka l33t
Joined: 16 Mar 2005 Posts: 773 Location: Płońsk, Poland
|
Posted: Wed Mar 30, 2005 11:14 am Post subject: |
|
|
I did networkless install, so:
- I've prepared my HDD
- I've downloaded 2005.0 Stage1 and un-tar-ed it
- I've downloaded latest portage snapshot and un-tar-ed it
I chroot-ed and did what I've told you before...
So up to bootstrap I did everything by the book instead I had to first fetch packages to be emerged under windows.
Saying about error with portage I ment emerging "portage-2.0.51-r2.tar.bz2" package. _________________ p3k4
Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light |
|
Back to top |
|
|
|