From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4GBH1an000766 for ; Mon, 16 May 2005 11:17:01 GMT Received: from mails.dtic.mil ([131.84.1.19]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DXdas-000728-M8 for gentoo-perl@lists.gentoo.org; Mon, 16 May 2005 11:17:06 +0000 Received: from sys947.dtic.mil (sys947.dtic.mil [131.84.90.47]) by mails.dtic.mil (8.11.7p1+Sun/Oct04cac) with ESMTP id j4GBH7702792 for ; Mon, 16 May 2005 07:17:07 -0400 (EDT) From: Michael Cummings To: gentoo-perl@lists.gentoo.org Subject: Re: [gentoo-perl] [g-cpan] last call for bugs Date: Mon, 16 May 2005 07:17:05 -0400 User-Agent: KMail/1.8 References: <200505151739.43453.mcummings@gentoo.org> <1116194619.26990.7.camel@localhost,> <200505151823.38966.mcummings@gentoo.org> In-Reply-To: <200505151823.38966.mcummings@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-perl@gentoo.org Reply-To: gentoo-perl@gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1806142.r7SHRutL9M"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200505160717.06144.mcummings@gentoo.org> X-Archives-Salt: 0edcca54-17ba-44ae-a1ea-cbf6bfedc306 X-Archives-Hash: 3e7f9cc365a590cac7354319c802796b --nextPart1806142.r7SHRutL9M Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline OK, the "fix" will be posted soon. I didn't want to add another module to t= he=20 overhead (File::Temp would be sooooooo nice for what I want), but basically= I=20 added a loop to go through all of the overlays and confirm you can write to= =20 at least one of them - and the first one you can write to is the one you us= e=20 in the session. And if you can't write to any of them, we exit with an erro= r,=20 because there's not much point in being able to use overlays if you can't=20 write to a single one. On Sunday 15 May 2005 06:23 pm, Michael Cummings wrote: > Glad I asked :) > > I've a few ideas, should have them posted by mid-morning (your time ;) ) > > On Sunday 15 May 2005 18:03, Antoine Raillon wrote: > > Le dimanche 15 mai 2005 =E0 17:39 -0400, Michael Cummings a =E9crit : > > > 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=3D/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=E9e > > 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=E9e > > 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 > > -- > -----o()o--------------------------------------------- > Michael Cummings | #gentoo-dev, #gentoo-perl > Gentoo Perl Dev | on irc.freenode.net > -----o()o--------------------------------------------- =2D-=20 =2D----o()o--------------------------------------------- Michael Cummings | #gentoo-dev, #gentoo-perl Gentoo Perl Dev | on irc.freenode.net=20 =2D----o()o--------------------------------------------- --nextPart1806142.r7SHRutL9M Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD4DBQBCiIEyq1ztTp5/Ti4RAsyRAJ9en9lw8mqMUwMtg7XJJL9d5RqStACY7e+Q UPec3kT8Xyq6+dE+ivY0dA== =Tiwh -----END PGP SIGNATURE----- --nextPart1806142.r7SHRutL9M-- -- gentoo-perl@gentoo.org mailing list