https://bugzilla.redhat.com/show_bug.cgi?id=2258753
Bug ID: 2258753
Summary: perl-5.38.2-503.fc40 FTBFS: constants.h:580:20: error:
‘F’ undeclared
Product: Fedora
Version: rawhide
URL: https://koschei.fedoraproject.org/package/perl
Status: NEW
Component: perl
Assignee: jplesnik(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: iarnell(a)gmail.com, jplesnik(a)redhat.com, kasal(a)ucw.cz,
mmaslano(a)redhat.com, mspacek(a)redhat.com,
perl-devel(a)lists.fedoraproject.org, ppisar(a)redhat.com,
psabata(a)redhat.com, rhughes(a)redhat.com,
spotrh(a)gmail.com
Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS)
Target Milestone: ---
Classification: Fedora
perl-5.38.2-503.fc40 fails to build in Fedora 40:
gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto
-ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall
-Wno-complain-wrong-lang -Werror=format-security
-Werror=implicit-function-declaration -Werror=implicit-int
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fwrapv
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -Werror=pointer-arith -Werror=vla -Wextra -Wno-long-long
-Wno-declaration-after-statement -Wc++-compat -Wwrite-strings
-Wno-use-after-free -g -DVERSION=\"2.204_001\" -DXS_VERSION=\"2.204_001\"
-fPIC "-I../.." -DNO_VIZ -DGZIP_OS_CODE=3 -DPerl_crz_BUILD_ZLIB=0 Zlib.c
[...]
In file included from Zlib.xs:37:
constants.h: In function ‘constant’:
constants.h:580:20: error: ‘F’ undeclared (first use in this function); did you
mean ‘OF’?
580 | *iv_return = ZLIBNG_VER_STATUS;
| ^~~~~~~~~~~~~~~~~
constants.h:580:20: note: each undeclared identifier is reported only once for
each function it appears in
make[1]: Leaving directory
'/builddir/build/BUILD/perl-5.38.2/cpan/Compress-Raw-Zlib'
make[1]: *** [Makefile:349: Zlib.o] Error 1
A difference between passing and failing build root is at
<https://koschei.fedoraproject.org/build/16898677>. This is probably triggered
by upgrading from zlib-devel-1.2.13-5.fc40 to
zlib-ng-compat-devel-2.1.3-7.fc40.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2231791
[Bug 2231791] Fedora 40 FTBFS Tracker
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2258753
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-sp…
fweimer opened a new pull-request against the project: `perl` that you are following:
``
Update Compress::Raw::Zlib for improved compatibility with zlib-ng
``
To reply, visit the link below
https://src.fedoraproject.org/rpms/perl/pull-request/11