From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IOIRAJaYV2RPVgAASxT56A (envelope-from ) for ; Sun, 07 May 2023 14:24:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EKqRO5WYV2R4QwAA9RJhRA (envelope-from ) for ; Sun, 07 May 2023 14:24:53 +0200 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 5B5702D967 for ; Sun, 7 May 2023 14:24:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvdR2-0005kz-An; Sun, 07 May 2023 08:24:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvdQz-0005kC-TF for help-guix@gnu.org; Sun, 07 May 2023 08:24:13 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pvdQx-0001Xq-Gq for help-guix@gnu.org; Sun, 07 May 2023 08:24:13 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 59207242F5D; Sun, 7 May 2023 12:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1683462246; bh=DyDer5n0Qh9pHl1D0h0gBc3SKqoIFQGZcVobjOGTfCU=; h=Date:From:To:Subject; b=HGGov8ojmTHk5Htq12QzKvVx7XE60eEqngAOM4tVYQKCwbeuckimTH6VxhRQq0EB6 zkH68KRF0FrEJqynWOjMzz53z/KbCH+NAcoAa6qKMBrG+ef7e1/yfbnL+zBUwZHcLv dYNkMTV6hYH6pMvfiZJunc3EIn91APAnelrY925awJkVpSawpx/dYtOMmvLS/BVfbP RhZ1ZTDj9RHFXWELWKW9NQ/wfZqnd3lnZUCLQTQO01x04a4ZiL/hIYuPanTYF9nVFv rAlXLQbtZ/WX2IaYeGfcusWRSqHa3FvXxR6O3SV9jxp8o/023LS9eM32kVuscYLrxm AwLjYnDxw7IHajjhdF76lJa+owe5hEir9mKn92ZM0R7EkEB8udI7ISiY48teyVa70E aRhnzhJl9TkS6s4kbIquuXJwlW5Uh1q0t7ppr41Y9jlLUIvAKIikUIoilXkZnvRRuU 3i7HM0e+MFbVblNMBCghPphIz97AKbrGD+8J9a26eYhhXqjS2RPYf/O95BItntdpTb ftRq+d+GB+FyiCzIDgwSILlkvZFtFjn9/f03kX12CIAEWujBpg7jvCRN+rk1LNqSae oa9eI/YjpIaRKwjIb+LDoGzzj9jNseMH9Dh5VNw9yv/KRPvMz8tYEEZ3vOJnVhw0Hl LJOnMpOUXe/CGmJ0nqCv3qQ0= Received: from localhost (unknown [128.0.188.242]) by wolfsden.cz (Postfix) with ESMTPSA id 8489C244045 for ; Sun, 7 May 2023 12:24:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1683462245; bh=DyDer5n0Qh9pHl1D0h0gBc3SKqoIFQGZcVobjOGTfCU=; h=Date:From:To:Subject; b=rLSNgQSg3l53/cGxvomZVH9eixBFH1AsdIf6qEhgdp02qWBrrIgNaEuypyNekp5mU ZVx6icgPrgJlPry7gULu9pnKSugkgcW+3Q6yzLVVLdEkVktWz793WerI1Hg2u11S1A a2FLySVUq6eZzPjTPAQGUGJVWtbbcSSwTwqLzn2esaC9hjOpjTggAPFV+JGP/AkysZ PKES9/Ywv7+8Ums3YxLEdd4RSuPKxIggkStpdYUDCzsNQW6BakGS01Udd85qhD9D6p u+HmeHS4ZvCZNakTtMiYWLIBv7PWqLzNUyR8335B9Qg7CSnzsn+B12fytjnY4lO1bv aPRQEZsXJWYsAb+otEuEOGW5q0tNKgTSV6ddzzz/ssBF9YAtVaDn4jKtY/KfsuJqhc tfrm0IFxbSPaSoZ5luydcN9lbznASA6A9UamlckX2H6UEncDUnpotXeiWqL8Fd1Tjo aI/mpQKKFDjq1dQ2+v6/SJgheDXtsOUR5rwYKKiluEmT93iBKYupI2ReEyGUZRpmYP DDOJymjNy9V+HA4tufXSC1s5EP1PA1eJJmAhyIsfxVerNoqrTSv7FlTo2+q2X2g7rj tSQyFEXyOizn/YJ3t+M6Ia0J0MizcOv0/h4ALNy2Dp3uBet7xsHVI1eYW4N6ToVHvn EUkb16Qb+XKDK6u361iWylfc= Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 8cf09fdc for ; Sun, 7 May 2023 12:24:04 +0000 (UTC) Date: Sun, 7 May 2023 14:24:04 +0200 From: wolf To: help-guix@gnu.org Subject: guix import go: How to work around https://issues.guix.gnu.org/54097 ? Message-ID: Mail-Followup-To: help-guix@gnu.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Ht+lanRY8QgZ5iXx" Content-Disposition: inline Received-SPF: none client-ip=37.205.8.62; envelope-from=ws@wolfsnet.cz; helo=wolfsden.cz X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683462293; a=rsa-sha256; cv=none; b=nTAN8mwtrVj19xXe1CllpP+Ck2mB/V11EQeX5hpGr1uZMUCPOfKY44vp29OXzACEUtOW/x WYVO4wxTEOIEZtF2I14AGAtNsT8bmh9HJM3c2xEjVRR45E+BepXC0xIW3rEuXTijo8xNQ+ JTBJPHQV7iP18m5pBZ6EitvOipoPTy7BNMAOPbc3pcR3W7Vcz/gXh5u3iSvhMHdBYPfHBg jHkjlBKvJrQScX9DbG8cRStxYhj6bVuSQio2PTt/GXpDEPJmCHL5pe+QP0NnB8fPzQk/k4 jeuOZ5GG6XFXnL3hOjNiUT+PCevfdg8aAjd98DBvWWg68nmt6aYyedDhDGepyQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=HGGov8oj; dkim=pass header.d=wolfsden.cz header.s=mail header.b=rLSNgQSg; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683462293; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lVU9YgnbS8IVUV/CFB1QiGT8veH6ftn7p1MtLk1wje0=; b=UyGgH4MgLXkx8Z4T44Msl+RMoxvB0nG5Wp/HZrmjB3zDVQx8i1+Ldq+KuS4IOrJo8Hlr7R 3/zY2MLch+K+xsjxeI9TTcNetMYs90ySXxa+xp7JviS0nWp1Wq38vcPSjmYGYiG67DND7J tv/w/1Y+EzC2NAkdcu5oTNPgQruZI4rcaNQtn6yGSo0Nt7oOa9vMdckQs+pScvSjekWBbq hmwVDLrUThR4OZn9DdxWe141kWgfuZwV+0gIThkEce6gtE5Bgf8HrTEs5pZHxw1GWzk7R5 XFaT2CyUElU7b40ogM+DvBUP8MSehm2jNSvexXPW8voPgD0rfqF1IbJtlCXmXg== X-Migadu-Spam-Score: -5.18 X-Spam-Score: -5.18 X-Migadu-Queue-Id: 5B5702D967 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=HGGov8oj; dkim=pass header.d=wolfsden.cz header.s=mail header.b=rLSNgQSg; dmarc=pass (policy=none) header.from=wolfsden.cz; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-TUID: +oxavhgBZ3OJ --Ht+lanRY8QgZ5iXx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm trying to use go-importer to build terraform using Guix. However, alon= g the way I did encounter https://issues.guix.gnu.org/54097, leading to following error: $ guix import go -r --pin-versions github.com/hashicorp/terraform following redirection to `https://github.com/google/gnostic?go-get=3D1'= =2E.. following redirection to `https://github.com/hashicorp/go-metrics?go-ge= t=3D1'... following redirection to `https://pkg.go.dev/github.com/apparentlymart/= go-textseg/v13'... Backtrace: In srfi/srfi-1.scm: 586:29 19 (map1 _) 586:29 18 (map1 _) 586:29 17 (map1 _) 586:29 16 (map1 _) 586:29 15 (map1 _) 586:29 14 (map1 _) 586:17 13 (map1 (("github.com/Azure/go-autorest/tracing" "v0=E2=80= =A6") =E2=80=A6)) In guix/import/utils.scm: 630:33 12 (lookup-node "github.com/Azure/go-autorest/tracing" "v0=E2= =80=A6") In guix/memoization.scm: 98:0 11 (mproc "github.com/Azure/go-autorest/tracing" # # =E2=80=A6) In unknown file: 10 (_ # =E2=80=A6) In guix/import/go.scm: 685:10 9 (_ _ #:version _ #:repo _) In ice-9/exceptions.scm: 406:15 8 (go-module->guix-package* . _) In ice-9/boot-9.scm: 1752:10 7 (with-exception-handler _ _ #:unwind? _ # _) In guix/import/go.scm: 511:19 6 (go-module->guix-package "github.com/Azure/go-autorest=E2= =80=A6" =E2=80=A6) In guix/git.scm: 291:4 5 (update-cached-checkout _ #:ref _ #:recursive? _ # _ # _ = =E2=80=A6) 277:19 4 (resolve _) In git/reference.scm: 60:8 3 (_ _ _) In git/bindings.scm: 77:2 2 (raise-git-error _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) =20 ice-9/boot-9.scm:1683:16: In procedure raise-exception: Git error: reference 'refs/tags/v0.6.0' not found I am not sure how to work around that. The description for the -r does say: > generate package expressions for all Go modules that are not yet in Guix Would it be possible to work around this bug by manually providing the fail= ing package, so that the import would just skip it? If yes, how would I do so?= I am not sure what the precise definition of "not yet in Guix" is. Any other ideas how to get this working? Thank you and have nice day, W. --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --Ht+lanRY8QgZ5iXx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmRXmGQACgkQL7/ufbZ/ wamW+A//T+Aoad/DbIUr4VJEec3dur6oJiQKscyZwWj9fRYxnWOSDtaWmzqHrNor fis94+Q7JmOJU6lT6xIQl2cmYljbbesBc26RwRC0syXOw7DPmCeHvhmEKcSj+S8Y 7sRm9/vbLntEEjVhl4LwScBTg7mICvYE7WFSQKqlPOZ2s9TIBL38lS8sNI1d1huJ jSy941ZpgLN2WZB3glhktw8bfWckFo58ZT5Hj4DnwZPWepZl2uAemxhNCArdgw78 q3eShMKxySdPkXuLnw4ykj0l3llmDkzCa7wFZ5Stkg//ibfK17ZB0AZQIgFmMX1Y BVHlXQw1YWpPKdlrkXQdokiGHj7uf4t3hiuaJizkvj/pE/kLC5ukq8oFE7WkX5KU KQYR6I/LFscacXhYy3U+C7zh8HHcr3Uix+G1oxUrsRdDymIcuwNWook/pWF+6Cr1 cKAspHwrt1hrGNN4Cb9co/+A96TNz2ICih11c94YSGsBtXJdTakZppLgKQ9dLV7J U5m5Zbh+oz0ddwUrBXy479xmUAGvSDwT2t8zGVPyJoCRo2hincVB+4h+0PmeGkFl IRUJyPplm3huLKMzIPZ+JkulIYTOaxh5oN6TF8B+ARY1b4lA1tRX49FSEl0vc60r Nmd5rxrHB/HIEiegn8LnyIm6330+0gMLri35fEUyTwoZJhnn48g= =5yC3 -----END PGP SIGNATURE----- --Ht+lanRY8QgZ5iXx--