From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AC6XKxbkYGQBSgAASxT56A (envelope-from ) for ; Sun, 14 May 2023 15:37:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6EmZKhbkYGRpJgEAG6o9tA (envelope-from ) for ; Sun, 14 May 2023 15:37:26 +0200 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 822DE265A0 for ; Sun, 14 May 2023 15:37:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pyBuL-0000An-0x; Sun, 14 May 2023 09:37:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyBuI-0000AL-Ut for guix-patches@gnu.org; Sun, 14 May 2023 09:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyBuI-0000XR-NN for guix-patches@gnu.org; Sun, 14 May 2023 09:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pyBuI-0003JG-8v for guix-patches@gnu.org; Sun, 14 May 2023 09:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63501] [PATCH] hurd-boot: Symlink /hurd before setting up translators. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 May 2023 13:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63501 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63501@debbugs.gnu.org Cc: Josselin Poiret X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168407140312694 (code B ref -1); Sun, 14 May 2023 13:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 May 2023 13:36:43 +0000 Received: from localhost ([127.0.0.1]:40561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyBty-0003If-H2 for submit@debbugs.gnu.org; Sun, 14 May 2023 09:36:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:49964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pyBtx-0003IV-1D for submit@debbugs.gnu.org; Sun, 14 May 2023 09:36:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyBtw-00009H-IO for guix-patches@gnu.org; Sun, 14 May 2023 09:36:40 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pyBtu-0000Uf-JO for guix-patches@gnu.org; Sun, 14 May 2023 09:36:39 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 89A281851DF; Sun, 14 May 2023 13:36:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1684071393; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=FWXOBheZ253EUL2TteaAGAw+HJtGqT0e3es3ZVguAvU=; b=SqIuVoBqfWcN9kB8ZxkQk+GhB5e8/ZVWyWHZUEYRS3qaPsl49zLOXPs6b/rrNu2YtDn9SN MTYOgNQOWSsf+lvKBg+3g2Jk0G6V5K8FTgHXwXdHJVgpP9Ix47wRIqOm/LPhNDsq7cquK6 RJEb8Bxvd4cYHbQV/4w5rQDcKpaOjmUInzJTX0HrA+Z12oLxkbBOeOW10zhiEC5gPyhn0k Bft3WIBRrYnhthDcnmwF2MyCguftEklnQMHZ0e6rBANsx+BAmqhgpzw2UP0OvdIPF9YMeZ fhLMQ39tRJK46cOkIoXiiaZsL/oz2/NRDGjqR2UhVMCvNzcbWMEESeVk+mE4Ew== Date: Sun, 14 May 2023 15:36:32 +0200 Message-Id: <84b0af47fbad93a82d8926a805d9198285525b05.1684071339.git.dev@jpoiret.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684071446; a=rsa-sha256; cv=none; b=F8AT5bV8FmV/OVTWBkgOPnD9phCyfHfTIU4IVWAiBiSWMEePI+GSr1aF1h1c8Fkp65uW+K wqBdouSrsKDc4tHuXWkTjKIi+JoufBtNuwpdjmMNBDDp1klGoT2DaJiELJl7ZdL5keSZyI 3rcJ7XJEOCpY3JbRrX2yZCFCt0uwU0rG8SLHc1Di5doOx20KwqwT/ExFtf1nCDDBqri0R4 YxYnSIqv6pJfprQMWt4XUwspOOlks81/mV8trrisz2YrdRgny5b2WgenK4Z6T+m2D6LOAa l8CZxOA1nglCDdp5YBjCJoGoEyNfZdvC/0iy6BmQG+iwo5OyhQyey8tZNaBnuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=SqIuVoBq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684071446; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FWXOBheZ253EUL2TteaAGAw+HJtGqT0e3es3ZVguAvU=; b=S1+sUYiZbUssArfIQpgg7GDylSzfYDEyxqc7fRNgaxTFK7mfq7yQcV7JtjN6Af5DhodhvH Hlx1ehO9JL08ZDhIYJd4rT0YofwOA/SxXuSjl7Yerzv1s9EyvoGypxtDcDcpRIi9RgV+3x w2c7sBBaqchEuZ54Klm2a3suf91iuRLQ19a6IOX8LJnxTwt0+5LxBGTGKSFzQDLU9+w4CL niu9GzOMK1ZgijoBg89ipwdQ87flPqAL1qVG4Ol30bujL4xIE5SRewU53S3vMJeVaw4Mwr 5jWd6m+IEZ4IB12N4hY3ZR5hhMiSgjAstSaaxgfFztBe7qK3pW0dulM9vq1uKw== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=SqIuVoBq; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.39 X-Spam-Score: -3.39 X-Migadu-Queue-Id: 822DE265A0 X-TUID: pzm9QPuNa0nZ From: Josselin Poiret * gnu/build/hurd-boot.scm (boot-hurd-system): Symlink /hurd before setting up translators. --- Hi everyone, This should fix the Hurd not booting. Enjoy! (and now we also need to fix the native Hurd compilation problems, but that's for another patch) gnu/build/hurd-boot.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/build/hurd-boot.scm b/gnu/build/hurd-boot.scm index abcf0304c2..95c15907dd 100644 --- a/gnu/build/hurd-boot.scm +++ b/gnu/build/hurd-boot.scm @@ -280,14 +280,14 @@ (define* (boot-hurd-system #:key (on-error 'debug)) (system (find-long-option "gnu.system" args)) (to-load (find-long-option "gnu.load" args))) - (format #t "Setting-up essential translators...\n") - (setenv "PATH" (string-append system "/profile/bin")) - (set-hurd-device-translators) - (false-if-exception (delete-file "/hurd")) (let ((hurd/hurd (readlink* (string-append system "/profile/hurd")))) (symlink hurd/hurd "/hurd")) + (format #t "Setting-up essential translators...\n") + (setenv "PATH" (string-append system "/profile/bin")) + (set-hurd-device-translators) + (format #t "Starting pager...\n") (unless (zero? (system* "/hurd/mach-defpager")) (format #t "FAILED...Good luck!\n")) base-commit: eb7312401ea89e634f8d686db71bacda58b2755f -- 2.40.1