Gentoo Archives: gentoo-perl

From: antoine.raillon@××××.com
To: gentoo-perl@l.g.o
Subject: Réf. : Re: [gentoo-perl] [g-cpan] last call for bugs
Date: Mon, 16 May 2005 11:29:26
Message-Id: OF06D01E67.C0F9A9D8-ONC1257003.003EEC6C-C1257003.003F1686@mpsa.com
In Reply to: Re: [gentoo-perl] [g-cpan] last call for bugs by Michael Cummings
1 Nice ;)
2
3 tonight i'll break my system extensively testing everything.. what about
4 writing a small script to check all features ? (or at least a list of
5 tests to complete ;p)
6
7
8
9
10 Michael Cummings
11 <mcummings@gento
12 o.org> Pour
13 gentoo-perl@l.g.o
14 16/05/2005 13:17 cc
15
16 Objet
17 Veuillez Re: [gentoo-perl] [g-cpan] last
18 répondre à call for bugs
19 gentoo-perl@gent
20 oo.org
21
22
23
24
25
26
27
28
29 OK, the "fix" will be posted soon. I didn't want to add another module to
30 the
31 overhead (File::Temp would be sooooooo nice for what I want), but basically
32 I
33 added a loop to go through all of the overlays and confirm you can write to
34
35 at least one of them - and the first one you can write to is the one you
36 use
37 in the session. And if you can't write to any of them, we exit with an
38 error,
39 because there's not much point in being able to use overlays if you can't
40 write to a single one.
41
42 On Sunday 15 May 2005 06:23 pm, Michael Cummings wrote:
43 > Glad I asked :)
44 >
45 > I've a few ideas, should have them posted by mid-morning (your time ;) )
46 >
47 > On Sunday 15 May 2005 18:03, Antoine Raillon wrote:
48 > > Le dimanche 15 mai 2005 à 17:39 -0400, Michael Cummings a écrit :
49 > > > Mostly :)
50 > > >
51 > > > OK, anyone have any bugs (functional issues) with the current state
52 of
53 > > > g-cpan?
54 > >
55 > > Erhm yes, juste found a big one (but should be easy to correct)
56 > >
57 > > Context :
58 > > - running as user (member of portage group)
59 > > - no ~/.cpan
60 > > - PORTDIR_OVERLAY=/usr/local/portage (drwxr-xr-x 2 root root)
61 > >
62 > > when I run a g-cpan -u, i got :
63 > >
64 > > ####################################################"
65 > > cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
66 > > * No CPAN Config found, auto-generating a basic one
67 > > in /home/cab/.cpan/CPAN
68 > > mkdir /home/cab/.cpan
69 > > mkdir /home/cab/.cpan/CPAN
70 > > Use of uninitialized value in -d at ./g-cpan line 692 (#1)
71 > > (W uninitialized) An undefined value was used as if it were already
72 > > defined. It was interpreted as a "" or a 0, but maybe it was a
73 > > mistake.
74 > > To suppress this warning assign a defined value to your variables.
75 > >
76 > > To help you figure out what was undefined, perl tells you what
77 > > operation
78 > > you used the undefined value in. Note, however, that perl
79 optimizes
80 > > your
81 > > program and the operation displayed in the warning may not
82 > > necessarily
83 > > appear literally in your program. For example, "that $foo" is
84 > > usually optimized into "that " . $foo, and the warning will refer
85 to
86 > > the concatenation (.) operator, even though there is no . in your
87 > > program.
88 > >
89 > > mkdir /usr/local/portage/perl-gcpan
90 > > Uncaught exception from user code:
91 > > mkdir /usr/local/portage/perl-gcpan: Permission non accordée
92 > > at ./g-cpan line 194
93 > > at /usr/lib/perl5/5.8.6/File/Path.pm line 153
94 > > File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
95 > > called at ./g-cpan line 194
96 > >
97 > > ##############################
98 > >
99 > > btw, when i run it the second time :
100 > >
101 > > ##############################
102 > > cab@hoki ~/gentoo/gentoo-perl/trunk/bin $ ./g-cpan -u
103 > > mkdir /usr/local/portage/perl-gcpan
104 > > Uncaught exception from user code:
105 > > mkdir /usr/local/portage/perl-gcpan: Permission non accordée
106 > > at ./g-cpan line 194
107 > > at /usr/lib/perl5/5.8.6/File/Path.pm line 153
108 > > File::Path::mkpath('/usr/local/portage/perl-gcpan', 1, 493)
109 > > called at ./g-cpan line 194
110 > > #############################
111 > >
112 > > typical permission problem ;p
113 > > however there's also this unitialised thing on the first run.. ;)
114 > >
115 > > just reporting, can't fix tonight ;p
116 > >
117 > > --
118 > > cab
119 >
120 > --
121 > -----o()o---------------------------------------------
122 > Michael Cummings | #gentoo-dev, #gentoo-perl
123 > Gentoo Perl Dev | on irc.freenode.net
124 > -----o()o---------------------------------------------
125
126 --
127
128 -----o()o---------------------------------------------
129 Michael Cummings | #gentoo-dev, #gentoo-perl
130 Gentoo Perl Dev | on irc.freenode.net
131 -----o()o---------------------------------------------
132 [rattachement "attqj1ha.dat" supprimé par ANTOINE RAILLON -
133 E233469/users/PSA]
134
135
136 --
137 gentoo-perl@g.o mailing list