From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Failed to set up the build environment =?utf-8?Q?for=E2=80=A6?= Date: Wed, 19 Mar 2014 16:46:42 +0100 Message-ID: <87k3bq6vj1.fsf@gnu.org> References: <87txaue9dp.fsf@serenity.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQIhh-0007yj-G5 for guix-devel@gnu.org; Wed, 19 Mar 2014 11:47:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQIhZ-0000A2-34 for guix-devel@gnu.org; Wed, 19 Mar 2014 11:46:53 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:40730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQIhY-00009g-ST for guix-devel@gnu.org; Wed, 19 Mar 2014 11:46:45 -0400 In-Reply-To: <87txaue9dp.fsf@serenity.home> (Alex Sassmannshausen's message of "Wed, 19 Mar 2014 12:05:38 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Sassmannshausen Cc: guix-devel Alex Sassmannshausen 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//c1s5m1zfyxjhkwcj7j6226i4= 59zbwa-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=E2=80=A6' and > '=E2=80=A6/drvs/by//c1s5=E2=80=A6.'. In the error message you can then s= ee > `/gnu/store/byc1s5m=E2=80=A6'. > > It looks as though some path truncation takes place here. No, that=E2=80=99s expected: the log file for byc1s=E2=80=A6 is called by/c= 1s=E2=80=A6. HTH, Ludo=E2=80=99.