From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#34531: Guix profile fails on Overdrive 1000 Date: Tue, 19 Feb 2019 16:19:54 +0100 Message-ID: <20190219161954.47234638@scratchpost.org> References: <20190218200552.GB1881@jurong> <87mumsom9l.fsf@fastmail.com> <20190219082728.GA5650@jurong> <87lg2bvrne.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/EkfpcRIj/WOhGbXEwKXaWa1"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw7Ci-0002t8-TJ for bug-guix@gnu.org; Tue, 19 Feb 2019 10:21:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw7Ch-0007Tf-Ph for bug-guix@gnu.org; Tue, 19 Feb 2019 10:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gw7Ch-0007TD-Fw for bug-guix@gnu.org; Tue, 19 Feb 2019 10:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gw7Cf-0000B4-T8 for bug-guix@gnu.org; Tue, 19 Feb 2019 10:21:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lg2bvrne.fsf@elephly.net> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ricardo Wurmus , Andreas Enge Cc: 34531@debbugs.gnu.org --Sig_/EkfpcRIj/WOhGbXEwKXaWa1 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ricardo, Hi Andreas, On Tue, 19 Feb 2019 14:23:23 +0100 Ricardo Wurmus wrote: > Andreas Enge writes: >=20 > > Before closing the bug, I would still like to ask whether there is a way > > of getting around the need for python. =20 >=20 > Guix pull needs =E2=80=9Cguile-git=E2=80=9D, and =E2=80=9Cguile-git=E2=80= =9D needs =E2=80=9Clibgit2=E2=80=9D, which > needs =E2=80=9Cpython-wrapper=E2=80=9D. To remove the need for Python in= =E2=80=9Cguix pull=E2=80=9D we > would need to build libgit2 without Python. I don=E2=80=99t know if anyo= ne has > investigated whether this can be done. I have read it now--in the interest of simplicity and bootstrappability. Python is only required to generate some libgit2 tests. It would be easy to port the one Python program "generate.py" to some other language. "generate.py" is from clar, which appears to be https://github.com/vmg/clar= . If someone were to replace it, that would be the correct place to contribute it. Python is listed as a regular input in libgit2. I think it should be a native-input instead. The dependency graph of libgit2 is very small after removing Python. The languages it still depends on (possibly indirectly) are: * Perl 5.28.0 * Guile 2.0.14 * bash 4.4.23 So writing the generate.py in one of those languages would not make the dependency graph bigger than necessary. generate.py uses regular expressions, simple file I/O, string templating and that's pretty much it. In any case, the first simplification would be just to move Python from regular input to native-input. --Sig_/EkfpcRIj/WOhGbXEwKXaWa1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxsHpoACgkQ5xo1VCww uqU5bwf/ZVdTP3KBqntQfeoImWzsRk8v0M3Z7YO3tBKl2gbPqxgsNZoswcukZRCe T6Q1GVOAaZY+3/BdkrpCj5VC3tUgGvu/OV4BFGx/gnlx6RRzmYEUYpB7yhU2FdBO cY7+/TwjSR+eXjKEyPF9Rjo//oglzMJ2vGuhHvD935R5V3/B36L9C3aXwR+OQeYc 3CBKhuqBWxVpk9unrwMNYGF81pH3pAQCcaQillgBhzWBSy2s2VdQoMn0TNAH5kQA gc0ibM4+JVZemiXVaA/lmDv4boOniYdRj7BSRZYxPHz+iBAOxsTEX1DjJs/FbEOi pbDoxXKiH8SHCvMhyPxxd0yfC23yzA== =OiQs -----END PGP SIGNATURE----- --Sig_/EkfpcRIj/WOhGbXEwKXaWa1--