[Cipux-devel] Bug#797116: cipux-task: FTBFS with perl 5.22: test failures

Dominic Hargreaves dom at earth.li
Thu Aug 27 21:28:58 UTC 2015


Source: cipux-task
Version: 3.4.0.7-4.1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Tags: sid stretch

This package FTBFS with perl 5.22 (currently in experimental):

cd . && ./Build test  --verbose 1

#   Failed test 'use CipUX::Task;'
#   at t/00.load.t line 4.
#     Tried to use 'CipUX::Task'.
#     Error:  Can't use 'defined(%hash)' (Maybe you should just omit the defined
()?) at /«PKGBUILDDIR»/blib/lib/CipUX/Task.pm line 793.
# Compilation failed in require at t/00.load.t line 4.
# BEGIN failed--compilation aborted at t/00.load.t line 4.

#   Failed test 'use CipUX::Task::Client;'
#   at t/00.load.t line 5.
#     Tried to use 'CipUX::Task::Client'.
#     Error:  Attempt to reload CipUX/Task.pm aborted.
# Compilation failed in require at /usr/share/perl/5.22/base.pm line 97.
#       ...propagated at /usr/share/perl/5.22/base.pm line 106.
# BEGIN failed--compilation aborted at /«PKGBUILDDIR»/blib/lib/CipUX/Task/Client.pm line 26.
# Compilation failed in require at t/00.load.t line 5.
# BEGIN failed--compilation aborted at t/00.load.t line 5.
# Testing CipUX::Task 
# Looks like you failed 2 tests of 2.
t/00.load.t .......... 
1..2
not ok 1 - use CipUX::Task;
not ok 2 - use CipUX::Task::Client;
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests 
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /«PKGBUILDDIR»/blib/lib/CipUX/Task.pm line 793.
Compilation failed in require at t/leaktrace.t line 13.
BEGIN failed--compilation aborted at t/leaktrace.t line 13.
# Looks like your test exited with 255 before it could output anything.
t/leaktrace.t ........ 
1..1
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests 
t/perlcritic.t ....... 
ok - Test::Perl::Critic for "blib/bin755/cipux_task_client"
ok - Test::Perl::Critic for "blib/script/cipux_task_client"
ok - Test::Perl::Critic for "blib/lib/CipUX/Task.pm"
ok - Test::Perl::Critic for "blib/lib/CipUX/Task/Client.pm"
1..4
ok
t/perlcritic_cpan.t .. skipped: Author test.  Set $ENV{TEST_AUTHOR} to a true value to run.
t/pod.t .............. 
1..4
ok 1 - POD test for blib/script/cipux_task_client
ok 2 - POD test for blib/lib/CipUX/Task.pm
ok 3 - POD test for blib/lib/CipUX/Task/Client.pm
ok 4 - POD test for blib/bin755/cipux_task_client
ok
Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /«PKGBUILDDIR»/blib/lib/CipUX/Task.pm line 793.
Compilation failed in require at t/refcount.t line 4.
BEGIN failed--compilation aborted at t/refcount.t line 4.
# Looks like your test exited with 255 before it could output anything.
t/refcount.t ......... 
1..4
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 4/4 subtests 

Test Summary Report
-------------------
t/00.load.t        (Wstat: 512 Tests: 2 Failed: 2)
Failed 3/6 test programs. 2/10 subtests failed.
  Failed tests:  1-2
  Non-zero exit status: 2
t/leaktrace.t      (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 1 tests but ran 0.
t/refcount.t       (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
Files=6, Tests=10,  6 wallclock secs ( 0.04 usr  0.06 sys +  4.72 cusr  0.53 csys =  5.35 CPU)
Result: FAIL

Note that this also causes cipux-rbac-simple and cipux-rpc to FTBFS.

Cheers,
Dominic.



More information about the Cipux-devel mailing list