From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTFJ-0006U5-HZ for guix-patches@gnu.org; Tue, 18 Jul 2017 10:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXTFG-0001wp-63 for guix-patches@gnu.org; Tue, 18 Jul 2017 10:13:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXTFG-0001wX-2N for guix-patches@gnu.org; Tue, 18 Jul 2017 10:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXTFF-0005GJ-Mu for guix-patches@gnu.org; Tue, 18 Jul 2017 10:13:01 -0400 Subject: [bug#27628] [PATCH 3/3] gnu: maxima: Ensure gcc and binutils available at runtime. Resent-Message-ID: From: Kei Kebreau References: <20170709011634.12832-1-kei@openmailbox.org> <20170709011634.12832-3-kei@openmailbox.org> <871splg8p8.fsf@gnu.org> <87y3rtnsfg.fsf@openmailbox.org> <87lgnnfpbd.fsf@gnu.org> Date: Tue, 18 Jul 2017 10:11:00 -0400 In-Reply-To: <87lgnnfpbd.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 17 Jul 2017 10:19:34 +0200") Message-ID: <87k235zvgr.fsf@openmailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 27628@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Kei, > > Kei Kebreau skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> Kei Kebreau skribis: >>> >>>> + ;; Ensure that Maxima will have access to GCC and its required >>>> + ;; components at runtime. >>> >>> In fact, if it=E2=80=99s an optional feature, it would be better to tak= e GCC & >>> co. from $PATH, because GCC is a huge dependency. (Same for the gcl >>> change.) >>> >>> Thoughts? >>> >> >> I started on this patchset because Guix's Maxima cannot graph functions. >> This feature relies on GCL's 'compile' function. The 'compile' function >> seems to be a Common Lisp standard since at least the publication of the >> CLtL2 standard. Maxima assumes (correctly) that this function is present >> and relies on it for various base functionalities (compiling Maxima math >> functions to compiled Lisp functions, graphing, etc.). > > Good point, =E2=80=98compile=E2=80=99 is standard CL. > > So yes, that alone is probably a good reason to keep references to GCC > and Binutils (maybe add a comment explaining this.) Sorry for holding > it back! > >> I turns out that fixing the underlying issue with GCL removes the need >> for GCC's presence at runtime, but binutils is still necessary due to >> Maxima using the 'compile' function from GCL directly. This stems from >> the GCC package not finding the binutils at runtime, i.e. >> >> guix environment --pure --ad-hoc gcc -- gcc hello-world.c >> >> returns >> >> gcc: error trying to exec 'as': execvp: No such file or directory >> >> but >> >> guix environment --pure --ad-hoc gcc -- gcc -S hello-world.c > > You would need =E2=80=98gcc-toolchain=E2=80=99 rather than =E2=80=98gcc= =E2=80=99 here. > > Thank you, > Ludo=E2=80=99. Is gcc-toolchain a package one can use as an input? lisp.scm fails to load properly when I use the commencement.scm module. Could this be due to the circular dependency problem mentioned in the "Commentary" section of commencement.scm? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlluFvUACgkQ5qXuPBlG eg0I4Q/+Kw7nJzLmBMvyhOSrNcBcXGmojIIkxFS/q+qNRKd2jMMSfJoCH3gAE8np DcysNNuggWPH6UtNKNEctAymQj8JkZZ5BbTCgNNsoVRI2XAkyopeGw5BbLHtYd2q mVfMC185fbksQaHO1svgPcya2yahkcXmdFlO+giEzYozrcmsvWkEXfiYVosTpfBU P1h/OqUxfqUWMV0cAc7wS4Wt/qOxbZvbpf3Fwfod5BWZJo1MPFxnGJZiL4+Ro3nK KT/lAxQM10ss5ITHurSFJ5gnBRKkd/evZAA8tQ1ViF2w3A8XoB76/Z6JHvg2YRYz cQtpz7Mvy5qfqsSxh0S+CV43xamkkYQQL1W8Cqs/55W0XEN2njAy3mP3qB0HbCtL XBJclOQq0IpveWW2PL5l9j0H8ZdaJRB5XySng0Ui2Typc2+cHATOzgGCfeWSU8y8 HVp/fNvkn/AeuY+aX0GnpL6FyMZ5hSown4XvZ0147qtyIBVnBRQwQOxLeAODm9J2 JzhaV8PXTzcVNqRX6vOFDDOaVpVoYPLqwWcNwtjDEGVSyEsfEah5jEDrswT/8t2d yNYvb60A6xzJRmQXalRbjbazARaWBP9PUjHaUWKKa0WBok9EepqZl0O/pJm8lNn1 DNtgj22LqUEkQ24CDeqBpEsCo7nFI3p/cScYB/HK4Wuj8FngKkc= =kglz -----END PGP SIGNATURE----- --=-=-=--