Summary: | emerge fails to prevent installation of dev-haskell/pantry-0.5.1.1 although dev-haskell/stack-2.3.1 depends on <dev-haskell/pantry-0.5 with default --backtrack setting | ||
---|---|---|---|
Product: | Portage Development | Reporter: | anonymous <fakih18716> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | solpeth |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Should be fixed in https://github.com/gentoo-haskell/gentoo-haskell/commit/04cb27bf8124a96747d81cab933573a74d8290cd (In reply to Jack Todaro from comment #1) > Should be fixed in > https://github.com/gentoo-haskell/gentoo-haskell/commit/ > 04cb27bf8124a96747d81cab933573a74d8290cd I think that's a workaround. Emerge should figure out that it shouldn't upgrade pantry because stack requires <dev-haskell/pantry-0.5. (In reply to crocket from comment #2) > (In reply to Jack Todaro from comment #1) > > Should be fixed in > > https://github.com/gentoo-haskell/gentoo-haskell/commit/ > > 04cb27bf8124a96747d81cab933573a74d8290cd > > I think that's a workaround. Emerge should figure out that it shouldn't > upgrade pantry because stack requires <dev-haskell/pantry-0.5. This requires backtracking. Depending on the state of you dependency graph, you may need to use a larger emerge --backtrack argument in order for backtracking to solve the problem. You can use the make.conf EMERGE_DEFAULT_OPTS variable to increase you default --backtrack setting. A large enough number for --backtrack should be enough |
I had to remove ~amd64 keyword for >=dev-haskell/pantry-0.5 in order to push through. > emerge -puDN @world ... ... !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-haskell/pantry:0 (dev-haskell/pantry-0.5.1.1:0/0.5.1.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile -test" ABI_X86="(64)" pulled in by (no parents that aren't satisfied by other packages in this slot) (dev-haskell/pantry-0.4.0.1:0/0.4.0.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile -test" ABI_X86="(64)" pulled in by <dev-haskell/pantry-0.5:=[profile?] required by (dev-haskell/stack-2.3.1:0/2.3.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile -test" ABI_X86="(64)" ^ ^^^ ^ Reproducible: Always