You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Slaven Rezic (JIRA)" <ji...@apache.org> on 2017/11/22 22:53:00 UTC

[lucy-issues] [jira] [Created] (CLOWNFISH-119) Tests fail if "." is not in @INC

Slaven Rezic created CLOWNFISH-119:
--------------------------------------

             Summary: Tests fail if "." is not in @INC
                 Key: CLOWNFISH-119
                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-119
             Project: Apache Lucy-Clownfish
          Issue Type: Bug
          Components: Perl
    Affects Versions: 0.6.2
         Environment: FreeBSD 12.0-current, perl 5.26.1
            Reporter: Slaven Rezic
            Priority: Minor


In newer perls "." is not anymore part of {{@INC}}, which is causing test failures:
{noformat}
Output from './Build':

Can't locate buildlib/Clownfish/Build/Binding.pm in @INC (you may need to install the buildlib::Clownfish::Build::Binding module) (@INC contains: buildlib buildlib /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1) at /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd/Clownfish/CFC/Perl/Build.pm line 233.
Building Clownfish
Parsing Clownfish files...
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Re: [lucy-dev] (CLOWNFISH-119) Tests fail if "." is not in @INC

Posted by Nick Wellnhofer <we...@aevum.de>.
On 24/11/2017 15:48, Nick Wellnhofer wrote:
> The whole build breaks 
> with newer Perls that exclude "." from @INC.
> 
> I'm still puzzled why the new Travis setup that also tests with blead Perl 
> didn't catch this.

If you're curious, here's the explanation:

     https://perlmaven.com/removal-of-the-current-directory-from-inc-and-travis

Nick


[lucy-dev] (CLOWNFISH-119) Tests fail if "." is not in @INC

Posted by Nick Wellnhofer <we...@aevum.de>.
Lucifers,

Unfortunately, another serious issue popped up just after the 0.6.2 release 
(see below). It's not only the tests that are affected. The whole build breaks 
with newer Perls that exclude "." from @INC.

I'm still puzzled why the new Travis setup that also tests with blead Perl 
didn't catch this.

My current plan is to prepare another release in a few weeks.

Nick


On 22/11/2017 23:53, Slaven Rezic (JIRA) wrote:
> Slaven Rezic created CLOWNFISH-119:
> --------------------------------------
> 
>               Summary: Tests fail if "." is not in @INC
>                   Key: CLOWNFISH-119
>                   URL: https://issues.apache.org/jira/browse/CLOWNFISH-119
>               Project: Apache Lucy-Clownfish
>            Issue Type: Bug
>            Components: Perl
>      Affects Versions: 0.6.2
>           Environment: FreeBSD 12.0-current, perl 5.26.1
>              Reporter: Slaven Rezic
>              Priority: Minor
> 
> 
> In newer perls "." is not anymore part of {{@INC}}, which is causing test failures:
> {noformat}
> Output from './Build':
> 
> Can't locate buildlib/Clownfish/Build/Binding.pm in @INC (you may need to install the buildlib::Clownfish::Build::Binding module) (@INC contains: buildlib buildlib /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1) at /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd/Clownfish/CFC/Perl/Build.pm line 233.
> Building Clownfish
> Parsing Clownfish files...
> {noformat}
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.4.14#64029)
> 


-- 
aevum GmbH
Nadistr. 12
80809 München
Germany

Tel: +49 89 35747589
http://aevum.de/