From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kei Kebreau Subject: Re: 01/01: gnu: mit-scheme: Update to 10.1.3. Date: Mon, 17 Dec 2018 09:50:22 -0500 Message-ID: <871s6g6wcx.fsf@posteo.net> References: <20181213170057.18025.51445@vcs0.savannah.gnu.org> <20181213170058.5B7372092C@vcs0.savannah.gnu.org> <878t0rbdo5.fsf@netris.org> <875zvupqrk.fsf@posteo.net> <20181216212944.6a9b9403@scratchpost.org> <871s6gpvsw.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51255) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gYuE3-0000ui-MH for guix-devel@gnu.org; Mon, 17 Dec 2018 09:50:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gYuE0-0006Lk-6Z for guix-devel@gnu.org; Mon, 17 Dec 2018 09:50:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:58552) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gYuDz-0006LH-Mn for guix-devel@gnu.org; Mon, 17 Dec 2018 09:50:28 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E2715160060 for ; Mon, 17 Dec 2018 15:50:25 +0100 (CET) In-Reply-To: <871s6gpvsw.fsf@posteo.net> (Kei Kebreau's message of "Mon, 17 Dec 2018 00:27:27 -0500") 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: Danny Milosavljevic Cc: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Kei Kebreau writes: > Danny Milosavljevic writes: > >> Hi Kei, >> >> On Sat, 15 Dec 2018 13:51:43 -0500 >> Kei Kebreau wrote: >> >>> Understood. Thanks to you and Ludovic for cleaning up my small mess. >> >> I think it's only a workaround. >> >> What happened to the MIT scheme C fallback? I tried to fix it for >> good but then >> the armhf-linux build still didn't work: >> > > I pull the following quote from "Stable Release 10.1" on > https://www.gnu.org/software/mit-scheme/release.html: > > "The portable C version is not included in this release because we were > unable to get it working in time." > > Based on the above quote I'm assuming the C fallback is coming back, so > according to Mark's evaluation I shouldn't have removed armhf-linux from > the supported-systems. > >> If there was once a architecture-independent MIT scheme, let's use that one to >> bootstrap the newer version, if possible. >> > > It is possible. The architecture-independent version is the C-based > one. I'll look into your patch and follow changes upstream to see about > repairing the situation ASAP. This patch gives an error related to an attempt to subtract two incompatible pointers. The MIT/GNU Scheme home page mentions that the SVM build is for 64-bit unix systems, however. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-gnu-mit-scheme-Add-SVM-build.patch Content-Transfer-Encoding: quoted-printable From=20c3a7491dceb7cb81651a3c7a83cea0bb736c6738 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 17 Dec 2018 09:37:46 -0500 Subject: [PATCH] gnu: mit-scheme: Add SVM build. * gnu/packages/scheme.scm (mit-scheme-source-directory): Adjust for the time being. * gnu/packages/scheme.scm (mit-scheme)[arguments]: Adjust 'build' phase accordingly. [inputs]: Adjust catch-all case in "source" input accordingly. [supported-systems]: Add armhf-linux. =2D-- gnu/packages/scheme.scm | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 3c688e120..06812e2ef 100644 =2D-- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -74,7 +74,7 @@ (if (or (string-prefix? "x86_64" system) (string-prefix? "i686" system)) "" =2D "c-") + "") version)) =20 (define-public mit-scheme @@ -113,8 +113,7 @@ (if (or (string-prefix? "x86_64" system) (string-prefix? "i686" system)) (invoke "make" "compile-microcode") =2D (invoke "./etc/make-liarc.sh" =2D (string-append "--prefix=3D" out))) + (invoke "make")) #t))) (add-after 'configure 'configure-doc (lambda* (#:key outputs inputs #:allow-other-keys) @@ -173,7 +172,7 @@ ("i686-linux" (string-append version "-i386")) (_ =2D (string-append "c-" version))) + (string-append version "-svm1"))) ".tar.gz")) (sha256 (match (%current-system) @@ -184,13 +183,11 @@ (base32 "05sjyz90xxfnmi87qv8x0yx0fcallnzl1dciygdafp317pn489is")) (_ =2D (base32 =2D "")))))))) + (base32 + "0ka3l1m2jlyszm8kkv9pw33izmhw5j52rbfxx4zfqmwn7a5b3ays")))))= ))) =20 ;; Fails to build on MIPS, see . =2D ;; Also, the portable C version of MIT/GNU Scheme did not work in ti= me for =2D ;; release in version 10.1. =2D (supported-systems '("x86_64-linux" "i686-linux")) + (supported-systems '("x86_64-linux" "i686-linux" "armhf-linux")) =20 (home-page "https://www.gnu.org/software/mit-scheme/") (synopsis "A Scheme implementation with integrated editor and debugger= ") =2D-=20 2.19.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlwXt64ACgkQ5qXuPBlG eg2maRAAjKtVMcYsqDlmEmPw4LMmqdSIfwECCbye5xieLD6GurV6zztOEl9ErqT+ blJ+FbZd0qah1WQpnMOGc/G48JjcPhH+zndM56fYlfqTTabT3eOtHecqNJmCSClU RUMMRHipbuOuzQtspXmkT3ms49gnnTWGJRzg/0+tyQQ2kH1zSG2z+/b0dqchINUb GKTFSuTLWICZh1W7i2uAUxB6zt+PvuD5z5kC29zNW+IbwhiByj9DMvy4Wxgrq9v3 MnphPmRa6awNZsTCapXJBdVbM3k/LdyPa3Sn6e2KxLt6PeHiRAyoyZwMpcGXuLxo edhP+d1OfGwIlX1BujI9zDOoKqLBjLf1IY0iMG3BBuQ2DzF21zAtQigv3zuPB5M9 Y4tSTfKSRHcV9woSGTCxzO7zWh4kXpkn7Dwvf5gXUPEdGyWSmhS6hOfBgZ0cdnOE 2Snf6RAxixMg3+PR2zaUJIN3N32aVWi9Y1gLLoylgxNlp4sPHS+vvwtixKrDiJKj 4QHTrmSKvT+kPI4Ll6VGdBXyWLgYbPA9VGoxZaAag+2JNBTwWkUFChHEFCjFmxdb NzHh/oka6uMOpc8FlsvGg4doD3zCiIXnLRRcxI4NIbmwrqNbFaDxF1sDsYoPBKWw 6MwXEsJonqrFJdaf31fQNCwe0QMAcGuRvhNbHjfiZB2uQd2G//0= =1ugo -----END PGP SIGNATURE----- --==-=-=--