Le dimanche 15 mai 2005 à 17:39 -0400, Michael Cummings a écrit :
> Mostly :)
>
> OK, anyone have any bugs (functional issues) with the current state of g-cpan?
Erhm yes, juste found a big one (but should be easy to correct)
Context :
- running as user (member of portage group)
- no ~/.cpan
- PORTDIR_OVERLAY=/usr/local/portage (drwxr-xr-x 2 root root)
when I run a g-cpan -u, i got :
####################################################"
cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
* No CPAN Config found, auto-generating a basic one
in /home/cab/.cpan/CPAN
mkdir /home/cab/.cpan
mkdir /home/cab/.cpan/CPAN
Use of uninitialized value in -d at ./g-cpan line 692 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a
mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl tells you what
operation
you used the undefined value in. Note, however, that perl optimizes
your
program and the operation displayed in the warning may not
necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.
mkdir /usr/local/portage/perl-gcpan
Uncaught exception from user code:
mkdir /usr/local/portage/perl-gcpan: Permission non accordée
at ./g-cpan line 194
at /usr/lib/perl5/5.8.6/File/Path.pm line 153
File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
called at ./g-cpan line 194
##############################
btw, when i run it the second time :
##############################
cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
mkdir /usr/local/portage/perl-gcpan
Uncaught exception from user code:
mkdir /usr/local/portage/perl-gcpan: Permission non accordée
at ./g-cpan line 194
at /usr/lib/perl5/5.8.6/File/Path.pm line 153
File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
called at ./g-cpan line 194
#############################
typical permission problem ;p
however there's also this unitialised thing on the first run.. ;)
just reporting, can't fix tonight ;p
--
cab
--
gentoo-perl@g.o mailing list
|