Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting emerge to continue to next pkg after failed compile.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
alechiko
Guru
Guru


Joined: 01 Feb 2004
Posts: 465
Location: Inside piano, do not disturb.

PostPosted: Sat Sep 02, 2006 2:18 am    Post subject: Getting emerge to continue to next pkg after failed compile. Reply with quote

Is there some way, that if im doing emerge -u world, and say, package 50 of 100 fails, that it can go straight on to 51? Because its really annoying when i leave the computer to do an update of some sort overnight, and one package halts the whole process in the middle, essentially wasting the other valuable hours that the system could be compiling the remaining packages.
_________________
None
Back to top
View user's profile Send private message
vadik56
n00b
n00b


Joined: 14 Feb 2006
Posts: 70

PostPosted: Sat Sep 02, 2006 2:27 am    Post subject: Reply with quote

You can do:
Code:
 emerge --resume --skipfirst
Back to top
View user's profile Send private message
pteppic
l33t
l33t


Joined: 28 Nov 2005
Posts: 781

PostPosted: Sat Sep 02, 2006 3:15 am    Post subject: Reply with quote

I generally do
Code:
 emerge <whatever flags here> world
(Ctrl-C to stop it)
while true ;do emerge --resume ; emerge --resume -p|grep "\[ebuild"| head -n 1 >> failed.log ; emerge --resume --skipfirst;done

You may come back to a terminal full of 'nothing to resume', but it retries the failed package, logs it, then skips it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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