https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-perl/File-LibMagic-1.220.0 uses LD instead of CC/CXX. Discovered on: amd64 (internal ref: ci)
Created attachment 656004 [details] build.log build log and emerge --info
I tracked this down to the ExtUtils::CBuilder module, and there's even a comment in the source code to the same effect: https://metacpan.org/source/AMBS/ExtUtils-CBuilder-0.280234/lib/ExtUtils/CBuilder/Platform/Unix.pm The fix will involve using CC/CXX (or the link_executable function) in some places where LD (or the link function) is used now. For File-LibMagic, the problem manifests in Config-Autotools, which tries to link against libmagic to ensure that libmagic exists and is usable on the system. There are several other perl bugs open that can be traced back to the same source, so I intend to dupe them all here.
*** Bug 731136 has been marked as a duplicate of this bug. ***
*** Bug 731140 has been marked as a duplicate of this bug. ***
*** Bug 737306 has been marked as a duplicate of this bug. ***
*** Bug 737310 has been marked as a duplicate of this bug. ***
*** Bug 737312 has been marked as a duplicate of this bug. ***
*** Bug 737318 has been marked as a duplicate of this bug. ***
*** Bug 737330 has been marked as a duplicate of this bug. ***
*** Bug 737334 has been marked as a duplicate of this bug. ***
*** Bug 737340 has been marked as a duplicate of this bug. ***
*** Bug 737456 has been marked as a duplicate of this bug. ***
*** Bug 737556 has been marked as a duplicate of this bug. ***
*** Bug 737560 has been marked as a duplicate of this bug. ***
*** Bug 737562 has been marked as a duplicate of this bug. ***
*** Bug 737564 has been marked as a duplicate of this bug. ***
*** Bug 737320 has been marked as a duplicate of this bug. ***
*** Bug 737568 has been marked as a duplicate of this bug. ***
*** Bug 737572 has been marked as a duplicate of this bug. ***
*** Bug 737428 has been marked as a duplicate of this bug. ***
*** Bug 737342 has been marked as a duplicate of this bug. ***