From: ludo@gnu.org (Ludovic Courtès)
To: Leo Famulari <leo@famulari.name>
Cc: 27282@debbugs.gnu.org
Subject: bug#27282: Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.]
Date: Thu, 08 Jun 2017 14:28:54 +0200 [thread overview]
Message-ID: <87vao6wtmh.fsf@gnu.org> (raw)
In-Reply-To: <20170607223730.GA4844@jasmine> (Leo Famulari's message of "Wed, 7 Jun 2017 18:37:30 -0400")
Leo Famulari <leo@famulari.name> skribis:
> 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.
We can do that, but probably there will be (or there is already) a patch
for SWIG to not rely on having “.” in @INC, no?
Thanks for the heads-up,
Ludo’.
next prev parent reply other threads:[~2017-06-08 12:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-04 8:40 bug#27227: [PATCH] gnu: perl: Update to 5.26.0 Leo Famulari
2017-06-04 13:45 ` Marius Bakke
2017-06-04 16:37 ` Leo Famulari
2017-06-04 18:35 ` Marius Bakke
2017-06-04 19:19 ` Leo Famulari
2017-06-07 22:37 ` bug#27282: Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.] Leo Famulari
2017-06-08 0:25 ` bug#27282: Perl 5.26.0 "dotless @INC" Leo Famulari
2017-06-08 12:28 ` Ludovic Courtès [this message]
2017-06-08 15:29 ` bug#27282: Perl 5.26.0 "dotless @INC" [was Re: bug#27227: [PATCH] gnu: perl: Update to 5.26.0.] Leo Famulari
2017-06-12 2:48 ` Leo Famulari
2017-06-13 19:47 ` Leo Famulari
2017-06-14 7:38 ` Ludovic Courtès
2017-06-14 14:30 ` Leo Famulari
2017-08-02 22:10 ` Ludovic Courtès
2017-08-02 22:41 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vao6wtmh.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=27282@debbugs.gnu.org \
--cc=leo@famulari.name \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.