From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Nieuwenhuizen Subject: bug#40006: `guix build hello' now succeeds on the Hurd Date: Tue, 10 Mar 2020 09:59:02 +0100 Message-ID: <87a74o4mcp.fsf__48430.821956002$1583830930$gmane$org@gnu.org> References: <878skd94d4.fsf@gnu.org> <87imjdzc76.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60012) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBakB-0003C9-W5 for bug-guix@gnu.org; Tue, 10 Mar 2020 05:00:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBak6-0004rh-Qf for bug-guix@gnu.org; Tue, 10 Mar 2020 05:00:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45877) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBak6-0004rC-NT for bug-guix@gnu.org; Tue, 10 Mar 2020 05:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBak6-0002Zw-Ko for bug-guix@gnu.org; Tue, 10 Mar 2020 05:00:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87imjdzc76.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 09 Mar 2020 18:10:21 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org, 40006@debbugs.gnu.org Ludovic Court=C3=A8s writes: >> The situation on the Hurd starts to look pretty good >> >> janneke@debian:~/src/guix$ ./pre-inst-env guix build hello --no-offl= oad >> /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2.10 >> janneke@debian:~/src/guix$ /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szip= z7-hello-2.10/bin/hello >> Hello, world! >> >> \o/ > > Woohoo! Congrats! > > How do you run guix-daemon? (In the future it=E2=80=99d be great to perh= aps > implement Linux namespaces on the Hurd in libc.) I have slightly cleaned-up a patch by Manolis so that I can run sudo ./pre-inst-env guix-daemon --disable-chroot --build-users-group=3D= guixbuild & This and other useful recipes I have noted in my scratchbook on the Hurd https://gitlab.com/janneke/guix/-/blob/wip-hurd-system/THE-HURD I briefly looked at more work-in-progress daemon patches by Manolis, but stopped when I found that it needs [t]his "new" libhurdutils library... @Manolis? > Merging what you have=E2=80=94the earlier the better. :-) >> Shall I push this to savannah as `wip-hurd' (possibly save wip-hurd-> >> `wip-hurd-old?); > > Yup, sounds like a plan. Great, thanks, done; follow-up here! https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40006 https://issues.guix.info/issue/40006 >> I could also rewrite wip-hurd-bootstrap? > > Dunno! > > To me, the difficult bit with porting and bootstrapping work is making > sure that bootstrap.scm/commencement.scm/base.scm/cross-base.scm remain > maintainable. All this complexity adds up so we must spend time trying > to, for instance, minimize variation across platforms/OSes. Every line > of code and above all every conditional avoided in these files is a win > in the not-so-long term. That=E2=80=99d be my guideline as we merge it. = :-) > > Anyhow, thumbs up! I=E2=80=99m looking forward to merging it and having = it > built on CI (we could offload to a Debian VM!)! Yes, that would be awesome! janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com