From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#27282: 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-ID: <20170607223730.GA4844@jasmine> References: <87k24ryigh.fsf@fastmail.com> <20170604163721.GC14880@jasmine> <87inkbppmb.fsf@fastmail.com> <20170604191939.GB2840@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIjaY-0006Qf-Ub for bug-guix@gnu.org; Wed, 07 Jun 2017 18:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIjaU-0004qg-MC for bug-guix@gnu.org; Wed, 07 Jun 2017 18:38:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59285) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIjaU-0004qZ-Hk for bug-guix@gnu.org; Wed, 07 Jun 2017 18:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIjaU-00056N-CJ for bug-guix@gnu.org; Wed, 07 Jun 2017 18:38:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIjaC-0006FP-Rw for bug-guix@gnu.org; Wed, 07 Jun 2017 18:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIja8-0004eJ-V6 for bug-guix@gnu.org; Wed, 07 Jun 2017 18:37:44 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33101) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dIja8-0004dz-EJ for bug-guix@gnu.org; Wed, 07 Jun 2017 18:37:40 -0400 Received: from localhost (c-71-230-122-237.hsd1.pa.comcast.net [71.230.122.237]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B2017E815 for ; Wed, 7 Jun 2017 18:37:38 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20170604191939.GB2840@jasmine> 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: 27282@debbugs.gnu.org --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 04, 2017 at 03:19:39PM -0400, Leo Famulari wrote: > > >> Leo Famulari writes: > > >>=20 > > >> > * gnu/packages/perl.scm (perl): Update to 5.26.0. > > >> > * gnu/packages/patches/perl-no-sys-dirs.patch: Update patch contex= t for > > >> > 'hints/linux.sh'. >=20 > 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=3D1" 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. --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlk4gCoACgkQJkb6MLrK fwgMGg/+MqCLcV8SvdMYl1fzPgesqM+6ziapugj3r+qfDqayk4n0UDYRBQszMVXZ C4dwY+oEv5lrkIRoA6wh21y3q0BwDymTBMYXJG9VjGzeTvChUqD072hc1P9j7QKN xzcVmTG/+gTwIOPNIx4pZA6zgkJc9JRSd98yWyOhauSag+5Fp1qHldloJWNjRWxc jWUNd20MqfXtsLHgcGrY6eaZ6peMcot22vs9wPCfiuhHFFlUaqMZNobrKAdk0P3j XKfCG47ALiSm9eQyxokc2pCeums4BgFEyUl//LybAuB7h3WiNQTkrCuqc8bNYoQk OYMg5hZs124p0DjV6EYWzSQIG+C8QfeZxYvdwmvVJbRcZOKp+cE3C8sYRwZZvxaB cms7w9yYLz0G7eDCeCVMeE6vAwux7PXTwCfZcorFLyut6jrkeGiwOAfSnwuVr/un Ppp3KgR5y4aC0pmnSdowfXfx0oRicxW3mP4iMIQCEOEu/ZixUQFkrVpyfum6NCOv AHCw8P6qy/3h70xwQpKQI/Q45YE/7minfnrJH9LuL9Ie3Ld3bf+oH9f5wKrRnBHt pBjp4XTGd5x8jhrKWp344upRGgPGIdIzhkIoLdSVkJPT5rVAkGjh2Uy26KzK07D9 bKhpml9nt9UmbnN0Ln0Cx4cizjwteTfGdDHRd/og5MD4uSDnNeI= =7yVm -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--