From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sG9oNvcDwmAQOQEAgWs5BA (envelope-from ) for ; Thu, 10 Jun 2021 14:22:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mFjJMfcDwmBVWgAAbx9fmQ (envelope-from ) for ; Thu, 10 Jun 2021 12:22:15 +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 506D5216DD for ; Thu, 10 Jun 2021 14:22:14 +0200 (CEST) Received: from localhost ([::1]:47032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrJhN-0008JV-Dv for larch@yhetil.org; Thu, 10 Jun 2021 08:22:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrJhC-0008JJ-HI for bug-guix@gnu.org; Thu, 10 Jun 2021 08:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrJhC-00068S-A6 for bug-guix@gnu.org; Thu, 10 Jun 2021 08:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrJhC-00050I-7k for bug-guix@gnu.org; Thu, 10 Jun 2021 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48700: guix import fails with unexpected token References: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> In-Reply-To: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> Resent-From: "Philip Munksgaard" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Jun 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48700 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48700@debbugs.gnu.org Received: via spool by 48700-submit@debbugs.gnu.org id=B48700.162332769519202 (code B ref 48700); Thu, 10 Jun 2021 12:22:02 +0000 Received: (at 48700) by debbugs.gnu.org; 10 Jun 2021 12:21:35 +0000 Received: from localhost ([127.0.0.1]:35686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrJgk-0004ze-4A for submit@debbugs.gnu.org; Thu, 10 Jun 2021 08:21:35 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:38715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrJgY-0004zC-7r for 48700@debbugs.gnu.org; Thu, 10 Jun 2021 08:21:32 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 11CFC2049 for <48700@debbugs.gnu.org>; Thu, 10 Jun 2021 08:21:15 -0400 (EDT) Received: from imap11 ([10.202.2.61]) by compute5.internal (MEProxy); Thu, 10 Jun 2021 08:21:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=munksgaard.me; h=mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=cZE7HK4pMGiplr4b4ccRYis7r1hii8bJlvqKlXRiGe4=; b=idxfQWeT 9CUu1ffBOHoM63amEqNL9ttaszZ4dbV9T6XS3XTpDVT7QaBFLhXWdLA8bP0dLlbX JckwOsGyNerla+igqjOWezWXpHp04IDdx5RAbc7ZxCi6MN+T9JMc+Q5pHeSW7V27 VX9L6xJkWACqBFzKcrCxcZlKYff1cAzDaMla+OeU8ioJG8OQR9S8IonvFvAfJxrz ndmavRG+6LU38rq0rliWvMV4FYzs4WBhy0kTtNcKo0K3yTPWeimyI14RVtuRoAKh K4ZZVqjATvXRtxve3bnECg1gm52gQXLlkRleghJykfetxZrFRXx/wjFp3bFUI/iS BJWvs86zZLrhJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=cZE7HK4pMGiplr4b4ccRYis7r1hii 8bJlvqKlXRiGe4=; b=lStvPozUA3KCU4FohgGi7skV7iIHkzrBxHQi3VUSzGmmY J+GL4M6+sEfu9gs2rskmSvfj0Q0YUV4CZOUZPZLBsDAXw3EbeUd09ju9zvlVhURk +A6bXh9tyPfT4eGiYJ3IT36VaBnbKXfIZXGJk+Uyi92zLg/I7QJPgAdXfk5QApKJ 8uh/XHKduvNDB5sbHULZ5Gv21UTZU8N4qDP6Xgi3KGdM+51yvM9eP22io/FgXtBt B3VqEnQzp5A7AZIiWfAuHJDa/HG6n/mRDiT68tz6XHCo5qpf8pbTkinLm8w1Rnt/ OXRfj4wXHTpUlaImCdHV9XuaJGbQi/VsM0mlY75XQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedufedggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfrfhhihhlihhpucfouhhnkhhsghgrrghrugdfuceophhhihhl ihhpsehmuhhnkhhsghgrrghrugdrmhgvqeenucggtffrrghtthgvrhhnpeehuedtudehhe ejkeeuffduvdekgeetleeigfehfffhueefheejgfeilefgvdeghfenucffohhmrghinhep shgtmhdrhihouhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehphhhilhhiphesmhhunhhkshhgrggrrhgurdhmvg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6437124009F; Thu, 10 Jun 2021 08:21:14 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-519-g27a961944e-fm-20210531.001-g27a96194 Mime-Version: 1.0 Message-Id: <5867400c-f36a-43a0-94b0-0a33085b15dc@www.fastmail.com> Date: Thu, 10 Jun 2021 14:20:54 +0200 From: "Philip Munksgaard" 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623327735; 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; bh=cZE7HK4pMGiplr4b4ccRYis7r1hii8bJlvqKlXRiGe4=; b=Ww9fuF3yi2hXoxc3nGIlTcmxSNJRVuodmRKk1Rsjunj+egj8xUz41SyzabgTJVPkwsXGS/ 8wH2PbS3CVa/2pf7MV7pxkYEu9WedZCdL38H3wiyEW5zEfnM2TgqJ+Et6ZtP8zhn4FtWkf QT71kp6vWoFTU+M3eLadJ0adRmg5j64L6XoZ+B19FgPbEYMOqY15nnZIzNaUbF5GTcWDZb WJScsGPNaQi3254xoLkGWR4PD46inGbQNGAzGITrCvVd54J2RMEtd64gJaiutiKD2OlImw vc7/fFTKjd6sMaC93ABjJHKoEzw2x5ovsXidHb+AMZ1EuOyTNd7SzWsVPL5lBQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623327735; a=rsa-sha256; cv=none; b=n1+Vdpj4J04hlqUMMSPy9DmYUESB7C2Bi/ARjNU5T3T1JqaURVpQAMdgPNT0C4lZ0XloP/ yC5XsC8TYmu9YSMe7ZTKc+lSHDqCgLyvTPF0VRXCD306mjuqV8fPPpzksbI+wGtQuMf5D1 ne+SRc2A1eVHlYl6VxEud1V9sAr4q3RSWr2nCVFbwWB7MPG0x/t460dxB14nRGeU5lDU6I FqOHkIDYtCsmUsTheHIr/Ql+7VMD1Az61FnmaM9Dk/kiVv+S3TshQe8xnPt5GpRVJIExJj bPkRqaIVIoqrpC5lmZj8ceZ0gy+px4GITB/0RNSXiIU9jzKYLGpId7Y+kdvcLw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b=idxfQWeT; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=lStvPozU; dmarc=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-Spam-Score: -0.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b=idxfQWeT; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=lStvPozU; dmarc=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: 506D5216DD X-Spam-Score: -0.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: 64RUuqtrcn29 Hi zimoun, If I understand you correctly, you're saying that this issue is an instance of bug#44115 because we get a backtrace instead of a nice error. I agree that the backtrace is ugly, but in this case the error shouldn't happen at all because all the recursively imported packages exist. The reason why the backtrace occurs is that the cabal-file for one of the recursively imported dependencies (versions) cannot be parsed using the current version of guix/import/cabal.scm. You'll find that `guix import hackage -r futhark` works as expected with the submitted patch#48943. Furthermore, I actually think that a backtrace _is_ desirable in this case, because it is an error in the script, and not in the users input or some third-party repository. As you say, your example works, but you've forgotten the "versions" dependency. If you add that to your list it will not work. Best regards, Philip