From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#35034: 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> References: <875zs2d99d.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9d4A-0007T6-PR for bug-guix@gnu.org; Thu, 28 Mar 2019 18:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9d49-0008Bj-Mu for bug-guix@gnu.org; Thu, 28 Mar 2019 18:00:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h9d49-0008BZ-Gm for bug-guix@gnu.org; Thu, 28 Mar 2019 18:00:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h9d49-0008LD-Di for bug-guix@gnu.org; Thu, 28 Mar 2019 18:00:05 -0400 In-Reply-To: <875zs2d99d.fsf@netris.org> Sender: "Debbugs-submit" Resent-Message-ID: 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: 35034@debbugs.gnu.org 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