Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719368 - dev-perl/Net-LibIDN2-1.0.0-r1 - Error: no compiler detected to compile 'lib/Net/LibIDN2.c'. Aborting
Summary: dev-perl/Net-LibIDN2-1.0.0-r1 - Error: no compiler detected to compile 'lib/N...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 09:51 UTC by Agostino Sarubbo
Modified: 2021-05-22 02:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.94 KB, text/plain)
2020-04-25 09:51 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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