Subject: | minor build issue with File::ChangeNotify -- dependency on namespace::clean |
Date: | Wed, 12 Jan 2011 17:20:41 -0500 (EST) |
To: | bug-file-changenotify [...] rt.cpan.org |
From: | Jonathan Miller <jemiller [...] acm.org> |
Hi Dave,
Just managed to successfully build the latest File::ChangeNotify on Windows (Vista) with Strawberry Perl (5.10.1), but I ran into an issue first. Looks like somewhere between File::ChangeNotify v 0.16 and 0.19 a dependency on namespace::clean v0.20 (or perhaps v0.19) was added, but the basic CPAN client doesn't know about it. Transcript (below) should make this clear.
I appreciate your work!
-Jonathan Miller
Show quoted text
cpan> upgrade File::ChangeNotify
Package namespace installed latest in CPAN file
File::ChangeNotify 0.16 0.19 DROLSKY/File-ChangeNotify-0.19.tar.gz
Running install for module 'File::ChangeNotify'
Running Build for D/DR/DROLSKY/File-ChangeNotify-0.19.tar.gz
Has already been unwrapped into directory C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr
Has already been made
Running Build test
t/all.t ................... Undefined subroutine &namespace::autoclean::on_scope_end called at C:/strawberry/perl/site/l
ib/namespace/autoclean.pm line 57.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify/W
atcher/Default.pm line 8.
Compilation failed in require at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify.pm li
ne 12.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify.p
m line 12.
Compilation failed in require at t/lib/File/ChangeNotify/TestHelper.pm line 6.
BEGIN failed--compilation aborted at t/lib/File/ChangeNotify/TestHelper.pm line 6.
Compilation failed in require at t/all.t line 6.
BEGIN failed--compilation aborted at t/all.t line 6.
t/all.t ................... Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
t/excluded-dirs.t ......... Undefined subroutine &namespace::autoclean::on_scope_end called at C:/strawberry/perl/site/l
ib/namespace/autoclean.pm line 57.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify/W
atcher.pm line 8.
Compilation failed in require at t/excluded-dirs.t line 5.
BEGIN failed--compilation aborted at t/excluded-dirs.t line 5.
t/excluded-dirs.t ......... Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
t/instantiate-twice.t ..... Undefined subroutine &namespace::autoclean::on_scope_end called at C:/strawberry/perl/site/l
ib/namespace/autoclean.pm line 57.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify/W
atcher/Default.pm line 8.
Compilation failed in require at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify.pm li
ne 12.
BEGIN failed--compilation aborted at C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr\blib\lib/File/ChangeNotify.p
m line 12.
Compilation failed in require at t/instantiate-twice.t line 9.
BEGIN failed--compilation aborted at t/instantiate-twice.t line 9.
t/instantiate-twice.t ..... Dubious, test returned 9 (wstat 2304, 0x900)
No subtests run
t/release-eol.t ........... skipped: these tests are for release candidate testing
t/release-kwalitee.t ...... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-spell.t ..... skipped: these tests are for release candidate testing
t/release-pod.t ........... skipped: these tests are for release candidate testing
t/release-try-load.t ...... skipped: these tests are for release candidate testing
Test Summary Report
-------------------
t/all.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: No plan found in TAP output
t/excluded-dirs.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: No plan found in TAP output
t/instantiate-twice.t (Wstat: 2304 Tests: 0 Failed: 0)
Non-zero exit status: 9
Parse errors: No plan found in TAP output
Files=9, Tests=0, 1 wallclock secs ( 0.02 usr + 0.02 sys = 0.03 CPU)
Result: FAIL
Failed 3/9 test programs. 0/0 subtests failed.
DROLSKY/File-ChangeNotify-0.19.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports DROLSKY/File-ChangeNotify-0.19.tar.gz
Running Build install
make test had returned bad status, won't install without force
Failed during this command:
DROLSKY/File-ChangeNotify-0.19.tar.gz : make_test NO
Show quoted textcpan> r
Package namespace installed latest in CPAN file
...
namespace::clean 0.18 0.20 FLORA/namespace-clean-0.20.tar.gz
...
Show quoted textcpan> upgrade namespace::clean
Package namespace installed latest in CPAN file
namespace::clean 0.18 0.20 FLORA/namespace-clean-0.20.tar.gz
Running install for module 'namespace::clean'
Running make for F/FL/FLORA/namespace-clean-0.20.tar.gz
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/F/FL/FLORA/namespace-clean-0.20.tar.gz
Checksum for C:\strawberry\cpan\sources\authors\id\F\FL\FLORA\namespace-clean-0.20.tar.gz ok
CPAN.pm: Going to build F/FL/FLORA/namespace-clean-0.20.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for namespace::clean
cp lib/namespace/clean.pm blib\lib\namespace\clean.pm
FLORA/namespace-clean-0.20.tar.gz
C:\strawberry\c\bin\dmake.EXE -- OK
Running make test
C:\strawberry\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
t/00-basic.t .............. ok
t/01-function-wipeout.t ... ok
t/02-inheritance.t ........ ok
t/03-unimport.t ........... ok
t/04-except.t ............. ok
t/05-explicit-cleanee.t ... ok
t/06-other-types.t ........ ok
t/08-const-sub.t .......... ok
t/author-07-debugger.t .... skipped: these tests are for testing by the author
t/release-eol.t ........... skipped: these tests are for release candidate testing
t/release-no-tabs.t ....... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-syntax.t .... skipped: these tests are for release candidate testing
All tests successful.
Files=13, Tests=73, 1 wallclock secs ( 0.08 usr + 0.09 sys = 0.17 CPU)
Result: PASS
FLORA/namespace-clean-0.20.tar.gz
C:\strawberry\c\bin\dmake.EXE test -- OK
Running make install
Prepending C:\strawberry\cpan\build\namespace-clean-0.20-TcBaKC/blib/arch C:\strawberry\cpan\build\namespace-clean-0.20-
TcBaKC/blib/lib to PERL5LIB for 'install'
Installing C:\strawberry\perl\site\lib\namespace\clean.pm
Appending installation info to C:\strawberry\perl\lib/perllocal.pod
FLORA/namespace-clean-0.20.tar.gz
C:\strawberry\c\bin\dmake.EXE install UNINST=1 -- OK
Show quoted textcpan> upgrade File::ChangeNotify
Package namespace installed latest in CPAN file
File::ChangeNotify 0.16 0.19 DROLSKY/File-ChangeNotify-0.19.tar.gz
Running install for module 'File::ChangeNotify'
Running Build for D/DR/DROLSKY/File-ChangeNotify-0.19.tar.gz
Has already been unwrapped into directory C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr
Has already been made
Running Build test
t/all.t ................... ok
t/excluded-dirs.t ......... ok
t/instantiate-twice.t ..... skipped: This test requires Test::Without::Module
t/release-eol.t ........... skipped: these tests are for release candidate testing
t/release-kwalitee.t ...... skipped: these tests are for release candidate testing
t/release-pod-coverage.t .. skipped: these tests are for release candidate testing
t/release-pod-spell.t ..... skipped: these tests are for release candidate testing
t/release-pod.t ........... skipped: these tests are for release candidate testing
t/release-try-load.t ...... skipped: these tests are for release candidate testing
All tests successful.
Files=9, Tests=37, 2 wallclock secs ( 0.06 usr + 0.01 sys = 0.08 CPU)
Result: PASS
DROLSKY/File-ChangeNotify-0.19.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build test -- OK
Running Build install
Prepending C:\strawberry\cpan\build\File-ChangeNotify-0.19-eLr5xr/blib/arch C:\strawberry\cpan\build\File-ChangeNotify-0
.19-eLr5xr/blib/lib to PERL5LIB for 'install'
Building File-ChangeNotify
Installing C:\strawberry\perl\site\lib\File\ChangeNotify.pm
Installing C:\strawberry\perl\site\lib\File\ChangeNotify\Event.pm
Installing C:\strawberry\perl\site\lib\File\ChangeNotify\Watcher.pm
Installing C:\strawberry\perl\site\lib\File\ChangeNotify\Watcher\Default.pm
Installing C:\strawberry\perl\site\lib\File\ChangeNotify\Watcher\Inotify.pm
Installing C:\strawberry\perl\site\lib\File\ChangeNotify\Watcher\KQueue.pm
DROLSKY/File-ChangeNotify-0.19.tar.gz
C:\strawberry\perl\bin\perl.exe ./Build install --uninst 1 -- OK
Show quoted textcpan>