Skip Menu |

This queue is for tickets about the signatures CPAN distribution.

Report information
The Basics
Id: 101076
Status: resolved
Priority: 0/
Queue: signatures

People
Owner: ether [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Compilation error with perl 5.21.7
Compilation is not successful with perl 5.21.7: ccache cc -c -I/usr/perl5.21.7/lib/site_perl/5.21.7/amd64-freebsd/B/Hooks/OP/Check/Install -I/usr/local/src/CPAN/build/B-Hooks-OP-PPAddr-0.03-Ths44H/blib/arch/B/Hooks/OP/PPAddr/Install -I/usr/local/src/CPAN/build/B-Hooks-Parser-0.12-Abw8wv/blib/arch/B/Hooks/Parser/Install -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\"0.09\" -DXS_VERSION=\"0.09\" -DPIC -fPIC "-I/usr/perl5.21.7/lib/5.21.7/amd64-freebsd/CORE" signatures.c signatures.xs:252: error: conflicting types for 'Perl_block_start' /usr/perl5.21.7/lib/5.21.7/amd64-freebsd/CORE/proto.h:314: error: previous declaration of 'Perl_block_start' was here signatures.xs: In function 'XS_signatures_setup': signatures.xs:322: error: 'block_start' undeclared (first use in this function) signatures.xs:322: error: (Each undeclared identifier is reported only once signatures.xs:322: error: for each function it appears in.) *** [signatures.o] Error code 1
On Mon Dec 22 02:16:31 2014, SREZIC wrote: Show quoted text
> Compilation is not successful with perl 5.21.7: > > ccache cc -c -I/usr/perl5.21.7/lib/site_perl/5.21.7/amd64- > freebsd/B/Hooks/OP/Check/Install -I/usr/local/src/CPAN/build/B-Hooks- > OP-PPAddr-0.03-Ths44H/blib/arch/B/Hooks/OP/PPAddr/Install > -I/usr/local/src/CPAN/build/B-Hooks-Parser-0.12- > Abw8wv/blib/arch/B/Hooks/Parser/Install -DHAS_FPSETMASK > -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector > -I/usr/local/include -D_FORTIFY_SOURCE=2 -O -DVERSION=\"0.09\" > -DXS_VERSION=\"0.09\" -DPIC -fPIC "-I/usr/perl5.21.7/lib/5.21.7/amd64- > freebsd/CORE" signatures.c > signatures.xs:252: error: conflicting types for 'Perl_block_start' > /usr/perl5.21.7/lib/5.21.7/amd64-freebsd/CORE/proto.h:314: error: > previous declaration of 'Perl_block_start' was here > signatures.xs: In function 'XS_signatures_setup': > signatures.xs:322: error: 'block_start' undeclared (first use in this > function) > signatures.xs:322: error: (Each undeclared identifier is reported only > once > signatures.xs:322: error: for each function it appears in.) > *** [signatures.o] Error code 1
Patch.
Subject: open_XZPxM04F.txt
diff -rup signatures-0.09-EdOY3P-orig/signatures.xs signatures-0.09-EdOY3P/signatures.xs --- signatures-0.09-EdOY3P-orig/signatures.xs 2014-12-21 23:22:09.000000000 -0800 +++ signatures-0.09-EdOY3P/signatures.xs 2014-12-21 23:22:13.000000000 -0800 @@ -247,6 +247,8 @@ handle_proto (pTHX_ OP *op, void *user_d return ret; } +/* block_start conflicts with the perl API function exposed in 5.21.6. */ +#undef block_start #if PERL_BCDVERSION >= 0x5013006 STATIC void block_start (pTHX_ int full) {
Thanks, version 0.10 has been released!