Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805314 - dev-perl/Params-Validate-1.300.0 fails configuration with error "no compiler detected to compile 'lib/Params/Validate/XS.c'
Summary: dev-perl/Params-Validate-1.300.0 fails configuration with error "no compiler ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 810199
  Show dependency tree
 
Reported: 2021-07-31 00:35 UTC by Wm Ray Carr
Modified: 2021-10-31 20:06 UTC (History)
1 user (show)

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


Attachments
Results of emerge dev-perl/Params-Validate-1.300.0 (dev-perl:Params-Validate-1.300.0:20210730-214419.log,2.37 KB, text/plain)
2021-07-31 00:35 UTC, Wm Ray Carr
Details
/usr/lib64/perl5/5.34/x86_64/Config_heavy.pl (Config_heavy.pl,43.12 KB, text/plain)
2021-10-21 08:14 UTC, Wm Ray Carr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wm Ray Carr 2021-07-31 00:35:25 UTC
Created attachment 728481 [details]
Results of emerge dev-perl/Params-Validate-1.300.0

> gcc --version
gcc (Gentoo 11.2.0 p1) 11.2.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> eix -c ExtUtils-CBuilder
[I] virtual/perl-ExtUtils-CBuilder (0.280.236@07/29/2021): Virtual for ExtUtils-CBuilder

Prior version of Params-Validate configures & compiles without issue.

> emerge --info dev-perl/Params-Validate-1.300.0

Portage 3.0.20 (python 3.10.0-beta-4, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.2.0, glibc-2.33-r5, 5.13.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.13.6-gentoo-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.33
KiB Mem:    32795468 total,  25223500 free
KiB Swap:   62498812 total,  62498812 free
Head commit of repository alxu: 7c86585cf590a08b1f2b3456f62a74170915f086

Head commit of repository kde: 6bb97bb33795a8083cfeb656ebd378484e0e52f7

Head commit of repository pg_overlay: ce59330cc78069459222e5ed743a3a2cb5cc4e71

Head commit of repository python: 6d0796d2302019591f3c59f0c5d5d40ae06a636d

Head commit of repository qt: 922b678e0d4a69689b0ad3bc007752aec15c4d04

Timestamp of repository gentoo: Fri, 30 Jul 2021 20:52:34 +0000
Head commit of repository gentoo: 8345c0c83c8d556b3dc8be64c6450c4c3982f2c4

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p4) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r1::gentoo
dev-lang/python:          3.9.6::gentoo, 3.10.0_beta4::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.21.1::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r5::gentoo
Repositories:

alxu
    location: /var/db/repos/alxu
    sync-type: git
    sync-uri: https://git.alxu.ca/gentoo-overlay.git
    masters: gentoo

kde
    location: /var/db/repos/kde
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo

python
    location: /var/db/repos/python
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/python.git
    masters: gentoo

qt
    location: /var/db/repos/qt
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver2 -mcpu=znver2 -mtune=znver2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=znver2 -mcpu=znver2 -mtune=znver2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --jobs=6 --load-average=24.0 --ask --deep --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver2 -mcpu=znver2 -mtune=znver2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance cgroup config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=znver2 -mcpu=znver2 -mtune=znver2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en en_US"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j15 -l18"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BZIP2_COMMAND="/bin/bzip2"
PORTAGE_COMPRESS="/usr/bin/xz"
PORTAGE_COMPRESS_FLAGS="-z -6"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth bluray branding brotli bzip2 cairo cdda cdr cli crypt cups dbus declarative designer dri dts dvd dvdr emboss encode exif flac fortran gdbm gif glpk gmp gpm gtk gui iconv icu idn2 introspection ipv6 javafx jemalloc jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lto mad mariadb mng mp3 mp4 mpeg multilib mysql ncurses networkmanager nls nptl ogg opencl opengl openmp pam pango pcre pdf pgo phonon plasma png policykit ppds pulseaudio pypy3 qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb uvc v4l vorbis vulkan wayland widgets wifi wireless wxwidgets x264 xattr xcb xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput vmmouse" KERNEL="linux" L10N="'-*' en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="AMDGPU BPF X86 WebAssembly" LUA_SINGLE_TARGET="luajit" LUA_TARGETS="lua5-4 luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_10" QEMU_SOFTMMU_TARGETS="aarch64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby27 ruby30" SANE_BACKENDS="canon canon630u canon_dr canon_pp pixma" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev radeonsi qxl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

dev-perl/Params-Validate-1.290.0::gentoo was built with the following:
USE="-examples -test" ABI_X86="(64)"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-20 07:13:23 UTC
Can you still reproduce this?
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-20 07:14:33 UTC
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.
Comment 3 Wm Ray Carr 2021-10-21 03:53:22 UTC
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.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-21 04:14:18 UTC
(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.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2021-10-21 07:54:42 UTC
please attach your /usr/lib64/perl5/5.34/x86_64-linux/Config_heavy.pl
Comment 6 Wm Ray Carr 2021-10-21 08:14:14 UTC
Created attachment 745983 [details]
/usr/lib64/perl5/5.34/x86_64/Config_heavy.pl

As requested . . .
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2021-10-23 16:56:10 UTC
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...)
Comment 8 Wm Ray Carr 2021-10-24 06:07:21 UTC
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.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2021-10-31 20:06:41 UTC
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.