[perl #130883] problem with RESOURCES and PERL6LIB env variable

2018-03-14 Thread Jan-Olof Hendig via RT
On Mon, 17 Jul 2017 10:50:55 -0700, ug...@cpan.org wrote:
> The %?RESOURCES bug was fixed in: https://github.com/rakudo/rakudo/pull/1106

ugexe, does that mean that the issue can be marked as resolved?


[perl #130883] problem with RESOURCES and PERL6LIB env variable

2017-07-17 Thread Nick Logan via RT
The %?RESOURCES bug was fixed in: https://github.com/rakudo/rakudo/pull/1106


[perl #130883] problem with RESOURCES and PERL6LIB env variable

2017-07-15 Thread Jan-Olof Hendig via RT
On Sat, 15 Jul 2017 09:44:28 -0700, jan-olof.hen...@bredband.net wrote:
> On Mon, 27 Feb 2017 06:55:46 -0800, mt1...@gmail.com wrote:
> > Hi,
> >
> > In  Rakudo version 2017.02-56-g9f10434 built on MoarVM version
> > 2017.02-7-g3d85900
> > implementing Perl 6.c I observed the following;
> >
> > Assume that a distribution is at /x/y (on Unix) then;
> >
> > 1) when no environment variable PERL6LIB is set, the modules from the
> > /x/y/lib directory can not be found. This is normal.
> >
> > 2) when PERL6LIB is set to the empty string, suddenly it is able to
> > find
> > the modules. This is not ok. this is the same when a dot is in the
> > string ('.'), to find modules in the current directory. What also
> > happens is that the path to the resource is calculated wrong. Assume
> > /x/y/resources/a.b, %?RESOURCES returns /x/resources/a.b missing
> > the /y. When the bowels of the %?RESOURCES are displayed, the repo
> > key
> > misses the '/lib' at the end of its repository path.
> >
> > 3) when 'lib' is used in the PERL6LIB variable all is fine.
> >
> >
> > I was in the habit of using the string '.,lib' until perl6 choose the
> > dot over the 'lib' part and got faulty RESOURCES results in one of my
> > repositories.
> >
> > Thanks,
> > Marcel
> 
> A test for the PERL6LIB problem was added with
> https://github.com/perl6/roast/commit/10cf641e28dd7ba970082b36ece2ed2519fcf3a9

Also, the test was added because the PERL6LIB problem had been resolved 
(https://github.com/rakudo/rakudo/commit/075ddefa9b9366c0610632802eaf3c6fc9a6029f).


[perl #130883] problem with RESOURCES and PERL6LIB env variable

2017-07-15 Thread Jan-Olof Hendig via RT
On Mon, 27 Feb 2017 06:55:46 -0800, mt1...@gmail.com wrote:
> Hi,
> 
> In  Rakudo version 2017.02-56-g9f10434 built on MoarVM version 
> 2017.02-7-g3d85900
> implementing Perl 6.c I observed the following;
> 
> Assume that a distribution is at /x/y (on Unix) then;
> 
> 1) when no environment variable PERL6LIB is set, the modules from the 
> /x/y/lib directory can not be found. This is normal.
> 
> 2) when PERL6LIB is set to the empty string, suddenly it is able to find 
> the modules. This is not ok. this is the same when a dot is in the 
> string ('.'), to find modules in the current directory. What also 
> happens is that the path to the resource is calculated wrong. Assume 
> /x/y/resources/a.b, %?RESOURCES returns /x/resources/a.b missing 
> the /y. When the bowels of the %?RESOURCES are displayed, the repo key 
> misses the '/lib' at the end of its repository path.
> 
> 3) when 'lib' is used in the PERL6LIB variable all is fine.
> 
> 
> I was in the habit of using the string '.,lib' until perl6 choose the 
> dot over the 'lib' part and got faulty RESOURCES results in one of my 
> repositories.
> 
> Thanks,
> Marcel

A test for the PERL6LIB problem was added with 
https://github.com/perl6/roast/commit/10cf641e28dd7ba970082b36ece2ed2519fcf3a9


[perl #130883] problem with RESOURCES and PERL6LIB env variable

2017-02-27 Thread via RT
# New Ticket Created by  mt1957 
# Please include the string:  [perl #130883]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=130883 >


Hi,

In  Rakudo version 2017.02-56-g9f10434 built on MoarVM version 
2017.02-7-g3d85900
implementing Perl 6.c I observed the following;

Assume that a distribution is at /x/y (on Unix) then;

1) when no environment variable PERL6LIB is set, the modules from the 
/x/y/lib directory can not be found. This is normal.

2) when PERL6LIB is set to the empty string, suddenly it is able to find 
the modules. This is not ok. this is the same when a dot is in the 
string ('.'), to find modules in the current directory. What also 
happens is that the path to the resource is calculated wrong. Assume 
/x/y/resources/a.b, %?RESOURCES returns /x/resources/a.b missing 
the /y. When the bowels of the %?RESOURCES are displayed, the repo key 
misses the '/lib' at the end of its repository path.

3) when 'lib' is used in the PERL6LIB variable all is fine.


I was in the habit of using the string '.,lib' until perl6 choose the 
dot over the 'lib' part and got faulty RESOURCES results in one of my 
repositories.

Thanks,
Marcel