Bug 2241710 - perl-Marpa-XS-1.008000-40.fc40 FTBFS: lib/Marpa/XS.xs:1192:29: error: implicit declaration of function ‘marpa_earley_item_origin’
Summary: perl-Marpa-XS-1.008000-40.fc40 FTBFS: lib/Marpa/XS.xs:1192:29: error: implici...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Marpa-XS
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-10-02 08:47 UTC by Petr Pisar
Modified: 2023-10-04 07:05 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-10-04 07:05:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2023-10-02 08:47:28 UTC
perl-Marpa-XS-1.008000-40.fc40 fails to build in Fedora 40 because of missing function prototypes:

gcc '-std=gnu89' -I/usr/lib64/perl5/CORE '-DVERSION="1.008000"' '-DXS_VERSION="1.008000"' -fPIC -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/lib64/perl5/vendor_perl/Glib/Install/ -Ilibmarpa/dist -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' '-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/Marpa/XS.o lib/Marpa/XS.c
[...]
lib/Marpa/XS.xs: In function ‘XS_Marpa__XS__Internal__R_C_earley_item_origin’:
lib/Marpa/XS.xs:1192:29: error: implicit declaration of function ‘marpa_earley_item_origin’; did you mean ‘marpa_earley_item_trace’? [-Werror=implicit-function-declaration]
 1192 |       gint origin_earleme = marpa_earley_item_origin (r);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~

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.

Comment 1 Jitka Plesnikova 2023-10-04 07:05:52 UTC
I retired perl-Marpa-XS, because upstream does not exist anymore. There are not any dependencies on it.


Note You need to log in before you can comment on or make changes to this bug.