[Bug 2259171] New: perl-CGI-SpeedyCGI-2.22-52.fc40 FTBFS: speedy_perl.c:918:29: error: passing argument 2 of ‘perl_parse’ from incompatible pointer type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2259171

            Bug ID: 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
           Version: rawhide
            Status: NEW
         Component: perl-CGI-SpeedyCGI
          Assignee: redhat-bugzilla@xxxxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: cleaver-redhat@xxxxxxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    redhat-bugzilla@xxxxxxxxxxxx
            Blocks: 2231791 (F40FTBFS,RAWHIDEFTBFS)
  Target Milestone: ---
    Classification: Fedora



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.



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=2259171

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202259171%23c0
--
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite Information]

  Powered by Linux