From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: 31/31: DRAFT gnu: bootstrap: Add support for the Hurd. Date: Thu, 12 Mar 2020 10:04:21 +0100 Message-ID: <874kuuvt9m.fsf@gnu.org> References: <20200312065852.10633.59398@vcs0.savannah.gnu.org> <20200312065911.D981520B7E@vcs0.savannah.gnu.org> 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]:52502) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCJlQ-00077m-9E for guix-devel@gnu.org; Thu, 12 Mar 2020 05:04:26 -0400 In-Reply-To: <20200312065911.D981520B7E@vcs0.savannah.gnu.org> (guix-commits@gnu.org's message of "Thu, 12 Mar 2020 02:59:11 -0400 (EDT)") 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-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org, Jan Nieuwenhuizen , Efraim Flashner Howdy! guix-commits@gnu.org skribis: > commit 26973d51c37e6921454a4500fb95bcda11ea4ec8 > Author: Efraim Flashner > AuthorDate: Fri Jan 31 16:28:23 2020 +0200 > > DRAFT gnu: bootstrap: Add support for the Hurd. [...] > @@ -378,18 +394,40 @@ or false to signal an error." > (rename-file guile guile-real) > (call-with-output-file guile > (lambda (p) > - (format p "\ > + (format p ,(if (equal? (or (%current-target-system) > + (%current-system)) "i58= 6-gnu") "\ > +#!~a > +export GUILE_SYSTEM_PATH=3D~a/share/guile/2.2 > +export GUILE_SYSTEM_COMPILED_PATH=3D~a/lib/guile/2.2/ccache > +exec -a \"~a0\" ~a \"~a@\"\n" > + "\ > #!~a > export GUILE_SYSTEM_PATH=3D~a/share/guile/2.0 > export GUILE_SYSTEM_COMPILED_PATH=3D~a/lib/guile/2.0/ccache > exec -a \"~a0\" ~a \"~a@\"\n" > + > +) > bash out out dollar guile-real dollar))) > (chmod guile #o555) > (chmod bin-dir #o555)))))) For the sake of reducing complexity and keeping supported systems as close to one another as possible, would it be an option to keep using 2.0 for GNU/Hurd, like on the other systems? That would entail changing make-bootstrap.scm to use 2.0 instead of 2.2 as a first step. And yeah, it=E2=80=99d also entail another full rebuild, = which I=E2=80=99m sorry for, but I think this kind of simplification pays off qui= ckly. WDYT? (I vaguely remember discussing it before but I forgot the outcome of the discussion. Apologies for that!) Thanks, Ludo=E2=80=99.