From: ludo@gnu.org (Ludovic Courtès)
To: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Failed to set up the build environment for…
Date: Wed, 19 Mar 2014 16:46:42 +0100 [thread overview]
Message-ID: <87k3bq6vj1.fsf@gnu.org> (raw)
In-Reply-To: <87txaue9dp.fsf@serenity.home> (Alex Sassmannshausen's message of "Wed, 19 Mar 2014 12:05:38 +0100")
Alex Sassmannshausen <alex.sassmannshausen@gmail.com> skribis:
> All works as expected (substituting the required binaries etc.) until
> the 'module-import' build stage, where I get the following error:
> -----
> @ build-started /gnu/store/byc1s5m1zfyxjhkwcj7j6226i459zbwa-module-import.drv - i686-linux /usr/local/var/log/guix/drvs/by//c1s5m1zfyxjhkwcj7j6226i459zbwa-module-import.drv.bz2
> guix package: error: build failed: failed to set up the build environment for `/gnu/store/byc1s5m1zfyxjhkwcj7j6226i459zbwa-module-import.drv'
> -----
Never seen that. My reading of the code is that this can happen if
initChild (in build.cc) fails (see the occurrences of SysError there.)
Do you see one of these error messages before? Could it be that the
daemon is not running as root, and so chroot(2) fails?
> In the log refreference, you can see '/gnu/store/byc1s5…' and
> '…/drvs/by//c1s5….'. In the error message you can then see
> `/gnu/store/byc1s5m…'.
>
> It looks as though some path truncation takes place here.
No, that’s expected: the log file for byc1s… is called by/c1s….
HTH,
Ludo’.
next prev parent reply other threads:[~2014-03-19 15:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 11:05 Failed to set up the build environment for… Alex Sassmannshausen
2014-03-19 15:46 ` Ludovic Courtès [this message]
2014-03-20 14:38 ` Andreas Enge
2014-03-20 18:07 ` Ludovic Courtès
2014-03-20 21:15 ` Andreas Enge
2014-03-20 21:40 ` Ludovic Courtès
2014-03-20 23:04 ` Alex Sassmannshausen
2014-03-21 4:04 ` Mark H Weaver
2014-03-21 12:50 ` Ludovic Courtès
2014-03-21 12:31 ` Andreas Enge
2014-03-21 12:49 ` Ludovic Courtès
2014-03-21 13:44 ` Andreas Enge
2014-03-21 15:23 ` Alex Sassmannshausen
2014-03-22 14:17 ` Ludovic Courtès
2014-03-21 15:45 ` Mark H Weaver
2014-03-21 15:59 ` Mark H Weaver
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=87k3bq6vj1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=alex.sassmannshausen@gmail.com \
--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.