Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656074 - sys-apps/portage: emerge list non-deterministic when @world contains 2 different atoms that match the same package, when one atom is more specific
Summary: sys-apps/portage: emerge list non-deterministic when @world contains 2 differ...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
Depends on:
Blocks: 155723
  Show dependency tree
Reported: 2018-05-18 20:39 UTC by haarp
Modified: 2018-09-02 07:24 UTC (History)
1 user (show)

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

emerge --info (file_656074.txt,7.31 KB, text/plain)
2018-05-18 20:39 UTC, haarp

Note You need to log in before you can comment on or make changes to this bug.
Description haarp 2018-05-18 20:39:51 UTC
Created attachment 532100 [details]
emerge --info

The result of [emerge -pvDNu world] changes randomly between runs.

My worldfile contains:


4.12.12 remains installed, but is no longer in the portage tree. Lacking any other option, portage wants to merge gentoo-sources-4.9.95::gentoo, the last currently stable version of gentoo-sources.

But it doesn't always do so. Running emerge multiple times in a row, without any config changes between, yields a roughly 50:50 chance that gentoo-sources-4.9.95 is among the list of merge candidates.

This is currently reproducible reliably.

Related forum thread:
Comment 1 Zac Medico gentoo-dev 2018-05-18 20:56:27 UTC
This occurs because the atoms from the world file are processed in random order.