https://bugzilla.redhat.com/show_bug.cgi?id=2241708
Bug ID: 2241708 Summary: perl-Data-Pond-0.005-22.fc40 FTBFS: Product: Fedora Version: rawhide URL: https://koschei.fedoraproject.org/package/perl-Data-Po nd Status: NEW Component: perl-Data-Pond Assignee: emmanuel@seyman.fr Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: emmanuel@seyman.fr, iarnell@gmail.com, perl-devel@lists.fedoraproject.org Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Data-Pond-0.005-22.fc40 fails to build in Fedora 40 because of missing function prototypes:
gcc -I/usr/lib64/perl5/CORE '-DVERSION="0.005"' '-DXS_VERSION="0.005"' -fPIC -c -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' -O2 '-flto=auto' -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall '-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 -g -o lib/Data/Pond.o lib/Data/Pond.c lib/Data/Pond.xs:9: warning: "PERL_VERSION_GE" redefined 9 | #define PERL_VERSION_GE(r,v,s) \ | In file included from /usr/lib64/perl5/CORE/perl.h:3327, from lib/Data/Pond.xs:3: /usr/lib64/perl5/CORE/handy.h:578: note: this is the location of the previous definition 578 | # define PERL_VERSION_GE(j,n,p) (! PERL_VERSION_LT(j,n,p)) | lib/Data/Pond.xs: In function ‘THX_sv_cat_unichar’: lib/Data/Pond.xs:159:19: error: implicit declaration of function ‘uvuni_to_utf8_flags’; did you mean ‘uvchr_to_utf8_flags’? [-Werror=implicit-function-declaration] 159 | vnewend = uvuni_to_utf8_flags(voldend, val, UNICODE_ALLOW_ANY); | ^~~~~~~~~~~~~~~~~~~ | uvchr_to_utf8_flags
This is triggered by upgrading redhat-rpm-config from 266-1.fc40 to 267-1.fc40 which added -Werror=implicit-function-declaration compiler option to prepare for stricter GCC 14,
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2231791 [Bug 2231791] Fedora 40 FTBFS Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=2241708
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|perl-Data-Pond-0.005-22.fc4 |perl-Data-Pond-0.005-22.fc4 |0 FTBFS: |0 FTBFS: | |lib/Data/Pond.xs:159:19: | |error: implicit declaration | |of function | |‘uvuni_to_utf8_flags’
--- Comment #1 from Petr Pisar ppisar@redhat.com --- See https://rt.cpan.org/Public/Bug/Display.html?id=149108 for the same bug and proposed fix in a different CPAN distribution.
https://bugzilla.redhat.com/show_bug.cgi?id=2241708
Emmanuel Seyman emmanuel@seyman.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Fixed In Version| |perl-Data-Pond-0.005-22.fc4 | |0 Status|NEW |CLOSED Last Closed| |2023-11-12 14:46:28
--- Comment #2 from Emmanuel Seyman emmanuel@seyman.fr --- Patched and built for rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=2319515
perl-devel@lists.fedoraproject.org