Package: src:libbusiness-hours-perl
Version: 0.12-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in stretch but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_testdir -i
   dh_update_autotools_config -i
   dh_auto_configure -i
        perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
"LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Business::Hours
Writing MYMETA.yml and MYMETA.json
   dh_auto_build -i
        make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cp lib/Business/Hours.pm blib/lib/Business/Hours.pm
Manifying 1 pod document
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -i
        make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PERL_DL_NONLAZY=1 PERL_USE_UNSAFE_INC=1 "/usr/bin/perl" 
"-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef 
*Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test at t/1-business-hours.t line 16.
#          got: '0'
#     expected: '162000'

#   Failed test 'Got seconds'
#   at t/1-business-hours.t line 24.

#   Failed test at t/1-business-hours.t line 27.
#          got: '0'
#     expected: '162000'

#   Failed test at t/1-business-hours.t line 50.
#          got: '378000'
#     expected: '32400'
Set::IntSpan::_copy_run_list: Bad order 2: 72000--1
 at /<<PKGBUILDDIR>>/blib/lib/Business/Hours.pm line 270.
# Looks like you planned 17 tests but ran 12.
# Looks like you failed 4 tests of 12 run.
# Looks like your test exited with 255 just after 12.
t/1-business-hours.t .. 
1..17
ok 1 - use Business::Hours;
ok 2
ok 3
not ok 4
ok 5
not ok 6 - Got seconds
not ok 7
not ok 8
ok 9
ok 10
ok 11
ok 12
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 9/17 subtests 
t/2-holidays.t ........ 
1..6
ok 1 - use Business::Hours;
ok 2 - An object of class 'Business::Hours' isa 'Business::Hours'
ok 3 - no holidays by default
ok 4 - set some holidays
ok 5 - skipped new year holiday
ok 6 - skipped new year holiday
ok
t/99-pod-coverage.t ... skipped: Test::Pod::Coverage 1.00 required for testing 
POD coverage
t/99-pod.t ............ skipped: Test::Pod 1.00 required for testing POD

Test Summary Report
-------------------
t/1-business-hours.t (Wstat: 65280 Tests: 12 Failed: 4)
  Failed tests:  4, 6-8
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 17 tests but ran 12.
Files=4, Tests=18,  1 wallclock secs ( 0.05 usr  0.01 sys +  0.23 cusr  0.02 
csys =  0.31 CPU)
Result: FAIL
Failed 1/4 test programs. 4/18 subtests failed.
Makefile:819: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libbusiness-hours-perl.html

where you can get another build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to