From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 06 09:20:24 2020 Received: (at 41672) by debbugs.gnu.org; 6 Jun 2020 13:20:24 +0000 Received: from localhost ([127.0.0.1]:51052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhYkJ-0003iS-Ku for submit@debbugs.gnu.org; Sat, 06 Jun 2020 09:20:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhYkE-0003i6-DG for 41672@debbugs.gnu.org; Sat, 06 Jun 2020 09:20:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60272) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhYk9-00087i-2L; Sat, 06 Jun 2020 09:20:13 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=51688 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jhYk8-0006so-By; Sat, 06 Jun 2020 09:20:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Christopher Howard Subject: Re: bug#41672: nomad build failure: References: <571de07fe51851123d3db84b049d872a0fb8e251.camel@alaskasi.com> Date: Sat, 06 Jun 2020 15:20:10 +0200 In-Reply-To: <571de07fe51851123d3db84b049d872a0fb8e251.camel@alaskasi.com> (Christopher Howard's message of "Tue, 02 Jun 2020 11:52:10 -0800") Message-ID: <87eeqsuy9h.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41672 Cc: 41672@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Christopher Howard skribis: > checking if (gcrypt hash) is available... no > configure: error: guile-gcrypt is missing; please install it. > command "/gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash-5.0.16/bin/bash= " "./configure" "CONFIG_SHELL=3D/gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67= -bash-5.0.16/bin/bash" "SHELL=3D/gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67= -bash-5.0.16/bin/bash" "--prefix=3D/gnu/store/016px9wmbw30xjplh6gq5jp9cpyfs= 3ck-nomad-0.1.2-alpha" "--enable-fast-install" "--build=3Dx86_64-unknown-li= nux-gnu" failed with status 1 The problem is that Emacsy and Nomad haven=E2=80=99t switched to Guile 3.0 = but all the Guile stack switched on the recent =E2=80=98core-updates=E2=80=99 m= erge. The attached patch does that. However, it triggers tests failures in Emacsy like this one: --8<---------------cut here---------------start------------->8--- FAIL: test/core =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D WARNING: (guile-user): imported module (emacsy core) overrides core binding= `map' WARNING: (guile-user): `map' imported from both (guile) and (emacsy core) WARNING: (guile-user): imported module (emacsy core) overrides core binding= `map' WARNING: (guile-user): `map' imported from both (guile) and (emacsy core) WARNING: (guile-user): imported module (emacsy core) overrides core binding= `map' WARNING: (guile-user): `map' imported from both (guile) and (emacsy core) WARNING: (guile-user): imported module (emacsy core) overrides core binding= `map' WARNING: (guile-user): `map' imported from both (guile) and (emacsy core) Backtrace: 5 (primitive-load "/tmp/guix-build-emacsy-minimal-0.4.1-2=E2=80= =A6") In ice-9/eval.scm: 619:8 4 (_ #(#(#) (let* (#) =E2=80=A6)= =E2=80=A6)) 293:34 3 (_ #(#(#(#) (# # =E2=80=A6) = =E2=80=A6) =E2=80=A6)) 182:19 2 (proc #(#(# (=E2=80=A6)) = =E2=80=A6)) 142:16 1 (compile-top-call # =E2= =80=A6) In unknown file: 0 (%resolve-variable (7 . map) #) ERROR: In procedure %resolve-variable: Unbound variable: map (eval-expression (quote (+ 1 2))) =3D> 33 ; correct (let* ((symbols (quote (aa ab c d)))) (let-values (((to-string from-string)= (object-tracker symbol->string))) (map from-string (all-completions "a" (m= ap to-string symbols))))) =3D> FAIL test/core.scm (exit status: 1) --8<---------------cut here---------------end--------------->8--- I don=E2=80=99t see where the extra =E2=80=98map=E2=80=99 binding is export= ed, but it=E2=80=99s visibly causing problems. Thoughts? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 0942e7cf74..1f07152932 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -2808,7 +2808,7 @@ more expressive and flexible than the traditional @code{format} procedure.") `(("autoconf" ,autoconf) ("automake" ,automake) ("bzip2" ,bzip2) - ("guile" ,guile-2.2) + ("guile" ,guile-3.0) ("gettext" ,gettext-minimal) ("libtool" ,libtool) ("perl" ,perl) @@ -2817,7 +2817,7 @@ more expressive and flexible than the traditional @code{format} procedure.") ("texlive" ,(texlive-union (list texlive-generic-epsf))))) (inputs `(("dbus-glib" ,dbus-glib) - ("guile" ,guile-2.2) + ("guile" ,guile-3.0) ("guile-lib" ,guile-lib) ("guile-readline" ,guile-readline) ("freeglut" ,freeglut) @@ -2889,9 +2889,9 @@ in C using Gtk+-3 and WebKitGtk.") "1ps15w8cxj9kc18gmvys9jv9xa1qqa7m43ismv34l3cmhddrn0sr")))) (build-system gnu-build-system) (inputs - `(("guile" ,guile-2.2) - ("guile-lib" ,guile2.2-lib) - ("guile-readline" ,guile2.2-readline))) + `(("guile" ,guile-3.0) + ("guile-lib" ,guile-lib) + ("guile-readline" ,guile-readline))) (propagated-inputs '()) (arguments `(#:configure-flags '("--without-examples") @@ -2948,7 +2948,16 @@ perform geometrical transforms on JPEG images.") (file-name (git-file-name name version)) (sha256 (base32 - "1dnkr1hmvfkwgxd75dcf93pg39yfgawvdpzdhv991yhghv0qxc9h")))) + "1dnkr1hmvfkwgxd75dcf93pg39yfgawvdpzdhv991yhghv0qxc9h")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Fix an inconsistency where 'GUILE_PKG' checks for 3.0 but + ;; later we do 'PKG_CHECK_MODULES([GUILE], guile-2.2)'. + (substitute* "configure.ac" + (("^PKG_CHECK_MODULES\\(\\[GUILE\\].*$") + "")) + #t)))) (build-system gnu-build-system) (native-inputs `(("autoconf" ,autoconf) @@ -2956,12 +2965,12 @@ perform geometrical transforms on JPEG images.") ("bash" ,bash) ("pkg-config" ,pkg-config) ("libtool" ,libtool) - ("guile" ,guile-2.2) + ("guile" ,guile-3.0) ("glib:bin" ,glib "bin") ("texinfo" ,texinfo) ("perl" ,perl))) (inputs - `(("guile" ,guile-2.2) + `(("guile" ,guile-3.0) ("guile-lib" ,guile-lib) ("guile-gcrypt" ,guile-gcrypt) ("guile-readline" ,guile-readline) --=-=-=--