* bug#38241: python-hy build failure
@ 2019-11-17 0:26 Jesse Gibbons
2019-11-17 1:44 ` Jesse Gibbons
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Gibbons @ 2019-11-17 0:26 UTC (permalink / raw)
To: 38241
guix build python-hy fails with the message
error: [Errno 13] Permission denied: '/homeless-shelter'
It looks like the install step tries to access $HOME and fails. I am working
on a patch to fix this.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#38241: python-hy build failure
2019-11-17 0:26 bug#38241: python-hy build failure Jesse Gibbons
@ 2019-11-17 1:44 ` Jesse Gibbons
2019-11-17 21:35 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Gibbons @ 2019-11-17 1:44 UTC (permalink / raw)
To: 38241
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
On Sat, 2019-11-16 at 17:26 -0700, Jesse Gibbons wrote:
> guix build python-hy fails with the message
> error: [Errno 13] Permission denied: '/homeless-shelter'
>
> It looks like the install step tries to access $HOME and fails. I am
> working
> on a patch to fix this.
>
>
>
>
The patch is attached. I noticed it lets it build, but python-hy is still
broken. Python2-hy is not broken though.
[-- Attachment #2: 0001-gnu-python-hy-Set-HOME-to-tmp-before-install.patch --]
[-- Type: text/x-patch, Size: 940 bytes --]
From 15580fd77397d55ddc459c6ada58201ee61e8ec8 Mon Sep 17 00:00:00 2001
From: Jesse Gibbons <jgibbons2357+guix@gmail.com>
Date: Sat, 16 Nov 2019 18:33:05 -0700
Subject: [PATCH] gnu: python-hy: Set HOME to /tmp before install
This fixes bug#38241
* gnu/packages/python-xyz.scm (python-hy)[arguments]: Add custom
'set-HOME phase before the 'install phase.
---
gnu/packages/python-xyz.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d2786e4826..5b8b33b87f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8745,6 +8745,9 @@ with a new public API, and RPython support.")
(arguments
'(#:phases
(modify-phases %standard-phases
+ (add-before 'install 'set-HOME
+ (lambda _
+ (setenv "HOME" "/tmp")))
(replace 'check
(lambda _
;; Tests require write access to HOME.
--
2.24.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#38241: python-hy build failure
2019-11-17 1:44 ` Jesse Gibbons
@ 2019-11-17 21:35 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2019-11-17 21:35 UTC (permalink / raw)
To: Jesse Gibbons; +Cc: 38241-done
Hi,
Jesse Gibbons <jgibbons2357@gmail.com> skribis:
> From 15580fd77397d55ddc459c6ada58201ee61e8ec8 Mon Sep 17 00:00:00 2001
> From: Jesse Gibbons <jgibbons2357+guix@gmail.com>
> Date: Sat, 16 Nov 2019 18:33:05 -0700
> Subject: [PATCH] gnu: python-hy: Set HOME to /tmp before install
>
> This fixes bug#38241
>
> * gnu/packages/python-xyz.scm (python-hy)[arguments]: Add custom
> 'set-HOME phase before the 'install phase.
Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-17 21:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-17 0:26 bug#38241: python-hy build failure Jesse Gibbons
2019-11-17 1:44 ` Jesse Gibbons
2019-11-17 21:35 ` Ludovic Courtès
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).