Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99801 - Proposal: emerge with "ignore error"-option
Summary: Proposal: emerge with "ignore error"-option
Status: RESOLVED DUPLICATE of bug 12768
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 07:43 UTC by Mark
Modified: 2005-07-21 07:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2005-07-21 07:43:49 UTC
I am missing a feature in emerge: 
When I want to compile some/all ebuilds it creates a list of the ebuilds and 
begins merging. When one package fails for some reason, the complete 
emerge-process is stopped though other following packages may be independent 
from that error. 
e.g. "emerge a52dec gftp" -> a52dec fails, gftp could emerge but emerge is 
stopped. 
 
-> One failing package cancelles the rest so that some of the packages are up 
to date and some are not... that's quite annoying (especially when you want to 
emerge (-e) world) and you have to check that by hand (difficult and really 
uncomfortable with 700 installed packages). 
 
Sure, you may use "--resume --skipfirst", but that's not a good solution, 
because you have to watch for your ebuild-process and order the system to 
continue merging by hand. (or write something senseless like "emerge -eD world 
|| emerge --resume --skipfirst || emerge --resume --skipfirst || emerge 
--resume --skipfirst....") 
 
What do you think about the idea to implement an "--ignore-errors" switch to 
let emerge continue it's list until no ebuild is left and print a summary of 
failed ebuilds. 
 
Example: 
----------- 
~ # emerge -e --ignore-errors world 
<emerge begins it's work> 
... 
<emerge fails somewhere on package "foo"> 
<emerge continues automatically with the next package> 
... 
<emerge finishes> 
Summary: The following package(s) failed: "foo-bar/foo" 
~ # 
----------- 
 
I think that this is really usefull, please consider it. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 07:56:54 UTC

*** This bug has been marked as a duplicate of 12768 ***