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

Bug 817959

Summary: Portage does not resolve alternative (`||`) dependencies correctly (example spyking-circus::science)
Product: Portage Development Reporter: Horea Christian <gentoo>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED NEEDINFO    
Severity: normal CC: esigra, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 155723    
Attachments: full issue example

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?