Bug#865035: libb-hooks-parser-perl: FTBFS with Perl 5.26: 'yy_parser {aka struct yy_parser}' has no member named 'sublex_info'

Niko Tyni ntyni at debian.org
Sun Jun 18 19:41:36 UTC 2017


Package: libb-hooks-parser-perl
Version: 0.17-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.26-transition

This package fails to build with Perl 5.26 (currently in experimental.)

A full build log is available at
  http://perl.debian.net/rebuild-logs/perl-5.26/libb-hooks-parser-perl_0.17-1/libb-hooks-parser-perl_0.17-1+b2_amd64-2017-05-20T23:55:32Z.build

and the server also hosts a test repository of packages binNMU'd for Perl
5.26 that can be used for testing purposes; see <http://perl.debian.net/>.

There's no upstream ticket yet, probably because this needs
Params-Classify to build and that hasn't been fixed upstream for 5.26 yet
(see [rt.cpan.org #114490].)

Log excerpt:

  x86_64-linux-gnu-gcc -c  -I/usr/lib/x86_64-linux-gnu/perl5/5.26/B/Hooks/OP/Check/Install -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/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 /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5609:0,
                   from Parser.xs:5:
  /usr/lib/x86_64-linux-gnu/perl/5.26/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 /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/perl.h:5609:0,
                   from Parser.xs:5:
  /usr/lib/x86_64-linux-gnu/perl/5.26/CORE/proto.h:3614:18: note: declared here
   PERL_CALLCONV UV Perl_utf8_to_uvchr(pTHX_ const U8 *s, STRLEN *retlen)
                    ^~~~~~~~~~~~~~~~~~
  Makefile:350: recipe for target 'Parser.o' failed
  make[1]: *** [Parser.o] Error 1
  
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list