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

Bug 719368

Summary: dev-perl/Net-LibIDN2-1.0.0-r1 - Error: no compiler detected to compile 'lib/Net/LibIDN2.c'. Aborting
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: CONFIRMED ---    
Severity: normal CC: kentnl, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-04-25 09:51:34 UTC
This is an auto-filled bug because dev-perl/Net-LibIDN2 fails to compile.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
Feel free to adjust the summary to clarify the exact issue..
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-25 09:51:44 UTC
Created attachment 634496 [details]
build.log

build log and emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-04-25 10:00:31 UTC
Looks like CFLAGS got mangled in the environment prior to building this package:
aarch64-unknown-linux-gnu-ld: unrecognised emulation mode: arch=native
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2020-04-26 12:18:44 UTC
(In reply to Jeroen Roovers from comment #2)
> Looks like CFLAGS got mangled in the environment prior to building this
> package:
> aarch64-unknown-linux-gnu-ld: unrecognised emulation mode: arch=native

That's one of the things that happens when you specify an LD that isn't a CCLD to things that expect LD to be a CCLD.

Not necessarily a user configuration failure, but its likely to be a messy problem.
Comment 4 Agostino Sarubbo gentoo-dev 2020-06-15 13:41:54 UTC
I can reproduce with perl-5.30.3-r1 too