| Summary: | dev-perl/Params-Validate-1.300.0 fails configuration with error "no compiler detected to compile 'lib/Params/Validate/XS.c' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Wm Ray Carr <wmraycarr> |
| Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 810199 | ||
| Attachments: |
Results of emerge dev-perl/Params-Validate-1.300.0
/usr/lib64/perl5/5.34/x86_64/Config_heavy.pl |
||
|
Description
Wm Ray Carr
2021-07-31 00:35:25 UTC
Can you still reproduce this? oh, I see, gold.
> * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/dev-perl/Params-Validate-1.300.0/image --create_packlist=1
>/usr/x86_64-pc-linux-gnu/bin/ld.gold: -pipe: unknown option
>/usr/x86_64-pc-linux-gnu/bin/ld.gold: use the --help option for usage information
>Warning: ExtUtils::CBuilder not installed or no compiler detected
>Proceeding with configuration, but compilation may fail during Build
I'd stop using gold anyway given it seems dead upstream but have you set LD or something when you shouldn't have...? I don't see why it's trying to pass -pipe to it.
Thanks ... changing the ld link to x86_64-pc-linux-gnu-ld.bfd instead of the .gold variant fixed the problem. I'm a bit behind on upstream changes and wasn't aware that the gold linker had been abandoned. (In reply to Wm Ray Carr from comment #3) > Thanks ... changing the ld link to x86_64-pc-linux-gnu-ld.bfd instead of the > .gold variant fixed the problem. > > I'm a bit behind on upstream changes and wasn't aware that the gold linker > had been abandoned. No problem, not your fault, I think we're going to look at masking at least default-gold soon to avoid these kind of problems. You can't read minds! :) I'm not sure how to cleanly force bfd or non-gold in the ebuild given I think the bug isn't actually with this package, but ExtUtils-CBuilder.. let's see if dilfridge has a better idea. please attach your /usr/lib64/perl5/5.34/x86_64-linux/Config_heavy.pl Created attachment 745983 [details]
/usr/lib64/perl5/5.34/x86_64/Config_heavy.pl
As requested . . .
Could you try perl-5.34.0-r4 please? (Only if this is not a critical production or otherwise machine, otherwise please wait until we've re-added keywords there...) I installed perl-5.34.0-r4. Even though this is a minor update, I ran 'perl-cleaner --reallyall'. No compilation errors, and so far, everything seems to be working. If I understand all that I saw when merging my stripped down KDE Plasma desktop, most of the perl modules are dependencies relating to something under KDE's hood. So far, everything is working as expected. Here's what got rebuilt. Versions, other than dev-lang/perl are what is keyworded ~amd64: dev-lang/perl-5.34.0-r4 10/23/2021 11:37:57 perl-core/File-Temp-0.231.100 10/23/2021 11:39:18 perl-core/Encode-3.120.0 10/23/2021 11:39:26 perl-core/Scalar-List-Utils-1.560.0 10/23/2021 11:39:32 dev-perl/TimeDate-2.330.0-r1 10/23/2021 11:39:37 dev-perl/Text-CharWidth-0.40.0-r2 10/23/2021 11:39:41 dev-perl/Socket6-0.290.0 10/23/2021 11:39:45 dev-perl/HTML-Tagset-3.200.0-r2 10/23/2021 11:39:49 virtual/perl-Encode-3.120.0 10/23/2021 11:39:53 dev-perl/Net-Daemon-0.490.0 10/23/2021 11:39:54 virtual/perl-Scalar-List-Utils-1.560.0 10/23/2021 11:40:00 virtual/perl-File-Temp-0.231.100 10/23/2021 11:40:04 dev-perl/HTTP-Date-6.50.0 10/23/2021 11:40:08 dev-perl/Pod-Parser-1.630.0-r1 10/23/2021 11:40:13 dev-perl/PlRPC-0.202.0-r4 10/23/2021 11:40:15 dev-perl/TermReadKey-2.380.0 10/23/2021 11:40:16 dev-perl/Text-WrapI18N-0.60.0-r2 10/23/2021 11:40:16 dev-perl/Class-Method-Modifiers-2.130.0 10/23/2021 11:40:18 dev-perl/Role-Tiny-2.2.4 10/23/2021 11:40:19 dev-perl/Digest-HMAC-1.40.0 10/23/2021 11:40:25 dev-perl/Sub-Name-0.260.0 10/23/2021 11:40:25 dev-perl/File-Which-1.270.0 10/23/2021 11:40:28 dev-perl/Unicode-UTF8-0.620.0-r1 10/23/2021 11:40:28 dev-perl/Encode-Locale-1.50.0 10/23/2021 11:40:32 dev-perl/Parse-Yapp-1.210.0-r1 10/23/2021 11:40:32 dev-perl/IPC-System-Simple-1.300.0 10/23/2021 11:40:40 dev-perl/Module-Build-0.423.100 10/23/2021 11:40:45 dev-perl/LWP-MediaTypes-6.40.0 10/23/2021 11:40:49 dev-perl/YAML-Tiny-1.730.0-r1 10/23/2021 11:40:54 dev-perl/IO-HTML-1.4.0 10/23/2021 11:40:55 dev-perl/MIME-Charset-1.12.2 10/23/2021 11:40:57 dev-perl/DBI-1.643.0 10/23/2021 11:41:00 dev-perl/File-Listing-6.140.0 10/23/2021 11:41:05 dev-perl/Try-Tiny-0.300.0-r1 10/23/2021 11:41:09 dev-perl/Devel-CheckLib-1.140.0 10/23/2021 11:41:14 dev-perl/File-HomeDir-1.6.0 10/23/2021 11:41:14 dev-perl/Sub-Quote-2.6.6-r1 10/23/2021 11:41:16 dev-perl/Authen-SASL-2.160.0-r2 10/23/2021 11:41:22 dev-perl/Path-Tiny-0.118.0 10/23/2021 11:41:27 dev-perl/File-BaseDir-0.80.0 10/23/2021 11:41:29 dev-perl/SGMLSpm-1.1-r2 10/23/2021 11:41:34 dev-perl/IO-Socket-INET6-2.720.0-r1 10/23/2021 11:41:35 dev-perl/Unicode-LineBreak-2019.1.0 10/23/2021 11:41:38 dev-perl/AppConfig-1.710.0-r1 10/23/2021 11:41:41 dev-perl/Text-Reform-1.200.0-r2 10/23/2021 11:41:43 dev-perl/Error-0.170.290 10/23/2021 11:41:44 dev-perl/Moo-2.5.4 10/23/2021 11:41:48 dev-perl/Text-Autoformat-1.750.0 10/23/2021 11:41:51 dev-perl/Net-SSLeay-1.900.0 10/23/2021 11:41:58 dev-perl/URI-5.90.0 10/23/2021 11:42:03 dev-perl/DBD-mysql-4.50.0-r1 10/23/2021 11:42:04 dev-perl/MailTools-2.210.0 10/23/2021 11:42:11 dev-perl/File-DesktopEntry-0.220.0 10/23/2021 11:42:16 dev-perl/HTTP-Message-6.320.0 10/23/2021 11:42:20 dev-perl/WWW-RobotRules-6.20.0-r2 10/23/2021 11:42:25 dev-perl/HTML-Parser-3.760.0 10/23/2021 11:42:30 dev-perl/HTTP-Cookies-6.100.0 10/23/2021 11:42:34 dev-perl/HTTP-Negotiate-6.10.0-r1 10/23/2021 11:42:39 dev-perl/Mozilla-CA-20999999 10/23/2021 11:42:43 dev-perl/IO-Socket-SSL-2.71.0 10/23/2021 11:42:48 dev-perl/Net-HTTP-6.210.0 10/23/2021 11:42:52 dev-perl/libwww-perl-6.550.0 10/23/2021 11:42:57 dev-perl/XML-Parser-2.460.0 10/23/2021 11:43:02 dev-perl/LWP-Protocol-https-6.100.0 10/23/2021 11:43:07 dev-perl/Locale-gettext-1.70.0 10/23/2021 11:43:12 dev-perl/Template-Toolkit-3.9.0 10/23/2021 11:43:15 dev-perl/File-MimeInfo-0.300.0 10/23/2021 11:43:19 app-text/po4a-0.64 10/23/2021 11:43:46 dev-perl/Template-DBI-2.650.0-r3 10/23/2021 11:43:53 dev-vcs/git-2.33.1 10/23/2021 11:44:05 Interestingly, I've purged and rebuild this Gentoo system since filing the original bug. (/home is a separate partition, so KDE has the same settings as always.) This leaner version of KDE Plasma and the packages I've chosen don't require dev-perl/Params-Validate. I remember that it was a dependence of several of the perl DateTime modules, but whatever package depended on DateTime-* is not in the current system build. OK, hard to debug this then. I'll close the bug unless we can find more info. Side remark, perl-5.34.0-r4 was somewhat broken, so after update to -r5 please run perl-cleaner --reallyall again. |