From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wDxIKeATyF77bQAA0tVLHw (envelope-from ) for ; Fri, 22 May 2020 18:03:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SOEzJeATyF5SDAAAB5/wlQ (envelope-from ) for ; Fri, 22 May 2020 18:03:12 +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 1EF8C9401AD for ; Fri, 22 May 2020 18:03:12 +0000 (UTC) Received: from localhost ([::1]:59402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcC0j-00012G-EF for larch@yhetil.org; Fri, 22 May 2020 14:03:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jcC0c-00011y-LV for bug-guix@gnu.org; Fri, 22 May 2020 14:03:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jcC0c-00010X-CC for bug-guix@gnu.org; Fri, 22 May 2020 14:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jcC0c-0002in-AA for bug-guix@gnu.org; Fri, 22 May 2020 14:03:02 -0400 Subject: bug#41457: guix pull: channel d8feee9 - extraneous field initializers (sha256) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 22 May 2020 18:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41457 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Mail-Followup-To: 41457@debbugs.gnu.org, ludo@gnu.org, matias_jose_seco@autoproduzioni.net Received: via spool by 41457-done@debbugs.gnu.org id=D41457.159017053110371 (code D ref 41457); Fri, 22 May 2020 18:03:02 +0000 Received: (at 41457-done) by debbugs.gnu.org; 22 May 2020 18:02:11 +0000 Received: from localhost ([127.0.0.1]:60319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcBzn-0002hD-4s for submit@debbugs.gnu.org; Fri, 22 May 2020 14:02:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jcBzl-0002gz-FI for 41457-done@debbugs.gnu.org; Fri, 22 May 2020 14:02:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53936) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jcBzd-0000rG-8s; Fri, 22 May 2020 14:02:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50348 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jcBzb-0002CA-Jr; Fri, 22 May 2020 14:02:00 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200522121438.658271a5.matias_jose_seco@autoproduzioni.net> <87imgoc9du.fsf@elephly.net> Date: Fri, 22 May 2020 20:01:56 +0200 In-Reply-To: <87imgoc9du.fsf@elephly.net> (Ricardo Wurmus's message of "Fri, 22 May 2020 16:49:33 +0200") Message-ID: <878shjalwr.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41457-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: cAJN/qAA89ZP Hi, Ricardo Wurmus skribis: > [rwurmus@bimsb-sys02.mdc-berlin.net:~/code/guix] (1005) $ ~/.config/guix/= current/bin/guix pull > Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.= org/git/guix.git'... > Building from this channel: > guix https://git.savannah.gnu.org/git/guix.git cd5d5f5 > Computing Guix derivation for 'x86_64-linux'... ice-9/psyntax.scm:1585:3= 2: In procedure expand-macro: > Syntax error: > unknown location: %origin: extraneous field initializers (sha256) in form= (%origin (method url-fetch) (uri (string-append "mirror://gnu/bash/bash-" = version ".tar.gz")) (sha256 (base32 "0kgvfwqdcd90waczf4gx39xnrxzijhjrzyzv7s= 8v4w31qqm0za5l")) (patch-flags (quote ("-p0"))) (patches (cons (search-patc= h "bash-linux-pgrp-pipe.patch") %patch-series-5.0))) > -guix pull: error: You found a bug: the program '/gnu/store/fsch1y8hilmkg= 21rmgk256j3wfi2w7wk-compute-guix-derivation' > failed to compute the derivation for Guix (version: "cd5d5f53228fd5bf96d9= f790aa2606ae71fa68d7"; system: "x86_64-linux"; > host version: "be0ecfb1787b9e6954bf745bceeb1b9d2669d51a"; pull-version: 1= ). > Please report it by email to . Good news, this is fixed by 50ea3135e0948a042cd3b899e970f6ade291a0c2! As noted in the commit log, this issue stemmed from a change in #:autoload semantics in Guile 3.0. In 3.0, the line: #:autoload (gcrypt hash) (port-sha256) means that only =E2=80=98port-sha256=E2=80=99 is imported. Conversely, in = 2.2 (which is the Guile version used by the =E2=80=98compute-guix-derivation=E2=80=99 pro= gram above), that #:autoload line means that all the (gcrypt hash) bindings are imported. That includes the =E2=80=98sha256=E2=80=99 bindings, which would= thus prevent matching the =E2=80=98sha256=E2=80=99 literal in the =E2=80=98origin-compat= ibility-helper=E2=80=99 macro. Terrible! Ludo=E2=80=99.