Bug#839513: libapache-logformat-compiler-perl: FTBFS: dh_auto_test: perl Build test --verbose 1 returned exit code 8

Lucas Nussbaum lucas at debian.org
Sat Oct 1 14:21:18 UTC 2016


Source: libapache-logformat-compiler-perl
Version: 0.33-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build
>    dh_testdir
>    dh_update_autotools_config
>    dh_auto_configure
> 	perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 -fdebug-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 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Apache-LogFormat-Compiler' version '0.33'
> cp META.json MYMETA.json
> cp META.yml MYMETA.yml
>    dh_auto_build
> 	perl Build
> Building Apache-LogFormat-Compiler
>    dh_auto_test
> 	perl Build test --verbose 1
> t/00_compile.t .. 
> ok 1 - use Apache::LogFormat::Compiler;
> 1..1
> ok
> t/01_basic.t .... 
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> ok 8
> 1..8
> ok
> t/02_custom.t ... 
> ok 1
> ok 2
> ok 3
> ok 4
> 1..4
> ok
> t/03_extra.t .... 
> ok 1
> ok 2
> ok 3
> ok 4
> ok 5
> ok 6
> ok 7
> 1..7
> ok
>     
>     #   Failed test 'Australia/Darwin 2013/1/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/Jan/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/Jan/2013:12:45:00 +0930]
>     # '
>     
>     #   Failed test 'Australia/Darwin 2013/5/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/May/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/May/2013:12:45:00 +0930]
>     # '
>     
>     #   Failed test 'Australia/Darwin 2013/8/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Aug/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Aug/2013:12:45:00 +0930]
>     # '
>     
>     #   Failed test 'Australia/Darwin 2013/11/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Nov/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Nov/2013:12:45:00 +0930]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'Australia/Darwin'
> #   at t/04_tz.t line 57.
>     
>     #   Failed test 'custom format: Australia/Darwin 2013/1/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0930]
>     # '
>     
>     #   Failed test 'custom format: Australia/Darwin 2013/5/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0930]
>     # '
>     
>     #   Failed test 'custom format: Australia/Darwin 2013/8/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0930]
>     # '
>     
>     #   Failed test 'custom format: Australia/Darwin 2013/11/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0930]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'Australia/Darwin custom format'
> #   at t/04_tz.t line 77.
>     
>     #   Failed test 'Asia/Tokyo 2013/1/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/Jan/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/Jan/2013:12:45:00 +0900]
>     # '
>     
>     #   Failed test 'Asia/Tokyo 2013/5/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/May/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/May/2013:12:45:00 +0900]
>     # '
>     
>     #   Failed test 'Asia/Tokyo 2013/8/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Aug/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Aug/2013:12:45:00 +0900]
>     # '
>     
>     #   Failed test 'Asia/Tokyo 2013/11/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Nov/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Nov/2013:12:45:00 +0900]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'Asia/Tokyo'
> #   at t/04_tz.t line 57.
>     
>     #   Failed test 'custom format: Asia/Tokyo 2013/1/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0900]
>     # '
>     
>     #   Failed test 'custom format: Asia/Tokyo 2013/5/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0900]
>     # '
>     
>     #   Failed test 'custom format: Asia/Tokyo 2013/8/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0900]
>     # '
>     
>     #   Failed test 'custom format: Asia/Tokyo 2013/11/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0900]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'Asia/Tokyo custom format'
> #   at t/04_tz.t line 77.
>     
>     #   Failed test 'Europe/London 2013/5/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/May/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/May/2013:12:45:00 +0100]
>     # '
>     
>     #   Failed test 'Europe/London 2013/8/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Aug/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Aug/2013:12:45:00 +0100]
>     # '
>     # Looks like you failed 2 tests of 4.
> 
> #   Failed test 'Europe/London'
> #   at t/04_tz.t line 57.
>     
>     #   Failed test 'custom format: Europe/London 2013/5/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0100]
>     # '
>     
>     #   Failed test 'custom format: Europe/London 2013/8/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[+0100]
>     # '
>     # Looks like you failed 2 tests of 4.
> 
> #   Failed test 'Europe/London custom format'
> #   at t/04_tz.t line 77.
>     
>     #   Failed test 'America/New_York 2013/1/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/Jan/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/Jan/2013:12:45:00 -0500]
>     # '
>     
>     #   Failed test 'America/New_York 2013/5/10'
>     #   at t/04_tz.t line 54.
>     #          got: '[10/May/2013:12:45:00 +0000]
>     # '
>     #     expected: '[10/May/2013:12:45:00 -0400]
>     # '
>     
>     #   Failed test 'America/New_York 2013/8/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Aug/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Aug/2013:12:45:00 -0400]
>     # '
>     
>     #   Failed test 'America/New_York 2013/11/15'
>     #   at t/04_tz.t line 54.
>     #          got: '[15/Nov/2013:12:45:00 +0000]
>     # '
>     #     expected: '[15/Nov/2013:12:45:00 -0500]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'America/New_York'
> #   at t/04_tz.t line 57.
>     
>     #   Failed test 'custom format: America/New_York 2013/1/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[-0500]
>     # '
>     
>     #   Failed test 'custom format: America/New_York 2013/5/10'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[-0400]
>     # '
>     
>     #   Failed test 'custom format: America/New_York 2013/8/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[-0400]
>     # '
>     
>     #   Failed test 'custom format: America/New_York 2013/11/15'
>     #   at t/04_tz.t line 74.
>     #          got: '[+0000]
>     # '
>     #     expected: '[-0500]
>     # '
>     # Looks like you failed 4 tests of 4.
> 
> #   Failed test 'America/New_York custom format'
> #   at t/04_tz.t line 77.
> # Looks like you failed 8 tests of 10.
> t/04_tz.t ....... 
>     # Subtest: Australia/Darwin
>     not ok 1 - Australia/Darwin 2013/1/10
>     not ok 2 - Australia/Darwin 2013/5/10
>     not ok 3 - Australia/Darwin 2013/8/15
>     not ok 4 - Australia/Darwin 2013/11/15
>     1..4
> not ok 1 - Australia/Darwin
>     # Subtest: Australia/Darwin custom format
>     not ok 1 - custom format: Australia/Darwin 2013/1/10
>     not ok 2 - custom format: Australia/Darwin 2013/5/10
>     not ok 3 - custom format: Australia/Darwin 2013/8/15
>     not ok 4 - custom format: Australia/Darwin 2013/11/15
>     1..4
> not ok 2 - Australia/Darwin custom format
>     # Subtest: Asia/Tokyo
>     not ok 1 - Asia/Tokyo 2013/1/10
>     not ok 2 - Asia/Tokyo 2013/5/10
>     not ok 3 - Asia/Tokyo 2013/8/15
>     not ok 4 - Asia/Tokyo 2013/11/15
>     1..4
> not ok 3 - Asia/Tokyo
>     # Subtest: Asia/Tokyo custom format
>     not ok 1 - custom format: Asia/Tokyo 2013/1/10
>     not ok 2 - custom format: Asia/Tokyo 2013/5/10
>     not ok 3 - custom format: Asia/Tokyo 2013/8/15
>     not ok 4 - custom format: Asia/Tokyo 2013/11/15
>     1..4
> not ok 4 - Asia/Tokyo custom format
>     # Subtest: UTC
>     ok 1 - UTC 2013/1/10
>     ok 2 - UTC 2013/5/10
>     ok 3 - UTC 2013/8/15
>     ok 4 - UTC 2013/11/15
>     1..4
> ok 5 - UTC
>     # Subtest: UTC custom format
>     ok 1 - custom format: UTC 2013/1/10
>     ok 2 - custom format: UTC 2013/5/10
>     ok 3 - custom format: UTC 2013/8/15
>     ok 4 - custom format: UTC 2013/11/15
>     1..4
> ok 6 - UTC custom format
>     # Subtest: Europe/London
>     ok 1 - Europe/London 2013/1/10
>     not ok 2 - Europe/London 2013/5/10
>     not ok 3 - Europe/London 2013/8/15
>     ok 4 - Europe/London 2013/11/15
>     1..4
> not ok 7 - Europe/London
>     # Subtest: Europe/London custom format
>     ok 1 - custom format: Europe/London 2013/1/10
>     not ok 2 - custom format: Europe/London 2013/5/10
>     not ok 3 - custom format: Europe/London 2013/8/15
>     ok 4 - custom format: Europe/London 2013/11/15
>     1..4
> not ok 8 - Europe/London custom format
>     # Subtest: America/New_York
>     not ok 1 - America/New_York 2013/1/10
>     not ok 2 - America/New_York 2013/5/10
>     not ok 3 - America/New_York 2013/8/15
>     not ok 4 - America/New_York 2013/11/15
>     1..4
> not ok 9 - America/New_York
>     # Subtest: America/New_York custom format
>     not ok 1 - custom format: America/New_York 2013/1/10
>     not ok 2 - custom format: America/New_York 2013/5/10
>     not ok 3 - custom format: America/New_York 2013/8/15
>     not ok 4 - custom format: America/New_York 2013/11/15
>     1..4
> not ok 10 - America/New_York custom format
> 1..10
> Dubious, test returned 8 (wstat 2048, 0x800)
> Failed 8/10 subtests 
> 
> Test Summary Report
> -------------------
> t/04_tz.t     (Wstat: 2048 Tests: 10 Failed: 8)
>   Failed tests:  1-4, 7-10
>   Non-zero exit status: 8
> Files=5, Tests=30,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.21 cusr  0.01 csys =  0.25 CPU)
> Result: FAIL
> Failed 1/5 test programs. 8/30 subtests failed.
> dh_auto_test: perl Build test --verbose 1 returned exit code 8

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/libapache-logformat-compiler-perl_0.33-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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list