unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40006: `guix build hello' now succeeds on the Hurd
       [not found] ` <87imjdzc76.fsf@gnu.org>
@ 2020-03-10  8:59   ` Jan Nieuwenhuizen
       [not found]   ` <87a74o4mcp.fsf@gnu.org>
  1 sibling, 0 replies; 2+ messages in thread
From: Jan Nieuwenhuizen @ 2020-03-10  8:59 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel, 40006

Ludovic Courtès writes:

>> The situation on the Hurd starts to look pretty good
>>
>>     janneke@debian:~/src/guix$ ./pre-inst-env guix build hello --no-offload
>>     /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2.10
>>     janneke@debian:~/src/guix$ /gnu/store/a2sylb94rm1b6qxcp5mqvgiyx9szipz7-hello-2.10/bin/hello
>>     Hello, world!
>>
>> \o/
>
> Woohoo!  Congrats!
>
> How do you run guix-daemon?  (In the future it’d be great to perhaps
> 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=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—the 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=40006
    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’d be my guideline as we merge it.  :-)
>
> Anyhow, thumbs up!  I’m looking forward to merging it and having it
> built on CI (we could offload to a Debian VM!)!

Yes, that would be awesome!

janneke

-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#40006: `guix build hello' now succeeds on the Hurd
       [not found]   ` <87a74o4mcp.fsf@gnu.org>
@ 2020-03-10 15:04     ` Manolis Ragkousis
  0 siblings, 0 replies; 2+ messages in thread
From: Manolis Ragkousis @ 2020-03-10 15:04 UTC (permalink / raw)
  To: Jan Nieuwenhuizen, Ludovic Courtès; +Cc: guix-devel, 40006

Hello Jan,

First of all awesome work!!

On 3/10/20 10:59 AM, Jan Nieuwenhuizen wrote:
> 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?
> 

This is that work
https://github.com/Phant0mas/Hurd/commit/3501ee22ad4150b3b2cf9a386d2350b9a68aecd8.patch

It was working, needed some cleanup but it never got merged. What is
does is implement mount and bind mounts using the hurd firmlinks.

>> Merging what you have—the earlier the better.  :-)
>>> Shall I push this to savannah as `wip-hurd' (possibly save wip-hurd->
>>> `wip-hurd-old?);

I don't think we need to keep the old wip-hurd. Just get rid of it.

Manolis

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-10 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <878skd94d4.fsf@gnu.org>
     [not found] ` <87imjdzc76.fsf@gnu.org>
2020-03-10  8:59   ` bug#40006: `guix build hello' now succeeds on the Hurd Jan Nieuwenhuizen
     [not found]   ` <87a74o4mcp.fsf@gnu.org>
2020-03-10 15:04     ` Manolis Ragkousis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).