From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: I managed to build guix natively on Debian GNU/Hurd , what's next? Date: Fri, 30 Aug 2019 01:36:56 +0200 Message-ID: <8736hjh7c7.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56980) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i3TyX-0004QD-CG for guix-devel@gnu.org; Thu, 29 Aug 2019 19:37:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i3TyW-0008RO-2f for guix-devel@gnu.org; Thu, 29 Aug 2019 19:37:09 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i3TyV-0008DA-J9 for guix-devel@gnu.org; Thu, 29 Aug 2019 19:37:07 -0400 In-reply-to: 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" To: svante.signell@gmail.com Cc: guix-devel Hi Svante, > On Thu, 2019-08-29 at 21:25 +0200, Svante Signell wrote: >> Hello, >>=20 >> After a lot of quirks I managed to get guix built natively on Debian >> GNU/Hurd. What to do next? > > I managed to start the guix-daemon. Next seems to be the bootstrap > binaries: > guix build hello > guix build: error: could not find bootstrap binary 'tar' for system > 'i586-gnu' You=E2=80=99ll need the bootstrap binaries. I have previously built them b= ut at least =E2=80=9Ctar=E2=80=9D segfaults. Here=E2=80=99s what I wrote about this on IRC: --8<---------------cut here---------------start------------->8--- [12:36:12] gnu_srs: get a Debian GNU/Hurd, then build the Guix dependencies from source. [12:36:28] once you=E2=80=99ve got everything for building Guix al= so fetch the bootstrap binaries: [12:36:45] such as http://berlin.guix.gnu.org/guix/bootstrap/i586-gnu/20190508/glibc-= stripped-2.28-i586-pc-gnu.tar.xz [12:36:51] binutils-static-stripped-2.31.1-i586-pc-gnu.tar.xz [12:36:55] gcc-stripped-5.5.0-i586-pc-gnu.tar.xz [12:37:01] guile-static-stripped-2.0.14-i586-pc-gnu.tar.xz [12:37:03] static-binaries-0-i586-pc-gnu.tar.xz [12:37:33] (you=E2=80=99ll find that some of the static binaries s= uch as tar will segfault when given certain arguments) [12:37:45] that=E2=80=99s where we=E2=80=99re at. [12:38:00] these binaries were cross-built. --8<---------------cut here---------------end--------------->8--- Good luck! --=20 Ricardo