Bug#811223: FTBFS: perl texi2html: Can't use 'defined(@array)'
Control: tags -1 patch The attached patch was applied in Ubuntu. Description: Fix texi2html for Perl 5.22 Fixes FTBFS for arch:all - Can't use 'defined(@array)' Bug-Debian: https://bugs.debian.org/811223 Author: Graham InggsLast-Update: 2016-02-05 --- a/doc/texi2html +++ b/doc/texi2html @@ -1526,7 +1526,7 @@ $level--; # here we start at 0 if ($name =~ /^appendix/) { # appendix style - if (defined(@appendix_sec_num)) { + if (@appendix_sec_num) { _sec_num($level, @appendix_sec_num); } else { @appendix_sec_num = ('A', 0, 0, 0); @@ -1534,7 +1534,7 @@ return(join('.', @appendix_sec_num[0..$level])); } else { # normal style - if (defined(@normal_sec_num)) { + if (@normal_sec_num) { _sec_num($level, @normal_sec_num); } else { @normal_sec_num = (1, 0, 0, 0);
Bug#811223: FTBFS: perl texi2html: Can't use 'defined(@array)'
Package: fftw Version: 2.1.5-2 Severity: serious > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > /usr/bin/make -C doc html > make[1]: Entering directory '/<>/doc' > perl texi2html -split_chapter -no_toc_href fftw.texi > Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at > texi2html line 1529. > Makefile:798: recipe for target 'html' failed > make[1]: *** [html] Error 255 > make[1]: Leaving directory '/<>/doc' > debian/rules:49: recipe for target 'build-indep-stamp' failed > make: *** [build-indep-stamp] Error 2 > dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise