From unknown Thu Jun 12 19:31:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35034: One libgit2 derivation fails on armhf, another succeeds Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Mar 2019 20:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35034 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35034@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155380572424515 (code B ref -1); Thu, 28 Mar 2019 20:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Mar 2019 20:42:04 +0000 Received: from localhost ([127.0.0.1]:34790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9bqd-0006NL-IT for submit@debbugs.gnu.org; Thu, 28 Mar 2019 16:42:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9bqX-0006Mj-O5 for submit@debbugs.gnu.org; Thu, 28 Mar 2019 16:41:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:33728) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9bqS-0003qA-IP for submit@debbugs.gnu.org; Thu, 28 Mar 2019 16:41:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9bqR-0001ZL-Fp for bug-guix@gnu.org; Thu, 28 Mar 2019 16:41:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9boZ-00038u-Tr for bug-guix@gnu.org; Thu, 28 Mar 2019 16:39:57 -0400 Received: from world.peace.net ([64.112.178.59]:52244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9boZ-000385-Ju for bug-guix@gnu.org; Thu, 28 Mar 2019 16:39:55 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h9boY-000171-4G; Thu, 28 Mar 2019 16:39:54 -0400 From: Mark H Weaver Date: Thu, 28 Mar 2019 16:38:27 -0400 Message-ID: <875zs2d99d.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) The 'guile2.0-git-0.2.0' package fails to build on hydra.gnu.org, because its dependency 'libgit2' fails to build: https://hydra.gnu.org/build/3429713#tabs-buildsteps However, there's another 'libgit2' derivation in the same evaluation, which succeeds: https://hydra.gnu.org/eval/110449?filter=libgit2 Looking at the source for 'guile2.0-git', defined in gnu/packages/guile.scm, it appears to use the standard 'libgit2' package, unless 'package-for-guile-2.0' is somehow modifying the 'libgit2' derivation. Any idea what's going on here? Mark From unknown Thu Jun 12 19:31:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35034: One libgit2 derivation fails on armhf, another succeeds Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Mar 2019 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35034 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: 35034@debbugs.gnu.org Received: via spool by 35034-submit@debbugs.gnu.org id=B35034.155380923630188 (code B ref 35034); Thu, 28 Mar 2019 21:41:02 +0000 Received: (at 35034) by debbugs.gnu.org; 28 Mar 2019 21:40:36 +0000 Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9clH-0007qq-MX for submit@debbugs.gnu.org; Thu, 28 Mar 2019 17:40:35 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:56564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9clG-0007qf-49 for 35034@debbugs.gnu.org; Thu, 28 Mar 2019 17:40:34 -0400 Received: from localhost (77.116.225.17.wireless.dyn.drei.com [77.116.225.17]) by dd26836.kasserver.com (Postfix) with ESMTPSA id A0EAF3360BF4; Thu, 28 Mar 2019 22:40:31 +0100 (CET) Date: Thu, 28 Mar 2019 22:40:22 +0100 From: Danny Milosavljevic Message-ID: <20190328224014.1dc8fb02@scratchpost.org> In-Reply-To: <875zs2d99d.fsf@netris.org> References: <875zs2d99d.fsf@netris.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Z.E4UDRqYxg_/HbnVLl7k4Y"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/Z.E4UDRqYxg_/HbnVLl7k4Y Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Mark, On Thu, 28 Mar 2019 16:38:27 -0400 Mark H Weaver wrote: > unless 'package-for-guile-2.0' is somehow modifying the > 'libgit2' derivation. >=20 > Any idea what's going on here? Not really, *but* I've recently replaced Python by Guile in libgit2 tests. Maybe that broke something - especially if package-for-guile-2.0 somehow either provides both guile versions as native inputs or selects one incompatible with the "generate.scm" I wrote. Here, (ice-9 textual-ports) seems to be not found. Does it not exist in guile 2.0 ? (I wasn't aware we still used guile 2.0 for something...) --Sig_/Z.E4UDRqYxg_/HbnVLl7k4Y Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlydP0YACgkQ5xo1VCww uqVIlwf7BTRyk2KHj5WDEsSYOIs6wjmCnBp7bca3EOLPntMgR4sSTn+3Ehczjlwh 76n2uUD+F5JgzAJatY06lkbbEKEoD52+W2NZ53KeTyeYU3dCruRTUwyJ39v/n7wr q3uATj5ZQPHWEcw4mXIDVkn122PWzz4LpRT7eRoqsGXVv/dJnDZoj/zbZ0CVuLSt Gor2DBT8nX7FVfnjS73U7hjM8nxkJaoaUY+27SSnjUvfq74U0qvXqEIsMgUkaGBs hFaQq+ZQvTsh4jXUo5P9j3Cy+eEJ1EegKLuuqP9NWv9Dl0jfp9jpviVIBm7S87ZG qqdnKAeRLTSj9nE7brWGzHi0nqtFYA== =CtrJ -----END PGP SIGNATURE----- --Sig_/Z.E4UDRqYxg_/HbnVLl7k4Y-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 28 18:00:02 2019 Received: (at control) by debbugs.gnu.org; 28 Mar 2019 22:00:02 +0000 Received: from localhost ([127.0.0.1]:34843 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9d45-0008K4-HX for submit@debbugs.gnu.org; Thu, 28 Mar 2019 18:00:01 -0400 Received: from world.peace.net ([64.112.178.59]:42510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9d43-0008Jp-Le; Thu, 28 Mar 2019 17:59:59 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h9d3x-0001dD-NL; Thu, 28 Mar 2019 17:59:53 -0400 From: Mark H Weaver To: 35034@debbugs.gnu.org Subject: guile2.0-git rewrites libgit2 input to use guile-2.0 (was: One libgit2 derivation fails on armhf, another succeeds) Date: Thu, 28 Mar 2019 17:58:27 -0400 Message-ID: <871s2qd5k1.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: Danny Milosavljevic , Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 35034 guile2.0-git rewrites libgit2 input to use guile-2.0 thanks It turns out that this problem is not specific to armhf. 'guile2.0-git' recently started failing to build on all Hydra-supported systems. I see now what's going on. The problem was introduced by: commit 03fb5ff6ae01a680c786d9ee148839543c519411 Author: Danny Milosavljevic Date: Thu Mar 21 23:28:43 2019 +0100 gnu: libgit2: Avoid Python. * gnu/packages/patches/libgit2-avoid-python.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/version-control.scm (libgit2)[source]: Use it. [inputs]: Remove python. [native-inputs]: Add guile-2.2. The 'guile-git' package has 'libgit2' as an input. The 'guile2.0-git' variant package uses 'package-for-guile-2.0' to rewrite 'guile-git' to use 'guile-2.0'. Unfortunately, this rewrites more deeply than we probably want. In this case, the rewriting extends into 'libgit2', changing its native-input from 'guile-2.2' to 'guile-2.0'. However, the Guile code that Danny wrote doesn't work with 'guile-2.0', because it uses the (ice-9 textual-ports) module, which doesn't exist in Guile 2.0. Suggestions? Mark From unknown Thu Jun 12 19:31:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35034: guile2.0-git rewrites libgit2 input to use guile-2.0 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 29 Mar 2019 15:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35034 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mark H Weaver Cc: Danny Milosavljevic , 35034@debbugs.gnu.org Received: via spool by 35034-submit@debbugs.gnu.org id=B35034.155387338013581 (code B ref 35034); Fri, 29 Mar 2019 15:30:01 +0000 Received: (at 35034) by debbugs.gnu.org; 29 Mar 2019 15:29:40 +0000 Received: from localhost ([127.0.0.1]:35979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9tRs-0003Wx-2G for submit@debbugs.gnu.org; Fri, 29 Mar 2019 11:29:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1h9tRq-0003Wk-7g for 35034@debbugs.gnu.org; Fri, 29 Mar 2019 11:29:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9tRk-0004Rs-Fy; Fri, 29 Mar 2019 11:29:32 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54630 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h9tRj-0003YR-Ln; Fri, 29 Mar 2019 11:29:32 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <871s2qd5k1.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Germinal an 227 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 29 Mar 2019 16:29:30 +0100 In-Reply-To: <871s2qd5k1.fsf@netris.org> (Mark H. Weaver's message of "Thu, 28 Mar 2019 17:58:27 -0400") Message-ID: <87imw1aecl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Mark, Mark H Weaver skribis: > retitle 35034 guile2.0-git rewrites libgit2 input to use guile-2.0 > thanks > > It turns out that this problem is not specific to armhf. 'guile2.0-git' > recently started failing to build on all Hydra-supported systems. > > I see now what's going on. The problem was introduced by: > > commit 03fb5ff6ae01a680c786d9ee148839543c519411 > Author: Danny Milosavljevic > Date: Thu Mar 21 23:28:43 2019 +0100 >=20=20=20 > gnu: libgit2: Avoid Python. [...] > The 'guile-git' package has 'libgit2' as an input. The 'guile2.0-git' > variant package uses 'package-for-guile-2.0' to rewrite 'guile-git' to > use 'guile-2.0'. Unfortunately, this rewrites more deeply than we > probably want. In this case, the rewriting extends into 'libgit2', > changing its native-input from 'guile-2.2' to 'guile-2.0'. However, the > Guile code that Danny wrote doesn't work with 'guile-2.0', because it > uses the (ice-9 textual-ports) module, which doesn't exist in Guile 2.0. I=E2=80=99m tempted to sidestep the problem by removing =E2=80=9Cguile2.0-g= it=E2=80=9D, which I think is of little use. WDYT? Ludo=E2=80=99.