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

Bug 738474

Summary: dev-lang/perl: ExtUtils::CBuilder uses LD in some places where CC/CXX should be used instead
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal CC: mjo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-08-22 05:02:38 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-22 05:02:40 UTC
Created attachment 656004 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2020-08-23 16:26:16 UTC
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.
Comment 3 Michael Orlitzky gentoo-dev 2020-08-23 16:28:02 UTC
*** Bug 731136 has been marked as a duplicate of this bug. ***
Comment 4 Michael Orlitzky gentoo-dev 2020-08-23 16:28:43 UTC
*** Bug 731140 has been marked as a duplicate of this bug. ***
Comment 5 Michael Orlitzky gentoo-dev 2020-08-23 16:30:09 UTC
*** Bug 737306 has been marked as a duplicate of this bug. ***
Comment 6 Michael Orlitzky gentoo-dev 2020-08-23 16:30:48 UTC
*** Bug 737310 has been marked as a duplicate of this bug. ***
Comment 7 Michael Orlitzky gentoo-dev 2020-08-23 16:31:44 UTC
*** Bug 737312 has been marked as a duplicate of this bug. ***
Comment 8 Michael Orlitzky gentoo-dev 2020-08-23 16:32:15 UTC
*** Bug 737318 has been marked as a duplicate of this bug. ***
Comment 9 Michael Orlitzky gentoo-dev 2020-08-23 16:33:03 UTC
*** Bug 737330 has been marked as a duplicate of this bug. ***
Comment 10 Michael Orlitzky gentoo-dev 2020-08-23 16:33:41 UTC
*** Bug 737334 has been marked as a duplicate of this bug. ***
Comment 11 Michael Orlitzky gentoo-dev 2020-08-23 16:34:22 UTC
*** Bug 737340 has been marked as a duplicate of this bug. ***
Comment 12 Michael Orlitzky gentoo-dev 2020-08-23 16:34:56 UTC
*** Bug 737456 has been marked as a duplicate of this bug. ***
Comment 13 Michael Orlitzky gentoo-dev 2020-08-23 16:35:20 UTC
*** Bug 737556 has been marked as a duplicate of this bug. ***
Comment 14 Michael Orlitzky gentoo-dev 2020-08-23 16:35:47 UTC
*** Bug 737560 has been marked as a duplicate of this bug. ***
Comment 15 Michael Orlitzky gentoo-dev 2020-08-23 16:36:12 UTC
*** Bug 737562 has been marked as a duplicate of this bug. ***
Comment 16 Michael Orlitzky gentoo-dev 2020-08-23 16:36:47 UTC
*** Bug 737564 has been marked as a duplicate of this bug. ***
Comment 17 Michael Orlitzky gentoo-dev 2020-08-23 16:37:25 UTC
*** Bug 737320 has been marked as a duplicate of this bug. ***
Comment 18 Michael Orlitzky gentoo-dev 2020-08-23 16:37:55 UTC
*** Bug 737568 has been marked as a duplicate of this bug. ***
Comment 19 Michael Orlitzky gentoo-dev 2020-08-23 16:38:24 UTC
*** Bug 737572 has been marked as a duplicate of this bug. ***
Comment 20 Michael Orlitzky gentoo-dev 2020-08-23 16:39:05 UTC
*** Bug 737428 has been marked as a duplicate of this bug. ***
Comment 21 Michael Orlitzky gentoo-dev 2020-08-23 16:39:41 UTC
*** Bug 737342 has been marked as a duplicate of this bug. ***