From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Kv7LAyhZ3mHn8wAAgWs5BA (envelope-from ) for ; Wed, 12 Jan 2022 05:29:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WK8+NydZ3mH4bgEAG6o9tA (envelope-from ) for ; Wed, 12 Jan 2022 05:29:27 +0100 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 95644358B1 for ; Wed, 12 Jan 2022 05:29:27 +0100 (CET) Received: from localhost ([::1]:55192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n7VGI-00006v-NE for larch@yhetil.org; Tue, 11 Jan 2022 23:29:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n7VFu-00006X-C7 for bug-guix@gnu.org; Tue, 11 Jan 2022 23:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n7VFu-00022R-2W for bug-guix@gnu.org; Tue, 11 Jan 2022 23:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n7VFu-0000VI-0R for bug-guix@gnu.org; Tue, 11 Jan 2022 23:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52362: guix import go error Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 Jan 2022 04:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52362 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 52362@debbugs.gnu.org Received: via spool by 52362-submit@debbugs.gnu.org id=B52362.16419617011863 (code B ref 52362); Wed, 12 Jan 2022 04:29:01 +0000 Received: (at 52362) by debbugs.gnu.org; 12 Jan 2022 04:28:21 +0000 Received: from localhost ([127.0.0.1]:55971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7VFF-0000Tx-1V for submit@debbugs.gnu.org; Tue, 11 Jan 2022 23:28:21 -0500 Received: from singpolyma.net ([192.99.233.116]:53375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n7VF7-0000Td-8A for 52362@debbugs.gnu.org; Tue, 11 Jan 2022 23:28:19 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 4D1034861706; Wed, 12 Jan 2022 04:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1641961692; bh=SH/G15TZ//VljzXN8yAtm9jygkq0rCyw5QHtKU9KP5o=; h=Date:From:To:Subject:References:In-Reply-To:From; b=BdwzPhxpoJ+6Y59Yd987z1pOxmXYVZo8W8X+IoRfuGvd16G2plpCOibJzJFJeBNob CZovKNfUBDTsuCi5ISYjJ4660PSiBTWB9Tjnk1IfNcoQC7Wqwbg8g24e0CsAf4iKWL s++5TY2/as0u6h5YKUNPFa7nqpZ8NKNv0bd6n/nc= Date: Tue, 11 Jan 2022 23:28:12 -0500 From: Stephen Paul Weber Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8RZ+8gMiYRXiLz18" Content-Disposition: inline In-Reply-To: Jabber-ID: singpolyma@singpolyma.net OpenPGP: id=CE519CDE; url=https://singpolyma.net/public.asc X-URL: https://singpolyma.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641961767; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature:openpgp:openpgp; bh=1Gl8a1XWGoWAv0vkQHz14eyrm+Oj1PSTQxuacm4jros=; b=GBveFiGvajyziJg+iOLdbrayJtQeY6o5lJS0bbrdFwNN+bJiauFn3f8Vrk96D7Qgi4IjEp GyWx4+FYrz5F7kTriWILmOQyUcy1efp9C4dr/MUyRK+rCQ4ippYHBIbys6WPmFcNTQhZNf u0QS1hQsaPZ0LfuyNYUpw52ODYZnnmbLGrEhGspmzF0Phyg2gqM7qpRU0uxWne9LdQB8Dh l+39N1XdmyJBHz2fuzP+X9ym4X2CQdJPqTRtySQ4/Fehv8jmASkpanoy/VZ1RN+BDxsAkS +tk0BSklE8Nx173nIC+Sr2BfKN1bRq9qJ4Ij/vkCF6t5lYaXGLx50+YQp+JAkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641961767; a=rsa-sha256; cv=none; b=YZkRRoLEX6WqPuMLkcShH4snvVT9lZnNxXeZ/A5MKVXj0nWalrG6ZT0WOVi1dnRvbjnZ3q FibK0aAaNUa4VZD2/rOiJgsM5A4Zbz3AJPKBbGWraOpJG1bsS1SfJBtQ1L7d93J4xeE0yF zQ78iMbAdupKpkXO/BbZYxfOEwYsDV++BUIKe0635KGHqUN52Y7n7Mp3mHr1BbxSsW5umo Qyoou+qg3aK9bYkUtWgFNMUQjJInUfyIw+m7Kq9qL3m6S6px/uNCq/Oakyorx2UUkrmj4l KEfQ8qOsZiXaGqp6s2KRNWbDbvbkRsXqOA5FIraROR34zKNCHwz16cluEibMhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=BdwzPhxp; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.62 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=BdwzPhxp; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 95644358B1 X-Spam-Score: -4.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: PehWgX+BF+Gs --8RZ+8gMiYRXiLz18 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Alright, I think I have found the issue. https://go.dev/ref/mod says: > If a module is defined in a subdirectory within the repository, that is, > the module subdirectory portion of the module path is not empty, then each > tag name must be prefixed with the module subdirectory, followed by a slash. > For example, the module golang.org/x/tools/gopls is defined in the gopls > subdirectory of the repository with root path golang.org/x/tools. The version > v0.4.0 of that module must have the tag named gopls/v0.4.0 in that repository. Right now the importer code assumes that either we have a pseudo version (and thus can extract a raw commit hash) or else that the tag will be exactly (string-append "v" version) but this does not take into account the rule about subdirectory packages. --8RZ+8gMiYRXiLz18 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEWeaCw+rzmiEMpzU00RwpEc5RnN4FAmHeWNYACgkQ0RwpEc5R nN5g+Q/8DpO2RDwQqzRaiBnU7IZ5eqsvBXJG9cSBP0BRBQL9cmkHhGtp5TBYaUy4 h9YSN7NI3XMMmOXH3QMACNvRHblyjBuwe9GYqyu8G344rqKhmmWLY8FWNNOrLuJV bDVGGEP4LM+0CevrmiIRQe8QqXdULjOD55UaSuREh7cU4k/U4INJ5GHRqVkiLI2e uKUEgh7FijbDXwAduu/Ay88zclrJS3DZdMhDkydeGjvLbeveV77LSlyhVfVpScMA froV5OPIfTTEseLvg2+MNB7/CzQFa49+fAcHvS2nsUz5pQhOaXMkg//5por/ToEG Abw3+LWM51iFFkcqd9ZCPCYXXCCLLmps8orRaYAmso/Y+vD3YNo5XhVbnpW+W1Mm j3E1fDpCVxvnIYJBZxtC0Cch4IEmnNVdN9RcEzbfwTtyJp/+BnKBpQOusD6LaaVB mfHbC3qpzdnuxeo5OnKPryj/wEkoV0xvzyC2R5+LSL4KhxlYldJEsEEKDCW3LydJ /j3C9eCwkRHlEIDdx9nSaLHINV/xaVHUyqxPLF33uvOtaR1PlRX/ZHIa+diPoT/Z pVGvduSAtrvefcvEx7Z1YMhZUhHQyMrcL0YpPDgccMRssF+Btk1M0X6c9PaH0MpT obcB4gMsLL6v9vsuZRAlM9b/96ake0Th3iMM3nNdvaJxZyJFPmI= =TIPZ -----END PGP SIGNATURE----- --8RZ+8gMiYRXiLz18--