From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: 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 Message-ID: <87y3ixpfrm.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evNo6-0000gQ-Im for bug-guix@gnu.org; Mon, 12 Mar 2018 09:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evNo2-0001gp-JO for bug-guix@gnu.org; Mon, 12 Mar 2018 09:48:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evNo2-0001gF-FL for bug-guix@gnu.org; Mon, 12 Mar 2018 09:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evNo2-0006jf-5L for bug-guix@gnu.org; Mon, 12 Mar 2018 09:48:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (YOANN P.'s message of "Sun, 11 Mar 2018 20:01:12 +0000") 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: YOANN P Cc: "30768@debbugs.gnu.org" <30768@debbugs.gnu.org> Hello Yoann, YOANN P skribis: > --- a/nix/libstore/build.cc > +++ b/nix/libstore/build.cc > @@ -1849,6 +1849,11 @@ void DerivationGoal::startBuilder() > createDirs(chrootTmpDir); > chmod_(chrootTmpDir, 01777); >=20=20 > + /* Create a writable /var/tmp in the chroot. */ > + Path chrootVarTmpDir =3D chrootRootDir + "/var/tmp"; > + createDirs(chrootVarTmpDir); > + chmod_(chrootVarTmpDir, 01777); We won=E2=80=99t apply this patch because in general there=E2=80=99s no rea= son for build processes to require /var/tmp (we=E2=80=99ve never encountered that.) That said, are you sure you want to use --with-store-dir=3D/var/tmp/xxxxx/gnu/store? You probably got a =E2=80=98configure=E2=80=99 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=E2=80=99t be able to= use substitutes, nor to compare build results with other machines. Thanks, Ludo=E2=80=99.