From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#27282: Perl 5.26.0 "dotless @INC" Date: Wed, 7 Jun 2017 20:25:18 -0400 Message-ID: <20170608002518.GA4353@jasmine> References: <87k24ryigh.fsf@fastmail.com> <20170604163721.GC14880@jasmine> <87inkbppmb.fsf@fastmail.com> <20170604191939.GB2840@jasmine> <20170607223730.GA4844@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIlH4-0005AU-UA for bug-guix@gnu.org; Wed, 07 Jun 2017 20:26:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIlH1-0000Ef-Lb for bug-guix@gnu.org; Wed, 07 Jun 2017 20:26:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIlGz-0000ET-Uv for bug-guix@gnu.org; Wed, 07 Jun 2017 20:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIlGz-0007dF-MK for bug-guix@gnu.org; Wed, 07 Jun 2017 20:26:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170607223730.GA4844@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 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 07, 2017 at 06:37:30PM -0400, Leo Famulari wrote: > 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. I'm testing this patch locally: diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm index acf052937..09e9bb92a 100644 --- a/gnu/packages/swig.scm +++ b/gnu/packages/swig.scm @@ -41,6 +41,14 @@ (base32 "0k7ljh07rla6223lhvljgg881b2qr7hmrfgic9a0j1pckpislf99")))) (build-system gnu-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'set-env + ;; Required since Perl 5.26.0's removal of the current + ;; working directory from @INC. + ;; TODO Try removing this for later versions of SWIG. + (lambda _ (setenv "PERL_USE_UNSAFE_INC" "1") #t))))) (native-inputs `(("boost" ,boost) ("pcre" ,pcre "bin"))) ;for 'pcre-config' (inputs `(;; Provide these to run the corresponding tests. --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlk4mWoACgkQJkb6MLrK fwjP7Q/+IPKu/wkQpR08BkVvAXcTy7GXBO7pZyS8dJnO2rzksAk3Zs8FImn3vEuJ 3wkYbO8o0uJ+BuDY2P08LGUDtKEHQSkgfcuK7wsByIRnFSQbN8DSqVF34R5kQgrF RMnFMKlAmbxGbn7Lnxd5+ts/3PvVNZvLgXf5W2v+/TJudQdwAh8aTiwh/3z9GG1y GwEWDjLXh3eofjw2X5jxuxYWTVVamww5jDpEk6bO7Wuc7sRhn7oBfTitRpdtXe4a 1yl6FnsfFcTbDvMZnrH7F0sC1w//m6wkvQDiXMprJkW0Tv5zBBni+bALZC1J4ohD To4S69Ju8yKUmsBZ1TPeVpw2btcx1jp8susvbpuVKiZ17Bj1GERX+m/hHaKQOs+w 6XCGGbvyALy8Br9g+P8JOiQ8evUyykkSdYwvTf7G86W+6Q02XWiH9GVLO096bQDR bG0I2O7yBsoAvgDmzp1XswLbxCutj9DUMmlq8Qi65Gjc+gbgDGG2NUlamwf07tXP UrFZpgjpEclAAFStgG778QSJ+TpxjYFkJmrAH4axNVMqy1TDviXiPM3MacJ2SD98 nbxNFwXZHZcCq2uzhXe4Rm0/oKhyHq1rLnRkHHjplblJUi1E81EGQWz0zuwqyBSA ztkQ/nc5BCg5+daPZzYQDn/1b8akokCcxoDvpgL6HsPnV6oudlE= =mdFr -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--