Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568354 - sys-apps/portage: unresolved @system atoms should be considered fatal errors
Summary: sys-apps/portage: unresolved @system atoms should be considered fatal errors
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 155723 549914
  Show dependency tree
 
Reported: 2015-12-15 20:22 UTC by Zac Medico
Modified: 2016-03-14 02:36 UTC (History)
1 user (show)

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 Zac Medico gentoo-dev 2015-12-15 20:22:50 UTC
Currently, commands like 'emerge -uD @world' will succeed (with a warning message) even though atoms from @system or @profile are unresolved.

Since @selected atoms are chosen by users, and it's common for these atoms to be unresolved for variety of reasons, it makes sense to treat unresolved atoms from @selected as a warning. It would be too much of a nuisance to do otherwise.

Anything in @system or @profile should be relatively important. Since @system and @profile atoms are presumably chosen by someone who knows what they are doing (usually a gentoo developer), it makes sense consider resolution failures for these atoms as fatal errors.
Comment 1 Zac Medico gentoo-dev 2015-12-15 20:38:47 UTC
(In reply to Zac Medico from comment #0)
> Currently, commands like 'emerge -uD @world' will succeed (with a warning
> message) even though atoms from @system or @profile are unresolved.

Actually, unresolved @profile atoms are already fatal. So, @system is the only one that needs to be fixed.
Comment 2 Zac Medico gentoo-dev 2015-12-16 04:21:25 UTC
I would like for it to suggest config changes, which can be written with --autounmask-write.
Comment 3 Zac Medico gentoo-dev 2015-12-16 17:11:20 UTC
This is in the master branch:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=cb4ae2e2c9de062dc2085c7a7ce69f72cd2fb06f

Autounmask support will probably not get much use, so I'll leave that unimplemented for now.
Comment 4 Zac Medico gentoo-dev 2016-03-14 02:36:59 UTC
Fixed in 2.2.27.