Bug#1017241: libpandoc-wrapper-perl: FTBFS: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Aug 14 08:46:31 BST 2022


Source: libpandoc-wrapper-perl
Version: 0.9.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220813 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	/usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Creating new 'Build' script for 'Pandoc' version '0.9.1'
>    dh_auto_build
> 	/usr/bin/perl Build
> cp lib/App/Prove/Plugin/andoc.pm blib/lib/App/Prove/Plugin/andoc.pm
> cp lib/Pandoc/Version.pm blib/lib/Pandoc/Version.pm
> cp lib/Pandoc/Error.pm blib/lib/Pandoc/Error.pm
> cp script/pandoc-version blib/script/pandoc-version
> cp lib/Pandoc/Release.pm blib/lib/Pandoc/Release.pm
> cp lib/Pandoc.pm blib/lib/Pandoc.pm
>    dh_auto_test
> 	/usr/bin/perl Build test --verbose 1
> t/binmode.t ....... 
> ok 1 - no wide character warning
> ok 2 - one binmode for all handles
> 1..2
> ok
> t/convert.t ....... 
> ok 1 - html => latex
> ok 2 - markdown => html
> ok 3 - convert returns bytes
> ok 4 - convert returns Unicode to Unicode
> ok 5 - croak on error
> ok 6 - unicode
> 1..6
> ok
> t/data-dir.t ...... 
> ok 1 - pandoc_data_dir
> 1..1
> ok
> t/executables.t ... skipped: these tests are for release candidate testing
> t/file-objects.t .. 
> # ## Eius Ut
> # 
> # Qui aut voluptate minima.
> ok 1 - call pandoc with file objects as arguments
> # <h2 id="eius-ut">Eius Ut</h2>
> # <p>Qui aut voluptate minima.</p>
> 1..1
> ok
> t/import.t ........ skipped: these tests are for release candidate testing
> t/lists.t ......... 
> ok 1 - input_formats
> ok 2 - output_formats
> ok 3 - extensions: raw_html
> ok 4 - extensions: hard_line_breaks
> 1..4
> ok
> 
> #   Failed test 'use default arguments'
> #   at t/methods.t line 86.
> #                   '<h1 data-number="1" id="x"><span class="header-section-number">1</span>
> # x</h1>
> # '
> #     doesn't match '(?^:<h1 (data-number="1" )?id="x"><span class="header-section-number">1</span> x</h1>)'
> # Looks like you failed 1 test of 36.
> t/methods.t ....... 
> ok 1 - import
> ok 2 - Pandoc->require
> ok 3 - require returns singleton
> ok 4 - pandoc->require
> ok 5 - require throws)
> ok 6 - require throws
> ok 7 - Pandoc->new
> ok 8 - Pandoc->new creates new instance
> ok 9 - An object of class 'Pandoc::Error' isa 'Pandoc::Error'
> ok 10 - stringify Pandoc::Error
> ok 11 - default executable
> ok 12 - set executable
> ok 13 - threw Regexp ((?^:pandoc executable not found))
> ok 14 - pandoc->version
> ok 15 - 'pandoc->version is a version object' isa 'Pandoc::Version'
> ok 16 - compare same versions
> ok 17 - expect same version
> ok 18 - compare lower versions
> ok 19 - expect lower version
> ok 20 - compare higher versions
> ok 21 - expect higher version
> ok 22 - invalid version
> ok 23 - arguments
> ok 24 - executable and arguments
> ok 25 - arguments
> ok 26 - run
> not ok 27 - use default arguments
> ok 28 - run
> ok 29 - override default arguments
> ok 30 - threw Regexp ((?^:^first default argument must be an -option))
> ok 31 - set arguments
> ok 32 - set arguments with array ref
> ok 33 - pandoc->libs
> ok 34 - input_formats
> ok 35 - output_formats
> ok 36 - threw Pandoc::Error
> 1..36
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/36 subtests 
> 
> #   Failed test 'parse->to_html'
> #   at t/parse.t line 35.
> # Looks like you failed 1 test of 5.
> t/parse.t ......... 
> ok 1 - 'parse markdown' isa 'Pandoc::Document'
> ok 2 - parse markdown
> ok 3 - parse html
> ok 4 # skip pandoc executable < 1.18 required
> not ok 5 - parse->to_html
> 1..5
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/5 subtests 
> 	(less 1 skipped subtest: 3 okay)
> t/run.t ........... 
> # Subtest: pandoc( ... )
>     ok 1 - pandoc({in =>..., out=>...}
>     ok 2 - markdown => html
>     ok 3 - html => markdown
>     1..3
> ok 1 - pandoc( ... )
> # Subtest: run(@args, \%opts)
>     ok 1
>     ok 2 - stdout
>     # foo
>     ok 3 - stderr
>     ok 4
>     1..4
> ok 2 - run(@args, \%opts)
> # Subtest: ->run(\@args, \%opts)
>     ok 1
>     ok 2 - stdout
>     ok 3 - stderr
>     1..3
> ok 3 - ->run(\@args, \%opts)
> # Subtest: ->run(\@args, %opts)
>     ok 1
>     ok 2 - stdout
>     ok 3 - stderr
>     1..3
> ok 4 - ->run(\@args, %opts)
> # Subtest: ->run([], %opts)
>     ok 1
>     ok 2 - stdout
>     ok 3 - stderr
>     1..3
> ok 5 - ->run([], %opts)
> # Subtest: run(%opts)
>     ok 1
>     ok 2 - run( %opts )
>     1..2
> ok 6 - run(%opts)
> # Subtest: ->run(\@args, qw[odd length list])
>     ok 1 - run
>     1..1
> ok 7 - ->run(\@args, qw[odd length list])
> # Subtest: ->run(\@args, ..., \%opts)
>     ok 1 - run
>     1..1
> ok 8 - ->run(\@args, ..., \%opts)
> 1..8
> ok
> t/version.t ....... 
> ok 1 - 'new from array' isa 'Pandoc::Version'
> ok 2 - from array
> ok 3 - 'new from list' isa 'Pandoc::Version'
> ok 4 - from list
> ok 5 - 'new from string' isa 'Pandoc::Version'
> ok 6 - from string
> ok 7 - 'new from vstring' isa 'Pandoc::Version'
> ok 8 - from vstring
> ok 9 - invalid version number
> ok 10 - invalid version number
> ok 11 - invalid version number
> ok 12 - invalid version number
> ok 13 - invalid version number
> ok 14 - invalid version number
> ok 15 - invalid version number
> ok 16 - invalid version number
> ok 17 - 'copy constructor' isa 'Pandoc::Version'
> ok 18 - stringify
> ok 19 - number
> ok 20 - 1 == 1.0
> ok 21 - 1 >= 1.0
> ok 22 - 1 <= 1.0
> ok 23 - 1 eq 1.0
> ok 24 - 1 ge 1.0
> ok 25 - 1 le 1.0
> ok 26 - 1 < 1.0.1
> ok 27 - 1 lt 1.0.1
> ok 28 - 1.17.0.4 == 1.17.0.4
> ok 29 - 1.17.0.4 >= 1.17.0.4
> ok 30 - 1.17.0.4 <= 1.17.0.4
> ok 31 - 1.17.0.4 eq 1.17.0.4
> ok 32 - 1.17.0.4 ge 1.17.0.4
> ok 33 - 1.17.0.4 le 1.17.0.4
> ok 34 - 1.17.0.4 < 1.18
> ok 35 - 1.17.0.4 lt 1.18
> ok 36 - 1.9 == 1.9
> ok 37 - 1.9 >= 1.9
> ok 38 - 1.9 <= 1.9
> ok 39 - 1.9 eq 1.9
> ok 40 - 1.9 ge 1.9
> ok 41 - 1.9 le 1.9
> ok 42 - 1.9 < 1.10
> ok 43 - 1.9 lt 1.10
> ok 44 - 1.7.3 match 1
> ok 45 - 1.7.3 match 1.7
> ok 46 - 1.7.3 match 1.7.3
> ok 47 - 1.7.3 match 1.7.3.1
> ok 48 - 1.7.3 no match 1.6
> ok 49 - 1.7.3 no match 1.8
> ok 50 - 1.7.3 no match 2
> ok 51 - fulfills 1.7
> ok 52 - fulfills !=1.7.1
> ok 53 - fulfills >1.6
> ok 54 - fulfills >=1.7
> ok 55 - fulfills <1.7.1
> ok 56 - fulfills <=1.7.1
> ok 57 - fulfills ==1.7
> ok 58 - fulfills 1.7, !=1.7.1, >1.6, >=1.7, <1.7.1, <=1.7.1, ==1.7
> ok 59 - !fulfills 1.7,!=1.7
> ok 60 - !fulfills 1.7.1
> ok 61 - !fulfills >1.7
> ok 62 - !fulfills >=1.7.1
> ok 63 - !fulfills <1.7
> ok 64 - !fulfills <=1.6
> ok 65 - !fulfills ==1.7.1
> ok 66 - !fulfills 1.7, !=1.7.1, >1.6, >=1.7, <1.7.1, <=1.7.1, ==1.7, 1.7,!=1.7, 1.7.1, >1.7, >=1.7.1, <1.7, <=1.6, ==1.7.1
> ok 67 - invalid version requirement
> 1..67
> ok
> 
> Test Summary Report
> -------------------
> t/methods.t     (Wstat: 256 Tests: 36 Failed: 1)
>   Failed test:  27
>   Non-zero exit status: 1
> t/parse.t       (Wstat: 256 Tests: 5 Failed: 1)
>   Failed test:  5
>   Non-zero exit status: 1
> Files=11, Tests=130,  1 wallclock secs ( 0.04 usr  0.02 sys +  0.95 cusr  0.32 csys =  1.33 CPU)
> Result: FAIL
> dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2022/08/13/libpandoc-wrapper-perl_0.9.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-perl-maintainers mailing list