* [gentoo-perl] [g-cpan] last call for bugs
@ 2005-05-15 21:39 Michael Cummings
2005-05-15 22:03 ` Antoine Raillon
0 siblings, 1 reply; 5+ messages in thread
From: Michael Cummings @ 2005-05-15 21:39 UTC (permalink / raw
To: gentoo-perl
Mostly :)
OK, anyone have any bugs (functional issues) with the current state of g-cpan?
There's of course always room for improvement, but are there any functional
issues remaining? I'd like to wrap up the new man page in the next day or so
and package it for portage. We can always upgrade/add to it later, this isn't
supposed to stop any thinking/tinkering, I'm just anxious to split the tree.
Thanks,
-Mike
--
-----o()o---------------------------------------------
Michael Cummings | #gentoo-dev, #gentoo-perl
Gentoo Perl Dev | on irc.freenode.net
-----o()o---------------------------------------------
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-perl] [g-cpan] last call for bugs
2005-05-15 21:39 [gentoo-perl] [g-cpan] last call for bugs Michael Cummings
@ 2005-05-15 22:03 ` Antoine Raillon
2005-05-15 22:23 ` Michael Cummings
0 siblings, 1 reply; 5+ messages in thread
From: Antoine Raillon @ 2005-05-15 22:03 UTC (permalink / raw
To: gentoo-perl
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@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-perl] [g-cpan] last call for bugs
2005-05-15 22:03 ` Antoine Raillon
@ 2005-05-15 22:23 ` Michael Cummings
2005-05-16 11:17 ` Michael Cummings
0 siblings, 1 reply; 5+ messages in thread
From: Michael Cummings @ 2005-05-15 22:23 UTC (permalink / raw
To: gentoo-perl
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 à 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
--
-----o()o---------------------------------------------
Michael Cummings | #gentoo-dev, #gentoo-perl
Gentoo Perl Dev | on irc.freenode.net
-----o()o---------------------------------------------
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-perl] [g-cpan] last call for bugs
2005-05-15 22:23 ` Michael Cummings
@ 2005-05-16 11:17 ` Michael Cummings
2005-05-16 11:29 ` Réf. : " antoine.raillon
0 siblings, 1 reply; 5+ messages in thread
From: Michael Cummings @ 2005-05-16 11:17 UTC (permalink / raw
To: gentoo-perl
[-- Attachment #1: Type: text/plain, Size: 3781 bytes --]
OK, the "fix" will be posted soon. I didn't want to add another module to the
overhead (File::Temp would be sooooooo nice for what I want), but basically I
added a loop to go through all of the overlays and confirm you can write to
at least one of them - and the first one you can write to is the one you use
in the session. And if you can't write to any of them, we exit with an error,
because there's not much point in being able to use overlays if you can't
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 à 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
>
> --
> -----o()o---------------------------------------------
> Michael Cummings | #gentoo-dev, #gentoo-perl
> Gentoo Perl Dev | on irc.freenode.net
> -----o()o---------------------------------------------
--
-----o()o---------------------------------------------
Michael Cummings | #gentoo-dev, #gentoo-perl
Gentoo Perl Dev | on irc.freenode.net
-----o()o---------------------------------------------
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Réf. : Re: [gentoo-perl] [g-cpan] last call for bugs
2005-05-16 11:17 ` Michael Cummings
@ 2005-05-16 11:29 ` antoine.raillon
0 siblings, 0 replies; 5+ messages in thread
From: antoine.raillon @ 2005-05-16 11:29 UTC (permalink / raw
To: gentoo-perl
Nice ;)
tonight i'll break my system extensively testing everything.. what about
writing a small script to check all features ? (or at least a list of
tests to complete ;p)
Michael Cummings
<mcummings@gento
o.org> Pour
gentoo-perl@lists.gentoo.org
16/05/2005 13:17 cc
Objet
Veuillez Re: [gentoo-perl] [g-cpan] last
répondre à call for bugs
gentoo-perl@gent
oo.org
OK, the "fix" will be posted soon. I didn't want to add another module to
the
overhead (File::Temp would be sooooooo nice for what I want), but basically
I
added a loop to go through all of the overlays and confirm you can write to
at least one of them - and the first one you can write to is the one you
use
in the session. And if you can't write to any of them, we exit with an
error,
because there's not much point in being able to use overlays if you can't
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 à 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
>
> --
> -----o()o---------------------------------------------
> Michael Cummings | #gentoo-dev, #gentoo-perl
> Gentoo Perl Dev | on irc.freenode.net
> -----o()o---------------------------------------------
--
-----o()o---------------------------------------------
Michael Cummings | #gentoo-dev, #gentoo-perl
Gentoo Perl Dev | on irc.freenode.net
-----o()o---------------------------------------------
[rattachement "attqj1ha.dat" supprimé par ANTOINE RAILLON -
E233469/users/PSA]
--
gentoo-perl@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-05-16 11:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-15 21:39 [gentoo-perl] [g-cpan] last call for bugs Michael Cummings
2005-05-15 22:03 ` Antoine Raillon
2005-05-15 22:23 ` Michael Cummings
2005-05-16 11:17 ` Michael Cummings
2005-05-16 11:29 ` Réf. : " antoine.raillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox