From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: statedir locations Date: Tue, 28 Jan 2014 18:53:58 +0100 Message-ID: <20140128175358.GA29551@jocasta.intra> References: <20140127115015.GA13396@jocasta.intra> <87ha8pk2ew.fsf@gnu.org> <87bnyxhwil.fsf@gnu.org> <87wqhke9yz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8CrT-0000ZU-Kv for guix-devel@gnu.org; Tue, 28 Jan 2014 12:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8CrP-0006E9-MS for guix-devel@gnu.org; Tue, 28 Jan 2014 12:54:11 -0500 Content-Disposition: inline In-Reply-To: <87wqhke9yz.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic Court??s Cc: guix-devel@gnu.org --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 28, 2014 at 10:23:16AM +0100, Ludovic Court??s wrote: =20 I was overconfident: the patch broke everything, because Automake-generated makefiles typically try to mkdir $localstatedir: =20 http://hydra.gnu.org/eval/45514 =20 So I just reverted it, and I think we???re stuck with the status quo u= ntil someone has a better idea. So the status quo is, that these packages mkdir /nix/store.../var/com . Presumably they do that for a reason, viz the program needs to write to these directories. But they will not be able to do that because /nix/s= tore is immutable. These programs will then break. :( =20 For the longer term, we could submit an Automake patch such that it doesn???t insist on creating $localstatedir et al. That sounds like a good idea. In the meantime, couldn't we patch the gener= ated Makefile.in so that it will not die if the mkdir fails? J' =20 --=20 PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --FCuugMFkClbJLl1L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlLn7rYACgkQimdxnC3oJ7NXcwCfXA7XYWn1g5yiWJObEsppFf/S 2s4AnjSfPVcWu8XeUKts0OyvAjqm+3ol =SptB -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--