From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yLiKCHLc2F4GLgAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 11:35:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0BNjBHLc2F6VbAAA1q6Kng (envelope-from ) for ; Thu, 04 Jun 2020 11:35:14 +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 ADDF69404E2 for ; Thu, 4 Jun 2020 11:35:13 +0000 (UTC) Received: from localhost ([::1]:59704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgo9Q-0005a2-AC for larch@yhetil.org; Thu, 04 Jun 2020 07:35:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43578) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgo9G-0005Wt-Rm for bug-guix@gnu.org; Thu, 04 Jun 2020 07:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33704) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgo9G-0002XU-FJ for bug-guix@gnu.org; Thu, 04 Jun 2020 07:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgo9G-0000Rn-Cw for bug-guix@gnu.org; Thu, 04 Jun 2020 07:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41541: merge wip-hurd-vm Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Jun 2020 11:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41541 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 41541-submit@debbugs.gnu.org id=B41541.15912704521660 (code B ref 41541); Thu, 04 Jun 2020 11:35:02 +0000 Received: (at 41541) by debbugs.gnu.org; 4 Jun 2020 11:34:12 +0000 Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgo8N-0000Qb-1a for submit@debbugs.gnu.org; Thu, 04 Jun 2020 07:34:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgo8K-0000Q6-ON for 41541@debbugs.gnu.org; Thu, 04 Jun 2020 07:34:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58613) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgo8F-0002Oq-FC; Thu, 04 Jun 2020 07:33:59 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=43066 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jgo8E-0006zB-Ml; Thu, 04 Jun 2020 07:33:58 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <87o8qavktf.fsf@gnu.org> <87tv01vgqy.fsf@gnu.org> <87blm54hae.fsf@gnu.org> <874krtyhtg.fsf@gnu.org> <87h7vtzupa.fsf@gnu.org> <87r1uxwz5q.fsf@gnu.org> <87mu5ly7tx.fsf@gnu.org> <87mu5lsksn.fsf@gnu.org> <87y2p5vb7v.fsf@gnu.org> <87wo4oqzgu.fsf@gnu.org> <87k10otbr1.fsf@gnu.org> <87v9k85fdc.fsf@gnu.org> <874krrrj3c.fsf@gnu.org> <87mu5jfa75.fsf@gnu.org> X-Url: http://AvatarAcademy.nl Date: Thu, 04 Jun 2020 13:33:55 +0200 In-Reply-To: <87mu5jfa75.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 04 Jun 2020 11:32:14 +0200") Message-ID: <87mu5jhxp8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41541@debbugs.gnu.org, Mathieu Othacehe Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: mJ0cPS3K8zll Ludovic Court=C3=A8s writes: Hello! > Jan Nieuwenhuizen skribis: > >> --- a/gnu/packages/hurd.scm >> +++ b/gnu/packages/hurd.scm [...] >> + (substitute* "hurd/paths.h" >> + (("_HURD_STARTUP\t") >> + (string-append "_HURD_STARTUP\t\"" out "\" ")) >> + (("_HURD_PROC\t") >> + (string-append "_HURD_PROC\t\"" out "\" ")) >> + (("_HURD_AUTH\t") >> + (string-append "_HURD_AUTH\t\"" out "\" "))) >> (substitute* '("daemons/runsystem.sh" >> "sutils/MAKEDEV.sh") >> (("^PATH=3D.*") >> >> produces a bootable VM. So...this could be great or maybe...well, what >> do you think? > > As discussed on IRC, I wonder if changing is a good idea > because it=E2=80=99s captured by libc, etc. Thank you for explaining it on IRC and stating it so clearly here again; this really helped me! > So it could have the effect of > forcing all the applications to refer to /gnu/store/=E2=80=A6-old-hurd in= stead > of using the (typically more up-to-date) /hurd. > > It could also lead to setting /gnu/store/=E2=80=A6-old-hurd as passive > translator settings, which would be very bad because > /gnu/store/=E2=80=A6-old-hurd could be GC=E2=80=99d (the GC doesn=E2=80= =99t scan passive > translator settings and probably never will). Ah...right. As discussed on IRC, I already tried only using a fixed file-name for _HURD_STARTUP (out + "/hurd/startup"); which worked. So, after digesting your message here I took the next step: grep for _HURD_STARTUP and change it there, like so diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 421783eb80..8c73ea8430 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -428,9 +428,10 @@ exec ${system}/rc \"$@\" "startup/startup.c") (("/hurd/") (string-append out "/hurd/"))) - (substitute* "hurd/paths.h" - (("_HURD_STARTUP\t") - (string-append "_HURD_STARTUP\t\"" out "\" "))) + (substitute* '("libdiskfs/boot-start.c" + "libdiskfs/opts-std-startup.c") + (("_HURD_STARTUP") + (string-append "\"" out "/hurd/startup\""))) This also works, and so I figure we're fine now. I'm resetting wip-hurd-vm and, like Mathieu suggested will prepare to send send a patch series here for the unreviewed subset of patches. Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com