guix-devel
[Top][All Lists]
Advanced

[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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]