Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917140 - dev-perl/Syntax-Keyword-Try-0.280.0 can't compile with clang/llvm + 23.0 profile
Summary: dev-perl/Syntax-Keyword-Try-0.280.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:50 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:50:50 UTC
>>> Emerging (1 of 74) dev-perl/Syntax-Keyword-Try-0.280.0::gentoo
 * Syntax-Keyword-Try-0.28.tar.gz BLAKE2B SHA512 size ;-) ...                                         [ ok ]
>>> Unpacking source...
>>> Unpacking Syntax-Keyword-Try-0.28.tar.gz to /var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/work/Syntax-Keyword-Try-0.28 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/work/Syntax-Keyword-Try-0.28 ...
 * Using Module::Build
 * perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/image --create_packlist=1
compilet-1oocy.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

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

>>> Failed to emerge dev-perl/Syntax-Keyword-Try-0.280.0, Log file:

>>>  '/var/tmp/portage/dev-perl/Syntax-Keyword-Try-0.280.0/temp/build.log'


 * Messages for package dev-perl/Syntax-Keyword-Try-0.280.0:

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

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"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-10 21:57:28 UTC
Please attach the full build.log and include emerge --info.