https://bugzilla.redhat.com/show_bug.cgi?id=2241714
Bug ID: 2241714 Summary: perl-Net-IDN-Encode-2.500-18.fc40 FTBFS: Punycode.xs:256:19: error: implicit declaration of function ‘uvuni_to_utf8_flags’ Product: Fedora Version: rawhide URL: https://koschei.fedoraproject.org/package/perl-Net-IDN -Encode Status: NEW Component: perl-Net-IDN-Encode Assignee: emmanuel@seyman.fr Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: emmanuel@seyman.fr, jplesnik@redhat.com, mspacek@redhat.com, perl-devel@lists.fedoraproject.org, ppisar@redhat.com Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS) Target Milestone: --- Classification: Fedora
perl-Net-IDN-Encode-2.500-18.fc40 fails to build in Fedora 40 because of missing function prototypes:
gcc -I/usr/lib64/perl5/CORE '-DVERSION="2.500"' '-DXS_VERSION="2.500"' -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/Net/IDN/Punycode.o lib/Net/IDN/Punycode.c lib/Net/IDN/Punycode.xs: In function ‘XS_Net__IDN__Punycode_decode_punycode’: lib/Net/IDN/Punycode.xs:232:36: warning: array subscript has type ‘char’ [-Wchar-subscripts] 232 | dc = dec_digit[*in_p++]; /* we already know it's in 0..127 */ | ^~~~~~~ lib/Net/IDN/Punycode.xs:256:19: error: implicit declaration of function ‘uvuni_to_utf8_flags’; did you mean ‘uvchr_to_utf8_flags’? [-Werror=implicit-function-declaration] 256 | uvuni_to_utf8_flags((U8*)skip_p, n, UNICODE_ALLOW_ANY); | ^~~~~~~~~~~~~~~~~~~
This is triggered by upgrading redhat-rpm-config from 266-1.fc40 to 267-1.fc40 which added -Werror=implicit-function-declaration compiler option as a preparation 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=2241714
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |CPAN 149108 Status|NEW |ASSIGNED Assignee|emmanuel@seyman.fr |ppisar@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2241714
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed In Version| |perl-Net-IDN-Encode-2.500-1 | |9.fc40 Status|ASSIGNED |MODIFIED
https://bugzilla.redhat.com/show_bug.cgi?id=2241714
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |RAWHIDE Status|MODIFIED |CLOSED Last Closed| |2023-10-04 09:46:20
perl-devel@lists.fedoraproject.org