From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UNHfEnxsNWAAUwAA0tVLHw (envelope-from ) for ; Tue, 23 Feb 2021 20:58:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CHChDnxsNWBOfwAAbx9fmQ (envelope-from ) for ; Tue, 23 Feb 2021 20:58:36 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8A2C5246DC for ; Tue, 23 Feb 2021 21:58:35 +0100 (CET) Received: from localhost ([::1]:39342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEelO-0005kr-Fa for larch@yhetil.org; Tue, 23 Feb 2021 15:58:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEelF-0005ke-0d for guix-devel@gnu.org; Tue, 23 Feb 2021 15:58:25 -0500 Received: from mira.cbaines.net ([212.71.252.8]:34218) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEelD-0000v7-3N; Tue, 23 Feb 2021 15:58:24 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 67C5627BC4A; Tue, 23 Feb 2021 20:58:21 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id c265e9ad; Tue, 23 Feb 2021 20:58:21 +0000 (UTC) References: <87tuqekheb.fsf@cbaines.net> <87v9app9cs.fsf@gnu.org> User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Getting the Guix Build Coordinator agent working on the Hurd In-reply-to: <87v9app9cs.fsf@gnu.org> Date: Tue, 23 Feb 2021 20:58:18 +0000 Message-ID: <87tuq2lcwl.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 8A2C5246DC X-Spam-Score: -4.47 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3ju58Ywt+Kd9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: >> The second issue is that I'm not sure capturing the build time >> GUILE_LOAD_COMPILED_PATH doesn't seem to work, at least file says that >> the .go files this contains are built for a 64-bit architecture. I >> worked around this by constructing the GUILE_LOAD_COMPILED_PATH from the >> inputs I knew should be on it. Maybe it should always have been done >> this way, any ideas? > > Instead of capturing the build-time =E2=80=98GUILE_LOAD_COMPILED_PATH=E2= =80=99, which > doesn=E2=80=99t contain the target .go files, you should explicitly list = the > inputs as is done in the =E2=80=98guix=E2=80=99 package for example. Tha= t=E2=80=99ll ensure the > binary refers to the cross-compiled .go files. This has now happened [1], so the guix-build-coordinator package should now cross compile in a useable way. 1: https://git.savannah.gnu.org/cgit/guix.git/commit/?id=3Deec127822a74c6a1= a6100b07d94c8fb275d571bf >> There's also one problem probably within the Guix Build Coordinator >> itself, after doing a few builds, it will just stop. I've only seen this >> behaviour on the Hurd, but I'm unsure how to debug it, any suggestions? >> My only idea is add more logging. > > No idea, but I guess that could just be a crash. Can you still log in > afterwards? Not through SSH at least. Someone on IRC mentioned they'd had issues running Hurd VMs without swap, so getting swap in childhurds might be something to try. I started looking at this [2]. 2: https://issues.guix.gnu.org/46726 > BTW, note that builds on GNU/Hurd are currently not isolated, and thus > it=E2=80=99s the wild west in terms of reproducibility: > > https://issues.guix.gnu.org/43857 > > There are open questions as to what to include in the build environment: > > https://guix.gnu.org/en/blog/2020/childhurds-and-substitutes/ Isolation would be nice of course, although I'm not sure how much this will affect reproducibility, unless things are poking around in the store directly. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmA1bGpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcknQ/+P/HtZIlgqfJg402RQ1bYREjJYyMfrEmL jACqCIHSK5Y797FBhMpqrUqBP5aebOaR/MbbZmEcfJCob3Uq1zziGZJgN5ccZIGN mQe0FwrOZkAdrkJHSKm5G76tpzr9Vj4lYgX3EXgLh930susSX4X/UchpMtI3hl4v A9OMizZxyCR7AHQlzeisfaMzWGNHSz2yqUzoppyUCIeCuvHYrl96U+T6nCWPttWp BVr7W2gBP6xP+TPYrPM7hgPZpftX5mk0FHtCBWeJhciXWW7W8z0G9LPBbcJrrler GlAwn89Y2pBciUc2XT/VBg24IK5jxnrjTyqMrHYopavKw+WQqcfdW30USGKcXtY8 7bMezco+yURsLLlUWjK47OSP0YsY5ATT/lj0PkWptwt9975ndsKGuuK8f2KoLu6x 0U1AQxVTCarV6FgTnt7jaxn3Ga1YJfZWppHMZgI2gNFhRoErkgr9rurqO4bnTalg LLLGiV+jKb3mZWa4D1fASgPf9I8QpO0lPkN/WkYMsenRG6ikIvMjk4cvMfZTPkxo 9iGmeBFClAzawRV7tBE6YP024oTuK+RNFNvuwFpKpVf9/M3PiLqGgVERpI/ViS54 mXJTMVt2w71F+enzCtQDf8HhfEmFUdjkYf/ZW9EqAI3V+xzFNOG+ajTQhBq4fgw7 qIV/+IkjCqs= =8lG4 -----END PGP SIGNATURE----- --=-=-=--