Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817959 - Portage does not resolve alternative (`||`) dependencies correctly (example spyking-circus::science)
Summary: Portage does not resolve alternative (`||`) dependencies correctly (example s...
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155723
  Show dependency tree
 
Reported: 2021-10-13 06:04 UTC by Horea Christian
Modified: 2022-12-26 11:43 UTC (History)
2 users (show)

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


Attachments
full issue example (raw,6.17 KB, text/plain)
2021-10-13 06:04 UTC, Horea Christian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horea Christian 2021-10-13 06:04:16 UTC
Created attachment 744669 [details]
full issue example

Portage will for some reason try to pull in both `sys-cluster/mpich` and `sys-cluster/openmpi` given the following RDEPEND specification:

```
|| ( <=sys-cluster/openmpi-3.0.0 >=sys-cluster/mpich-2.0 )
```

The issue persists with `--backtrack=9999` but is solved by masking either of the two packages. The attached file lists both the full ebuild and the issue.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-13 06:20:30 UTC
Would you mind including emerge --debug ... for the emerge command and emerge --info for posterity?