From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CBjaABycH2LVMwAAgWs5BA (envelope-from ) for ; Wed, 02 Mar 2022 17:32:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SNY9NRucH2KH9QAAG6o9tA (envelope-from ) for ; Wed, 02 Mar 2022 17:32: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 A5B00194B9 for ; Wed, 2 Mar 2022 17:32:27 +0100 (CET) Received: from localhost ([::1]:44642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPRtq-0008QG-HO for larch@yhetil.org; Wed, 02 Mar 2022 11:32:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:32966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPRtS-0008NX-DQ for bug-guix@gnu.org; Wed, 02 Mar 2022 11:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46735) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPRtS-0000rw-2y for bug-guix@gnu.org; Wed, 02 Mar 2022 11:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nPRtR-0007a5-US for bug-guix@gnu.org; Wed, 02 Mar 2022 11:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53710: "guix pull" doesn't have nice error messages in case of network errors Resent-From: Jesse Gibbons Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 02 Mar 2022 16:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53710 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 53710-submit@debbugs.gnu.org id=B53710.164623867529083 (code B ref 53710); Wed, 02 Mar 2022 16:32:01 +0000 Received: (at 53710) by debbugs.gnu.org; 2 Mar 2022 16:31:15 +0000 Received: from localhost ([127.0.0.1]:40632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPRsg-0007Z0-Ry for submit@debbugs.gnu.org; Wed, 02 Mar 2022 11:31:15 -0500 Received: from mail-pj1-f46.google.com ([209.85.216.46]:35773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nPRsf-0007Yl-E6 for 53710@debbugs.gnu.org; Wed, 02 Mar 2022 11:31:13 -0500 Received: by mail-pj1-f46.google.com with SMTP id mg21-20020a17090b371500b001bef9e4657cso1893985pjb.0 for <53710@debbugs.gnu.org>; Wed, 02 Mar 2022 08:31:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=RCgZhpsGbUTB+g4Zfs+3XsclWhbetipC/2P7GAFjcyg=; b=IDua/aAEdEu+m+u7DFA3qhSocMB58rTMSYhBm4gJVS5IGlpGOuZsjjnkZj6YRWpEQd NZaC3cpZqGNZIRtpOKzvACnNHuJnLsKIAiGEc7hq8qHProTqkpsRHqzPs4IuAmwtPy73 XoDjeudL1bDqRLkH2kTEeXhhl9quNC9IxcpG2PrE4+5NO/csMLNMMS1YDOqbHQKWU+Pq fCoR5aSsjB1gl38tQRmUNFqwBcvB96uIp7qp6eCcVEIuTBVNFsT7U3+cShBMY17CbUCr 6PUycbhmOCJ3jvgSpmtJBsDq3xKOXyMhc/ycn9RLzZNvIXohIrmi2fwBBSgf993WdfRX 2LGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=RCgZhpsGbUTB+g4Zfs+3XsclWhbetipC/2P7GAFjcyg=; b=dvMBNUKcCdjC2heDPKIRCiBpnMg3zSz8P5tUgjeN9+Rw1odgbU4hyBoyCI3+6F7Vjl 4ldGGgwCsEywf9Ew2LrnKrC7NXYixQsPYzPeddr49l3DLpCrtHxAChf+hQD8OJmJ/sMZ ZsJ38VbcP+DfowxWS6tTCeZy6SHrSkK0ZAjLkICLQVLsj8JAvkxVzJ7McUWrisFgBKhe qkPP+2CIJF9dFVZGh08dha47KI1Wnn6s1io4hvXBUfkaWOZ5wknYb4xf/OnQNaeF8AvZ 6mM0CGwKRe4SNHojjg4MyaNlvhxtaJiTh1JQU9USI7L5TlMqjrTBRJpcxBJVyT3fxSX3 f+ew== X-Gm-Message-State: AOAM532Y0xyhjskY96LqHbVtmN2+BQSz7FC/efoYwSNqxP8JgCUMdt62 qIIYOtF+koErZboFwkFpckA= X-Google-Smtp-Source: ABdhPJwA2djmIbgCqqyDYEKbH/mrhYJhWdokTV0xdYbecj0by35WPG9EoXFXtOyxa/lJG4HuRblekg== X-Received: by 2002:a17:90b:4c4a:b0:1be:fa80:eb85 with SMTP id np10-20020a17090b4c4a00b001befa80eb85mr619799pjb.94.1646238667351; Wed, 02 Mar 2022 08:31:07 -0800 (PST) Received: from ?IPV6:2604:3dc0:0:9881:cbba:b709:bc8:c69c? ([2604:3dc0:0:9881:cbba:b709:bc8:c69c]) by smtp.gmail.com with ESMTPSA id k4-20020a17090a910400b001bd171c7fd4sm5602577pjo.25.2022.03.02.08.31.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Mar 2022 08:31:06 -0800 (PST) Message-ID: <68f14fc1-39ee-8e33-bc2a-87f9ec077054@gmail.com> Date: Wed, 2 Mar 2022 09:31:05 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US References: <9a36f0be-2251-af70-3b26-3ae18590f976@gmail.com> <87r17k38la.fsf@gnu.org> <126927a6292208ac84e74afa1a7dab31d4a5968e.camel@telenet.be> From: Jesse Gibbons In-Reply-To: <126927a6292208ac84e74afa1a7dab31d4a5968e.camel@telenet.be> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: , Cc: 53710@debbugs.gnu.org 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=1646238747; 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: content-transfer-encoding:content-transfer-encoding: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=RCgZhpsGbUTB+g4Zfs+3XsclWhbetipC/2P7GAFjcyg=; b=hAKIz1zXIcUbtMkDcr257hS3Bq1NrIeN0b4McKCYSLFe3hvlwqYIn2TUF6lFGr9GLYGltQ WQ5sEUnB8sanzoDP9m+1hIPzUxPlPSeC5966hZ0D+kPSNlwh1Moel2FjDh3ZxeOF8Lc9Hi myMvreY7C9C2OppiZlmRDcMLDfFEWW+8Gvh1fRR02/KroKdC20trNPGw35dtzjKiivO7NC rq1ALr8bLKugAsAcusgdMADzbdVrFCS1ix5ua6LbESiejqxxfqt97PVdB644gC8pJS9bda Po3MyxvDnluE2Y0VuaidFarVdsTmiyrmIM04C24Ue49Uog8eFyFZCXyNN4HsVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1646238747; a=rsa-sha256; cv=none; b=h/ZR0AnMgC2bqFEJEOPHYUdiSrZ7lzMnN7S14BGxP69heotsSjRuB6KJh6hfzuLsD4p77R 9jX2X4ArSKdMpKybWYElG96EhfVFTCWLmmmq8ZF4BkNIEsLuXkqKObv4Pj/51PIyr1cUOj RgHB8aJaLsvGkiDiTHTf1peAQgEsahba6zN3Ly8nVitDIbuTg+XoTaqDPyzfHtx8/E5mdb ns3GfmhoU4XYlUFjnHyAhXbTit0icg95aSNU6xHxcdRln53VP4m1IxtMPyuh5EHgVZMC+b QRwzTsg7mvV2wRhjByp5mAZ1C70KQbAXNyqHWyLZM7IJnhBoz38ue+5EKHtItw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="IDua/aAE"; 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.52 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="IDua/aAE"; 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-Queue-Id: A5B00194B9 X-Spam-Score: 5.52 X-Migadu-Scanner: scn0.migadu.com X-TUID: OJ1vxYk4Cnox On 3/2/22 06:14, Maxime Devos wrote: > Ludovic Courtès schreef op wo 02-03-2022 om 12:19 [+0100]: >>> ./guix/serialization.scm:80:6: In procedure get-bytevector-n*: >>> ERROR: >>>   1. &nar-error: >>>       file: #f >>>       port: # >>> guix pull: error: You found a bug: the program >>> '/gnu/store/rx23w5k5nys4a2hjwcy4lampkhnslj3m-compute-guix- >>> derivation' >>> failed to compute the derivation for Guix (version: >>> "787b13a5d9df8f0cc7170de1b80cead68b516c66"; system: "x86_64-linux"; >>> host version: "90a41fe388102d448b3f91a070e38a7680d2d568"; pull- >>> version: 1). >>> Please report the COMPLETE output above by email to >>> . >> Thanks for reporting the issue.  Unfortunately, I suspect it was >> “just” >> a transient issue (probably a networking issue while downloading >> substitutes for guile-ssh, which we see in the backtrace).  It’s >> unfortunate that it crashed like that. > Even if it's ‘only’ a networking issue, shouldn't it be reported > better? When "guix package -u" fails due to networking errors, the > error messages are much clearer. Why not the same for "guix pull"? > Perhaps the issue should be reopened? > > Greetings, > Maxime. A proper error message would at least ensure this particular kind of crash does not prompt the end user to send a bug report. It would seem the real bug is communication to the user, "you found a bug, report it to the developers." instead of "Network error. Try later." -- -Jesse Gibbons