Re: should be loaded from blib

[email protected] (Eric Wilhelm)
Newsgroups perl.module.build
Message-ID <[email protected]>
# from Slaven Rezic
# on Monday 15 September 2008 12:50:

>So, more data points. I can reproduce the failure using perl5.8.8 +
>Test::Harness 3.12 with the line below
>
>env
> PERL5LIB=/tmp/foo/1:/tmp/foo/2:/tmp/foo/3:/tmp/foo/4:/tmp/foo/5:/tmp/
>foo/6:.../tmp/foo/86 ./Build
> --test_files t/runthrough.t test
>
>If I remove the last component from PERL5LIB, then everything works
>OK. The number of entries or length of the environment variable seems
>to depend on the default size of @INC, maybe you need to add some more
>directories to reproduce the problem.

I'm not seeing any change from removing the last component, but I can 
make it fail with a big pile of PERL5LIB

That is, when running the subprocess's test, PERL5LIB looks like:

  $DIST/t/_tmp19620/Simple/blib/lib:
  $DIST/t/_tmp19620/Simple/blib/arch:lib:
   -- all of @INC here --:
  $DIST/blib/lib:$DIST/blib/arch

Which basically points to the same deeply entwined issue of environment 
variables and subprocesses which we've known about for far too long.  
Sigh.

Thanks,
Eric
-- 
"Everything should be made as simple as possible, but no simpler."
--Albert Einstein
---------------------------------------------------
    http://scratchcomputing.com
---------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.