Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing a new system and get this error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Sat Sep 10, 2005 9:25 pm    Post subject: Installing a new system and get this error Reply with quote

I am doing a Stage 3 and rebuilding it. I get there error when I am trying to rebuild it. What do i do?

Code:
>>> emerge (1 of 5) sys-devel/gcc-config-1.3.12-r2 to /
* Adjusting permissions on ccache in /var/tmp/ccache
*** Adjusting cvs-src permissions for portage user...
>>> md5 files   ;-) gcc-config-1.3.10-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r2.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r4.ebuild
>>> md5 files   ;-) gcc-config-1.3.12.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r3.ebuild
>>> md5 files   ;-) files/digest-gcc-config-1.3.10-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r3
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r4
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r2
>>> md5 files   ;-) files/wrapper-1.4.5.c
>>> md5 files   ;-) files/wrapper-1.4.6.c
>>> md5 files   ;-) files/wrapper-1.4.7.c
>>> md5 files   ;-) files/gcc-config-1.3.10
>>> md5 files   ;-) files/gcc-config-1.3.11
>>> md5 files   ;-) files/gcc-config-1.3.12
>>> md5 files   ;-) files/digest-gcc-config-1.3.12
ACCESS DENIED  open_wr:   /newroot/dev/pts/0
ACCESS DENIED  open_wr:   /newroot/dev/pts/0
>>> Unpacking source...
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-devel_-_gcc-config-1.3.12-r2-11155.log"

open_wr:   /newroot/dev/pts/0
open_wr:   /newroot/dev/pts/0
--------------------------------------------------------------------------------
livecd / #
Back to top
View user's profile Send private message
zecora
l33t
l33t


Joined: 17 Aug 2004
Posts: 627
Location: Minneapolis, MN

PostPosted: Sat Sep 10, 2005 10:01 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
aceFruchtsaft
Guru
Guru


Joined: 16 May 2004
Posts: 438
Location: Vienna, Austria

PostPosted: Sat Sep 10, 2005 10:06 pm    Post subject: Reply with quote

I noticed that you have /newroot/dev/pts/0 in the error message, so I guess you haven't chrooted to the new environment before emerging things..
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54300
Location: 56N 3W

PostPosted: Sat Sep 10, 2005 10:07 pm    Post subject: Reply with quote

zecora,

Read the log file /var/log/sandbox/sandbox-sys-devel_-_gcc-config-1.3.12-r2-11155.log and see what the the ebuild wants to do. It appears to want to write to /newroot/dev/pts/0 which is a bit strange because I recall thats on the CD.

Did you chroot before you ran emerge or just cd ?
You must chroot.

If you are happy its doing somethings sensible, you can turn off SANDBOX, so emerge does everything as root.
Uou do that in FEATURES in /etc/make.conf. Be sure to turn it back on after. It stops badly broken ebuilds doing nastly things to your install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
aschueler
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2004
Posts: 119

PostPosted: Sun Sep 11, 2005 12:06 am    Post subject: Reply with quote

This is from the newest install guide; I haven't seen this in previous guides, so you may not have seen it either: (read the warning)


Quote:
Unpacking the Stage Tarball

Now unpack your downloaded stage onto your system. We use GNU's tar to proceed as it is the easiest method:

Code Listing 7: Unpacking the stage

# tar -xvjpf stage?-*.tar.bz2

Make sure that you use the same options (-xvjpf). The x stands for Extract, the v for Verbose to see what happens during the extraction process (okay, yes, this is optional), the j for Decompress with bzip2, the p for Preserve permissions and the f to denote that we want to extract a file, not standard input.

Warning: The stage3-athlon-xp-2005.1.tar.bz2, stage3-pentium3-2005.1.tar.bz2 and stage3-pentium4-2005.1.tar.bz2 files have a serious permission error. After extracting any of these, run chmod 0755 /mnt/gentoo to fix the error before continuing with the installation.

Note: Some architectures (e.g. MIPS) Installation CDs and boot images rely upon the tar built into BusyBox which doesn't currently support the -v option. Therefore it may not work.

Now that the stage is installed, continue with Installing Portage.
Back to top
View user's profile Send private message
B.marc
n00b
n00b


Joined: 16 Oct 2005
Posts: 40
Location: Braunschweig / Germany

PostPosted: Sun Oct 23, 2005 6:08 pm    Post subject: Re: Installing a new system and get this error Reply with quote

zecora wrote:
I am doing a Stage 3 and rebuilding it. I get there error when I am trying to rebuild it. What do i do?

Code:
>>> emerge (1 of 5) sys-devel/gcc-config-1.3.12-r2 to /
* Adjusting permissions on ccache in /var/tmp/ccache
*** Adjusting cvs-src permissions for portage user...
>>> md5 files   ;-) gcc-config-1.3.10-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r2.ebuild
>>> md5 files   ;-) gcc-config-1.3.12-r1.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r4.ebuild
>>> md5 files   ;-) gcc-config-1.3.12.ebuild
>>> md5 files   ;-) gcc-config-1.3.11-r3.ebuild
>>> md5 files   ;-) files/digest-gcc-config-1.3.10-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r3
>>> md5 files   ;-) files/digest-gcc-config-1.3.11-r4
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r1
>>> md5 files   ;-) files/digest-gcc-config-1.3.12-r2
>>> md5 files   ;-) files/wrapper-1.4.5.c
>>> md5 files   ;-) files/wrapper-1.4.6.c
>>> md5 files   ;-) files/wrapper-1.4.7.c
>>> md5 files   ;-) files/gcc-config-1.3.10
>>> md5 files   ;-) files/gcc-config-1.3.11
>>> md5 files   ;-) files/gcc-config-1.3.12
>>> md5 files   ;-) files/digest-gcc-config-1.3.12
ACCESS DENIED  open_wr:   /newroot/dev/pts/0
ACCESS DENIED  open_wr:   /newroot/dev/pts/0
>>> Unpacking source...
>>> Source unpacked.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-sys-devel_-_gcc-config-1.3.12-r2-11155.log"

open_wr:   /newroot/dev/pts/0
open_wr:   /newroot/dev/pts/0
--------------------------------------------------------------------------------
livecd / #


I have the same error. I have Gentoo on my machine running from disk and want to create in a chroot a new Gentoo for a slow machine, so I do more or less the same as zecora. After I chroot into the new environment and try to emerge something with the sandbox feature set in make.conf, the error message above results. Without sandbox it is working.

Any ideas?

Marc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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