Summary: | dev-lang/ocaml-4.14.0 llvm-as: /var/tmp/portage/dev-lang/ocaml-4.14.0/temp/camlasm551f7a.s:1:2: error: expected top-level entity when using llvm-as | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | Gentoo Team for the ML programming language family <ml> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | gienah |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=729566 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge_info
ocaml-4.14.0:20220329-192900.log.xz |
Description
Alessandro Barbieri
2022-03-29 21:39:03 UTC
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. |