GNU bug report logs - #35034
guile2.0-git rewrites libgit2 input to use guile-2.0

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Mark H Weaver <mhw@HIDDEN>; dated Thu, 28 Mar 2019 20:43:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 35034 <at> debbugs.gnu.org:


Received: (at 35034) by debbugs.gnu.org; 29 Mar 2019 15:29:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 29 11:29:40 2019
Received: from localhost ([127.0.0.1]:35979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9tRs-0003Wx-2G
	for submit <at> 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 <ludo@HIDDEN>) id 1h9tRq-0003Wk-7g
 for 35034 <at> 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 <ludo@HIDDEN>)
 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 <ludo@HIDDEN>)
 id 1h9tRj-0003YR-Ln; Fri, 29 Mar 2019 11:29:32 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: guile2.0-git rewrites libgit2 input to use guile-2.0
References: <871s2qd5k1.fsf@HIDDEN>
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@HIDDEN> (Mark H. Weaver's message of "Thu, 28
 Mar 2019 17:58:27 -0400")
Message-ID: <87imw1aecl.fsf@HIDDEN>
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-Debbugs-Envelope-To: 35034
Cc: Danny Milosavljevic <dannym@HIDDEN>, 35034 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Mark,

Mark H Weaver <mhw@HIDDEN> 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 <dannym@HIDDEN>
>   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.




Information forwarded to bug-guix@HIDDEN:
bug#35034; Package guix. Full text available.

Message received at 35034 <at> debbugs.gnu.org:


Received: (at 35034) by debbugs.gnu.org; 28 Mar 2019 22:00:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 18:00:03 2019
Received: from localhost ([127.0.0.1]:34845 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9d45-0008KO-TR
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2019 18:00:02 -0400
Received: from world.peace.net ([64.112.178.59]:42510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mhw@HIDDEN>)
 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 <mhw@HIDDEN>)
 id 1h9d3x-0001dD-NL; Thu, 28 Mar 2019 17:59:53 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: 35034 <at> 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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35034
Cc: Danny Milosavljevic <dannym@HIDDEN>,
 Ludovic =?utf-8?Q?Court?= =?utf-8?Q?=C3=A8s?= <ludo@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <dannym@HIDDEN>
  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




Information forwarded to bug-guix@HIDDEN:
bug#35034; Package guix. Full text available.
Changed bug title to 'guile2.0-git rewrites libgit2 input to use guile-2.0' from 'One libgit2 derivation fails on armhf, another succeeds' Request was from Mark H Weaver <mhw@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 35034 <at> debbugs.gnu.org:


Received: (at 35034) by debbugs.gnu.org; 28 Mar 2019 21:40:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 17:40:36 2019
Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9clH-0007qq-MX
	for submit <at> 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 <dannym@HIDDEN>) id 1h9clG-0007qf-49
 for 35034 <at> 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 <dannym@HIDDEN>
To: Mark H Weaver <mhw@HIDDEN>
Subject: Re: bug#35034: One libgit2 derivation fails on armhf, another succeeds
Message-ID: <20190328224014.1dc8fb02@HIDDEN>
In-Reply-To: <875zs2d99d.fsf@HIDDEN>
References: <875zs2d99d.fsf@HIDDEN>
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-Debbugs-Envelope-To: 35034
Cc: 35034 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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 <mhw@HIDDEN> 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--




Information forwarded to bug-guix@HIDDEN:
bug#35034; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Mar 2019 20:42:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 16:42:03 2019
Received: from localhost ([127.0.0.1]:34790 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1h9bqd-0006NL-IT
	for submit <at> 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 <mhw@HIDDEN>) id 1h9bqX-0006Mj-O5
 for submit <at> 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 <mhw@HIDDEN>) id 1h9bqS-0003qA-IP
 for submit <at> 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 <mhw@HIDDEN>) id 1h9bqR-0001ZL-Fp
 for bug-guix@HIDDEN; 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 <mhw@HIDDEN>) id 1h9boZ-00038u-Tr
 for bug-guix@HIDDEN; 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 <mhw@HIDDEN>) id 1h9boZ-000385-Ju
 for bug-guix@HIDDEN; 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 <mhw@HIDDEN>)
 id 1h9boY-000171-4G; Thu, 28 Mar 2019 16:39:54 -0400
From: Mark H Weaver <mhw@HIDDEN>
To: bug-guix@HIDDEN
Subject: One libgit2 derivation fails on armhf, another succeeds
Date: Thu, 28 Mar 2019 16:38:27 -0400
Message-ID: <875zs2d99d.fsf@HIDDEN>
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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




Acknowledgement sent to Mark H Weaver <mhw@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#35034; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.