From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) 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 Message-ID: <87vao6wtmh.fsf@gnu.org> References: <87k24ryigh.fsf@fastmail.com> <20170604163721.GC14880@jasmine> <87inkbppmb.fsf@fastmail.com> <20170604191939.GB2840@jasmine> <20170607223730.GA4844@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIwZm-0000Uz-Gx for bug-guix@gnu.org; Thu, 08 Jun 2017 08:30:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIwZe-000716-WC for bug-guix@gnu.org; Thu, 08 Jun 2017 08:30:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIwZe-00070y-SR for bug-guix@gnu.org; Thu, 08 Jun 2017 08:30:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIwZe-0004sV-L7 for bug-guix@gnu.org; Thu, 08 Jun 2017 08:30:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170607223730.GA4844@jasmine> (Leo Famulari's message of "Wed, 7 Jun 2017 18:37:30 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 27282@debbugs.gnu.org Leo Famulari 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=3D1" > > http://blogs.perl.org/users/sawyer_x/2017/05/perl-5260-is-now-available.h= tml > > 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 =E2=80=9C.=E2=80=9D in @INC, no? Thanks for the heads-up, Ludo=E2=80=99.