GNU bug report logs - #30768
Gettext : test-copy-file-1.sh fail if --with-store-dir=/var/tmp/xxxxx/gnu/store

Previous Next

Package: guix;

Reported by: YOANN P <yoann_mac_donald <at> hotmail.com>

Date: Sun, 11 Mar 2018 17:49:02 UTC

Severity: normal

Tags: wontfix

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: YOANN P <yoann_mac_donald <at> hotmail.com>
Cc: "30768 <at> debbugs.gnu.org" <30768 <at> debbugs.gnu.org>
Subject: Re: bug#30768: Gettext : test-copy-file-1.sh fail if
 --with-store-dir=/var/tmp/xxxxx/gnu/store
Date: Mon, 12 Mar 2018 14:47:25 +0100
Hello Yoann,

YOANN P <yoann_mac_donald <at> hotmail.com> skribis:

> --- a/nix/libstore/build.cc
> +++ b/nix/libstore/build.cc
> @@ -1849,6 +1849,11 @@ void DerivationGoal::startBuilder()
>          createDirs(chrootTmpDir);
>          chmod_(chrootTmpDir, 01777);
>  
> +        /* Create a writable /var/tmp in the chroot. */
> +        Path chrootVarTmpDir = chrootRootDir + "/var/tmp";
> +        createDirs(chrootVarTmpDir);
> +        chmod_(chrootVarTmpDir, 01777);

We won’t apply this patch because in general there’s no reason for build
processes to require /var/tmp (we’ve never encountered that.)

That said, are you sure you want to use
--with-store-dir=/var/tmp/xxxxx/gnu/store?

You probably got a ‘configure’ warning already that certain things may
not work, for instance that the shebang max length may be exceeded.

Also using a store other than /gnu/store means you won’t be able to use
substitutes, nor to compare build results with other machines.

Thanks,
Ludo’.




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

Previous Next


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