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

Bug 828874

Summary: dev-haskell/cabal-3.2.1.0-r1 failed with llvm 13
Product: Gentoo Linux Reporter: korte
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info '=dev-haskell/cabal-3.2.1.0-r1::gentoo'
emerge -pqv '=dev-haskell/cabal-3.2.1.0-r1::gentoo'
/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/environment

Description korte 2021-12-10 21:34:43 UTC
I emerged ghc-9.0.1-r1 with the help of a debian package. Now I am trying to emerge pandoc.

Reproducible: Always
Comment 1 korte 2021-12-10 21:35:21 UTC
Created attachment 758366 [details]
build.log
Comment 2 korte 2021-12-10 21:37:04 UTC
Created attachment 758367 [details]
emerge --info '=dev-haskell/cabal-3.2.1.0-r1::gentoo'
Comment 3 korte 2021-12-10 21:38:14 UTC
Created attachment 758368 [details]
emerge -pqv '=dev-haskell/cabal-3.2.1.0-r1::gentoo'
Comment 4 korte 2021-12-10 21:39:51 UTC
Created attachment 758369 [details]
/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/environment
Comment 5 Jonas Stein gentoo-dev 2021-12-10 23:53:30 UTC
Please note in the log:

---------8<------------------------------------
You are using an unsupported version of LLVM!
Currently only 9 is supported. System LLVM version: 13.0.0
--------->8------------------------------------
Comment 6 korte 2021-12-11 08:16:44 UTC
(In reply to Jonas Stein from comment #5)
> Please note in the log:
> 
> ---------8<------------------------------------
> You are using an unsupported version of LLVM!
> Currently only 9 is supported. System LLVM version: 13.0.0
> --------->8------------------------------------

equery m llvm
 * sys-devel/llvm [gentoo]
Maintainer:  llvm@gentoo.org
Upstream:    None specified
Homepage:    https://llvm.org/
Location:    /var/db/repos/gentoo/sys-devel/llvm
Keywords:    11.1.0:11: amd64 arm arm64 ppc64 x86 ~amd64-linux ~ppc-macos ~riscv ~x64-macos
Keywords:    12.0.1:12: amd64 arm arm64 ppc64 x86 ~amd64-linux ~ppc ~ppc-macos ~riscv ~sparc ~x64-macos
Keywords:    13.0.0:13: amd64 arm arm64 ppc64 x86 ~amd64-linux ~ppc ~ppc-macos ~riscv ~sparc ~x64-macos
Keywords:    13.0.1_rc1:13:
Keywords:    13.0.1.9999:13:
Keywords:    14.0.0.9999:14:
License:     Apache-2.0-with-LLVM-exceptions UoI-NCSA BSD public-domain rc

LLVM 9 is not satisfiable. Should I retry with 11.1.0?
Comment 7 korte 2021-12-13 13:05:58 UTC
(In reply to korte from comment #6)
> LLVM 9 is not satisfiable. Should I retry with 11.1.0?

I cannot force the use of llvm-11 by an option to emerge, afaik. I am trying to edit the ebuild, but I am stuck there. Can you give me an ebuild or an hint how to force the use of llvm-11?