Skip Menu |

This queue is for tickets about the Tie-Assert CPAN distribution.

Report information
The Basics
Id: 7944
Status: resolved
Priority: 0/
Queue: Tie-Assert

People
Owner: Nobody in particular
Requestors: empty [...] anti-spam.measure
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.11
Fixed in: (no value)



Subject: `make test' failure
Hello Paul, In hopes that it will help I've pasted the entire output from `make test' which the module failed, below. I ran this on MS Windows in the cygwin environment (note that thus, it is a *NIX-like Perl), version 5.8.5. The OS version is XP ("NT-5.1"). Talk to you in Perlmonks sometime (I am the monk [Intrepid]). ===== cut here ===== CUT HERE ===== cut here ===== CPAN.pm: Going to build M/MO/MOLT/Tie-Assert-0.11.tar.gz Checking if your kit is complete... Looks good INSTALLDIRS => q[site] NAME => q[Tie::Assert] PL_FILES => { } PREFIX => q[/usr/local] PREREQ_PM => { Test::More=>q[0.47] } VERSION_FROM => q[lib/Tie/Assert.pm] Using PERL=/usr/bin/perl.exe Writing Makefile for Tie::Assert cp lib/Tie/Assert/Scalar.pm blib/lib/Tie/Assert/Scalar.pm cp lib/Tie/Assert.pm blib/lib/Tie/Assert.pm cp lib/Tie/Assert/CheckFactory.pm blib/lib/Tie/Assert/CheckFactory.pm /usr/bin/make -- OK Running make test /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/test....# Testing modules can be use'd # Failed test (t/test.t at line 8) # Tried to use 'Tie::Assert'. # Error: Can't locate B/Flags.pm in @INC (@INC contains: /var/cpan/build/Tie-Assert-0.11/blib/lib /var/cpan/build/Tie-Assert-0.11/blib/arch /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/cygwin-thread-multi-64int /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl .) at /var/cpan/build/Tie-Assert-0.11/blib/lib/Tie/Assert/CheckFactory.pm line 5. t/test....NOK 1# BEGIN failed--compilation aborted at /var/cpan/build/Tie-Assert-0.11/blib/lib/Tie/Assert/CheckFactory.pm line 5. # Compilation failed in require at /var/cpan/build/Tie-Assert-0.11/blib/lib/Tie/Assert.pm line 4. # BEGIN failed--compilation aborted at /var/cpan/build/Tie-Assert-0.11/blib/lib/Tie/Assert.pm line 4. # Compilation failed in require at (eval 1) line 2. t/test....ok 3/164# Testing module supports public interface Can't locate object method "_new" via package "Tie::Assert" at t/test.t line 16. # Looks like you planned 164 tests but only ran 3. # Looks like your test died just after 3. t/test....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 4-164 Failed 162/164 tests, 1.22% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/test.t 255 65280 164 323 196.95% 1 4-164 Failed 1/1 test scripts, 0.00% okay. 162/164 subtests failed, 1.22% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK ===== cut here ===== CUT HERE ===== cut here =====
The problem was a typo in Build.PL, I'd typed 'required' instead of 'requires' and so the B::Flags module wasn't installed. The new release 0.12 fixes this.