View previous topic :: View next topic |
Author |
Message |
fhimpe n00b
Joined: 30 May 2002 Posts: 9
|
Posted: Sun Jun 02, 2002 3:10 pm Post subject: |
|
|
Hello,
I've been trying to do this on my computer for a few times, but it always fails with sandbox violations. I'm using the Gentoo 1.2 stage 1 tarball, and I'm working in a chrooted environment in an xterm on my existing linux installation. After partitioning, mounting and chrooting, I do this:
bash-2.05a# env-update
>>> Note: /etc/make.profile isn't available; an 'emerge sync' will probably fix this.
>>> Regenerating /etc/ld.so.cache...
bash-2.05a# source /etc/profile
Jupiter / # nano /etc/make.conf
[Adding these lines:
CHOST="i486-pc-linux-gnu"
CFLAGS="-march=i486 -O3 -pipe"
CXXFLAGS="-march=i486 -O3 -pipe"]
Jupiter / # emerge rsync
[...]
Number of files: 14617
Number of files transferred: 10617
Total file size: 15109538 bytes
Total transferred file size: 15109538 bytes
Literal data: 15109538 bytes
Matched data: 0 bytes
File list size: 331926
Total bytes written: 169958
Total bytes read: 7775091
wrote 169958 bytes read 7775091 bytes 94024.25 bytes/sec
total size is 15109538 speedup is 1.90
Jupiter / # rm /etc/make.profile
Jupiter / # ln -s /usr/portage/profiles/default-1.0-gcc3/ /etc/make.profile
Jupiter / # nano /etc/make.profile/packages
[Commenting out the lines from baselayout to xfree, pasting the ones mentioned in this thread]
Jupiter / # emerge gcc
Calculating dependencies ...done!
>>> emerge sys-libs/zlib-1.1.4 to /
/bin/bash: mc: line 2: unexpected EOF while looking for matching ``'
/bin/bash: mc: line 4: syntax error: unexpected end of file
/bin/bash: error importing function definition for `mc'
[ Building zlib]
/bin/bash: mc: line 2: unexpected EOF while looking for matching ``'
/bin/bash: mc: line 4: syntax error: unexpected end of file
/bin/bash: error importing function definition for `mc'
>>> Regenerating /etc/ld.so.cache...
>>> sys-libs/zlib-1.1.4 merged.
/bin/bash: mc: line 2: unexpected EOF while looking for matching ``'
/bin/bash: mc: line 4: syntax error: unexpected end of file
/bin/bash: error importing function definition for `mc'
>>> emerge sys-libs/ncurses-5.2.20020511-r1 to /
/bin/bash: mc: line 2: unexpected EOF while looking for matching ``'
/bin/bash: mc: line 4: syntax error: unexpected end of file
/bin/bash: error importing function definition for `mc'
>>> Downloading http://www.ibiblio.org/gentoo/distfiles/ncurses-5.2.20020511.diff.bz2
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
--15:03:11-- http://www.ibiblio.org/gentoo/distfiles/ncurses-5.2.20020511.diff.bz2
=> `/usr/portage/distfiles/ncurses-5.2.20020511.diff.bz2'
Resolving proxy.pandora.be... done.
Connecting to proxy.pandora.be[213.224.83.118]:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 650,642 [text/plain]
100%[====================================>] 650,642 146.37K/s ETA 00:00
15:03:15 (146.37 KB/s) - `/usr/portage/distfiles/ncurses-5.2.20020511.diff.bz2' saved [650642/650642]
>>> Downloading http://www.ibiblio.org/gentoo/distfiles/ncurses-5.2.tar.gz
bash: mc: line 2: unexpected EOF while looking for matching ``'
bash: mc: line 4: syntax error: unexpected end of file
bash: error importing function definition for `mc'
--15:03:16-- http://www.ibiblio.org/gentoo/distfiles/ncurses-5.2.tar.gz
=> `/usr/portage/distfiles/ncurses-5.2.tar.gz'
Resolving proxy.pandora.be... done.
Connecting to proxy.pandora.be[213.224.83.166]:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1,743,818 [application/x-tar]
100%[====================================>] 1,743,818 340.73K/s ETA 00:00
15:03:21 (340.73 KB/s) - `/usr/portage/distfiles/ncurses-5.2.tar.gz' saved [1743818/1743818]
>>> md5 ;-) ncurses-5.2.tar.gz
>>> md5 ;-) ncurses-5.2.20020511.diff.bz2
/bin/bash: mc: line 2: unexpected EOF while looking for matching ``'
/bin/bash: mc: line 4: syntax error: unexpected end of file
/bin/bash: error importing function definition for `mc'
>>> Unpacking source...
>>> Unpacking ncurses-5.2.tar.gz
/usr/sbin/ebuild.sh: bzcat: command not found
ACCESS DENIED open_wr: /root/tmp/pp06q3Jb
patch: **** Can't create file /root/tmp/pp06q3Jb : Permission denied
ACCESS DENIED unlink: /root/tmp/pp06q3Jb
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line -43, Exitcode 2
!!! (no error message)
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-ncurses-5.2.20020511-r1-3983.log"
open_wr: /root/tmp/pp06q3Jb
unlink: /root/tmp/pp06q3Jb
--------------------------------------------------------------------------------
!!! emerge aborting on /usr/portage/sys-libs/ncurses/ncurses-5.2.20020511-r1.ebuild .
Jupiter / #
Any ideas about what I'm doing wrong? I'm getting desperate...
Frederik |
|
Back to top |
|
|
pbienst Retired Dev
Joined: 29 May 2002 Posts: 70 Location: Belgium
|
Posted: Sun Jun 02, 2002 3:20 pm Post subject: |
|
|
When I tried the procedure from the 1.2 stage 1, I couldn't get it to work either (although the errors I got were different). 1.1a works ok.
PS: the 'unexpected EOF' things seem harmless and are apparently caused by Mandrake's bash version. They are supposed to go away after booting into Gentoo. But I'm not there yet myself... |
|
Back to top |
|
|
ph317 n00b
Joined: 02 Jun 2002 Posts: 43
|
|
Back to top |
|
|
ghost_o Tux's lil' helper
Joined: 10 Jul 2002 Posts: 119
|
Posted: Thu Jul 18, 2002 4:11 am Post subject: |
|
|
pbienst wrote: | When I tried the procedure from the 1.2 stage 1, I couldn't get it to work either (although the errors I got were different). 1.1a works ok.
PS: the 'unexpected EOF' things seem harmless and are apparently caused by Mandrake's bash version. They are supposed to go away after booting into Gentoo. But I'm not there yet myself... |
From the 1.2 tarballs, you do not need to modify any of the packages in the list to get it to work. Also, you cannot modify your /etc/make.conf to more optimized flags until *after* you bootstrap. Well, I had to reduce them to -march=i686 standars ones again instead of -march=pentium4. After the bootstrap, I put the following flags for P4:
-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -pipe
and everything compiles and runs fine so far. No KDE yet, just X and gtk+ (1.2 and 2.0) so far. |
|
Back to top |
|
|
ghost_o Tux's lil' helper
Joined: 10 Jul 2002 Posts: 119
|
Posted: Thu Jul 18, 2002 4:13 am Post subject: |
|
|
Quote: |
Great!
Did you compile with -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -O3 -pipe?
Just curious |
It works for me with 1.2 tarball
I had to wait until after the bootrstrap process to include the optimizations, but everything has been re-emerged and recompiled with the new ones since and is running good. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|