Skip Menu |
 

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

Report information
The Basics
Id: 17719
Status: open
Priority: 0/
Queue: File-HomeDir-Win32

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

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



Subject: Installation Difficulty Using cpan Shell
Download (untitled) / with headers
text/plain 1.7k
In order to better understand File-HomeDir-Win32 I tried to install it today but encountered some difficulties. As I usually do, I used the cpan shell. There were uninstalled prerequisites, which I okayed for installation, and some of those prereqs had prereqs of their own. All was fine until I was required to install Win32::Security::SID; I've excerpted the relevant part of the screen output into the attached file Win32.Security.failure.txt. The key lines: Package seems to come without Makefile.PL. (The test -f "\.cpan\build\Win32-Security-0.50\Makefile.PL" returned false.) Writing one on our own (setting NAME to Win32SecuritySID) ... Creating custom builder _build\lib\Module\Build\Win32Security.pm in _build\lib\Module\Build Too early to specify a build action 'Build'. Do 'Build Build' instead. NMAKE : U1077: Stop. C:\WINNT\system32\nmake.EXE -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible ... and without Win32::Security installed, the tests for File::HomeDir::Win32 naturally failed, as did installation. I then tried to install Win32::Security manually with Module::Build. Win32::Security in turn had prerequisites, which I didn't get installed because I got sidetracked with reality at my day job. I suspect I could have eventually gotten Win32::Security installed, at which point File:: HomeDir::Win32 would have been installable as well. Am I correct in thinking that the problem was that the cpan shell gagged when it found a prerequisite needing installation which was Module::Build-only? If so, I wonder how many other distributions on CPAN might suffer from this problem. Jim Keenan
Subject: Win32.Security.failure.txt
Running install for module Win32::Security::SID Running make for T/TE/TEVERETT/Win32-Security-0.50.tar.gz Fetching with LWP: ftp://cpan.cse.msu.edu/authors/id/T/TE/TEVERETT/Win32-Security-0.50.tar.gz Fetching with LWP: ftp://cpan.cse.msu.edu/authors/id/T/TE/TEVERETT/CHECKSUMS Checksum for \.cpan\sources\authors\id\T\TE\TEVERETT\Win32-Security-0.50.tar.gz ok Win32-Security-0.50/ Win32-Security-0.50/script/ Win32-Security-0.50/script/PermFix.pl Win32-Security-0.50/script/PermChg.pl Win32-Security-0.50/script/PermDump.pl Win32-Security-0.50/lib/ Win32-Security-0.50/lib/Win32/ Win32-Security-0.50/lib/Win32/Security/ Win32-Security-0.50/lib/Win32/Security/NamedObject.pm Win32-Security-0.50/lib/Win32/Security/Recursor.pm Win32-Security-0.50/lib/Win32/Security/Raw.pm Win32-Security-0.50/lib/Win32/Security/ACE.pm Win32-Security-0.50/lib/Win32/Security/ACL.pm Win32-Security-0.50/lib/Win32/Security/SID.pm Win32-Security-0.50/Changes Win32-Security-0.50/MANIFEST Win32-Security-0.50/t/ Win32-Security-0.50/t/extended.t Win32-Security-0.50/t/scripts.t Win32-Security-0.50/t/ace.t Win32-Security-0.50/META.yml Win32-Security-0.50/Build.PL Win32-Security-0.50/README Package seems to come without Makefile.PL. (The test -f "\.cpan\build\Win32-Security-0.50\Makefile.PL" returned false.) Writing one on our own (setting NAME to Win32SecuritySID) CPAN.pm: Going to build T/TE/TEVERETT/Win32-Security-0.50.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Win32SecuritySID cp lib/Win32/Security/NamedObject.pm blib\lib\Win32\Security\NamedObject.pm cp lib/Win32/Security/SID.pm blib\lib\Win32\Security\SID.pm cp lib/Win32/Security/ACE.pm blib\lib\Win32\Security\ACE.pm cp lib/Win32/Security/Raw.pm blib\lib\Win32\Security\Raw.pm cp lib/Win32/Security/Recursor.pm blib\lib\Win32\Security\Recursor.pm cp lib/Win32/Security/ACL.pm blib\lib\Win32\Security\ACL.pm L:\Mall_Bldg2\Perl\bin\perl.exe "-Iblib\arch" "-Iblib\lib" Build.PL Build Creating custom builder _build\lib\Module\Build\Win32Security.pm in _build\lib\Module\Build Too early to specify a build action 'Build'. Do 'Build Build' instead. NMAKE : U1077: Stop. C:\WINNT\system32\nmake.EXE -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Running make for R/RK/RKOBES/File-HomeDir-Win32-0.04.tar.gz Is already unwrapped into directory \.cpan\build\File-HomeDir-Win32-0.04 CPAN.pm: Going to build R/RK/RKOBES/File-HomeDir-Win32-0.04.tar.gz cp lib/File/HomeDir/Win32.pm blib\lib\File\HomeDir\Win32.pm C:\WINNT\system32\nmake.EXE -- OK Running make test L:\Mall_Bldg2\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\01-basic.t t\01-dynamic.t t\01-if.t t\01-warning.t t\01-basic......NOK 1 # Failed test (t\01-basic.t at line 7) # Tried to use 'File::HomeDir::Win32'. # Error: Can't locate Win32/Security/SID.pm in @INC (@INC contains: F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib F:\.cpan\build\File-HomeDir-Win32-0.04\ blib\arch L:/Mall_Bldg2/Perl/lib L:/Mall_Bldg2/Perl/site/lib .) at F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib/File/HomeDir/Win32.pm line 11. # BEGIN failed--compilation aborted at t\01-basic.t line 7. # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at (eval 3) line 2. Undefined subroutine &main::home called at t\01-basic.t line 9. # Looks like you planned 6 tests but only ran 1. # Looks like your test died just after 1. t\01-basic......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-6 Failed 6/6 tests, 0.00% okay t\01-dynamic....Can't locate Win32/Security/SID.pm in @INC (@INC contains: F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib F:\.cpan\build\File-HomeDir-Win32-0.0 4\blib\arch L:/Mall_Bldg2/Perl/lib L:/Mall_Bldg2/Perl/site/lib .) at F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib/File/HomeDir/Win32.pm line 11. BEGIN failed--compilation aborted at F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib/File/HomeDir/Win32.pm line 11. Compilation failed in require at t\01-dynamic.t line 20. BEGIN failed--compilation aborted at t\01-dynamic.t line 25. t\01-dynamic....dubious Test returned status 2 (wstat 512, 0x200) t\01-if.........NOK 2 # Failed test (t\01-if.t at line 12) # Tried to use 'if'. # Error: Can't locate Win32/Security/SID.pm in @INC (@INC contains: F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib F:\.cpan\build\File-HomeDir-Win32-0.04\ blib\arch L:/Mall_Bldg2/Perl/lib L:/Mall_Bldg2/Perl/site/lib .) at F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib/File/HomeDir/Win32.pm line 11. # BEGIN failed--compilation aborted at t\01-if.t line 12. # Compilation failed in require at L:/Mall_Bldg2/Perl/lib/if.pm line 11. # BEGIN failed--compilation aborted at (eval 6) line 2. t\01-if.........ok 3/7users_home is not implemented on this platform at L:/Mall_Bldg2/Perl/site/lib/File/HomeDir.pm line 102 # Looks like you planned 7 tests but only ran 3. # Looks like your test died just after 3. t\01-if.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 4-7 Failed 5/7 tests, 28.57% okay t\01-warning....NOK 2 # Failed test (t\01-warning.t at line 14) # Tried to use 'File::HomeDir::Win32'. # Error: Can't locate Win32/Security/SID.pm in @INC (@INC contains: F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib F:\.cpan\build\File-HomeDir-Win32-0.04\ blib\arch L:/Mall_Bldg2/Perl/lib L:/Mall_Bldg2/Perl/site/lib .) at F:\.cpan\build\File-HomeDir-Win32-0.04\blib\lib/File/HomeDir/Win32.pm line 11. # BEGIN failed--compilation aborted at t\01-warning.t line 14. # Compilation failed in require at (eval 7) line 2. # BEGIN failed--compilation aborted at (eval 7) line 2. users_home is not implemented on this platform at L:/Mall_Bldg2/Perl/site/lib/File/HomeDir.pm line 102 # Looks like you planned 8 tests but only ran 4. # Looks like your test died just after 4. t\01-warning....dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 2, 5-8 Failed 5/8 tests, 37.50% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\01-basic.t 255 65280 6 11 183.33% 1-6 t\01-dynamic.t 2 512 ?? ?? % ?? t\01-if.t 255 65280 7 9 128.57% 2 4-7 t\01-warning.t 255 65280 8 9 112.50% 2 5-8 Failed 4/4 test scripts, 0.00% okay. 16/21 subtests failed, 23.81% okay. NMAKE : U1077: Stop. C:\WINNT\system32\nmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force cpan>
On Fri Feb 17 20:12:42 2006, JKEENAN wrote: Show quoted text
> In order to better understand File-HomeDir-Win32 I tried to install it > today but encountered > some difficulties. As I usually do, I used the cpan shell. There > were uninstalled > prerequisites, which I okayed for installation, and some of those > prereqs had prereqs of their > own. All was fine until I was required to install > Win32::Security::SID; I've excerpted the > relevant part of the screen output into the attached file > Win32.Security.failure.txt. The key > lines: > > Package seems to come without Makefile.PL. > (The test -f "\.cpan\build\Win32-Security-0.50\Makefile.PL" > returned false.) > Writing one on our own (setting NAME to Win32SecuritySID) > > ... > > Creating custom builder _build\lib\Module\Build\Win32Security.pm in > _build\lib\Module\Build > Too early to specify a build action 'Build'. Do 'Build Build' > instead. > NMAKE : U1077: > Stop. > C:\WINNT\system32\nmake.EXE -- NOT OK > Running make test > Can't test without successful make > Running make install > make had returned bad status, install seems impossible > > ... and without Win32::Security installed, the tests for > File::HomeDir::Win32 naturally failed, > as did installation. > > I then tried to install Win32::Security manually with Module::Build. > Win32::Security in turn > had prerequisites, which I didn't get installed because I got > sidetracked with reality at my day > job. I suspect I could have eventually gotten Win32::Security > installed, at which point File:: > HomeDir::Win32 would have been installable as well. > > Am I correct in thinking that the problem was that the cpan shell > gagged when it found a > prerequisite needing installation which was Module::Build-only? > > If so, I wonder how many other distributions on CPAN might suffer from > this problem. > > Jim Keenan
What version of CPAN.pm are you using? I think there were some problems with earlier versions of CPAN.pm with respect to M::B support which the most recent version of CPAN.pm addresses. Randy Kobes
Subject: Re: [rt.cpan.org #17719] Installation Difficulty Using cpan Shell
Date: Fri, 17 Feb 2006 23:39:11 -0500
To: bug-File-HomeDir-Win32 [...] rt.cpan.org
From: James Keenan <jkeen [...] verizon.net>
Download (untitled) / with headers
text/plain 396b
On Feb 17, 2006, at 11:15 PM, via RT wrote: Show quoted text
> > > What version of CPAN.pm are you using? I think there were some > problems with earlier versions of CPAN.pm with respect to M::B > support which the most recent version of CPAN.pm addresses. > > Randy Kobes > >
I think it was at 1.83. But that was on my Windows box at work, so I can't be sure. I'll only be able to check on Tuesday. jimk


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.