all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel@gnu.org
Subject: Setting up a Hurd build node
Date: Mon, 06 May 2019 23:41:01 +0200	[thread overview]
Message-ID: <874l67fehe.fsf@elephly.net> (raw)

Hi Guix,

I just built Guix in a Debian GNU/Hurd VM and wanted to set it up as a
build node.  I applied a patch to use the i586-gnu bootstrap binaries
from my previous attempt in late 2018, which are published at
https://berlin.guixsd.org/guix/bootstrap/i586-gnu/20180908/.  These were
built with the old patched glibc 2.23.  (The patch to add the bootstrap
binaries is 3.5MB in size because it includes the statically linked
binaries, so I’m not attaching it here.)

Unfortunately, using the build users does not work:

--8<---------------cut here---------------start------------->8---
root@debian:~/guix-1.0.0# ./pre-inst-env guix-daemon --build-users-group=guixbuild --disable-chroot &
root@debian:~/guix-1.0.0# ./pre-inst-env guix build -S hello
madvise failed: Function not implemented
madvise failed: Function not implemented
madvise failed: Function not implemented
madvise failed: Function not implemented
substitute: madvise failed: Function not implemented
substitute: guix substitute: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
The following derivation will be built:
   /gnu/store/qihk8cf98xqc7q577wb2nc5axy2ryp8m-hello-2.10.tar.gz.drv
error: cannot kill processes for uid `999': Operation not permitted
guix build: error: cannot kill processes for uid `999': failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Uid 999 belongs to guixbuilder01.  (The gid for the guixbuild group is
also 999.)

I also tried building “hello”, but I only get the message

    madvise failed: Function not implemented

printed endlessly.  (This is probably harmless, but nothing else
happens.)

--
Ricardo

             reply	other threads:[~2019-05-06 21:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-06 21:41 Ricardo Wurmus [this message]
2019-05-07  5:21 ` Setting up a Hurd build node Ricardo Wurmus
2019-05-07 21:30 ` Ludovic Courtès
2019-05-07 22:12   ` Ricardo Wurmus
2019-05-09 10:37     ` Jonathan Brielmaier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874l67fehe.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.