Gentoo Archives: gentoo-perl

From: Michael Cummings <mcummings@g.o>
To: gentoo-perl@l.g.o
Subject: Re: [gentoo-perl] [g-cpan] last call for bugs
Date: Sun, 15 May 2005 22:26:00
Message-Id: 200505151823.38966.mcummings@gentoo.org
1 Glad I asked :)
2
3 I've a few ideas, should have them posted by mid-morning (your time ;) )
4
5
6 On Sunday 15 May 2005 18:03, Antoine Raillon wrote:
7 > Le dimanche 15 mai 2005 à 17:39 -0400, Michael Cummings a écrit :
8 > > Mostly :)
9 > >
10 > > OK, anyone have any bugs (functional issues) with the current state of
11 > > g-cpan?
12 >
13 > Erhm yes, juste found a big one (but should be easy to correct)
14 >
15 > Context :
16 > - running as user (member of portage group)
17 > - no ~/.cpan
18 > - PORTDIR_OVERLAY=/usr/local/portage (drwxr-xr-x 2 root root)
19 >
20 > when I run a g-cpan -u, i got :
21 >
22 > ####################################################"
23 > cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
24 > * No CPAN Config found, auto-generating a basic one
25 > in /home/cab/.cpan/CPAN
26 > mkdir /home/cab/.cpan
27 > mkdir /home/cab/.cpan/CPAN
28 > Use of uninitialized value in -d at ./g-cpan line 692 (#1)
29 > (W uninitialized) An undefined value was used as if it were already
30 > defined. It was interpreted as a "" or a 0, but maybe it was a
31 > mistake.
32 > To suppress this warning assign a defined value to your variables.
33 >
34 > To help you figure out what was undefined, perl tells you what
35 > operation
36 > you used the undefined value in. Note, however, that perl optimizes
37 > your
38 > program and the operation displayed in the warning may not
39 > necessarily
40 > appear literally in your program. For example, "that $foo" is
41 > usually optimized into "that " . $foo, and the warning will refer to
42 > the concatenation (.) operator, even though there is no . in your
43 > program.
44 >
45 > mkdir /usr/local/portage/perl-gcpan
46 > Uncaught exception from user code:
47 > mkdir /usr/local/portage/perl-gcpan: Permission non accordée
48 > at ./g-cpan line 194
49 > at /usr/lib/perl5/5.8.6/File/Path.pm line 153
50 > File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
51 > called at ./g-cpan line 194
52 >
53 > ##############################
54 >
55 > btw, when i run it the second time :
56 >
57 > ##############################
58 > cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
59 > mkdir /usr/local/portage/perl-gcpan
60 > Uncaught exception from user code:
61 > mkdir /usr/local/portage/perl-gcpan: Permission non accordée
62 > at ./g-cpan line 194
63 > at /usr/lib/perl5/5.8.6/File/Path.pm line 153
64 > File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
65 > called at ./g-cpan line 194
66 > #############################
67 >
68 > typical permission problem ;p
69 > however there's also this unitialised thing on the first run.. ;)
70 >
71 > just reporting, can't fix tonight ;p
72 >
73 > --
74 > cab
75
76 --
77 -----o()o---------------------------------------------
78 Michael Cummings | #gentoo-dev, #gentoo-perl
79 Gentoo Perl Dev | on irc.freenode.net
80 -----o()o---------------------------------------------
81
82 --
83 gentoo-perl@g.o mailing list

Replies

Subject Author
Re: [gentoo-perl] [g-cpan] last call for bugs Michael Cummings <mcummings@g.o>