GNU bug report logs - #28660
[PATCH] gnu: python-numpy: Give sh store location instead of setting $SHELL.

Previous Next

Package: guix-patches;

Reported by: Thomas Danckaert <post <at> thomasdanckaert.be>

Date: Sun, 1 Oct 2017 12:45:01 UTC

Severity: normal

Tags: patch

Done: Thomas Danckaert <post <at> thomasdanckaert.be>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 28660 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Thomas Danckaert <post <at> thomasdanckaert.be>
Cc: 28660 <at> debbugs.gnu.org
Subject: Re: [bug#28660] [PATCH] gnu: python-numpy: Give sh store location
 instead of setting $SHELL.
Date: Wed, 4 Oct 2017 07:30:48 +0100
[Message part 1 (text/plain, inline)]
On Sun, 01 Oct 2017 14:44:04 +0200 (CEST)
Thomas Danckaert <post <at> thomasdanckaert.be> wrote:

> Hi Guix,
> 
> I slightly botched the last numpy update: setting $SHELL works, but 
> then we have to set $SHELL for every package which uses numpy's 
> distutils.  I don't know how many packages there are, but it includes 
> scipy and python-hdf (and therefore those builds are currently broken 
> on master...).
> 
> The attached patch should fix the issue for all packages, by setting 
> the default shell to the “/bin/sh” of the build environment's bash 
> package (i.e. bash-minimal).

Could bash be specified as an input, and that used instead? This would
mean that the behaviour of the package is more isolated from the
environment.

For example, on non GuixSD systems, /bin/sh could be something other
than bash. But, if the numpy package depends on some bash in the store,
and uses that, then it would be isolated from this.

What do you think?
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.