From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Guile-Git, bytestructures, libgit2 and Guix 0.14.0 Date: Tue, 12 Dec 2017 17:29:43 +0100 Message-ID: <87r2rzoqo8.fsf@gnu.org> References: <201712082348.29845.paul@boddie.org.uk> 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]:34348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOnRG-0006zO-S5 for help-guix@gnu.org; Tue, 12 Dec 2017 11:29:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOnRC-0002YR-Sd for help-guix@gnu.org; Tue, 12 Dec 2017 11:29:50 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:41674) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eOnRC-0002TU-HY for help-guix@gnu.org; Tue, 12 Dec 2017 11:29:46 -0500 In-Reply-To: <201712082348.29845.paul@boddie.org.uk> (Paul Boddie's message of "Fri, 8 Dec 2017 23:48:28 +0100") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Paul Boddie Cc: help-guix@gnu.org Hi Paul, Paul Boddie skribis: > I also found that the packaged version of libgit2 on Debian Jessie doesn'= t=20 > export the git_libgit2_init symbol for some reason: > > ice-9/boot-9.scm:106:20: In procedure dynamic-pointer: Symbol not found:= =20 > git_libgit2_init This suggests a bug in the Debian packaging (or an old version?). But yeah, I can sympathize with all the pain you=E2=80=99ve gone through to build all this by hand. That=E2=80=99s a chicken-and-egg problem: the pack= age manager is here to help you sort this out, but you=E2=80=99re precisely try= ing to build it. Pjotr Prins reported earlier that we don=E2=80=99t have a good bootstrapping story here, and I come to realize what it means. ;-) The lesson here, I guess, is that it would be beneficial to make Guix=E2=80= =99s modularity more apparent, as I did in , so that one can build Guix piecemeal, without having to install all the dependencies upfront. > Again, without the setting, configure fails to find things. Also, for my= =20 > purposes, I add to gnu/packages/bootstrap.scm a definition for the mipsel= =20 > dynamic linker name: > > ((string=3D? system "mipsel-linux") "/lib/ld.so.1") > > Then I try and make everything, but the library search path is still a=20 > problem, so I first have to change the Makefile and remove the following = from=20 > the make-go rule: > > unset GUILE_LOAD_COMPILED_PATH ; > > Then I actually try and make everything: > > make GUILE_LOAD_COMPILED_PATH=3D/usr/local/lib/guile/2.0/site-ccache > > This seems promising until I get an error like this: > > LOAD guix/scripts/pack.scm > Backtrace: > In ice-9/r4rs.scm: > 90: 19 [dynamic-wind # .= ..] > 90: 18 [dynamic-wind # .= ..] > In ice-9/eval.scm: > 432: 17 [eval # #] > 432: 16 [eval # #] > 481: 15 [lp (#) (#)] > In ice-9/boot-9.scm: > 2864: 14 [resolve-interface (guix scripts pack) #:select ...] > 2789: 13 [# autoload version #:key ensure)> # ...] > 3065: 12 [try-module-autoload (guix scripts pack) #f] > 2401: 11 [save-module-excursion # ice-9/boot-9.scm:3066:17 ()>] > 3085: 10 [#] > In unknown file: > ?: 9 [primitive-load-path "guix/scripts/pack" ...] > In ice-9/eval.scm: > 453: 8 [eval # ()] > 387: 7 [eval # ()] > 387: 6 [eval # ()] > 387: 5 [eval # ()] > 387: 4 [eval # ()] > 387: 3 [eval # ()] > 387: 2 [eval # ()] > 393: 1 [eval # ()] > In unknown file: > ?: 0 [memoize-variable-access! # #] > > ERROR: In procedure memoize-variable-access!: > ERROR: gzip: unbound variable > Makefile:5295: recipe for target 'make-go' failed I=E2=80=99m pretty sure we solved it recently but I forgot how. Do you hav= e the problem on current master? Thanks, Ludo=E2=80=99.