Bug 2259171
| Summary: | perl-CGI-SpeedyCGI-2.22-52.fc40 FTBFS: speedy_perl.c:918:29: error: passing argument 2 of ‘perl_parse’ from incompatible pointer type | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | perl-CGI-SpeedyCGI | Assignee: | Robert Scheck <redhat-bugzilla> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | cleaver-redhat, perl-devel, redhat-bugzilla |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | perl-CGI-SpeedyCGI-2.22-54.fc40 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-03-23 00:26:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2231791 | ||
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40. FEDORA-2024-d6b58b2508 (perl-CGI-SpeedyCGI-2.22-54.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-d6b58b2508 FEDORA-2024-d6b58b2508 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d6b58b2508` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d6b58b2508 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-d6b58b2508 (perl-CGI-SpeedyCGI-2.22-54.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report. |
perl-CGI-SpeedyCGI-2.22-52.fc40 fails to build in Fedora 40: gcc -c -I../src -I. -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 -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 -Wno-complain-wrong-lang -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 -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_perl.c speedy_perl.c: In function ‘speedy_perl_init’: speedy_perl.c:918:29: error: passing argument 2 of ‘perl_parse’ from incompatible pointer type [-Wincompatible-pointer-types] 918 | if (perl_parse(my_perl, xs_init, | ^~~~~~~ | | | void (*)(void) In file included from /usr/lib64/perl5/CORE/perl.h:6188, from ../src/speedy_inc_perl.h:25, from speedy.h:1, from speedy_perl.c:20: /usr/lib64/perl5/CORE/proto.h:3472:47: note: expected ‘XSINIT_t’ {aka ‘void (*)(struct interpreter *)’} but argument is of type ‘void (*)(void)’ 3472 | perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char **argv, char **env); | ~~~~~~~~~^~~~~~ A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/17079679>. This failure is probably triggered by upgrading gcc from 13.2.1-6.fc40 to 14.0.1-0.1.fc40.