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

Bug 844979

Summary: Cannot emerge dev-vcs/git-annex-8.20210330-r1 due to slot conflict
Product: Gentoo Linux Reporter: Lars <gentoo>
Component: OverlaysAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Complete output of emerge showing the slot conflict
/etc/portage/package.accept_keywords/git-annex

Description Lars 2022-05-16 09:48:08 UTC
I have the most current haskell repo enabled to get new git-annex.

I have unmasked git-annex and its dependencies from haskell repo.

I get:

emerge --backtrack=300 --verbose-conflicts --pretend "=git-annex-8.20210330-r1"

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "<dev-haskell/attoparsec-0.14:=[profile?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-haskell/attoparsec-0.13.2.3::gentoo (masked by: ~amd64 keyword)

(dependency required by "dev-haskell/aws-0.22-r4::haskell" [ebuild])
(dependency required by "dev-vcs/git-annex-8.20210330-r1::haskell" [ebuild])
(dependency required by "=git-annex-8.20210330-r1" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


If I do unmask aws dependencies from gentoo, I get:


emerge --backtrack=300 --verbose-conflicts --pretend "=git-annex-8.20210330-r1"

These are the packages that would be merged, in order:

Calculating dependencies... done!

...

Total: 289 packages (289 new), Size of downloads: 218 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-haskell/attoparsec:0

  (dev-haskell/attoparsec-0.14.4:0/0.14.4::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile" ABI_X86="(64)" pulled in by
    >=dev-haskell/attoparsec-0.14.2:=[profile?] required by (dev-haskell/attoparsec-iso8601-1.0.2.1:0/1.0.2.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile" ABI_X86="(64)"
    ^^                       ^^^^^^                                                                                                                                                                                                             

  (dev-haskell/attoparsec-0.13.2.3:0/0.13.2.3::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile" ABI_X86="(64)" pulled in by
    <dev-haskell/attoparsec-0.14:=[profile?] required by (dev-haskell/aws-0.22-r4:0/0.22::haskell, ebuild scheduled for merge) USE="-doc -examples -hoogle -hscolour -profile" ABI_X86="(64)"
    ^                       ^^^^ ^                                                                                                                                                                                                              

dev-haskell/hashable:0

  (dev-haskell/hashable-1.4.0.2:0/1.4.0.2::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile" ABI_X86="(64)" pulled in by
    >=dev-haskell/hashable-1.3.5.0:=[profile?] required by (dev-haskell/onetuple-0.3.1:0/0.3.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile -test" ABI_X86="(64)"
    ^^                     ^^^^^^^                                                                                                                                                                                                              
    >=dev-haskell/hashable-1.3.2.0:=[profile?] required by (dev-haskell/time-compat-1.9.6.1:0/1.9.6.1::haskell, ebuild scheduled for merge) USE="-doc -hoogle -hscolour -profile -test" ABI_X86="(64)"
    ^^                     ^^^^^^^                                                                                                                                                                                                              

  (dev-haskell/hashable-1.2.7.0:0/1.2.7.0::gentoo, ebuild scheduled for merge) USE="gmp -doc -examples -hscolour -profile" ABI_X86="(64)" CPU_FLAGS_X86="sse2 sse4_1" pulled in by
    <dev-haskell/hashable-1.3:=[profile?] required by (dev-haskell/semigroups-0.18.5:0/0.18.5::gentoo, ebuild scheduled for merge) USE="binary transformers -doc -hscolour -profile" ABI_X86="(64)"
    ^                     ^^^ ^                                                                                                                                                                                                                 


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.





It seems like dev-haskell/aws-0.22-r4:0/0.22::haskell depends on <dev-haskell/attoparsec-0.14:= and git-annex depends on >=dev-haskell/attoparsec-0.14.2:=

How can this be solved?

Reproducible: Always

Steps to Reproduce:
1. Unmask git-annex dependencies
2. emerge --backtrack=300 --verbose-conflicts --pretend "=git-annex-8.20210330-r1"
Actual Results:  
Slot conflict.

Expected Results:  
No slot conflict.
Comment 1 Lars 2022-05-16 09:50:13 UTC
Created attachment 779204 [details]
Complete output of emerge showing the slot conflict
Comment 2 Lars 2022-05-16 09:55:03 UTC
Created attachment 779213 [details]
/etc/portage/package.accept_keywords/git-annex

The lines commented out are the dev-haskell/aws-0.22-r4::haskell dependencies. The slot conflict occurs, if those lines are *not* commented out.
Comment 3 Mike Gilbert gentoo-dev 2022-05-19 20:56:53 UTC
This is likely some issue specific to your system, or a conflict introduced by using the "haskell" repo. I'm not inclined to read through the output to figure out what might be wrong.

If you can point out the specific problem and how to reproduce it, we can assign this to the appropriate party.

If you need help diagnosing the problem, please seek help in Gentoo support channels.
Comment 4 Lars 2022-05-19 21:31:27 UTC
> This is likely some issue specific to your system, or a conflict introduced by using the "haskell" repo. I'm not inclined to read through the output to figure out what might be wrong.

It is obviously related to the "haskell" repo, as dev-vcs/git-annex-8.20210330-r1 is from "haskell" repo. If this is not the place to report slot conflicts in the "haskell", where is it?


> If you can point out the specific problem and how to reproduce it, we can assign this to the appropriate party.

Steps to reproduce:

1) Add haskell overlay and sync

eselect repository enable haskell
eix-sync


2) Try to emerge  dev-vcs/git-annex-8.20210330-r1 from haskell repo

emerge --backtrack=300 --verbose-conflicts --pretend "=git-annex-8.20210330-r1"

Expected result:

dev-vcs/git-annex-8.20210330-r1 should be installed


Actual result:

It is not


Additional information:

It seems like dev-haskell/aws-0.22-r4:0/0.22::haskell depends on <dev-haskell/attoparsec-0.14:= and git-annex depends on >=dev-haskell/attoparsec-0.14.2:=

> If you need help diagnosing the problem, please seek help in Gentoo support channels.

I tried to get support on #gentoo and #gentoo-haskell on libera.chat. No one could help.
Comment 5 Lars 2022-08-07 07:39:00 UTC
Does not apply to or is fixed with git-annex-10.20220624, dev-haskell/aws-0.22-r5 and haskell/attoparsec-0.14.4.