Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -e system fails
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
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 5:51 am    Post subject: emerge -e system fails Reply with quote

hey folks!

i tried to install a stage1 an got followed error on
emerge -e system

Code:
>>> Unpacking gzip_1.3.5.orig.tar.gz to /var/tmp/portage/gzip-1.3.5-r5/work
tar: /usr/portage/distfiles/gzip_1.3.5.orig.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

!!! ERROR: app-arch/gzip-1.3.5-r5 failed.
!!! Function unpack, Line 375, Exitcode 2
!!! failure unpacking gzip_1.3.5.orig.tar.gz
!!! If you need support, post the topmost build error, NOT this status message.




facts:
- pentium 4m
- stage1
- followed all the steps in the manual


---make.conf--------------------
Code:
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp$
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="-kde gnome gtk qt dvd alsa cdr mmx sse"



thanx for help!!!
:oops:
_________________
the world is not enough...
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Wed May 04, 2005 6:24 am    Post subject: Reply with quote

Did you use the 2005.0 Installation Handbook?

I used it too and it is imho not so lucky in its choice of words.

As I used it there was only the way of a Stage 3 Installation described. There was no hint that you have to bootstrap your system with a Stage 1. don't know if they changed that.

So to say it out loud :wink:
Did you bootstrap your system, otherwise all the necessary tools to do a emerge -e world are not present in your system!!! You have to run bootstrap.sh first!

fangorn
Back to top
View user's profile Send private message
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 6:29 am    Post subject: Reply with quote

hello fangorn!

i used the latest doc on gentoo.org:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml

and the bootstrap procedure i already did, like described in manual!
:wink:
_________________
the world is not enough...
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Wed May 04, 2005 7:15 am    Post subject: Reply with quote

Hi again!

1. Please control (from your LiveCD host system), that all directories/mount-points are mounted inside your Gentoo-system.
2. Do a 'emerge --sync && env-update && source /etc/profile && env-update'
3. After that, do a 'emerge -fe system' - drink a cup of coffee in the meantime, it will (only) download all the files that are needed for the 'emerge -e system'
4. After downloading, retry the 'emerge -e system' again
5. If it bails out with an error while compiling, edit the make.conf and change the CHOST-settings I told you back to '-O2 -march=pentium4 -pipe'. Sometimes packages don't want enhanced settings - do __not__ call anything with 'emerge ...', because...
6. ...then you can type 'emerge --resume' - this will not start the 'emerge -e system' from the beginning, but start with the package that didn't compile and bailed out
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 7:59 am    Post subject: Reply with quote

hi karsten!

thanx for your input...
i now started the emerge -e system again like you described!

now it's time for waiting
:(

report any success, if compiling is finished or
an error occurs...
_________________
the world is not enough...
Back to top
View user's profile Send private message
rwvo
n00b
n00b


Joined: 04 May 2005
Posts: 7
Location: Utrecht, Netherlands

PostPosted: Wed May 04, 2005 9:36 am    Post subject: Reply with quote

I'm afraid Karsten's suggestion is not going to help you. I ran into the very same problem: "emerge -e system" aborted due to a missing file (gzip_1.3.5.org.tar.gz). The package seems to be broken; it only contains the patches, not the original source code. I manually downloaded the missing file from a gentoo mirror, put it in /usr/portage/app-arch/gzip/file (where it belongs), and ran "emerge gzip". No luck: emerge was complaining about a security warning ("there's a file that is not in the Manifest", or something like that). I removed the file again.

This is where I started to do really stupid things. I did "emerge --unmerge gzip", hoping that this would enable me to emerge a newer version. However, this also removes the binaries of gzip that have been installed in stage 1, so now I can't unpack any packages, and basically, I have to start all over again. :-(

In retrospect, I think I should have kept the orig file, and I should have added it and its MD5 sum to the Manifest file (I know: there's a security risk involved!), but that's too late for me now. Maybe it works for you, but don't take my word for it, as I'm an absolute newbie w.r.t. Gentoo.

Question: where should I report the broken package?

Cheers,
rr
Back to top
View user's profile Send private message
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 9:44 am    Post subject: Reply with quote

@rwvo
if you have right and the package is broken, i will realy
think about erasing this gentoo garbage from my notebook and go back to debian...

just yesterday i had a problem with a ebuild called groff which was false in the package-db!!!
it seems that gentoo developpers don't realy test their work good enough befor publishing...
:roll:
_________________
the world is not enough...
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Wed May 04, 2005 10:19 am    Post subject: Reply with quote

Feel free to make a bug-report in Gentoo's bugzilla.
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
rwvo
n00b
n00b


Joined: 04 May 2005
Posts: 7
Location: Utrecht, Netherlands

PostPosted: Wed May 04, 2005 11:12 am    Post subject: Reply with quote

I filed a bugreport in bugzilla indeed.

@wachtda: I can understand your frustration, but the developers are only human. You can't expect them to install a Gentoo system from scratch every time a package gets updated, so every once in a while there will be an error that goes unnoticed. Complaining alone doesn't get the errors fixed; reporting bugs does.

rwvo
Back to top
View user's profile Send private message
rwvo
n00b
n00b


Joined: 04 May 2005
Posts: 7
Location: Utrecht, Netherlands

PostPosted: Wed May 04, 2005 2:14 pm    Post subject: Reply with quote

According to bugzilla, the bug has been fixed 20 minutes ago. "emerge --sync" should get you an upgraded portage tree that doesn't have the problem. Before you redo "emerge -e system" I'd check if /usr/portage/apps-arch/gzip/Manifest indeed lists the file that was missing before.
Back to top
View user's profile Send private message
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 2:22 pm    Post subject: Reply with quote

ok!

emerge -e system finished without any error!
:D

now i can continue with the kernel...
report more later!
:twisted:
_________________
the world is not enough...
Back to top
View user's profile Send private message
Karak
n00b
n00b


Joined: 04 May 2005
Posts: 35
Location: Austin, TX

PostPosted: Wed May 04, 2005 2:53 pm    Post subject: !!! GOOD GOD! Reply with quote

Oh thank god this was a known issue that has been fixed... I was banging my head against the wall for the last 4 hours trying to figure out why this wasn't working! Then I thought... Check the forums you idiot! Re-sync'd and running the emerge again... You guys rock!
_________________
It's a shame so many perfectly good idea's have to be discarded simply because they won't work.
Back to top
View user's profile Send private message
wachtda
n00b
n00b


Joined: 02 May 2005
Posts: 18
Location: Biel (Switzerland)

PostPosted: Wed May 04, 2005 3:39 pm    Post subject: Reply with quote

after emerge gentoo-sources i
only have a 2.4 kernel!

why? how can i get a 2.6 kernel?

[EDIT]
i just updatet my profile to 2.6
rm /etc/make.profile
ln -s ../usr/portage/profiles/default-linux/x86/2005.0 /etc/make.profile
[/EDIT]
_________________
the world is not enough...
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