Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917141 - dev-perl/XS-Parse-Keyword-0.380.0 can't compile with clang/llvm + 23.0 profile
Summary: dev-perl/XS-Parse-Keyword-0.380.0 can't compile with clang/llvm + 23.0 profile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 21:55 UTC by kurosuminowa
Modified: 2023-11-26 00:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kurosuminowa 2023-11-10 21:55:26 UTC
>>> Emerging (1 of 1) dev-perl/XS-Parse-Keyword-0.380.0::gentoo
 * XS-Parse-Keyword-0.38.tar.gz BLAKE2B SHA512 size ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking XS-Parse-Keyword-0.38.tar.gz to /var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38 ...
 * Using Module::Build
 * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/image --create_packlist=1
compilet-Hrls5.o: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
Warning: ExtUtils::CBuilder not installed or no compiler detected
Proceeding with configuration, but compilation may fail during Build

Checking prerequisites...
  test_requires:
    !  Test2::V0 is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'XS-Parse-Keyword' version '0.38'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38 ...
Building XS-Parse-Keyword
Error: no compiler detected to compile 'src/infix.c'.  Aborting
 * ERROR: dev-perl/XS-Parse-Keyword-0.380.0::gentoo failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 1798:  Called perl-module_src_compile
 *   environment, line 1257:  Called die
 * The specific snippet of code:
 *           ./Build build || die "Compilation failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/XS-Parse-Keyword-0.380.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/XS-Parse-Keyword-0.380.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38'
 * S: '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38'

>>> Failed to emerge dev-perl/XS-Parse-Keyword-0.380.0, Log file:

>>>  '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/temp/build.log'

 * Messages for package dev-perl/XS-Parse-Keyword-0.380.0:

 * ERROR: dev-perl/XS-Parse-Keyword-0.380.0::gentoo failed (compile phase):
 *   Compilation failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 1798:  Called perl-module_src_compile
 *   environment, line 1257:  Called die
 * The specific snippet of code:
 *           ./Build build || die "Compilation failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/XS-Parse-Keyword-0.380.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/XS-Parse-Keyword-0.380.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38'
 * S: '/var/tmp/portage/dev-perl/XS-Parse-Keyword-0.380.0/work/XS-Parse-Keyword-0.38'

make.conf:

#FLAGS
COMMON_FLAGS="-flto=full -march=znver2 -mtune=znver2 -O3 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
RUSTFLAGS="-C opt-level=3 -C target-cpu=znver2 -C link-arg=-Wl,-z,pack-relative-reloc"
MAKEOPTS="-j12"
#Languages
LC_MESSAGES=C.utf8
L10N=ru
#Portage
ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"

BINPKG_FORMAT="gpkg"
BINPKG_COMPRESS="zstd"
FEATURES="buildpkg"

#EMERGE_DEFAULT_OPTS="--jobs 3"
GENTOO_MIRRORS="http://mirror.mephi.ru/gentoo-distfiles/"
#CPU 
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"

profile:
 (parent): 
gentoo:default/linux/amd64/23.0/no-multilib
gentoo:features/llvm
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 22:03:17 UTC
Same root issue as bug 917140 probably, please include the information requested over there. Please also make sure dev-lang/perl was built with the same flags.