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 wCViDR6JK2BCNwAA0tVLHw (envelope-from ) for ; Tue, 16 Feb 2021 08:58:06 +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 SpIPCR6JK2DVMQAAbx9fmQ (envelope-from ) for ; Tue, 16 Feb 2021 08:58:06 +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 CB6E92DEB1 for ; Tue, 16 Feb 2021 09:58:05 +0100 (CET) Received: from localhost ([::1]:58168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBwBI-00067w-Tl for larch@yhetil.org; Tue, 16 Feb 2021 03:58:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwAu-00066U-2C for guix-devel@gnu.org; Tue, 16 Feb 2021 03:57:40 -0500 Received: from mira.cbaines.net ([212.71.252.8]:60096) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBwAs-0007kQ-1E for guix-devel@gnu.org; Tue, 16 Feb 2021 03:57:39 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 4F97C27BC45; Tue, 16 Feb 2021 08:57:36 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id aaf0b858; Tue, 16 Feb 2021 08:57:34 +0000 (UTC) References: <87tuqekheb.fsf@cbaines.net> User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines To: Christopher Baines Subject: Re: Getting the Guix Build Coordinator agent working on the Hurd In-reply-to: <87tuqekheb.fsf@cbaines.net> Date: Tue, 16 Feb 2021 08:57:31 +0000 Message-ID: <87im6sfkzo.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: -2.96 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: CB6E92DEB1 X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: DNvrRbQJADsm --=-=-= Content-Type: text/plain Christopher Baines writes: > This has been on my todo list ever since the childhurd service came in > to existence. I spent some more time looking at it yesterday, and did > manage to get the agent working in a childhurd VM, at least somewhat. > > Firstly, guile-lib needed tweaking so that it actually cross compiles, > I've sent a patch [1]. > > 1: https://lists.gnu.org/archive/html/guile-devel/2021-02/msg00004.html > > Adding the agent service also required this tweak [2]. > > 2: https://issues.guix.gnu.org/46506 > > Then I faced two problems with the guix-build-coordinator > package. Firstly, wrap-program picks bash for Linux for the wrapper > script, which isn't very useful. I hacked around this by setting the > PATH such that it picked bash for the Hurd. In terms of properly fixing > this, I guess that needs to somehow be able to find the right bash, I'm > not sure how though? > > 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? The above patches, hacks and questions are still relevant, but I've made some progress on the issue below. > 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. I tried disabling a few of the optional features plus unnecessary locks on the hurd [1], and with those changes I no longer see it just stop, which is great, as then builds just keep happening :) 1: https://git.cbaines.net/guix/build-coordinator/commit/guix-build-coordinator?id=b3733bca21de607fd7a70319e66e3ff49996a974 For the guix.cbaines.net build farm, I've now got an additional machine running two childhurd VM's, and I plan to scale this up to 7 or 8 in the coming days to see how far it's possible to get building things for the i586-gnu. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmAriPtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfhgQ/+Njp5nDyoexNQYNA/Yhxpz66FjX0jNmaT eodOs18aLJU6kkWpcslsKNg7OX7nDGTF2DvqfwOKXJrh3ckXekqfKcIa1R+9xaUR BvqHJ56jhn8xSIPZT2Ug0+EEoDxOVeB6IhhtW9tKRdhBI/6W84PgDf6mrrmjyhny gOwsSaJWuVNPDtA7mTkKMqKOyebv5vKFhKBUmSGMym6bUK2Ryjm/x0noRfe3mG21 EDoqYAbl9nnoNMNX1KMm72Op6Xho4ae260Kg2QXu5UoZsRKOKWceq3Rd1lKmi6bD uJF1K2aJKfCOCBM8Wrb40PQGLJ2h6SyqIzqWscsmL0VWs9zFAML86rBVt5bj14RZ sjQ5d8CDc3loHlyFLzfh8cBqLNg5Pssczww7u5LPGPSZmDl5RPsfBuQLvUBW/Myv r62LtL5/uLhLASPClONyZlk52nWxAk3+81Ij10bVA7E6jggXRDqQ6q3ciT8p+YSu Ee1QoEl0KoWdEkWbvcr5WPBGXTx5AW+iRbVU+1wXl9ybfWUzuocaBPaQTbeAaows 0xguLptopUJT+NwqKjTpcRM1E1UNJM39kw4Lqmkl3B4S59tpLaaf3w6Qx41aGn6D v1dQk5O2fQX2Ngd+BiQkCTnkF3SquljoD/Qfvn5fdjtTMd80aKVeGRfR9MT6aMKh cH495e9maN8= =7BpM -----END PGP SIGNATURE----- --=-=-=--