From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Initializing a 64bit system using guix on a 32bit OS Date: Sat, 23 May 2015 10:54:22 -0400 Message-ID: <87fv6nmjj5.fsf@netris.org> References: <87siappuix.fsf@gmail.com> <87bnhclp1j.fsf@gnu.org> <87a8wwo6wl.fsf@netris.org> <874mn3bq8l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwAot-0003sy-0L for guix-devel@gnu.org; Sat, 23 May 2015 10:54:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwAoo-0004m5-9f for guix-devel@gnu.org; Sat, 23 May 2015 10:54:34 -0400 Received: from world.peace.net ([50.252.239.5]:56126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwAoo-0004kw-6U for guix-devel@gnu.org; Sat, 23 May 2015 10:54:30 -0400 In-Reply-To: <874mn3bq8l.fsf@gmail.com> (Alex Kost's message of "Sat, 23 May 2015 12:24:58 +0300") 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 Kost Cc: guix-devel@gnu.org Alex Kost writes: > Thanks Ludovic and Mark! I tried to follow your advices but eventually > I got the same error: > > guix system: error: build failed: a `x86_64-linux' is required to > build > `/gnu/store/zh42mbm0wvbsz05zr798nchyd3bc7fh6-guix-0.8.2.c2ee19e.drv', > but I am a `i686-linux' > > I used the following command: > > guix system init --no-grub config-64-simple.scm /mnt/guix > > I'm attaching the OS config I used. Did I miss anything? I think the problem is that you disabled tests in your 'guix-x86_64' package, which makes it a different derivation than the one built by Hydra. In order for this approach to work, you must ensure that you only use substitutes until you can run a guix-daemon (and guix?) for x86_64. guix-daemon for i686 can download substitutes for x86_64, but cannot build anything for x86_64. Mark > (define guix-x86_64 > (package > (inherit guix) > (arguments `(#:system "x86_64-linux" > #:tests? #f > ,@(package-arguments guix)))))