Some packages require old version of ghc: (dev-lang/ghc-9.2.8:0/9.2.8::gentoo, ebuild scheduled for merge) USE="elfutils gmp (-big-endian) -binary -doc -ghcbootstrap -ghcmakebinary -llvm -numa -profile -test -unregisterised" ABI_X86="(64)" conflicts with <dev-lang/ghc-9.1 required by (dev-haskell/mono-traversable-1.0.15.1:0/1.0.15.1::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile -test" ABI_X86="(64)" ^ ^^^ <dev-lang/ghc-9.1 required by (dev-haskell/stm-2.5.0.1-r1:0/2.5.0.1::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile" ABI_X86="(64)" ^ ^^^ <dev-lang/ghc-9.1:= required by (dev-haskell/blaze-builder-0.4.2.1:0/0.4.2.1::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile -test" ABI_X86="(64)" ^ ^^^ <dev-lang/ghc-9.1 required by (dev-haskell/conduit-1.3.4.2:0/1.3.4.2::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile -test" ABI_X86="(64)" ^ ^^^ <dev-lang/ghc-9.1 required by (dev-haskell/entropy-0.4.1.6-r1:0/0.4.1.6::gentoo, ebuild scheduled for merge) USE="-doc -halvm -hscolour -profile" ABI_X86="(64)" ^ ^^^ <dev-lang/ghc-9.1:= required by (dev-haskell/cereal-0.5.8.1:0/0.5.8.1::gentoo, ebuild scheduled for merge) USE="-doc -hscolour -profile -test" ABI_X86="(64)" ^ ^^^ Reproducible: Always
This looks a case of mixing stable and unstable keywords. You are getting this conflict because you have unstable keywords accepted for ghc but not for these haskell packages. (I checked that every single of these in your output didn't have this restriction in the unstable version)
I am unable to follow the instructions on page https://wiki.gentoo.org/wiki/Haskell which says to add lines into package.accept_keywords ``` # Haskell has no stable keywords in Gentoo dev-haskell/* # Only needed if using ::haskell, but harmless if not. # May as well put it in, just in case for future use. */*::haskell ``` for both lines portage says: "invalid atom" that's why I change packages to unstable version one by one
# emerge -pv ghcide --- Invalid atom in /var/db/repos/buildserver/profiles/x86_64/package.accept_keywords/haskell: dev-haskell/* --- Invalid atom in /var/db/repos/buildserver/profiles/x86_64/package.accept_keywords/haskell: */*::haskell
/var/db/repos/buildserver/profiles/x86_64 ? The wiki says to add them to /etc/portage/ where it would work. Despite that I think that would formally a bug on portages end as the man page does say that it "has the same format and behavior as /etc/portage/package.accept_keywords". Which it clearly doesn't in regard to wildcards.
ok. I will close this bug, and create a new one, about nonworking wilcards.
it exists: https://bugs.gentoo.org/447992