From: Leo Famulari <leo@famulari.name>
To: 27282@debbugs.gnu.org
Subject: bug#27282: Perl 5.26.0 "dotless @INC"
Date: Wed, 7 Jun 2017 20:25:18 -0400 [thread overview]
Message-ID: <20170608002518.GA4353@jasmine> (raw)
In-Reply-To: <20170607223730.GA4844@jasmine>
[-- Attachment #1: Type: text/plain, Size: 1085 bytes --]
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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-06-08 0:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <dc032780692ec6297409325f3b8534d7add2cea2.1496565624.git.leo@famulari.name>
[not found] ` <87k24ryigh.fsf@fastmail.com>
[not found] ` <20170604163721.GC14880@jasmine>
[not found] ` <87inkbppmb.fsf@fastmail.com>
[not found] ` <20170604191939.GB2840@jasmine>
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 ` Leo Famulari [this message]
2017-06-08 12:28 ` Ludovic Courtès
2017-06-08 15:29 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170608002518.GA4353@jasmine \
--to=leo@famulari.name \
--cc=27282@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).