Bug#866981: libpgobject-type-datetime-perl FTBFS: You planned 15 tests but ran 5.

Adrian Bunk bunk at debian.org
Mon Jul 3 09:10:43 UTC 2017


Source: libpgobject-type-datetime-perl
Version: 1.0.5-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes libpgobject-type-datetime-perl FTBFS:

https://tests.reproducible-builds.org/debian/history/libpgobject-type-datetime-perl.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libpgobject-type-datetime-perl.html

...
Deprecated use of PGObject->new_registry() at t/02-registration.t line 17.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Undefined subroutine &PGObject::get_type_registry called at t/02-registration.t line 25, <DATA> line 1.
# Looks like you planned 15 tests but ran 5.
# Looks like your test exited with 255 just after 5.
t/02-registration.t .. 
1..15
ok 1 - creating test registry
ok 2 - default registration
ok 3 - mytime registration
ok 4 - custom registry, mytime registration
ok 5 - default types, custom registry
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 10/15 subtests 
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
Use of deprecated method register_type of PGObject module at /build/1st/libpgobject-type-datetime-perl-1.0.5/blib/lib/PGObject/Type/DateTime.pm line 71.
t/03-dbtests.t ....... skipped: Not set up for dbtests
t/boilerplate.t ...... 
1..3
ok 1 - README contains no boilerplate text
ok 2 - Changes contains no boilerplate text
ok 3 - lib/PGObject/Type/DateTime.pm contains no boilerplate text
ok
t/manifest.t ......... skipped: Author tests not required for installation
t/pod-coverage.t ..... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage
t/pod.t .............. skipped: Test::Pod 1.22 required for testing POD

Test Summary Report
-------------------
t/02-registration.t (Wstat: 65280 Tests: 5 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 15 tests but ran 5.
Files=8, Tests=31,  1 wallclock secs ( 0.06 usr  0.01 sys +  1.31 cusr  0.13 csys =  1.51 CPU)
Result: FAIL
Failed 1/8 test programs. 0/31 subtests failed.
Makefile:834: recipe for target 'test_dynamic' failed
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory '/build/1st/libpgobject-type-datetime-perl-1.0.5'
dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
debian/rules:4: recipe for target 'build' failed
make: *** [build] Error 2



More information about the pkg-perl-maintainers mailing list