Bug#997515: libfilehandle-unget-perl: FTBFS: dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Sat Oct 23 21:43:38 BST 2021


Source: libfilehandle-unget-perl
Version: 0.1634-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/000_standard__compile.t ...... 
> 1..1
> ok 1 - blib/lib/FileHandle/Unget.pm compiles
> ok
> Can't locate UNIVERSAL/require.pm in @INC (you may need to install the UNIVERSAL::require module) (@INC contains: /<<PKGBUILDDIR>>/inc /<<PKGBUILDDIR>>/blib/lib /<<PKGBUILDDIR>>/blib/arch /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl .) at t/000_standard__perl_critic.t line 8.
> BEGIN failed--compilation aborted at t/000_standard__perl_critic.t line 8.
> t/000_standard__perl_critic.t .. 
> Dubious, test returned 2 (wstat 512, 0x200)
> No subtests run 
> t/000_standard__pod.t .......... skipped: Test::Pod required for testing POD
> Under windows, calling binmode after eof exposes a bug that exists in some versions of Perl.
> t/binmode_bug.t ................ 
> 1..2
> ok 1
> ok 2
> ok
> t/buffer.t ..................... 
> 1..3
> ok 1
> ok 2
> ok 3
> ok
> t/class_pipe.t ................. 
> 1..2
> ok 1 - Fork succeeded
> ok 2 - Child output
> ok
> t/core_pipe.t .................. 
> 1..2
> ok 1 - Fork succeeded
> ok 2 - Child output
> ok
> t/dumper.t ..................... 
> 1..1
> ok 1 - Dumped Filehandle::Unget
> ok
> t/eof.t ........................ 
> 1..4
> ok 1 - Read first line
> ok 2 - Read second line
> ok 3 - EOF getline
> ok 4 - EOF getlines
> ok
> t/filehandle.t ................. 
> 1..13
> ok 1 - No eol separator
> ok 2 - Input line number at start
> ok 3 - First line
> ok 4 - Input line number at middle
> ok 5 - Getlines size
> ok 6 - First line
> ok 7 - Second line
> ok 8 - EOF
> ok 9 - read() function
> ok 10 - Number of bytes read
> ok 11 - read() method
> ok 12 - Number of bytes read
> ok 13 - new from fd
> ok
> t/fileno.t ..................... 
> 1..1
> ok 1 - fileno()
> ok
> t/gensym.t ..................... 
> 1..12
> ok 1 - syswrite()
> ok 2 - input_line_number()
> ok 3 - getline()
> ok 4 - input_line_number() after reading
> ok 5 - getlines() size
> ok 6 - First line
> ok 7 - Second line
> ok 8 - EOF
> ok 9 - read() function
> ok 10 - Number of bytes read
> ok 11 - read() method
> ok 12 - Number of bytes read
> ok
> t/input_record_separator.t ..... 
> 1..7
> ok 1 - First line
> ok 2 - No eol separator
> ok 3 - First line
> ok 4 - Second line
> ok 5 - Newline end of file
> ok 6 - First line
> ok 7 - Undef end of line
> ok
> t/loop_bug.t ................... 
> 1..1
> ok 1 - Loop bug
> ok
> t/memory_leak.t ................ 
> 1..1
> ok 1 - Memory leak
> ok
> t/multiple_handles.t ........... 
> 1..4
> ok 1 - Unget 1
> ok 2 - Unget 2
> ok 3 - Get 1
> ok 4 - Get 2
> ok
> t/new.t ........................ 
> 1..12
> ok 1 - syswrite()
> ok 2 - input_line_number()
> ok 3 - First line
> ok 4 - Second line
> ok 5 - getlines()
> ok 6 - First line
> ok 7 - Second line
> ok 8 - EOF
> ok 9 - read() function (filehandle)
> ok 10 - Number of bytes read (filehandle)
> ok 11 - read() method (filehandle)
> ok 12 - Number of bytes read (filehandle)
> ok
> t/overridden_pipe.t ............ 
> 1..2
> ok 1 - Fork succeeded
> ok 2 - Child output
> ok
> t/seek.t ....................... 
> 1..3
> ok 1 - Seek absolute
> ok 2 - Seek to front
> ok 3 - Seek backward
> ok
> t/stdin_tell_bug.t ............. 
> 1..3
> ok 1 - Executing external program
> ok 2 - Output matches
> ok 3 - Stderr matches
> ok
> t/tell.t ....................... 
> 1..5
> ok 1 - Tell 1
> ok 2 - Tell 2
> ok 3 - Tell 3
> ok 4 - Tell 4
> ok 5 - Tell 5
> ok
> t/ungetc.t ..................... 
> 1..5
> ok 1 - Ungetc
> ok 2 - getline()
> ok 3 - read() after insert
> ok 4 - getline() 1
> ok 5 - getline() 2
> ok
> t/ungets.t ..................... 
> 1..9
> ok 1 - ungets() 1
> ok 2 - getline()
> ok 3 - ungets() 2
> ok 4 - getline()
> ok 5 - getline() 2
> ok 6 - ungets()
> ok 7 - getline() 1
> ok 8 - getline() 2
> ok 9 - getline() 3
> ok
> 
> Test Summary Report
> -------------------
> t/000_standard__perl_critic.t (Wstat: 512 Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: No plan found in TAP output
> Files=23, Tests=93,  2 wallclock secs ( 0.06 usr  0.01 sys +  1.28 cusr  0.18 csys =  1.53 CPU)
> Result: FAIL
> Failed 1/23 test programs. 0/93 subtests failed.
> make[1]: *** [Makefile:764: test_dynamic] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/libfilehandle-unget-perl_0.1634-1.1_unstable.log

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