From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26987: [PATCH 2/2] build: pull: Fix compilation list construction. Date: Fri, 02 Jun 2017 17:09:47 +0200 Message-ID: <87o9u65suc.fsf@gnu.org> References: <20170519075623.13836-1-m.othacehe@gmail.com> <20170519075623.13836-3-m.othacehe@gmail.com> <87o9updmuv.fsf@gnu.org> <86wp9d7xyk.fsf@gmail.com> <86vaow9b3q.fsf@gmail.com> <87wp95xgjj.fsf@gnu.org> <86k24ukawb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dGoDE-0000LL-9f for bug-guix@gnu.org; Fri, 02 Jun 2017 11:10:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dGoDC-0006Kv-Dd for bug-guix@gnu.org; Fri, 02 Jun 2017 11:10:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dGoDC-0006Kr-9s for bug-guix@gnu.org; Fri, 02 Jun 2017 11:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dGoDC-0007AJ-3j for bug-guix@gnu.org; Fri, 02 Jun 2017 11:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <86k24ukawb.fsf@gmail.com> (Mathieu Othacehe's message of "Fri, 02 Jun 2017 11:16:04 +0200") 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: Mathieu Othacehe Cc: 26987-done@debbugs.gnu.org, Amirouche Hi Mathieu, Mathieu Othacehe skribis: >> I believe this is fixed by commit >> 20ed093977cc80ba1729c38e05ae7955a38069a6, which follows a modification >> to the =E2=80=98source-module-closure=E2=80=99 so that callers can catch >> missing-dependency errors. >> >> Please let me know what you think! > > It seems ok, thanks for fixing it ! > >> >> After that, you should be able to reinstate the (guix git) commit, >> provided build-aux/build-self.scm does: >> >> (define guile-git >> (package-for-current-guile "guile-git" >> "guile2.2-git" >> "guile2.0-git")) > ^ > for guile2.0-git, > we need to define guile2.0-bytestructures, so I tried to package it, > and I get the following error : > > ice-9/boot-9.scm:109:20: In procedure # ice-9/boot-9.scm:109:20: re-exporting local variable: cstring-pointer > > It is something introduced in bytestructures commit 91d042e, that works > on 2.2 but not on 2.0, I have no idea why ! It would be nice to have guile2.0-git, but note that it does not *have* to exist: =E2=80=98package-for-current-guile=E2=80=99 returns #f if none of= the packages exists, and (guix build pull) skips modules that lack their dependencies. So I would first suggest to re-add (guix git), and later see with Amirouche et al. what could be done to get Guile-Git on 2.0. Does that make sense? Thanks, Ludo=E2=80=99.