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 ms9.migadu.com with LMTPS id IISuIPaxb2TvAgAASxT56A (envelope-from ) for ; Thu, 25 May 2023 21:07:34 +0200 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 WCvkH/axb2TW6QAAG6o9tA (envelope-from ) for ; Thu, 25 May 2023 21:07:34 +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 3E6A153B for ; Thu, 25 May 2023 21:07:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2Fmm-0000Ko-OW; Thu, 25 May 2023 14:34:04 -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 1q2Fml-0000Ju-24 for bug-guix@gnu.org; Thu, 25 May 2023 14:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2Fmk-00039t-QQ for bug-guix@gnu.org; Thu, 25 May 2023 14:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2Fmk-0000Et-MZ for bug-guix@gnu.org; Thu, 25 May 2023 14:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#52362: guix import go error Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 May 2023 18:34:02 +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: Nicolas Goaziou Cc: 52362@debbugs.gnu.org Received: via spool by 52362-submit@debbugs.gnu.org id=B52362.1685039639873 (code B ref 52362); Thu, 25 May 2023 18:34:02 +0000 Received: (at 52362) by debbugs.gnu.org; 25 May 2023 18:33:59 +0000 Received: from localhost ([127.0.0.1]:48101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Fmg-0000E0-Qh for submit@debbugs.gnu.org; Thu, 25 May 2023 14:33:59 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:39404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2Fma-0000Cz-9T for 52362@debbugs.gnu.org; Thu, 25 May 2023 14:33:52 -0400 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-3f6148e501dso4213815e9.1 for <52362@debbugs.gnu.org>; Thu, 25 May 2023 11:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685039626; x=1687631626; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Ul8N8L6BnhgPTwh0Yl9+jLnxZi2/j0OdP2iWTPnquUA=; b=soOF5Dn7keAKzITA2IM/ztvwy6aDKKkpin72Y8oaVlUUQkJh7rxwSFCXGMLFIdQiLr iL6UiEokxtaot2DdxoJZss+v3k/wnxh1oy1upb7m+TUy6gaYEgYaQAZ3ASk3XquTanI/ +ktyCcMh01BljYbNorWuPgoZ5pz0OAVAylR4GF3YjUP1RPCgF1/ddHDhWRtJvKvZJohN 1xVZbOObOY9OaYIPN0uRNbgJam4HkipHsZQS6Ie+7FREpNjvjBdMK0UxYdf2LrwFXeoW 7chysv1KpYz2pcHaESDXJJFFNFSlmmgO3LFWaf16TBBZ94duXmykCPRM0vjgJ4YAgwMn HIPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685039626; x=1687631626; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ul8N8L6BnhgPTwh0Yl9+jLnxZi2/j0OdP2iWTPnquUA=; b=S4qwsMtoN43pYtmB2BZ5t6JuXtNBV0vVgdpv8B3bml9cSDk+gGjblOcfYOWuHf9jZa 7ERjbEhqxP2bo4uiHDhSM6zAPHKmlnrzc4yAFbieDlCMj2cA9MQELc/kvJht05woGEAm Pi5vUBBFXiWcF/KeVZ4pgSgp0B83SD+RQEjAj5PxgWcuUteFaa5pQ946BX8uIQ/N3Wp5 2w7uZMaQr9ury9Z2AnqhhViGpvRZK8tg3Rwj010gF0Tp+qC984BA1gBwb3z595biQA7b ogW/xBr6xgnCN+Tqn4bzHJg9DH5O+/3XOQWClaX083uU/R9A1Z1+HP0Xv6VqUh4a8HPq wrxA== X-Gm-Message-State: AC+VfDy13EtEItQd1dI+Dpmb4iN/CyTkRPp/zKHLqLXwo0XZE046hea5 uXyTm65/rUpZ+6p+USCB5PBsztpKOU8= X-Google-Smtp-Source: ACHHUZ7kSGDE/CCOmJYdkqu6BhE5yyq8A40EIW6e/wpq8Tyb5L9w9AK43p3pOS7sB38OTJ67qv86Lg== X-Received: by 2002:a5d:4ccb:0:b0:30a:9930:9d03 with SMTP id c11-20020a5d4ccb000000b0030a99309d03mr123464wrt.2.1685039626418; Thu, 25 May 2023 11:33:46 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id e2-20020adffc42000000b002ff2c39d072sm2555735wrs.104.2023.05.25.11.33.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 11:33:46 -0700 (PDT) From: Simon Tournier References: <875yoywnpx.fsf@nicolasgoaziou.fr> Date: Thu, 25 May 2023 16:21:17 +0200 In-Reply-To: <875yoywnpx.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 01 Mar 2022 00:55:22 +0100") Message-ID: <87lehcwkyq.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685041654; a=rsa-sha256; cv=none; b=Qq6ZqGKeOVEwzla0cVWN8ALvfGHCcvLREMEVFkucqaXIZsp1iHOogSftMT6Kn0M0KZ6Pto 2bZKKh95vtZusZry5odwks3dq1jB+8ofZ7BCzpwE/nyvyinxTmXEmwvNt/W/p5+MT/M5hb vg8qr86jvkO10+PbRhLHTese7lDLD+0cLs1Z7NF5K+3/AUOgZ+3EfrK8YnWakzH+6f3RJZ 0nYdCvbenS4JHKwt3sOS5qb+7d7RBPsdfeeCFsx2xHuciDRQKRcLQh10MmNQNbTaKXJuKe 7bDwHP/efg8UgH8coyPa/5G6n3IEu7hjBB9nz4wNWlPMKyo/cMwwJ+aQUBrQiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=soOF5Dn7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685041654; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=Ul8N8L6BnhgPTwh0Yl9+jLnxZi2/j0OdP2iWTPnquUA=; b=hAZ1OB/cFc23H2nPPHksJeXVhaLmVmsbU+2K7Vd+Lv+I/wxBLQfdUPM8nSvLrlF+gLC/D/ xzZkXjis/HsRBIJqntcE3/Gwzu6sRva4Acje4IkQk3WrjW5ZbnsoDbTVDgOy0vVrDrfwv6 SFgNJLl2OJXJ7UHEtMuA50p9kDpv8p1V4Xbir8eVTCiVlrk/W13pGv04lxEVdiqjMv4by0 izGE5wjeZvumRPrOKvW13WHVrSLJJ9bX7srlJyeM4n2n2TvcL8lxxw+x0wm7SH7aLnyxd/ AlmonKdiJMEE5t4XXONz0U4rJ/q6k05GySs7B901vahfzihXXlxRejf3EbUenA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=soOF5Dn7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 5.83 X-Spam-Score: 5.83 X-Migadu-Queue-Id: 3E6A153B X-TUID: VTIIjr57dgrw Hi, On mar., 01 mars 2022 at 00:55, Nicolas Goaziou wrote: > ./pre-inst-env guix import go --recursive rclone Using Guix 14c0380, I get: --8<---------------cut here---------------start------------->8--- $ guix import go --recursive rclone guix import: warning: Failed to import package "rclone". reason: "https://proxy.golang.org/rclone/@v/list" could not be fetched: HTTP error 404 ("Not Found"). This package and its dependencies won't be imported. --8<---------------cut here---------------end--------------->8--- Moreover, instead of the patch in this thread, I am proposing #63647 [1] which warns by handling the error, for instance, it displays using another example from the thread, --8<---------------cut here---------------start------------->8--- guix import: warning: Git error: reference 'refs/tags/v0.11.29' not found in https://github.com/Azure/go-autorest (define-public go-github-com-azure-go-autorest-autorest (package (name "go-github-com-azure-go-autorest-autorest") (version "0.11.29") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Azure/go-autorest") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0000000000000000000000000000000000000000000000000000")))) (build-system go-build-system) (arguments '(#:import-path "github.com/Azure/go-autorest/autorest" #:unpack-path "github.com/Azure/go-autorest")) (propagated-inputs `(("go-golang-org-x-crypto" ,go-golang-org-x-crypto) ("go-github-com-golang-jwt-jwt-v4" ,go-github-com-golang-jwt-jwt-v4) ("go-github-com-azure-go-autorest-tracing" ,go-github-com-azure-go-autorest-tracing) ("go-github-com-azure-go-autorest-logger" ,go-github-com-azure-go-autorest-logger) ("go-github-com-azure-go-autorest-autorest-mocks" ,go-github-com-azure-go-autorest-autorest-mocks) ("go-github-com-azure-go-autorest-autorest-adal" ,go-github-com-azure-go-autorest-autorest-adal) ("go-github-com-azure-go-autorest" ,go-github-com-azure-go-autorest))) (home-page "https://github.com/Azure/go-autorest") (synopsis #f) (description "Package autorest implements an HTTP request pipeline suitable for use across multiple go-routines and provides the shared routines relied on by AutoRest (see @@url{https://github.com/Azure/autorest/,https://github.com/Azure/autorest/}) generated Go code.") (license license:asl2.0))) --8<---------------cut here---------------end--------------->8--- Aside, indeed the proposed patch in this thread could also be merged. 1: https://issues.guix.gnu.org/issue/63647 Cheers, simon