Hi Autrijus! Autrijus Tang wrote: > > On Wed, Mar 19, 2003 at 03:08:00PM -0500, Mark Reynolds wrote: > > I stumbled across a problem during cpan smoke testing. > > Greetings. Sorry for the late reply. > > > While testing, a module's prereq list was in process of being > > 'installed'. (-p) This install failed. (It was a problem with > > permissions on one of the directories) > > This seems like local to your setup; other smokers does not seem to > suffer from it, and I cannot duplicate the behaviour. It could be > that the permission problem is specific to you, or IRIX is special > in some way. >
Thanks for the reply! The permission problem was not a fault of cpansmoke. It just precipitated the _mkdir() failing. It was due to something else I was doing. I can tell you how to duplicate it on your machine. Pick a module to test. Then look at the prereqs for it. Find one that is not installed on your machine. Go into the authors directory and change the permissions on the directory the this prereq will need to be loaded into, such that cpanplus will not be able to make the directory for the author. For example, if the prereq module was yours, change the permissions on .cpanplus/authors/id/A/AU to 444. (If there is a AUTRIJUS directory already, move or remove it.) I used the command line "cpansmoke -dipuv <module>" and am running .042. When you run the test, you will see the failure: "Could not create directory '...' CPANPLUS/Internals/Utils.pm line 29': in CPANPLUS::Internals::Utils::_mkdir" Followed by "According to the cache, prerequisite ... is already installed" Then the make test is run, which fails due to the missing prereq. It looks like the cache is getting flagged as good, even if the install fails? Let me know if you still don't get the same results. I'll put some debug code it and see what I can find. Thanks, -Mark
