[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to set up the build environment for…
From: |
Ludovic Courtès |
Subject: |
Re: Failed to set up the build environment for… |
Date: |
Wed, 19 Mar 2014 16:46:42 +0100 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Alex Sassmannshausen <address@hidden> 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’.
- Failed to set up the build environment for…, Alex Sassmannshausen, 2014/03/19
- Re: Failed to set up the build environment for…,
Ludovic Courtès <=
- Re: Failed to set up the build e nvironment for…, Andreas Enge, 2014/03/20
- Re: Failed to set up the build environment for…, Ludovic Courtès, 2014/03/20
- Re: Failed to set up the build e nvironment for…, Andreas Enge, 2014/03/20
- Re: Failed to set up the build environment for…, Ludovic Courtès, 2014/03/20
- Re: Failed to set up the build environment for…, Alex Sassmannshausen, 2014/03/20
- Re: Failed to set up the build environment for…, Mark H Weaver, 2014/03/21
- Re: Failed to set up the build environment for…, Ludovic Courtès, 2014/03/21
- Re: Failed to set up the build e nvironment for…, Andreas Enge, 2014/03/21
- Re: Failed to set up the build environment for…, Ludovic Courtès, 2014/03/21
- Re: Failed to set up the build e nvironment for…, Andreas Enge, 2014/03/21