From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: bug#28243: Guix cross-compilation doesn't work Date: Mon, 09 Oct 2017 23:34:16 +0200 Message-ID: <87k204m2ef.fsf@elephly.net> References: <871snvthbe.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1fhc-0005qR-Cs for bug-guix@gnu.org; Mon, 09 Oct 2017 17:35:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1fhX-0005Mz-CW for bug-guix@gnu.org; Mon, 09 Oct 2017 17:35:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50060) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1fhX-0005Mm-9E for bug-guix@gnu.org; Mon, 09 Oct 2017 17:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1fhW-0001Ca-Jg for bug-guix@gnu.org; Mon, 09 Oct 2017 17:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <871snvthbe.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28243@debbugs.gnu.org Hi Manolis, Ludovic Courtès writes: >> Running `guix build --target=i586-pc-gnu -c8 bootstrap-tarballs' or >> running `guix build --target=i686-linux-gnu -c8 bootstrap-tarballs' >> fail with >> >> phase `set-paths' succeeded after 0.0 seconds >> starting phase `install-locale' >> warning: failed to install 'en_US.utf8' locale: Invalid argument >> phase `install-locale' succeeded after 0.0 seconds >> starting phase `unpack' >> In execvp of tar: No such file or directory >> phase `unpack' failed after 0.0 seconds >> >> http://paste.lisp.org/display/354383 > > ^ followed by: > > builder for `/gnu/store/x3i6zasfc97zrwr4c9lj73mh14x5rdwd-make-boot0-4.2.1.drv' failed with exit code 1 > > This to me suggests a bug in how grafts are applied in a > cross-compilation context: we shouldn’t be trying to cross-compile > ‘make-boot0’ in the first place. I’m pretty sure passing --no-grafts > avoids the problem (but remember it disables some of the security > updates!). Can you confirm? Have you been able to confirm this? I just wanted to do this on darnassus, but guix-daemon is not running there, and I cannot seem to get it to build software as a user, because obviously I cannot write to /gnu/store. Could you give me a hint how to run guix on Darnassus? -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net