Skip Menu |

This queue is for tickets about the Lexical-Var CPAN distribution.

Report information
The Basics
Id: 130605
Status: open
Priority: 0/
Queue: Lexical-Var

People
Owner: Nobody in particular
Requestors: davehodg [...] gmail.com
Cc:
AdminCc:

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



Subject: Compile fail
Date: Tue, 1 Oct 2019 14:46:03 +0100
To: bug-Lexical-Var [...] rt.cpan.org
From: Dave Hodgkinson <davehodg [...] gmail.com>
I’m trying to run a cpanm for my project on a docker:latest on GitHub. It’s allegedly perl 5.30. L::V fails to compile with: Building Lexical-Var-0.009 ... Building Lexical-Var cc -I/usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE -DVERSION="0.009" -DXS_VERSION="0.009" -fPIC -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o lib/Lexical/Var.o lib/Lexical/Var.c In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/perl.h:3684, from lib/Lexical/Var.xs:3: lib/Lexical/Var.xs: In function 'THX_setup_pad': /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: error: 'SV' {aka 'struct sv'} has no member named 'xpadn_flags'; did you mean 'sv_flags'? #define PadnameFLAGS(pn) (pn)->xpadn_flags ^~~~~~~~~~~ /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: note: in definition of macro 'PadnameFLAGS' #define PadnameFLAGS(pn) (pn)->xpadn_flags ^~~~~~~~~~~ lib/Lexical/Var.xs:470:2: note: in expansion of macro 'SvPAD_OUR_on' SvPAD_OUR_on(ourname); ^~~~~~~~~~~~ /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: error: 'SV' {aka 'struct sv'} has no member named 'xpadn_ourstash' #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash ^~ /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: note: in definition of macro 'PadnameOURSTASH' #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash ^~ /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:349:25: note: in expansion of macro 'PadnameOURSTASH_set' #define SvOURSTASH_set PadnameOURSTASH_set ^~~~~~~~~~~~~~~~~~~ lib/Lexical/Var.xs:473:2: note: in expansion of macro 'SvOURSTASH_set' SvOURSTASH_set(ourname, (HV*)SvREFCNT_inc((SV*)stash)); ^~~~~~~~~~~~~~ lib/Lexical/Var.xs:67:33: error: 'union _xnvu' has no member named 'xpad_cop_seq' do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xlow = val; } while(0) ^ lib/Lexical/Var.xs:474:2: note: in expansion of macro 'COP_SEQ_RANGE_LOW_set' COP_SEQ_RANGE_LOW_set(ourname, PL_cop_seqmax); ^~~~~~~~~~~~~~~~~~~~~ lib/Lexical/Var.xs:69:33: error: 'union _xnvu' has no member named 'xpad_cop_seq' do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xhigh = val; } while(0) ^ lib/Lexical/Var.xs:475:2: note: in expansion of macro 'COP_SEQ_RANGE_HIGH_set' COP_SEQ_RANGE_HIGH_set(ourname, pad_max()); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/perl.h:5359, from lib/Lexical/Var.xs:3: lib/Lexical/Var.xs:477:11: warning: passing argument 1 of 'Perl_av_store' from incompatible pointer type [-Wincompatible-pointer-types] av_store(padname, ouroffset, ourname); ^~~~~~~ /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/embed.h:66:46: note: in definition of macro 'av_store' #define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c) ^ In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/perl.h:5320, from lib/Lexical/Var.xs:3: /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/proto.h:243:20: note: expected 'AV *' {aka 'struct av *'} but argument is of type 'PADNAMELIST *' {aka 'struct padnamelist *'} PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val); ^~~~~~~~~~~~~ error building lib/Lexical/Var.o from 'lib/Lexical/Var.c' at /usr/local/lib/perl5/5.30.0/ExtUtils/CBuilder/Base.pm line 185. ! Installing Lexical::Sub failed. See /root/.cpanm/work/1569922705.6/build.log for details. Retry with --force to force install it. — David Hodgkinson Perl Developer. DevOps. daveh@hodgkinson.org +44 7768 490620

Message body is not shown because it is too large.

Patch in RT#115992 fixes this issue On Tue Oct 01 09:46:13 2019, davehodg@gmail.com wrote: Show quoted text
> > I’m trying to run a cpanm for my project on a docker:latest on GitHub. > It’s allegedly perl 5.30. L::V fails to compile with: > > Building Lexical-Var-0.009 ... Building Lexical-Var > cc -I/usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE > -DVERSION="0.009" -DXS_VERSION="0.009" -fPIC -c -fwrapv -fno-strict- > aliasing -pipe -fstack-protector-strong -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o > lib/Lexical/Var.o lib/Lexical/Var.c > In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- > gnu/CORE/perl.h:3684, > from lib/Lexical/Var.xs:3: > lib/Lexical/Var.xs: In function 'THX_setup_pad': > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: error: > 'SV' {aka 'struct sv'} has no member named 'xpadn_flags'; did you mean > 'sv_flags'? > #define PadnameFLAGS(pn) (pn)->xpadn_flags > ^~~~~~~~~~~ > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: note: > in definition of macro 'PadnameFLAGS' > #define PadnameFLAGS(pn) (pn)->xpadn_flags > ^~~~~~~~~~~ > lib/Lexical/Var.xs:470:2: note: in expansion of macro 'SvPAD_OUR_on' > SvPAD_OUR_on(ourname); > ^~~~~~~~~~~~ > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: error: > 'SV' {aka 'struct sv'} has no member named 'xpadn_ourstash' > #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash > ^~ > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: note: > in definition of macro 'PadnameOURSTASH' > #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash > ^~ > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:349:25: note: > in expansion of macro 'PadnameOURSTASH_set' > #define SvOURSTASH_set PadnameOURSTASH_set > ^~~~~~~~~~~~~~~~~~~ > lib/Lexical/Var.xs:473:2: note: in expansion of macro 'SvOURSTASH_set' > SvOURSTASH_set(ourname, (HV*)SvREFCNT_inc((SV*)stash)); > ^~~~~~~~~~~~~~ > lib/Lexical/Var.xs:67:33: error: 'union _xnvu' has no member named > 'xpad_cop_seq' > do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xlow = val; } while(0) > ^ > lib/Lexical/Var.xs:474:2: note: in expansion of macro > 'COP_SEQ_RANGE_LOW_set' > COP_SEQ_RANGE_LOW_set(ourname, PL_cop_seqmax); > ^~~~~~~~~~~~~~~~~~~~~ > lib/Lexical/Var.xs:69:33: error: 'union _xnvu' has no member named > 'xpad_cop_seq' > do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xhigh = val; } while(0) > ^ > lib/Lexical/Var.xs:475:2: note: in expansion of macro > 'COP_SEQ_RANGE_HIGH_set' > COP_SEQ_RANGE_HIGH_set(ourname, pad_max()); > ^~~~~~~~~~~~~~~~~~~~~~ > In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- > gnu/CORE/perl.h:5359, > from lib/Lexical/Var.xs:3: > lib/Lexical/Var.xs:477:11: warning: passing argument 1 of > 'Perl_av_store' from incompatible pointer type [-Wincompatible- > pointer-types] > av_store(padname, ouroffset, ourname); > ^~~~~~~ > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/embed.h:66:46: note: > in definition of macro 'av_store' > #define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c) > ^ > In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- > gnu/CORE/perl.h:5320, > from lib/Lexical/Var.xs:3: > /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/proto.h:243:20: > note: expected 'AV *' {aka 'struct av *'} but argument is of type > 'PADNAMELIST *' {aka 'struct padnamelist *'} > PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val); > ^~~~~~~~~~~~~ > error building lib/Lexical/Var.o from 'lib/Lexical/Var.c' at > /usr/local/lib/perl5/5.30.0/ExtUtils/CBuilder/Base.pm line 185. > ! Installing Lexical::Sub failed. See > /root/.cpanm/work/1569922705.6/build.log for details. Retry with > --force to force install it. > > — > David Hodgkinson > Perl Developer. DevOps. > daveh@hodgkinson.org > +44 7768 490620
Subject: Re: [rt.cpan.org #130605] Compile fail
Date: Wed, 27 May 2020 14:33:56 +0100
To: bug-Lexical-Var [...] rt.cpan.org
From: Dave Hodgkinson <davehodg [...] gmail.com>
How long before it’ll make it to Cpan? Thanks, — David Hodgkinson Python/Perl Developer. DevOps. Cardiff University. daveh@hodgkinson.org +44 7768 490620 Show quoted text
> On 25 May 2020, at 18:50, Gary L. Greene, Jr. via RT <bug-Lexical-Var@rt.cpan.org> wrote: > > <URL: https://rt.cpan.org/Ticket/Display.html?id=130605 > > > Patch in RT#115992 fixes this issue > > On Tue Oct 01 09:46:13 2019, davehodg@gmail.com wrote:
>> >> I’m trying to run a cpanm for my project on a docker:latest on GitHub. >> It’s allegedly perl 5.30. L::V fails to compile with: >> >> Building Lexical-Var-0.009 ... Building Lexical-Var >> cc -I/usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE >> -DVERSION="0.009" -DXS_VERSION="0.009" -fPIC -c -fwrapv -fno-strict- >> aliasing -pipe -fstack-protector-strong -I/usr/local/include >> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -o >> lib/Lexical/Var.o lib/Lexical/Var.c >> In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- >> gnu/CORE/perl.h:3684, >> from lib/Lexical/Var.xs:3: >> lib/Lexical/Var.xs: In function 'THX_setup_pad': >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: error: >> 'SV' {aka 'struct sv'} has no member named 'xpadn_flags'; did you mean >> 'sv_flags'? >> #define PadnameFLAGS(pn) (pn)->xpadn_flags >> ^~~~~~~~~~~ >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:319:32: note: >> in definition of macro 'PadnameFLAGS' >> #define PadnameFLAGS(pn) (pn)->xpadn_flags >> ^~~~~~~~~~~ >> lib/Lexical/Var.xs:470:2: note: in expansion of macro 'SvPAD_OUR_on' >> SvPAD_OUR_on(ourname); >> ^~~~~~~~~~~~ >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: error: >> 'SV' {aka 'struct sv'} has no member named 'xpadn_ourstash' >> #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash >> ^~ >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:321:33: note: >> in definition of macro 'PadnameOURSTASH' >> #define PadnameOURSTASH(pn) (pn)->xpadn_ourstash >> ^~ >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/pad.h:349:25: note: >> in expansion of macro 'PadnameOURSTASH_set' >> #define SvOURSTASH_set PadnameOURSTASH_set >> ^~~~~~~~~~~~~~~~~~~ >> lib/Lexical/Var.xs:473:2: note: in expansion of macro 'SvOURSTASH_set' >> SvOURSTASH_set(ourname, (HV*)SvREFCNT_inc((SV*)stash)); >> ^~~~~~~~~~~~~~ >> lib/Lexical/Var.xs:67:33: error: 'union _xnvu' has no member named >> 'xpad_cop_seq' >> do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xlow = val; } while(0) >> ^ >> lib/Lexical/Var.xs:474:2: note: in expansion of macro >> 'COP_SEQ_RANGE_LOW_set' >> COP_SEQ_RANGE_LOW_set(ourname, PL_cop_seqmax); >> ^~~~~~~~~~~~~~~~~~~~~ >> lib/Lexical/Var.xs:69:33: error: 'union _xnvu' has no member named >> 'xpad_cop_seq' >> do { ((XPVNV*)SvANY(sv))->xnv_u.xpad_cop_seq.xhigh = val; } while(0) >> ^ >> lib/Lexical/Var.xs:475:2: note: in expansion of macro >> 'COP_SEQ_RANGE_HIGH_set' >> COP_SEQ_RANGE_HIGH_set(ourname, pad_max()); >> ^~~~~~~~~~~~~~~~~~~~~~ >> In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- >> gnu/CORE/perl.h:5359, >> from lib/Lexical/Var.xs:3: >> lib/Lexical/Var.xs:477:11: warning: passing argument 1 of >> 'Perl_av_store' from incompatible pointer type [-Wincompatible- >> pointer-types] >> av_store(padname, ouroffset, ourname); >> ^~~~~~~ >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/embed.h:66:46: note: >> in definition of macro 'av_store' >> #define av_store(a,b,c) Perl_av_store(aTHX_ a,b,c) >> ^ >> In file included from /usr/local/lib/perl5/5.30.0/x86_64-linux- >> gnu/CORE/perl.h:5320, >> from lib/Lexical/Var.xs:3: >> /usr/local/lib/perl5/5.30.0/x86_64-linux-gnu/CORE/proto.h:243:20: >> note: expected 'AV *' {aka 'struct av *'} but argument is of type >> 'PADNAMELIST *' {aka 'struct padnamelist *'} >> PERL_CALLCONV SV** Perl_av_store(pTHX_ AV *av, SSize_t key, SV *val); >> ^~~~~~~~~~~~~ >> error building lib/Lexical/Var.o from 'lib/Lexical/Var.c' at >> /usr/local/lib/perl5/5.30.0/ExtUtils/CBuilder/Base.pm line 185. >> ! Installing Lexical::Sub failed. See >> /root/.cpanm/work/1569922705.6/build.log for details. Retry with >> --force to force install it. >> >> — >> David Hodgkinson >> Perl Developer. DevOps. >> daveh@hodgkinson.org >> +44 7768 490620
> > >