GNU bug report logs - #27282
Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.]

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Wed, 7 Jun 2017 22:38:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Subject: bug#27282: closed (Re: bug#27282: Perl 5.26.0 "dotless @INC" [was
 Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.])
Date: Wed, 02 Aug 2017 22:42:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#27282: Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.]

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 27282 <at> debbugs.gnu.org.

-- 
27282: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27282
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 27282-done <at> debbugs.gnu.org
Subject: Re: bug#27282: Perl 5.26.0 "dotless @INC" [was Re: bug#27227:
 [PATCH] gnu: perl: Update to 5.26.0.]
Date: Wed, 2 Aug 2017 18:41:51 -0400
[Message part 3 (text/plain, inline)]
On Thu, Aug 03, 2017 at 12:10:00AM +0200, Ludovic Courtès wrote:
> Heya,
> 
> Leo Famulari <leo <at> famulari.name> skribis:
> 
> > Alright, pushed as 503c8c5882550005a7e9d3058a5f6d22f9c33f63. I'll keep
> > this bug open for a while to document further instances of this problem.
> 
> I think we’re mostly done with this bug, or am I optimistic?

Yes, I think so. We can always re-open if necessary :)
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl:
 Update to 5.26.0.]
Date: Wed, 7 Jun 2017 18:37:30 -0400
[Message part 6 (text/plain, inline)]
On Sun, Jun 04, 2017 at 03:19:39PM -0400, Leo Famulari wrote:
> > >> Leo Famulari <leo <at> famulari.name> writes:
> > >> 
> > >> > * gnu/packages/perl.scm (perl): Update to 5.26.0.
> > >> > * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch context for
> > >> > 'hints/linux.sh'.
> 
> I merged master into core-updates and pushed this as
> f65805485dac3f8c4586648e3f7e901202095a19.

Building locally, I found that SWIG fails to build with this new Perl
release due to the removal of the current directory from @INC. This
change is mentioned in the Perl release notes:

"We removed the current directory from @INC

We consider this a security change, and although it might cause
discomfort to some users, we had to do it. Both Perl 5 Porters and the
Toolchain Gang put effort into easing the transition to a dot-less
@INC.

If you want to load a module from the current directory, you can still
do this in one the following ways:

[...]

# Use the environment variable
PERL_USE_UNSAFE_INC=1"

http://blogs.perl.org/users/sawyer_x/2017/05/perl-5260-is-now-available.html

It doesn't look like this has been addressed by the SWIG maintainers
yet.

We should set this PERL_USE_UNSAFE_INC variable in the SWIG package
definition, right? Probably we will need to set it in several other
packages as well.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.