Subject: | Algorithm-Huffman-0.09 dies at t/wrong_parameter in make test |
Date: | Wed, 31 Mar 2010 19:01:32 +0100 |
To: | bug-Algorithm-Huffman [...] rt.cpan.org |
From: | James Condron <james [...] jamescondron.co.uk> |
Hi,
When using cpan, cpanm and cpanp building Algorithm-Huffman dies at the
same place in make test:
# Failed test '->new({a => 1, b => 1})'
# at t/wrong_parameter.t line 42.
# died: Not a HASH reference at
/root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09/blib/lib/Algorithm/Huffman.pm
line 198.
With other tests returning 'dubious'. I have attached the full Install log.
All dependencies installed without any problem.
--
Cheers,
James Condron
[MSG] [Wed Mar 31 18:53:16 2010] Trying to get 'ftp://ftp.cpan.org/pub/CPAN/authors/id/B/BI/BIGJ/CHECKSUMS'
[MSG] [Wed Mar 31 18:53:19 2010] Checksum matches for 'Algorithm-Huffman-0.09.tar.gz'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/t/'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/t/wrong_parameter.t'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/t/1.t'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/t/create_huffman_tree.t'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/t/encode_bitstring.t'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/Changes'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/MANIFEST'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/Huffman.pm'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/Makefile.PL'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm-Huffman-0.09/README'
[MSG] [Wed Mar 31 18:53:19 2010] Extracted 'Algorithm::Huffman' to '/root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09'
[MSG] [Wed Mar 31 18:53:20 2010] Writing Makefile for Algorithm::Huffman
[MSG] [Wed Mar 31 18:53:20 2010] DEFAULT 'filter_prereqs' HANDLER RETURNING 'sub return value'
[MSG] [Wed Mar 31 18:53:20 2010] Skip blib/lib/Algorithm/Huffman.pm (unchanged)
Manifying blib/man3/Algorithm::Huffman.3pm
[ERROR] [Wed Mar 31 18:53:20 2010] MAKE TEST failed: Illegal seek PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/1.t .................... ok
Not a HASH reference at /root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09/blib/lib/Algorithm/Huffman.pm line 198.
# Looks like your test exited with 255 before it could output anything.
t/create_huffman_tree.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/13 subtests
Not a HASH reference at /root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09/blib/lib/Algorithm/Huffman.pm line 198.
# Looks like your test exited with 255 before it could output anything.
t/encode_bitstring.t .....
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 102/102 subtests
# Failed test '->new({a => 1, b => 1})'
# at t/wrong_parameter.t line 42.
# died: Not a HASH reference at /root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09/blib/lib/Algorithm/Huffman.pm line 198.
# Failed test '->new({a => 1, b => 1, c => 0})'
# at t/wrong_parameter.t line 51.
# died: Not a HASH reference at /root/.cpanplus/5.10.0/build/Algorithm-Huffman-0.09/blib/lib/Algorithm/Huffman.pm line 198.
# Looks like you failed 2 tests of 10.
t/wrong_parameter.t ......
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/10 subtests
Test Summary Report
-------------------
t/create_huffman_tree.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 13 tests but ran 0.
t/encode_bitstring.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 102 tests but ran 0.
t/wrong_parameter.t (Wstat: 512 Tests: 10 Failed: 2)
Failed tests: 7, 9
Non-zero exit status: 2
Files=4, Tests=11, 0 wallclock secs ( 0.04 usr 0.01 sys + 0.28 cusr 0.02 csys = 0.35 CPU)
Result: FAIL
Failed 3/4 test programs. 2/11 subtests failed.
make: *** [test_dynamic] Error 2
[HISTORY] [Wed Mar 31 18:53:23 2010] Proceed anyway? [y/N]: n
[ERROR] [Wed Mar 31 18:53:23 2010] Unable to create a new distribution object for 'Algorithm::Huffman' -- cannot continue