Summary: | dev-libs/gmp-6.2.1-r5 - ar: error: script line 1: unknown command: OPEN | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | topological-automata <safeguard_502> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info
build.log build.log.xz Replace MRI OPEN script with ar qL invocation |
Description
topological-automata
2022-12-14 08:31:31 UTC
Created attachment 842525 [details]
emerge-info
here is emerge --info
Created attachment 842529 [details]
build.log
here is tail --lines 50 of build.log; the full build.log does not fit; if it's needed please let me know.
(In reply to safeguard_502 from comment #2) > Created attachment 842529 [details] > build.log > > here is tail --lines 50 of build.log; the full build.log does not fit; if > it's needed please let me know. Can you get the full thing please (compress it with xz -9 or so)? Created attachment 842537 [details]
build.log.xz
here is the build.log.xz compressed via xz -9, as requested
Created attachment 843485 [details, diff] Replace MRI OPEN script with ar qL invocation I looked into this issue and it doesn't seem to be related to slibtool or gmp, but to llvm-ar. It doesn't support scripts with OPEN [1]. [1] https://llvm.org/docs/CommandGuide/llvm-ar.html#mri-scripts This patch is unfortunately only usable for LLVM ar, as GNU ar and FreeBSD ar both seem to require OPEN + ADDLIB for this functionality. I'm leaving it here for the benefit of LLVM profile users like me, but making it conditional on ar supporting the L modifier is required before sending the patch upstream. |