Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605088

Summary: emerge: Don't stop due to failure in pkg_pretend phase when "--keep-going=y" is set
Product: Portage Development Reporter: Thomas Deutschmann <whissi>
Component: CoreAssignee: Portage team <dev-portage>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Thomas Deutschmann gentoo-dev 2017-01-08 18:27:06 UTC
I am reporting this as a bug because I couldn't find any documentation
indicating that the current behavior is desired. But maybe documentation
just needs an update so I could understand if this is a feature request.

User wants to update its system but don't want that an error will stop the
whole process.

Command of choice:

  # emerge --ask --verbose --update --deep --tree \
        --with-bdeps=y --newrepo --keep-going=y --newuse world

Imagine that emerge has to update 10 package. If one of these packages is
failing emerge should "restart" and continue with the remaining packages
(if possible due to dependencies).

A package failing in "pkg_pretend" phase causes the whole emerge process
to stop with an error. Emerge does not continue updating other,
non-affected packages. The "keep-going" option is basically ignored/not
honored at this stage.

This is no theoretical problem, please see

Proposed solution:
Emerge should continue when "keep-going" option is set, even when
encountering an error in "pkg_pretend" phase.
Comment 1 Zac Medico gentoo-dev 2017-01-08 18:35:20 UTC

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