From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uIbcDNnEbF/EQgAA0tVLHw (envelope-from ) for ; Thu, 24 Sep 2020 16:10:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qL/kCNnEbF+8KQAAbx9fmQ (envelope-from ) for ; Thu, 24 Sep 2020 16:10:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C97B99403D6 for ; Thu, 24 Sep 2020 16:10:00 +0000 (UTC) Received: from localhost ([::1]:49860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLTol-0006wb-Kk for larch@yhetil.org; Thu, 24 Sep 2020 12:09:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLTTX-0005Fd-Ff for guix-devel@gnu.org; Thu, 24 Sep 2020 11:48:03 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:39438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLTTT-0000Jm-GX; Thu, 24 Sep 2020 11:48:03 -0400 Received: from localhost (80-110-126-103.cgn.dynamic.surfer.at [80.110.126.103]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 45CF53365A25; Thu, 24 Sep 2020 17:47:55 +0200 (CEST) Date: Thu, 24 Sep 2020 17:47:05 +0200 From: Danny Milosavljevic To: Subject: Problem bootstrapping Guix - "make update-guix-package" result: no code for module (gcrypt hash) Message-ID: <20200924174705.572790b1@scratchpost.org> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/fnlspdwQzEWThH8ot0CntYc"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: none client-ip=85.13.145.193; envelope-from=dannym@scratchpost.org; helo=dd26836.kasserver.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/24 09:45:53 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, PDS_BTC_ID=0.498, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: qi453dH7Ufm0 --Sig_/fnlspdwQzEWThH8ot0CntYc Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, I'm trying to bootstrap current Guix (master) from Guix past (1.1.0 binary tarball). The goal is: I want to have only guix-the-package-manager at a specific guix commit (!) available inside a Docker image. Because the package "guix" in guix is always behind a little bit, that means I have to first check out that commit from source code, then use make update-guix-package in order to update the guix package definition in gnu/packages/package-management.scm to that commit and then use guix pack in order to pack guix into a tarball, which I then extract and then copy in= to a previously-empty docker image. Or so I thought. What I have currently is on https://gitlab.com/daym/guix-on-docker/ . Especially see Dockerfile. You can build it on your machine using $ docker build --build-arg BOOTSTRAP_GUIX_COMMIT_ID=3D0b21bf6245b36ea21d2ee= af2340a99aa4d5894db . (or a newer commit--it doesn't matter) and see it fail. (it will first download https://ftp.gnu.org/gnu/guix/guix-binary-1.1.0.x86_= 64-linux.tar.xz and then check out guix anonymously from https://git.savannah.gnu.org/git/g= uix.git at the specified commit) Or you can look at the CI logs on https://gitlab.com/daym/guix-on-docker/-/pipelines and see it fail there. The failure is when it does that: && ENV=3D"guix environment --pure guix --ad-hoc git guile-readline guil= e-json guile-zlib guile -lzlib bash which --" \ && ${ENV} make update-guix-package \ && ./pre-inst-env guix pack --verbosity=3D2 -f tarball --localstatedir = -r /tmp/guix.tar.gz --profile-name=3Dcurrent-guix guix \ and it prints the following: (see https://gitlab.com/daym/guix-on-docker/-/jobs/755694619 ) make[1]: Leaving directory '/master' accepted connection from pid 17760, user root git rev-parse HEAD ff43f128b7c142ae3f758d34137e562e6f7ef0e0 ./pre-inst-env "/gnu/store/s08nkx9dzpvn41s4k277p9b27abpcjvp-profile/bin/gui= le" \ ./build-aux/update-guix-package.scm \ "`git rev-parse HEAD`" accepted connection from pid 17766, user root source code for commit ff43f128b7c142ae3f758d34137e562e6f7ef0e0: /gnu/store= /3bz5q9g2p11pazy4g4vq8x8qp86c7ngh-guix-1.1.0-28.ff43f12-checkout (GC root: = guix-1.1.0-28.ff43f12-checkout) ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /master/./build-aux/update-guix-package.scm ;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.3/master/build-aux/update= -guix-package.scm.go ;;; compiling /master/gnu/packages/package-management.scm ;;; compiled /root/.cache/guile/ccache/3.0-LE-8-4.3/master/gnu/packages/pac= kage-management.scm.go Backtrace: In ice-9/boot-9.scm: 3223:13 19 (_) In ice-9/threads.scm: 390:8 18 (_ _) In ice-9/boot-9.scm: 3507:20 17 (_) 2806:4 16 (save-module-excursion _) 3527:26 15 (_) In unknown file: 14 (primitive-load-path "guix/store" #) In guix/store.scm: 23:0 13 (_) In ice-9/boot-9.scm: 3380:4 12 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?) 3393:24 11 (_) 222:29 10 (map1 (((guix utils)) ((guix config)) ((guix #)) ((?)) ?)) 222:29 9 (map1 (((guix config)) ((guix deprecation)) ((guix ?)) ?)) 222:29 8 (map1 (((guix deprecation)) ((guix memoization)) ((?)) ?)) 222:29 7 (map1 (((guix memoization)) ((guix serialization)) (#) ?)) 222:29 6 (map1 (((guix serialization)) ((guix monads)) ((# #)) ?)) 222:29 5 (map1 (((guix monads)) ((guix records)) ((guix #)) (#) ?)) 222:29 4 (map1 (((guix records)) ((guix base16)) ((guix #)) (#) ?)) 222:29 3 (map1 (((guix base16)) ((guix base32)) ((gcrypt #)) # ?)) 222:29 2 (map1 (((guix base32)) ((gcrypt hash)) ((guix #)) (#) ?)) 222:17 1 (map1 (((gcrypt hash)) ((guix profiling)) ((rnrs #)) # ?)) 3300:6 0 (resolve-interface (gcrypt hash) #:select _ #:hide _ # _ ?) ice-9/boot-9.scm:3300:6: In procedure resolve-interface: no code for module (gcrypt hash). What now? Am I doing it wrong? --Sig_/fnlspdwQzEWThH8ot0CntYc Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl9sv3kACgkQ5xo1VCww uqXNGQf+Ni9m1D8FIOqsiCmKc1wOFu3Pvcv/2/5tNVbKIvcF6FL2T0mXduUXRSo0 p86gi9xx3o9Gg6F8pjo3aA9fWx4oOVhlw/K6E0Mw8b1sxIBRwL3OTuuVEfSh3/h+ Zl4heutmE5wnU51OvlArHj/eJTiye5/BI5q2vXMT0gTBVruJ3fYCUP7De9OcDvem ukGtjzEZrriF0114TPDTJaqKGGRwM9G65EuQBZaVFjTJ85Cq8V7CUo0rakFo3K+p uOIzBC8QbT+GyzjLzL7hcgc0RBovGQdYNG3jIqr0zUoxhYwMwgfuluLnNGFb2Lou FQIiMi5MUfbVFCtJycEuDdOBUC1zTw== =nRtw -----END PGP SIGNATURE----- --Sig_/fnlspdwQzEWThH8ot0CntYc--