From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38632) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g3kOC-0005KI-Bf for guix-patches@gnu.org; Sat, 22 Sep 2018 12:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g3kO3-00006W-0h for guix-patches@gnu.org; Sat, 22 Sep 2018 12:04:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45529) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g3kO2-00006I-RU for guix-patches@gnu.org; Sat, 22 Sep 2018 12:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g3kO2-0005tF-24 for guix-patches@gnu.org; Sat, 22 Sep 2018 12:04:02 -0400 Subject: [bug#30809] [PATCH 2/2] services: Add Gitolite. Resent-Message-ID: References: <20180729201822.12372-1-mail@cbaines.net> <20180729201822.12372-2-mail@cbaines.net> <87r2jk8faj.fsf@lassieur.org> <87wotbm6db.fsf@cbaines.net> From: Christopher Baines In-reply-to: <87wotbm6db.fsf@cbaines.net> Date: Sat, 22 Sep 2018 17:03:47 +0100 Message-ID: <87y3btwmcc.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30809@debbugs.gnu.org Cc: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur --=-=-= Content-Type: text/plain Christopher Baines writes: > I'm at a loss regarding what is going on here. I've tried testing on top > of 8b8978ade and a previous commit, I've also reproduced this on two > different computers. Right, I think I've found a work around this problem! Previously the activation gexp was like: #~(let* ... (use-modules (ice-9 match) (guix build utils)) ... (match ... )) This seems to break, no idea why, but I think it's something to do with the mystery of macros in Scheme/Guile. I had a look at how other services were using primitive-fork, and the PostgreSQL service does. However, it's activation gexp looks more like: #~(begin (use-modules (ice-9 match) (guix build utils)) (let ... ... (match ... ))) So, I switched the gitolite activation phase around to use a begin as the outer expression (rather than the let*), and it seems to work! I've sent the patches again. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlumZ+NfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XdF/BAAtQnwOWNNLUrZXsA47gw7vCiViqZznuGLzgZs8o2bZS4P2ZNwHk0ALJhO Z8MRKsVLvMF1SbTyz2bluG0EGgROcJYiYUSrOCZOHFk0npcmZJgSWjHVzFqGaa2h 658iielmK4U6ekHQ/4PelXs8YAwxAl+rNT4Qp7+AiJOLmKj0s1LWwweis88lo0wo HZaQsKk4Wh8NhF6o13dqErGvXhmhzW4J7/5VMpFpTjYrKwLprJEehLz9e5QvTLrK lfReJsqwJkIBPY1HmoLZnFFxvOS3qV5FEiSLGVEdj+icseJaopOPz/DZnQE/oNkM p71VTsEODFOZ6LRvZYZEIP+zvqS74m1L1xUtA0BCXWiq36Ooc79QxeWTCBJ91rRL 9afySPmF0qRIkzvz/sTeuXfmRIfRlfMFtTaF79iTpo9LgQJZdEbBLZxxY3iYCPQz apKLPuB91vE5ZyXSf8m7bfe/b/ZNIc5uyaMsVo/vjPBNtYtR4RpUSPl8ijF8aZqS g+9+8J8cZKro+sqE/sR7XCjMZO4r1i9jXNKlbZQNR4NlNyAiSt9a9Xm4TJuIHiqc kaFvjk9WSdIkapTWyl6o5XQn19O8SR/7kQ7VLaaWQHSU+TGkWekcf7H3JxwN9D7E P6TkzY36PrX6lmVH5HZVb+sItCcocIoWrill9tj3oTkUDf+rY6Y= =KNwj -----END PGP SIGNATURE----- --=-=-=--