Skip Menu |

This queue is for tickets about the Parse-Perl CPAN distribution.

Report information
The Basics
Id: 104095
Status: open
Priority: 0/
Queue: Parse-Perl

People
Owner: Nobody in particular
Requestors: MAT [...] cpan.fsck.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.007
Fixed in: (no value)



Subject: Fails with Perl 5.21+
Building Parse-Perl cc -I/usr/local/lib/perl5/5.21/mach/CORE -DVERSION="0.007" -DXS_VERSION="0.007" -DPIC -fPIC -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -o lib/Parse/Perl.o lib/Parse/Perl.c lib/Parse/Perl.xs:529:6: warning: incompatible pointer types initializing 'AV *' (aka 'struct av *') with an expression of type 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types] AV *padlist = CvPADLIST(function); ^ ~~~~~~~~~~~~~~~~~~~ lib/Parse/Perl.xs:544:13: error: no member named 'xpadn_low' in 'struct sv' (seq > COP_SEQ_RANGE_LOW(namesv) && ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:106:38: note: expanded from macro 'COP_SEQ_RANGE_LOW' #define COP_SEQ_RANGE_LOW(pn) (pn)->xpadn_low ~~~~ ^ lib/Parse/Perl.xs:545:14: error: no member named 'xpadn_high' in 'struct sv' seq <= COP_SEQ_RANGE_HIGH(namesv))) && ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:107:39: note: expanded from macro 'COP_SEQ_RANGE_HIGH' #define COP_SEQ_RANGE_HIGH(pn) (pn)->xpadn_high ~~~~ ^ lib/Parse/Perl.xs:590:11: warning: incompatible pointer types assigning to 'AV *' (aka 'struct av *') from 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types] padlist = CvPADLIST(cv); ^ ~~~~~~~~~~~~~ lib/Parse/Perl.xs:674:6: warning: incompatible pointer types initializing 'AV *' (aka 'struct av *') with an expression of type 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types] AV *padlist = CvPADLIST(func); ^ ~~~~~~~~~~~~~~~ lib/Parse/Perl.xs:691:9: error: no member named 'xpadn_low' in 'struct sv' pix = PARENT_PAD_INDEX(namesv); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:108:37: note: expanded from macro 'PARENT_PAD_INDEX' #define PARENT_PAD_INDEX(pn) (pn)->xpadn_low ~~~~ ^ lib/Parse/Perl.xs:711:27: error: no member named 'xpadn_flags' in 'struct sv' !(SvPADSTALE(vsv) && !SvPAD_STATE(namesv)))) ^ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:340:22: note: expanded from macro 'SvPAD_STATE' #define SvPAD_STATE PadnameIsSTATE ^ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:327:29: note: expanded from macro 'PadnameIsSTATE' #define PadnameIsSTATE(pn) (PadnameFLAGS(pn) & PADNAMEt_STATE) ^~~~~~~~~~~~~~~~ /usr/local/lib/perl5/5.21/mach/CORE/pad.h:317:32: note: expanded from macro 'PadnameFLAGS' #define PadnameFLAGS(pn) (pn)->xpadn_flags ~~~~ ^ 3 warnings and 4 errors generated. error building lib/Parse/Perl.o from 'lib/Parse/Perl.c' at /usr/local/lib/perl5/5.21/ExtUtils/CBuilder/Base.pm line 173. *** Error code 2
On 2015-04-29 09:35:05, MAT wrote: Show quoted text
> Building Parse-Perl > cc -I/usr/local/lib/perl5/5.21/mach/CORE -DVERSION="0.007" > -DXS_VERSION="0.007" -DPIC -fPIC -c -DHAS_FPSETMASK > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector > -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing > -o lib/Parse/Perl.o lib/Parse/Perl.c > lib/Parse/Perl.xs:529:6: warning: incompatible pointer types > initializing 'AV *' (aka 'struct av *') with an expression of type > 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types] > AV *padlist = CvPADLIST(function); > ^ ~~~~~~~~~~~~~~~~~~~ > lib/Parse/Perl.xs:544:13: error: no member named 'xpadn_low' in > 'struct sv' > (seq > > COP_SEQ_RANGE_LOW(namesv) && > ^~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:106:38: note: expanded from > macro 'COP_SEQ_RANGE_LOW' > #define COP_SEQ_RANGE_LOW(pn) (pn)->xpadn_low > ~~~~ ^ > lib/Parse/Perl.xs:545:14: error: no member named 'xpadn_high' in > 'struct sv' > seq <= > COP_SEQ_RANGE_HIGH(namesv))) && > ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:107:39: note: expanded from > macro 'COP_SEQ_RANGE_HIGH' > #define COP_SEQ_RANGE_HIGH(pn) (pn)->xpadn_high > ~~~~ ^ > lib/Parse/Perl.xs:590:11: warning: incompatible pointer types > assigning to 'AV *' (aka 'struct av *') from 'PADLIST *' (aka 'struct > padlist *') [-Wincompatible-pointer-types] > padlist = CvPADLIST(cv); > ^ ~~~~~~~~~~~~~ > lib/Parse/Perl.xs:674:6: warning: incompatible pointer types > initializing 'AV *' (aka 'struct av *') with an expression of type > 'PADLIST *' (aka 'struct padlist *') [-Wincompatible-pointer-types] > AV *padlist = CvPADLIST(func); > ^ ~~~~~~~~~~~~~~~ > lib/Parse/Perl.xs:691:9: error: no member named 'xpadn_low' in 'struct > sv' > pix = PARENT_PAD_INDEX(namesv); > ^~~~~~~~~~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:108:37: note: expanded from > macro 'PARENT_PAD_INDEX' > #define PARENT_PAD_INDEX(pn) (pn)->xpadn_low > ~~~~ ^ > lib/Parse/Perl.xs:711:27: error: no member named 'xpadn_flags' in > 'struct sv' > !(SvPADSTALE(vsv) && > !SvPAD_STATE(namesv)))) > ^ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:340:22: note: expanded from > macro 'SvPAD_STATE' > #define SvPAD_STATE PadnameIsSTATE > ^ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:327:29: note: expanded from > macro 'PadnameIsSTATE' > #define PadnameIsSTATE(pn) (PadnameFLAGS(pn) & PADNAMEt_STATE) > ^~~~~~~~~~~~~~~~ > /usr/local/lib/perl5/5.21/mach/CORE/pad.h:317:32: note: expanded from > macro 'PadnameFLAGS' > #define PadnameFLAGS(pn) (pn)->xpadn_flags > ~~~~ ^ > 3 warnings and 4 errors generated. > error building lib/Parse/Perl.o from 'lib/Parse/Perl.c' at > /usr/local/lib/perl5/5.21/ExtUtils/CBuilder/Base.pm line 173. > *** Error code 2
Compilation fails since perl 5.21.7. And the module compiles for perls between 5.17.x and 5.21.6, but the test suite is segfaulting.