all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Getting the Guix Build Coordinator agent working on the Hurd
@ 2021-02-14 11:39 Christopher Baines
  2021-02-15 15:12 ` Joshua Branson
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Christopher Baines @ 2021-02-14 11:39 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

Hey,

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?

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.

Thanks,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2021-03-10 10:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14 11:39 Getting the Guix Build Coordinator agent working on the Hurd Christopher Baines
2021-02-15 15:12 ` Joshua Branson
2021-02-16  8:58   ` Christopher Baines
2021-02-16  8:57 ` Christopher Baines
2021-02-18  9:25   ` Christopher Baines
2021-02-18 17:35 ` Ludovic Courtès
2021-02-23 20:58   ` Christopher Baines
2021-03-10 10:10     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.