Skip Menu |

This queue is for tickets about the B-Hooks-Parser CPAN distribution.

Report information
The Basics
Id: 120904
Status: rejected
Priority: 0/
Queue: B-Hooks-Parser

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

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



Subject: B-Hooks-Parser: on Perl 5 blead passes 'dzil test' but not 'cpanm'

Message body is not shown because it is too large.

Subject: B-Hooks-Parser.20170403.build.log
cpanm (App::cpanminus) 1.7042 on perl 5.026000 built for x86_64-linux Work directory is /home/jkeenan/.cpanm/work/1491224323.2732 You have make /usr/bin/make You have LWP 6.24 You have /bin/tar: tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching B::Hooks::Parser () on cpanmetadb ... --> Working on B::Hooks::Parser Fetching http://www.cpan.org/authors/id/E/ET/ETHER/B-Hooks-Parser-0.17.tar.gz -> OK Unpacking B-Hooks-Parser-0.17.tar.gz Entering B-Hooks-Parser-0.17 Checking configure dependencies from META.json Checking if you have B::Hooks::OP::Check 0.18 ... Yes (0.19) Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Checking if you have ExtUtils::Depends 0.302 ... Yes (0.405) Configuring B-Hooks-Parser-0.17 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for B::Hooks::Parser Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (1.302078) Checking if you have Test::Exception 0 ... Yes (0.43) Checking if you have parent 0 ... Yes (0.236) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have File::Spec 0 ... Yes (3.67) Checking if you have DynaLoader 0 ... Yes (1.41) Checking if you have strict 0 ... Yes (1.11) Checking if you have B::Hooks::OP::Check 0 ... Yes (0.19) Checking if you have B::Hooks::EndOfScope 0 ... Yes (0.21) Checking if you have Module::Metadata 0 ... Yes (1.000033) Checking if you have warnings 0 ... Yes (1.37) Building and testing B-Hooks-Parser-0.17 cp hook_parser.h blib/arch/B/Hooks/Parser/Install/hook_parser.h cp build/IFiles.pm blib/arch/B/Hooks/Parser/Install/Files.pm cp lib/B/Hooks/Parser.pm blib/lib/B/Hooks/Parser.pm Running Mkbootstrap for Parser () chmod 644 "Parser.bs" "/home/jkeenan/testing/blead/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Parser.bs blib/arch/auto/B/Hooks/Parser/Parser.bs 644 "/home/jkeenan/testing/blead/bin/perl" "/home/jkeenan/testing/blead/lib/perl5/5.26.0/ExtUtils/xsubpp" -typemap '/home/jkeenan/testing/blead/lib/perl5/5.26.0/ExtUtils/typemap' Parser.xs > Parser.xsc mv Parser.xsc Parser.c cc -c -I/home/jkeenan/testing/blead/lib/perl5/site_perl/5.26.0/x86_64-linux/B/Hooks/OP/Check/Install -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC "-I/home/jkeenan/testing/blead/lib/perl5/5.26.0/x86_64-linux/CORE" Parser.c In file included from Parser.xs:12:0: stolen_chunk_of_toke.c: In function ‘S_skipspace’: stolen_chunk_of_toke.c:95:43: error: ‘yy_parser {aka struct yy_parser}’ has no member named ‘sublex_info’ #define PL_sublex_info (PL_parser->sublex_info) ^ stolen_chunk_of_toke.c:245:35: note: in expansion of macro ‘PL_sublex_info’ if (s < PL_bufend || !PL_rsfp || PL_sublex_info.sub_inwhat || ^ stolen_chunk_of_toke.c: In function ‘S_scan_word’: stolen_chunk_of_toke.c:350:6: warning: ‘Perl_is_utf8_mark’ is deprecated [-Wdeprecated-declarations] while (UTF8_IS_CONTINUED(*t) && is_utf8_mark((U8*)t)) ^ In file included from /home/jkeenan/testing/blead/lib/perl5/5.26.0/x86_64-linux/CORE/perl.h:5609:0, from Parser.xs:5: /home/jkeenan/testing/blead/lib/perl5/5.26.0/x86_64-linux/CORE/proto.h:1633:20: note: declared here PERL_CALLCONV bool Perl_is_utf8_mark(pTHX_ const U8 *p) ^ In file included from Parser.xs:12:0: stolen_chunk_of_toke.c: In function ‘S_scan_str’: stolen_chunk_of_toke.c:546:2: warning: ‘Perl_utf8_to_uvchr’ is deprecated [-Wdeprecated-declarations] termcode = utf8_to_uvchr((U8*)s, &termlen); ^ In file included from /home/jkeenan/testing/blead/lib/perl5/5.26.0/x86_64-linux/CORE/perl.h:5609:0, from Parser.xs:5: /home/jkeenan/testing/blead/lib/perl5/5.26.0/x86_64-linux/CORE/proto.h:3614:18: note: declared here PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen) ^ Makefile:349: recipe for target 'Parser.o' failed make: *** [Parser.o] Error 1 -> FAIL Installing B::Hooks::Parser failed. See /home/jkeenan/.cpanm/work/1491224323.2732/build.log for details. Retry with --force to force install it.
On 2017-04-03 06:08:22, JKEENAN wrote: Show quoted text
> Today I attempted to assess the perl-5.26.0 readiness of B-Hooks- > Parser. I have a perl built from blead and have both App-cpanminus > and Dist-Zilla installed against that perl. > > When I fork from github, clone, call 'dzil build', install all > prerequisites, and finally say 'dzil test', all tests PASS, > notwithstanding some warnings during 'make':
Show quoted text
> But when I attempt to install B-Hooks-Parser using the latest 'cpanm', > the 'make' warnings become 'make' failures. See build.log attached. > > Can you investigate this discrepancy?
You were testing version 0.17, not version 0.18, which is the version that contains the toke.c fixes for blead. (FWIW, it is not necessary to use dzil to test any distribution I ship, unless you are testing the packaging system itself -- it is entirely sufficient to do either 'prove -lr t' for pure-perl distributions, or 'perl Makefile.PL && make test' for XS-based distributions.)