Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-File CPAN distribution.

Report information
The Basics
Id: 22158
Status: resolved
Priority: 0/
Queue: Test-File

People
Owner: bdfoy [...] cpan.org
Requestors: geoff.crompton [...] strategicdata.com.au
Cc:
AdminCc:

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



Subject: Test-File 1.16 not building
Date: Wed, 18 Oct 2006 17:35:13 +1000
To: bug-Test-File [...] rt.cpan.org
From: Geoff Crompton <geoff.crompton [...] strategicdata.com.au>
Hi, Similar to bug 20366, I'm trying to build Test-File on a Debian Sarge system, perl 5.8.8. I wish I was better at parsing testing output, I couldn't work out what wasn't working. geoffc@leela:~/scratch/Test-File-1.16$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/links...........ok t/load............ok t/normalize.......ok t/owner...........NOK 9# Failed test (t/owner.t at line 91) # STDERR is: # # File [blib] belongs to geoffc (1000), not root (0) # # Failed test (t/owner.t at line 90) # # not: # # File [blib] belongs to geoffc (1000), not root (0) # # Failed test 'Intentional owner_is failure' # # in t/owner.t at line 90. # # as expected t/owner...........NOK 10# Failed test (t/owner.t at line 102) # STDERR is: # # File [blib] belongs to geoffc (1000) # # Failed test (t/owner.t at line 101) # # not: # # File [blib] belongs to geoffc (1000) # # Failed test 'Intentional owner_isnt failure' # # in t/owner.t at line 101. # # as expected t/owner...........NOK 11# Failed test (t/owner.t at line 114) # STDERR is: # # File [blib] belongs to geoffc (1000), not root (0) # # Failed test (t/owner.t at line 113) # # not: # # File [blib] belongs to geoffc (1000), not root (0) # # Failed test 'Intentional group_is failure' # # in t/owner.t at line 113. # # as expected t/owner...........NOK 12# Failed test (t/owner.t at line 125) # STDERR is: # # File [blib] belongs to geoffc (1000) # # Failed test (t/owner.t at line 124) # # not: # # File [blib] belongs to geoffc (1000) # # Failed test 'Intentional group_isnt failure' # # in t/owner.t at line 124. # # as expected t/owner...........FAILED tests 9-12 Failed 4/12 tests, 66.67% okay t/pod.............skipped all skipped: Test::Pod 1.00 required for testing POD t/pod_coverage....skipped all skipped: Test::Pod::Coverage required for testing POD t/prereq..........skipped all skipped: Test::Prereq required to test dependencies t/setup...........ok t/test_files......ok 5/28 skipped: setup already done Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/owner.t 12 4 33.33% 9-12 3 tests and 5 subtests skipped. Failed 1/9 test scripts, 88.89% okay. 4/60 subtests failed, 93.33% okay. make: *** [test_dynamic] Error 255 -- Geoff Crompton Debian System Administrator Strategic Data +61 3 9340 9000
Are you installing this as a normal user? Are you using any installation tools? The tests look like they are failing because the user running the script can't change the owners and groups on the files. Can you include an `ls -lR` from the top level directory of the distribution? First do a `make clean`, then re-run `perl Makefile.PL`. Thanks,
Ah, wait. This looks like a change in Test::Builder::Tester. Can you tell me which version you're using? $ perl -MTest::Builder::Tester -le 'print Test::Builder::Tester->VERSION' If you aren't up-to-date with Test::Builder::Tester, upgrade and try again.
Subject: Re: [rt.cpan.org #22158] Test-File 1.16 not building
Date: Thu, 19 Oct 2006 09:24:13 +1000
To: bug-Test-File [...] rt.cpan.org
From: Geoff Crompton <geoff.crompton [...] strategicdata.com.au>
brian_d_foy via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=22158 > > > Ah, wait. This looks like a change in Test::Builder::Tester. > > Can you tell me which version you're using? > > $ perl -MTest::Builder::Tester -le 'print Test::Builder::Tester->VERSION' > > If you aren't up-to-date with Test::Builder::Tester, upgrade and try > again. > > >
That would be it. I was installing Test::Builder::Tester from the Debian Sarge package: geoffc@leela:~$ perl -MTest::Builder::Tester -le 'print Test::Builder::Tester->VERSION' 1.01 I've updated that, and the tests pass fine. Please feel free to close this bug report, sorry for wasting your time. -- Geoff Crompton Debian System Administrator Strategic Data +61 3 9340 9000
From: BDFOY [...] cpan.org
No waste of time. I'll specify the Test::Builder::Tester version in the next version. Thanks, :)
I'll ensure that the Makefile.PL specifies an appropriate version of Test::Builder::Tester in the next release. :)