This package fails to build on an unstable system. Attached relevant logs and emerge --info
Created attachment 768166 [details] emerge_info emerge --info
Created attachment 768167 [details] ocaml-4.14.0:20220329-192900.log.xz build log (compressed because it exceeds attachment limit, use 'xzless' to read it)
Thanks for the report. It compiles if I unset AS and ASPP in src_configure: unset AS unset ASPP econf "${opt[@]}" Or the user could unset these by say creating a file: /etc/portage/env/unset-AS-unset-ASPP containing: unset AS unset ASPP and in /etc/portage/package.env: dev-lang/ocaml unset-AS-unset-ASPP
> Or the user could unset these by say creating a file: > > /etc/portage/env/unset-AS-unset-ASPP > > containing: > > unset AS > unset ASPP > > and in /etc/portage/package.env: > > dev-lang/ocaml unset-AS-unset-ASPP Have you tried this? As I have said in other bugs, you can't unset variables in /etc/portage/package.env
AS="llvm-as" is wrong. llvm-as can only process LLVM IR as the help say: llvm-as --help OVERVIEW: llvm .ll -> .bc assembler You can try AS="clang" instead.