Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614718 - <dev-perl/B-Hooks-Parser-0.190.0 fails compile on perl 5.26
Summary: <dev-perl/B-Hooks-Parser-0.190.0 fails compile on perl 5.26
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard: clean old after 2017-04-12
Keywords:
Depends on:
Blocks: perl-5.26
  Show dependency tree
 
Reported: 2017-04-05 04:14 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2017-04-11 20:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-05 04:14:18 UTC
x86_64-pc-linux-gnu-gcc -c  -I/usr/lib64/perl5/vendor_perl/5.25.11/x86_64-linux/B/Hooks/OP/Check/Install -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=native -mtune=native -O2 -pipe   -DVERSION=\"0.16\" -DXS_VERSION=\"0.16\" -fPIC "-I/usr
/lib64/perl5/5.25.11/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’ 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 (declared at /usr/lib64/perl5/5.25.11/x86_64-linux/CORE/proto.h:1633) [-Wdeprecated-declarations]
      while (UTF8_IS_CONTINUED(*t) && is_utf8_mark((U8*)t))          
      ^                                                       
stolen_chunk_of_toke.c: In function ‘S_scan_str’:
stolen_chunk_of_toke.c:546:2: warning: ‘Perl_utf8_to_uvchr’ is deprecated (declared at /usr/lib64/perl5/5.25.11/x86_64-linux/CORE/proto.h:3614) [-Wdeprecated-declarations]
  termcode = utf8_to_uvchr((U8*)s, &termlen);                 
  ^                                      
make: *** [Makefile:348: Parser.o] Error 1                                                                                           
 * ERROR: dev-perl/B-Hooks-Parser-0.160.0::gentoo failed (compile phase):
 *   emake failed
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-11 20:28:29 UTC
commit:  b997ee8fd125fdca336067c2c4d56790a696a183
author:  2017-04-11 20:27:31 +0000 Kent Fredric <kentnl@gentoo.org>
commit:  2017-04-11 20:27:31 +0000 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-perl/B-Hooks-Parser: Cleanup old re bug #614718

    Removing old versions that will be broken come 5.26
    
    Bug: https://bugs.gentoo.org/614718
    Package-Manager: Portage-2.3.4, Repoman-2.3.2


 dev-perl/B-Hooks-Parser/B-Hooks-Parser-0.160.0.ebuild | 28 -----
 dev-perl/B-Hooks-Parser/Manifest                      |  1 -
 2 files changed, 29 deletions(-)
commit:  d39fe2f125772746ea70125d0eb1e5a4636d5347
author:  2017-04-05 11:35:32 +0000 Kent Fredric <kentnl@gentoo.org>
commit:  2017-04-05 11:36:55 +0000 Kent Fredric <kentnl@gentoo.org>
gpg-key: E854324B1366A820

    dev-perl/B-Hooks-Parser: Bump to version 0.190.0

    - EAPI6
    
    Upstream:
    - Fix compile time against stolen_chunk_of_toke.c
    - Avoid use of sub_inwhat
    - Fix compile aginst 5.26
    
    Bug: https://bugs.gentoo.org/614718
    Package-Manager: Portage-2.3.4, Repoman-2.3.2


 dev-perl/B-Hooks-Parser/B-Hooks-Parser-0.190.0.ebuild | 26 +++++
 dev-perl/B-Hooks-Parser/Manifest                      |  1 +
 2 files changed, 27 insertions(+)