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 qFEBI8GS0V9SLQAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 03:15:13 +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 iGe1HsGS0V+PLQAAbx9fmQ (envelope-from ) for ; Thu, 10 Dec 2020 03:15:13 +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 B50C19404D3 for ; Thu, 10 Dec 2020 03:15:12 +0000 (UTC) Received: from localhost ([::1]:56884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knCQB-0001LS-HJ for larch@yhetil.org; Wed, 09 Dec 2020 22:15:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knCQ2-0001L9-7s for guix-patches@gnu.org; Wed, 09 Dec 2020 22:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knCQ1-0000cx-W8 for guix-patches@gnu.org; Wed, 09 Dec 2020 22:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knCQ1-0002vx-RR for guix-patches@gnu.org; Wed, 09 Dec 2020 22:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44178] Resent-From: dftxbs3e Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 10 Dec 2020 03:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44178 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44178@debbugs.gnu.org Received: via spool by 44178-submit@debbugs.gnu.org id=B44178.160757007611232 (code B ref 44178); Thu, 10 Dec 2020 03:15:01 +0000 Received: (at 44178) by debbugs.gnu.org; 10 Dec 2020 03:14:36 +0000 Received: from localhost ([127.0.0.1]:36616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCPb-0002v6-Vy for submit@debbugs.gnu.org; Wed, 09 Dec 2020 22:14:36 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:4883) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knCPZ-0002uw-Jy for 44178@debbugs.gnu.org; Wed, 09 Dec 2020 22:14:34 -0500 Received: from [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6] (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 6FD6520039C for <44178@debbugs.gnu.org>; Thu, 10 Dec 2020 04:14:31 +0100 (CET) Message-ID: <97498b5966a4e1cd64bc85ec30bbd8007df09173.camel@free.fr> From: dftxbs3e Date: Thu, 10 Dec 2020 04:14:31 +0100 In-Reply-To: References: <9395ba7c7499d6c4423982486a0a0fb31cb76e93.camel@free.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.30 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B50C19404D3 X-Spam-Score: -0.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: gcBPlWCjyKF1 It now fails with: $ ./pre-inst-env guix import go -r github.com/hashicorp/consul/api WARNING: (guix import go): `url-fetch' imported from both (guix import utils) and (guix build download) Starting download of /tmp/guix-file.i8tqa2 >From https://proxy.golang.org/github.com/hashicorp/consul/api/@v/v1.8.0.mod. .. v1.8.0.mod 424B 334KiB/s 00:00 [##################] 100.0% Backtrace: In ice-9/boot-9.scm: 1736:10 17 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 16 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 15 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 14 (_ #(#(#))) In guix/ui.scm: 2127:12 13 (run-guix-command _ . _) In guix/scripts/import.scm: 120:11 12 (guix-import . _) In ice-9/eval.scm: 159:9 11 (_ _) In guix/import/utils.scm: 458:31 10 (recursive-import _ #:repo->guix-package _ #:guix-name _ …) 449:33 9 (lookup-node "github.com/hashicorp/consul/api" #f) In guix/utils.scm: 697:8 8 (call-with-temporary-output-file _) In ice-9/eval.scm: 293:34 7 (_ #(#(#(#(# …) …) …) …)) 159:9 6 (_ #(#(#(#(# …) …) …) …)) In ice-9/ports.scm: 445:17 5 (call-with-input-file _ _ #:binary _ #:encoding _ # _) 470:4 4 (_ _) In ice-9/eval.scm: 619:8 3 (_ #(#(#(#)) …)) 619:8 2 (_ #(#(# # …) …)) 293:34 1 (_ #(#(#(#(#(# …) …) …) …) …)) In unknown file: 0 (list-ref ("replace" "github.com/hashicorp/consul/s…" …) …) ERROR: In procedure list-ref: In procedure list-ref: Argument 2 out of range: 4 It's probably because the go.mod file contains a self-referencing replace line (seems unsupported by the code): module github.com/hashicorp/consul/api go 1.12 replace github.com/hashicorp/consul/sdk => ../sdk require ( github.com/hashicorp/consul/sdk v0.7.0 github.com/hashicorp/go-cleanhttp v0.5.1 github.com/hashicorp/go-hclog v0.12.0 github.com/hashicorp/go-rootcerts v1.0.2 github.com/hashicorp/go-uuid v1.0.1 github.com/hashicorp/serf v0.9.5 github.com/mitchellh/mapstructure v1.1.2 github.com/stretchr/testify v1.4.0 )