From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kPKLGfZdGWBUXgAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 14:13:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wPEQFfZdGWDxEAAAB5/wlQ (envelope-from ) for ; Tue, 02 Feb 2021 14:13:10 +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 DEC919403C9 for ; Tue, 2 Feb 2021 14:13:09 +0000 (UTC) Received: from localhost ([::1]:55048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6wQW-0003TK-TC for larch@yhetil.org; Tue, 02 Feb 2021 09:13:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39558) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6wQQ-0003TC-Hk for bug-guix@gnu.org; Tue, 02 Feb 2021 09:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6wQQ-0004WM-AR for bug-guix@gnu.org; Tue, 02 Feb 2021 09:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6wQQ-0007wL-5y for bug-guix@gnu.org; Tue, 02 Feb 2021 09:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#42802: Unhandled FTP exception when using GNU importer Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Feb 2021 14:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42802 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 42802-done@debbugs.gnu.org id=D42802.161227516630497 (code D ref 42802); Tue, 02 Feb 2021 14:13:02 +0000 Received: (at 42802-done) by debbugs.gnu.org; 2 Feb 2021 14:12:46 +0000 Received: from localhost ([127.0.0.1]:34364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wQ8-0007vh-6T for submit@debbugs.gnu.org; Tue, 02 Feb 2021 09:12:45 -0500 Received: from mail-qk1-f175.google.com ([209.85.222.175]:33321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6wQ5-0007vR-Di for 42802-done@debbugs.gnu.org; Tue, 02 Feb 2021 09:12:42 -0500 Received: by mail-qk1-f175.google.com with SMTP id x81so19868061qkb.0 for <42802-done@debbugs.gnu.org>; Tue, 02 Feb 2021 06:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=NlzJsVqm15cbF1TZSE84JU/gki6NKn3F0mqYsDMjRHo=; b=trbSDL0QP8fH61vyK87aVfCjqPvs28stTwHNqdXI4dzF/7D6d0jSZeGK0pj2O/gTDE upZIwteGi2mfWGw0+1W76zcVUSTyuQET8nPyngpNUmwRIqvW4B6URpUJK9Ysahr7FcV3 WCyR78DRbwz1H9AoW1RiBFDBEjYU95YDHxePeqvyGozH+grrSayEG/T0oS1cocnMv0M/ 9x3eb32YfX+3AZrqp3d67VhwCgYYHnsFPy2+CI+v+Y3bRcv6dROXfKIwuXzxIWK3oDz8 k4p/cAxEFyOhqKTiabskD9I1373J0N9QWE3ESNORa88d4lzSgKW6HVJOxEAIHUHt1rMr 0lpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=NlzJsVqm15cbF1TZSE84JU/gki6NKn3F0mqYsDMjRHo=; b=km1/aqoQK8njJtd5jprB1JBFDLTpDWRkoC+VySc+7H2Ql6itQb1EfhNGacGa8cTQ34 hW5Rq7r2Sw4736pD1k+SfKQsYluW2tV3eHggn+JeKmwqNa6mKwsZ0oeE+ynd/6jRnMOG f/Np2cPow23wxzAY1weNuGLmkIaPYdzQ9zqiLzUn1AtOW2AQfGO5YGBFh2G1e/TdUZcq Gs6bJDhb/RDy9P2R4yYMRn7WVIFiraDXHvmUzcYhlLN4YWrvYrJ/qTrslKigtbu4Jmqd k1y/LtSR3lzsCZe3RHscR5dReUkZihgU4gfvRn9Hc32TuQWzRrVHLMsArT0NjOqA2BoE v5gQ== X-Gm-Message-State: AOAM531MLx+fAzu4E55JxNPpM1+OLN1ncbGI4OvJCzDdplMNJQINSaGX OgCpySfkUScIFM9T8lQZVz8qLpLb7ikFpA== X-Google-Smtp-Source: ABdhPJybO49rwkBj/i+j9lT+V6xqMFo+zabm7sJ45A7zFPdzazBEu6UDxiu1M6tzqrrghREnsfgwBw== X-Received: by 2002:a37:c06:: with SMTP id 6mr21670057qkm.39.1612275155805; Tue, 02 Feb 2021 06:12:35 -0800 (PST) Received: from hurd (dsl-157-110.b2b2c.ca. [66.158.157.110]) by smtp.gmail.com with ESMTPSA id t68sm17236332qkd.35.2021.02.02.06.12.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 06:12:35 -0800 (PST) From: Maxim Cournoyer References: <87eeoeic59.fsf@gmail.com> <87wnvqeid5.fsf@gnu.org> Date: Tue, 02 Feb 2021 09:12:34 -0500 In-Reply-To: <87wnvqeid5.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 02 Feb 2021 13:58:46 +0100") Message-ID: <874kiur225.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 42802-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=trbSDL0Q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: DEC919403C9 X-Spam-Score: 0.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: U/qC8eCdS9FP Hi Ludo, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Here I naively tried importing libsocketcan, which isn't a GNU project: >> >> guix import gnu libsocketcan >> Backtrace: >> 10 (primitive-load "/home/maxim/.config/guix/current/bin/guix") >> In guix/ui.scm: >> 2046:12 9 (run-guix-command _ . _) >> In guix/scripts/import.scm: >> 116:11 8 (guix-import . _) >> In ice-9/boot-9.scm: >> 1736:10 7 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _) >> 1731:15 6 (with-exception-handler # _ #:unwind? _ #:unwind-for-type _) >> In guix/import/gnu.scm: >> 111:2 5 (gnu->guix-package "libsocketcan" #:key-download _) >> In guix/gnu-maintenance.scm: >> 364:20 4 (latest-ftp-release "libsocketcan" #:server _ #:directory _= #:keep-file? _ #:file->signature _ #:ftp-open _ #:ftp-close _) >> In guix/ftp-client.scm: >> 233:6 3 (ftp-list #< socket: # addrinfo: #(32 2 1 6 #(2 3509828628 21) #f)> _ #:timeout _) >> In srfi/srfi-1.scm: >> 460:18 2 (fold # _ _) >> In guix/ftp-client.scm: >> 74:8 1 (_ _ _) >> In ice-9/boot-9.scm: >> 1669:16 0 (raise-exception _ #:continuable? _) >> >> ice-9/boot-9.scm:1669:16: In procedure raise-exception: >> Throw to key `ftp-error' with args `(# "CWD >> libsocketcan" 550 "Failed to change directory.\r")'. >> >> The error should be handled and a more appropriate message should be >> displayed to the user. > > I believe this is fixed by be84fc600e76e3962123b94bf14baea4a2e4f442. > > Ludo=E2=80=99. ./pre-inst-env guix import gnu libsocketcan guix import: error: failed to determine latest release of GNU libsocketcan Thanks for the fix; that's much nicer than a backtrace. It would be even better if it said: 'guix import: error: No GNU package found for "libsocketcan"' Thanks! Maxim