Skip Menu |

This queue is for tickets about the Devel-QuickCover CPAN distribution.

Report information
The Basics
Id: 130270
Status: open
Priority: 0/
Queue: Devel-QuickCover

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

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



Subject: Fails to compile on debugging perls
As per subject. This is a regression against 0.900010. Sample PASS report for 0.900010: http://www.cpantesters.org/cpan/report/104978686 Diagnostics when trying to compile 0.900012: cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wall -std=c89 -D_XOPEN_SOURCE=700 -O2 -g -DVERSION=\"0.900012\" -DXS_VERSION=\"0.900012\" -fPIC "-I/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE" cover.c In file included from cover.h:14, from cover.c:13: cover.c: In function ‘cover_dump’: /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:175:16: error: ‘my_perl’ undeclared (first use in this function); did you mean ‘my_fork’? # define aTHX my_perl ^~~~~~~ /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’ # define aTHX_ aTHX, ^~~~ /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’ #define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) ^~~~~ cover.c:152:15: note: in expansion of macro ‘pregcomp’ include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0); ^~~~~~~~ /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:175:16: note: each undeclared identifier is reported only once for each function it appears in # define aTHX my_perl ^~~~~~~ /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’ # define aTHX_ aTHX, ^~~~ /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’ #define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) ^~~~~ cover.c:152:15: note: in expansion of macro ‘pregcomp’ include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0); ^~~~~~~~ cover.c: In function ‘add_get_node’: cover.c:330:7: warning: variable ‘l’ set but not used [-Wunused-but-set-variable] int l = 0; ^ cover.c: In function ‘sub_add_get_node’: cover.c:454:7: warning: variable ‘l’ set but not used [-Wunused-but-set-variable] int l = 0; ^ make: *** [Makefile:354: cover.o] Error 1
On 2019-08-07 14:17:36, ANDK wrote: Show quoted text
> As per subject. This is a regression against 0.900010. Sample PASS > report for 0.900010: http://www.cpantesters.org/cpan/report/104978686 > > Diagnostics when trying to compile 0.900012: > > cc -c -I. -D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict- > aliasing -pipe -fstack-protector-strong -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -Wall > -std=c89 -D_XOPEN_SOURCE=700 -O2 -g -DVERSION=\"0.900012\" > -DXS_VERSION=\"0.900012\" -fPIC "- > I/home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE" cover.c > In file included from cover.h:14, > from cover.c:13: > cover.c: In function ‘cover_dump’: > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/perl.h:175:16: error: ‘my_perl’ undeclared (first use in > this function); did you mean ‘my_fork’? > # define aTHX my_perl > ^~~~~~~ > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’ > # define aTHX_ aTHX, > ^~~~ > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’ > #define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) > ^~~~~ > cover.c:152:15: note: in expansion of macro ‘pregcomp’ > include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0); > ^~~~~~~~ > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/perl.h:175:16: note: each undeclared identifier is reported > only once for each function it appears in > # define aTHX my_perl > ^~~~~~~ > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/perl.h:188:18: note: in expansion of macro ‘aTHX’ > # define aTHX_ aTHX, > ^~~~ > /home/sand/src/perl/repoperls/installed- > perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread- > multi/CORE/embed.h:606:38: note: in expansion of macro ‘aTHX_’ > #define pregcomp(a,b) Perl_pregcomp(aTHX_ a,b) > ^~~~~ > cover.c:152:15: note: in expansion of macro ‘pregcomp’ > include = pregcomp(newSVpvn(env_filter, strlen(env_filter)), 0); > ^~~~~~~~ > cover.c: In function ‘add_get_node’: > cover.c:330:7: warning: variable ‘l’ set but not used [-Wunused-but- > set-variable] > int l = 0; > ^ > cover.c: In function ‘sub_add_get_node’: > cover.c:454:7: warning: variable ‘l’ set but not used [-Wunused-but- > set-variable] > int l = 0; > ^ > make: *** [Makefile:354: cover.o] Error 1
I think the errors with "my_perl" and "aTHX" indicate that there's a problem with threaded perls, not with debugging perls.
Yes! Sorry, my brain betrayed me. I'll try to change the subject line.
Subject: Re: [rt.cpan.org #130270] Fails to compile on debugging perls
Date: Thu, 8 Aug 2019 16:45:44 +0300
To: bug-Devel-QuickCover [...] rt.cpan.org
From: Gonzalo Diethelm <gonzalo.diethelm [...] gmail.com>
Uploaded a newer version, hopefully it will fix this. Thanks for the report. On Thu, Aug 8, 2019 at 10:24 AM Andreas Koenig via RT < bug-Devel-QuickCover@rt.cpan.org> wrote: Show quoted text
> Queue: Devel-QuickCover > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130270 > > > Yes! Sorry, my brain betrayed me. I'll try to change the subject line. >
-- Gonzalo Diethelm gonzalo.diethelm@gmail.com
RT-Send-CC: gonzalo.diethelm [...] gmail.com
On 2019-08-08 09:46:04, gonzalo.diethelm@gmail.com wrote: Show quoted text
> Uploaded a newer version, hopefully it will fix this.
Unfortunately not, still the same problem with 0.900013. Show quoted text
> Thanks for the report. > > > On Thu, Aug 8, 2019 at 10:24 AM Andreas Koenig via RT < > bug-Devel-QuickCover@rt.cpan.org> wrote: >
> > Queue: Devel-QuickCover > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130270 > > > > > Yes! Sorry, my brain betrayed me. I'll try to change the subject line. > >
> >
Subject: Re: [rt.cpan.org #130270] Fails to compile on threaded perls (Was: debugging perls)
Date: Fri, 9 Aug 2019 11:11:09 +0300
To: bug-Devel-QuickCover [...] rt.cpan.org
From: Gonzalo Diethelm <gonzalo.diethelm [...] gmail.com>
I finally bit the bullet, installed a threaded perl, reproduced the bug and fixed it. Just uploaded a new release. Thanks again for the report. Cheers! On Thu, Aug 8, 2019 at 11:34 PM Slaven_Rezic via RT < bug-Devel-QuickCover@rt.cpan.org> wrote: Show quoted text
> Queue: Devel-QuickCover > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130270 > > > On 2019-08-08 09:46:04, gonzalo.diethelm@gmail.com wrote:
> > Uploaded a newer version, hopefully it will fix this.
> > Unfortunately not, still the same problem with 0.900013. >
> > Thanks for the report. > > > > > > On Thu, Aug 8, 2019 at 10:24 AM Andreas Koenig via RT < > > bug-Devel-QuickCover@rt.cpan.org> wrote: > >
> > > Queue: Devel-QuickCover > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=130270 > > > > > > > Yes! Sorry, my brain betrayed me. I'll try to change the subject line. > > >
> > > >
> > > >
-- Gonzalo Diethelm gonzalo.diethelm@gmail.com