From unknown Mon Jun 23 07:47:59 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48700 <48700@debbugs.gnu.org> To: bug#48700 <48700@debbugs.gnu.org> Subject: Status: guix import fails with unexpected token Reply-To: bug#48700 <48700@debbugs.gnu.org> Date: Mon, 23 Jun 2025 14:47:59 +0000 retitle 48700 guix import fails with unexpected token reassign 48700 guix submitter 48700 "Philip Munksgaard" severity 48700 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 10:46:52 2021 Received: (at submit) by debbugs.gnu.org; 27 May 2021 14:46:52 +0000 Received: from localhost ([127.0.0.1]:52554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmHHg-0007ID-0h for submit@debbugs.gnu.org; Thu, 27 May 2021 10:46:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:41386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFl3-0006z2-O5 for submit@debbugs.gnu.org; Thu, 27 May 2021 09:09:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmFl3-0001K3-Fl for bug-guix@gnu.org; Thu, 27 May 2021 09:09:05 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmFl0-0005Eg-Su for bug-guix@gnu.org; Thu, 27 May 2021 09:09:05 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 282C212A8 for ; Thu, 27 May 2021 09:08:51 -0400 (EDT) Received: from imap11 ([10.202.2.61]) by compute5.internal (MEProxy); Thu, 27 May 2021 09:08:51 -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 :content-transfer-encoding; s=fm1; bh=hg1pxQFf3t/XybGRKdCND4FnX3 st67tDdWk7Fro54yU=; b=Fla0F0tP22huiqP9OMI5uTfD/7Fzuh/cZkBLuBN81h il2wSI7lRuLZyUodn5ffL8ILjApGNX0UG1QUiSzbx5zdy/dhZjEKuOS3sYnc/DUb /xbT2PO7YHDGQJy8BgppPaw+4r3RZwIAius9j7rTh64hTmO0OZwgvvHj/YnQ4naj 6h4gJLvyZtr9xFt4d9GY8zuwDMyo8qJ1RK2E18aj+MF/0gaR02O0y0vK0S901R7z U1B/Lmc5pqfW7+7ElI3FOxC4rTmHBHnkxCYdrnipXiSRxXRTS2gO5bmUnWj5CnXs 8eN9zkusK2mQ1R9q/xc9eQHd7/hiXy5KQvqxks+P4hTQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding: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=fm2; bh=hg1pxQ Ff3t/XybGRKdCND4FnX3st67tDdWk7Fro54yU=; b=q2ZjmefLacD3QBkqgsYmq5 U0K/JGhBR7AU2v5vSm+vUXVQHO3NpD9MHB5SM6lNzx7sX8TSRkbX2UDPw2pXQ0Rc WsQQ8zMT0GyeRQ+OdfZ6A85KRCC8r7oatq+ElfDtTooFmJu3KUcOv5pmLnyFg41S qq6VbyHCfvnweZyJD9LiRMuC976r0UgOJsRkQbbkr1Q2D4wbEqjTG+921CZqJgEi H6BbKEx/j3pCWUdlHUnxbtlybqSyinJFfhz7PRyas+rkYJ9OPgS5a6hDHmKVYfcU d3NNROlVn5O1V76M1uMwAFebgfiZg0JYoqHMyYbq8J3quBdD1NmDQFR/G0UBqyEA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekhedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomhepfdfrhhhilhhiphcuofhunhhkshhgrggrrhgufdcuoehphhhi lhhiphesmhhunhhkshhgrggrrhgurdhmvgeqnecuggftrfgrthhtvghrnhepvedvhfetud elhfeiiefgledvueffgffgieejgeduteejkeelvdejfeeiffefgfdvnecuffhomhgrihhn pehhrghskhgvlhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepphhhihhlihhpsehmuhhnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9CC8C24005D; Thu, 27 May 2021 09:08:50 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b Mime-Version: 1.0 Message-Id: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> Date: Thu, 27 May 2021 15:08:30 +0200 From: "Philip Munksgaard" To: bug-guix@gnu.org Subject: guix import fails with unexpected token Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.147.123.19; envelope-from=philip@munksgaard.me; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 27 May 2021 10:46:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Trying to to import futhark from hackage fails, when using the -r flag. $ guix import hackage -r futhark user with UID 497492280 not found Starting download of /tmp/guix-file.MqWnPq >From https://hackage.haskell.org/package/futhark/futhark-0.19.5.tar.gz..= . =E2=80=A619.5.tar.gz 959KiB 6.6MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.ZPWyOq >From https://hackage.haskell.org/package/bytestring-to-vector/bytestring= -to-vector-0.3.0.1.tar.gz... =E2=80=A6tor-0.3.0.1.tar.gz 4KiB 9.4MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.bjbYYp >From https://hackage.haskell.org/package/bmp/bmp-1.2.6.3.tar.gz... =E2=80=A6.3.tar.gz 10KiB 23.7MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.uhGsUr >From https://hackage.haskell.org/package/directory-tree/directory-tree-0= .12.1.tar.gz... =E2=80=A6-0.12.1.tar.gz 12KiB 15.1MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.SUjZRr >From https://hackage.haskell.org/package/language-c-quote/language-c-quo= te-0.13.tar.gz... =E2=80=A6te-0.13.tar.gz 74KiB 4.2MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.W3CjMq >From https://hackage.haskell.org/package/mainland-pretty/mainland-pretty= -0.7.1.tar.gz... =E2=80=A6y-0.7.1.tar.gz 10KiB 11.8MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.K7aEUp >From https://hackage.haskell.org/package/neat-interpolation/neat-interpo= lation-0.5.1.2.tar.gz... =E2=80=A6on-0.5.1.2.tar.gz 6KiB 9.7MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.ovhTIs >From https://hackage.haskell.org/package/pcg-random/pcg-random-0.1.3.7.t= ar.gz... =E2=80=A6.1.3.7.tar.gz 25KiB 3.5MiB/s 00:00 [##########= ########] 100.0% user with UID 497492280 not found Starting download of /tmp/guix-file.nj5C8q >From https://hackage.haskell.org/package/srcloc/srcloc-0.6.tar.gz... =E2=80=A6.6.tar.gz 4KiB 9.9MiB/s 00:00 [##########= ########] 100.0% Syntax error: unexpected token : common (at line 36, column 0) Syntax error: unexpected end of input Backtrace: In ice-9/boot-9.scm: 1736:10 17 (with-exception-handler _ _ #:unwind? _ # _) In unknown file: 16 (apply-smob/0 #) In ice-9/boot-9.scm: 718:2 15 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 14 (_ #(#(#))) In guix/ui.scm: 2166:12 13 (run-guix-command _ . _) In guix/scripts/import.scm: 120:11 12 (guix-import . _) In guix/scripts/import/hackage.scm: 132:26 11 (guix-import-hackage . _) In guix/import/utils.scm: 477:27 10 (recursive-import _ #:repo->guix-package _ #:guix-name _ =E2= =80=A6) In srfi/srfi-1.scm: 586:29 9 (map1 _) 586:29 8 (map1 _) 586:29 7 (map1 _) 586:29 6 (map1 _) 586:29 5 (map1 _) 586:29 4 (map1 (("neat-interpolation" #f) ("pcg-random" #f) (=E2=80=A6= ) =E2=80=A6)) 586:29 3 (map1 (("pcg-random" #f) ("srcloc" #f) ("versions" #f))) 586:29 2 (map1 (("srcloc" #f) ("versions" #f))) 586:17 1 (map1 (("versions" #f))) In guix/import/utils.scm: 466:33 0 (lookup-node "versions" #f) guix/import/utils.scm:466:33: In procedure lookup-node: Wrong number of values returned to continuation (expected 2) From debbugs-submit-bounces@debbugs.gnu.org Thu May 27 16:00:33 2021 Received: (at 48700) by debbugs.gnu.org; 27 May 2021 20:00:33 +0000 Received: from localhost ([127.0.0.1]:52849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmMBE-0001SF-Rk for submit@debbugs.gnu.org; Thu, 27 May 2021 16:00:33 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:41716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmMBC-0001S1-Qy for 48700@debbugs.gnu.org; Thu, 27 May 2021 16:00:31 -0400 Received: by mail-wr1-f49.google.com with SMTP id c3so1033197wrp.8 for <48700@debbugs.gnu.org>; Thu, 27 May 2021 13:00:30 -0700 (PDT) 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; bh=fR+KHl49LMuN8VZlx06qxRbygBACZ9Pwi48fmsJQL9Q=; b=KOoq8U2m8w3GPTwmZLVYskaK7QHSx+DHpMjmc6ff1fVCVB0ZWbty1lXXIguWaKYOhI L5QumQGlx/PCON6+wX4LXnF5GdG96+pRJqK90yaI5BpFi3OfZJeKRh8zy8f57OcrhZ55 +M2awgeF8XOqiOTgpv4jX/S1gRh2aE4uvVJSmhkGuRPRqXmTamhkURiTsbaGypi46M1o IaoaiiqR2a9tEAtc1dOfKCqbDV9gQdCajQgbAGspTsDIdEWurbZFF3fpecBhZnLExJIP 70yoOggD4JU/HrTpsaQ4F+X3NevZP+iEpmV8zg/o0ZkVqJ6IEUAASiV01oIqjUoTEAjy rZDA== 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; bh=fR+KHl49LMuN8VZlx06qxRbygBACZ9Pwi48fmsJQL9Q=; b=iYINQ1awG+zgzAoi7xsTy9JuJ5n/xIbZ1JKvoLCC336znNU59l5mHkxa2OBxIyqIg/ 7Ate2I0i01PkLdydewPA6FBLDWX8B/vwwfuqTnwHV9gEmkUrpjgh8CcldIp6sMB88iOs 6xiF5QpsCor3TQk/LWbCHj8+0LV8vtwXwHtCvgFKR4Hbh21aSHT22UB2aPC5ZVnKfetX jHQG3Gg2Slg7Vhn1HdwzWGEuMLEdi1MZSQwbEZsW3+sQkxsZzDz7BMPay3UiX9qyPHTI Z+M8wlF+iJk7a0fQvm+V8I/CEN6t0Gb87JQoIYfdnkU/R3XQRfJovj7QUanqiagnVtfD +JgA== X-Gm-Message-State: AOAM532uiNF1uFWArhNY3xJGtnDNcu2xZpaaHP/m2fikXYNh63AJtHsF O0PDhVqfMU6+qMDIAFA4ZBUcLklbPPg= X-Google-Smtp-Source: ABdhPJz10oUa0jhd2tO1fvPC4Onta0GPAFUDFQ8TO83cZweJaZHZ2tFzeGdvWi7Jg+dyiauzRi7jsg== X-Received: by 2002:a5d:6488:: with SMTP id o8mr2557665wri.113.1622145625017; Thu, 27 May 2021 13:00:25 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id f1sm4876254wrr.63.2021.05.27.13.00.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 May 2021 13:00:24 -0700 (PDT) From: zimoun To: "Philip Munksgaard" Subject: Re: bug#48700: guix import fails with unexpected token References: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> Date: Thu, 27 May 2021 21:54:52 +0200 In-Reply-To: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> (Philip Munksgaard's message of "Thu, 27 May 2021 15:08:30 +0200") Message-ID: <86tumolzoz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48700 Cc: 48700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Thu, 27 May 2021 at 15:08, "Philip Munksgaard" wrote: > Trying to to import futhark from hackage fails, when using the -r > flag. Thanks for the report. I think it is the same as: All the best, simon. From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 12:39:17 2021 Received: (at 48700) by debbugs.gnu.org; 30 May 2021 16:39:17 +0000 Received: from localhost ([127.0.0.1]:60272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOT7-0003Eo-Av for submit@debbugs.gnu.org; Sun, 30 May 2021 12:39:17 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:57521) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOT4-0003EZ-5O for 48700@debbugs.gnu.org; Sun, 30 May 2021 12:39:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3756CA18 for <48700@debbugs.gnu.org>; Sun, 30 May 2021 12:39:08 -0400 (EDT) Received: from imap11 ([10.202.2.61]) by compute5.internal (MEProxy); Sun, 30 May 2021 12:39:08 -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=RINBOKSYQhd8WvGWFyZGj5oP9A31DPWE0sqLLicpTgk=; b=WPXNo9K/ cdxVHqEiwhEvjfSbl1XeFr6dhCio8FRHJedB+B4I/ANDKwQXiK8g6sb/bdC9/XKn /0LEel4uUedT6UnGr9rl0TKyfs4AqUeWPBDzi8c5l+YeQCfJJs1NmcnCHsqyG6zP yCNW5nX6TtT2KjDN3oiLwEJDOnG4oHaQAmeWnV/y4Ud7M1Zaa8H7uqOfedi1EgAh Pizo461b0NwuGdt73kq8AIjYNKKMJDpzzq8/zya8keFEDJSMNfK705dmm+U23QhS x86isYSBpaAaxOJ7Bn30FdQheJ6PSasQ3HnM+lDj426zeZhLYm4DO3iFIKVBDn0F myIu8PIVwWGo6w== 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=fm2; bh=RINBOKSYQhd8WvGWFyZGj5oP9A31D PWE0sqLLicpTgk=; b=B1ayoKeFxmezrbWVwCd1W8aVk9M+QL4IOkIIGIK3AaINR oZ5PY9g8TKY18e3n6dDL7Vo/GYr9fJc7tlBKEgrkoUVYTwMmHyzxGrcXESKtLE8v 9I1sWbUgcEpUpkpteEphH1QwZDTWwoeUDmiZAk9rXbY30PrqrQXXdZrdt1r69sWf WR0c65ZUWXoZVP0C5F32w5284Ic9AaYcUGeCen8ku22gkNO8cl4af0dQkFAjxFjU A1GQDZpug15ocGhxONEz5JiNz9ngiH9/aQiPnDUsw+W/aVs49Px2nBSFhjlyyylK r3O8NCbtfWKevFKUGYMeYoHSsXVP6WV+U0pesRjAw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeluddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtre dtreertdenucfhrhhomhepfdfrhhhilhhiphcuofhunhhkshhgrggrrhgufdcuoehphhhi lhhiphesmhhunhhkshhgrggrrhgurdhmvgeqnecuggftrfgrthhtvghrnhepkeetgeevgf ehledtvddtuddvkeehtdejudfhgeekhfdtueduteegtdfhlefgjeffnecuffhomhgrihhn pehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphhhihhlihhpsehmuhhnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8C250240062; Sun, 30 May 2021 12:39:07 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-468-gdb53729b73-fm-20210517.001-gdb53729b Mime-Version: 1.0 Message-Id: <39115c49-4522-413d-87f9-bc2c422b0dcf@www.fastmail.com> Date: Sun, 30 May 2021 18:38:47 +0200 From: "Philip Munksgaard" To: 48700@debbugs.gnu.org Subject: guix import fails with unexpected token Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48700 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) As far as I can tell, this is actually an instance of https://issues.guix.gnu.org/48701. You can close this issue in favor of that one. From debbugs-submit-bounces@debbugs.gnu.org Sun May 30 12:45:34 2021 Received: (at control) by debbugs.gnu.org; 30 May 2021 16:45:34 +0000 Received: from localhost ([127.0.0.1]:60276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOZC-0003tG-0G for submit@debbugs.gnu.org; Sun, 30 May 2021 12:45:34 -0400 Received: from tobias.gr ([80.241.217.52]:43286) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnOZ6-0003n0-Hi for control@debbugs.gnu.org; Sun, 30 May 2021 12:45:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=rGCfpjjlBMZPDeMMU++XUs1yq/TLyxBrGFuHcPtgV5o=; h=date:to:from; b=XQd VeUXt6zMuij7lLSxH4emi+UDT04tQxMYxVB+HJB2si2eIL2jdxgKah7JrNq45J5wn52oZE V7TfEJsLmbuZ3iK91PuKzaAL6wcMNVSqvd2wRJcDZbQx4g8dDC5x7vJQQ8H5kvhVDxcyTd YACwsRLUxx92j2o/046F3UWw48QmDORBZIWahHSMitBhQcIz6Q8+GZqVouTD/gmGl6ZiiE r3iRL2p2kJMWXIoU1kUfRzG1h7ndmyR/aTKDnBrUATbVCxsTWcdR5u1eyoiSDHRfBuLso4 VpfFkShoasCZFrtbbcKptONc7CiW+URj75K5Gw/hYXw7WK09MGF7IxV+Cnw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 2da3bc26 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for ; Sun, 30 May 2021 16:45:25 +0000 (UTC) From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org BIMI-Selector: v=BIMI1; s=default; Date: Sun, 30 May 2021 18:46:13 +0200 Message-ID: <874kek41be.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 48700 48701 Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [80.241.217.52 listed in list.dnswl.org] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) merge 48700 48701 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 05:49:52 2021 Received: (at 48700) by debbugs.gnu.org; 10 Jun 2021 09:49:52 +0000 Received: from localhost ([127.0.0.1]:35511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrHJw-00050P-AP for submit@debbugs.gnu.org; Thu, 10 Jun 2021 05:49:52 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:53981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrHJt-00050B-Ja for 48700@debbugs.gnu.org; Thu, 10 Jun 2021 05:49:51 -0400 Received: by mail-wm1-f41.google.com with SMTP id b205so1082029wmb.3 for <48700@debbugs.gnu.org>; Thu, 10 Jun 2021 02:49:49 -0700 (PDT) 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=RCRdfxJ75UCjVspWTLNxGUatFnCVP6R8sggVl1lYQQw=; b=M1pA+zAFliOCqE91eA3fJIazdKuF228QA9/chatVpgziWKz+REJBsVhsSPXRwXKjEb hEGTeVYcJTnNQDKGvUGzdfbeOtmhpK2vxKImBJN4bYxjxByj02nuR/BdaLlqFFb2vrNl 8D5r+3KrTBunERWv25MGAm6bEVRx6pA2bpDOGLZVTg0wWFWxx9SNLeFSVRGhDkdd+ra9 adw3G56nLknlDgwrEm1/KmfQpj53mRZh5p/FeD5ngJMGAT4iHiK7eeEIIFzhLuxNmlIO dKFXSk8houB+xp0wh70AX4/IC5wHG96fd0T8/hG0yK6cHkbiVxtWqVv665yNl6VhyLR3 ju2w== 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=RCRdfxJ75UCjVspWTLNxGUatFnCVP6R8sggVl1lYQQw=; b=ZNMMRlcIEzJcyoU/V1nJEYWrkulkBBLS9w4E6zvvYMpJIGWABngRke5kWvXHqeQDhv 5QuvS3uon540MMKUcalwD8ygaOYjiWDfUUG8rVRduHZM8yuDn4KYjZi2Jb9EZYlNM/l1 yViqBTRe1XxEYfC2TxmaTxVZA7d8ejQlw6V2wKIAIihPnW1RJt1FoiYQyg4ME5vpJnDf iG62/H7Mm3rKyH5rv8f5UZ0SOswoABOKOmz/OudH74H1eAuFU7FMoqKpIu9190TyUBOB pnKo92NMWMcQEDV/yFx9G9s1CYlHIrAxHhBnBVYupC7euv1DBB/j3h/3tfMwwyXYraKS jGKA== X-Gm-Message-State: AOAM532KtVdgphPtSQlQn8mX01RDtJeXEAKYUUb8BA+tLM4xcIOYZJoV genWq0V/2H4BXcA+78dDgc4Q20C9i8I= X-Google-Smtp-Source: ABdhPJzoHyuK0Bk1CyRKvqPw0+wladQa2zSDNy0tkqYP/VGCVeFZAZkfoSU0vmvHChOSh0JI+TeAYw== X-Received: by 2002:a05:600c:a07:: with SMTP id z7mr1706348wmp.83.1623318583627; Thu, 10 Jun 2021 02:49:43 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id 89sm3065443wri.94.2021.06.10.02.49.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 02:49:43 -0700 (PDT) From: zimoun To: "Philip Munksgaard" Subject: Re: bug#48700: guix import fails with unexpected token References: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> <39115c49-4522-413d-87f9-bc2c422b0dcf@www.fastmail.com> Date: Thu, 10 Jun 2021 11:41:11 +0200 In-Reply-To: <39115c49-4522-413d-87f9-bc2c422b0dcf@www.fastmail.com> (Philip Munksgaard's message of "Sun, 30 May 2021 18:38:47 +0200") Message-ID: <86im2mjbuw.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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48700 Cc: 48700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Sun, 30 May 2021 at 18:38, "Philip Munksgaard" wr= ote: > As far as I can tell, this is actually an instance of > https://issues.guix.gnu.org/48701. You can close this issue in favor of t= hat > one. >From my understanding, no. I propose to unmerge. WDYT? The bug#48700 is a duplicate of bug#44115 (recursive importers). For instance, a first attempt to fix it is proposed by patch#45984; a new version should come soon. :-) But bug#48701 is not related, instead it is related to the Cabal implemented by Guix. For instance, this works: --8<---------------cut here---------------start------------->8--- for p in bytestring-to-vector bmp directory-tree language-c-quote mainland-= pretty neat-interpolation pcg-random srcloc; \ do guix import hackage $p -r ; done guix import hackage futhark --8<---------------cut here---------------end--------------->8--- i.e., the option recursive with =E2=80=99futhark=E2=80=99 goes to =E2=80=99= recursive-import=E2=80=99 from (guix import utils) and the =E2=80=99node=E2=80=99 is not always well-= formed when =E2=80=99lookup-node=E2=80=99 as explained in #44115 and #45984. All the best, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 08:21:35 2021 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" To: 48700@debbugs.gnu.org Subject: Re: bug#48700: guix import fails with unexpected token Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48700 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 09:02:27 2021 Received: (at 48700) by debbugs.gnu.org; 10 Jun 2021 13:02:27 +0000 Received: from localhost ([127.0.0.1]:35783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKKJ-00060a-29 for submit@debbugs.gnu.org; Thu, 10 Jun 2021 09:02:27 -0400 Received: from mail-qk1-f170.google.com ([209.85.222.170]:38665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKKG-00060J-6B for 48700@debbugs.gnu.org; Thu, 10 Jun 2021 09:02:25 -0400 Received: by mail-qk1-f170.google.com with SMTP id c138so14308086qkg.5 for <48700@debbugs.gnu.org>; Thu, 10 Jun 2021 06:02:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6ueIxal7zzMZzqyFzSerkQXGT1IWOZiFG2RkCctaw3k=; b=VcYqcKE3zfwZQ5hoaezYSiQZNip5C1M/9TGYjvR+Vlv+bCx1sBsIoWblfB47WvByvg Mlzvftayto6MgxbXioR7xAXWp584b2epzkW2wJeA83iHN3cb1j7svfdZsudaaPZXM+PG saDpsLmWIYMYdQYY7a1FzAwNbyuDLzr5NDwkaaVnlp3gi737CBecySih3kkgl07kdvia 4ZWZ0N+UFPTra4wYLHntHViZMiXgOFKNsOzu3DKUrN3BwDylt2VsZdKgJsnevMwTf6Dy Wyol+uP4tiS7kHKFCNn8mmjDAxxxqwbm+vWwbYRJfxcu88YMtUcxhj+0hijaZr2l6iQ7 TPgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6ueIxal7zzMZzqyFzSerkQXGT1IWOZiFG2RkCctaw3k=; b=WaS1gZsjI+6cbOSIOWBJDyU6vkMO7W+mx0nshDf2Og5aiuJcSze4/YF8gcHVKoRCm7 petEhrKvECIzPyXlvWSwYkIw7YHjNXkVTRnqTA07Qm8sZRPlLRt5/kVnpQmeMN6OUXsP zUlxj4RZZuhKQLvCVTog9awMO9vGVruSWK3E6zWpTwxXktW9ctXh5A6FETonGuQ1z094 FprnZFKkCYeajLO1crnyqvgb+6XiQdwiFDTt1bBigFXIcOXcpduBNOs35RHQUWrhzqjQ CIGih2EO9ljquta4dHVtOYpfV5/2wAwhZNyOnxv1TY90ZJLUf4k0ez6VA2C6IH4dD9bI Gc+g== X-Gm-Message-State: AOAM532OlKia0yEXAnDFn7CLdvp5mw+mR1U0yEZAOL29dO9tenlwm3gp BEJ/AMePho8fjCfIQvvGUYaS+FvF4JKs3mIrrSg= X-Google-Smtp-Source: ABdhPJyEV/kUlstwijJlqj/R3QHZbHaO/Okig8OImdfhgQCOM4TzALCiJH8W9rLCnMVHSxPIbNrX7/R9H14MPPzkEa0= X-Received: by 2002:a37:7345:: with SMTP id o66mr4559586qkc.201.1623330138517; Thu, 10 Jun 2021 06:02:18 -0700 (PDT) MIME-Version: 1.0 References: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> <5867400c-f36a-43a0-94b0-0a33085b15dc@www.fastmail.com> In-Reply-To: <5867400c-f36a-43a0-94b0-0a33085b15dc@www.fastmail.com> From: zimoun Date: Thu, 10 Jun 2021 15:02:07 +0200 Message-ID: Subject: Re: bug#48700: guix import fails with unexpected token To: Philip Munksgaard Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48700 Cc: 48700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Thu, 10 Jun 2021 at 14:22, Philip Munksgaard wrot= e: > If I understand you correctly, you're saying that this issue is an instan= ce 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. Your point is that parsing the Cabal file of the package "versions" fails. Mine is, somehow, instead of an ugly backtrace (whatever the reason), the error for "guix import hackage futhark -r" should be: Syntax error: unexpected token : common (at line 36, column 0) Syntax error: unexpected end of input guix import: error: =C3=A9chec du t=C3=A9l=C3=A9chargement du fichier cab= al du paquet =C2=AB versions =C2=BB as it is for "guix import hackage versions". > The reason why the backtrace occurs is that the cabal-file for one of the= recursively imported dependencies (versions) cannot be parsed using the cu= rrent version of guix/import/cabal.scm. You'll find that `guix import hacka= ge -r futhark` works as expected with the submitted patch#48943. Yeah. I started to give a look for fixing. Thanks to be faster. :-) > Furthermore, I actually think that a backtrace _is_ desirable in this cas= e, because it is an error in the script, and not in the users input or some= third-party repository. My opinion is getting a Backtrace is always a poor user experience. Well, matter of taste. ;-) > As you say, your example works, but you've forgotten the "versions" depen= dency. If you add that to your list it will not work. Yeah, right. I did too quickly but it does not change my point above. :-) Thanks, simon From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 09:30:04 2021 Received: (at 48700) by debbugs.gnu.org; 10 Jun 2021 13:30:04 +0000 Received: from localhost ([127.0.0.1]:35816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKl1-0006dY-SZ for submit@debbugs.gnu.org; Thu, 10 Jun 2021 09:30:04 -0400 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:49469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrKky-0006ck-Un for 48700@debbugs.gnu.org; Thu, 10 Jun 2021 09:30:02 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 05F0E1652; Thu, 10 Jun 2021 09:29:53 -0400 (EDT) Received: from imap11 ([10.202.2.61]) by compute5.internal (MEProxy); Thu, 10 Jun 2021 09:29:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=munksgaard.me; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type:content-transfer-encoding; s=fm1; bh=Pn 9KtiSEyYbqazNn82QTL298wxST0qL6W+6vLETo8aQ=; b=wRWLNYT5yMLSPe+qaQ nFxq4BdfDxzVvnUmZRJTV9RJ64uY6mwZysgjAIJPj5L7wwDwoU89A2+OuerouAFr 00XPKrDNE/bV9bvkWrN8ACH8ODDz1rMgQmeb8pzkOc0r1cHk1LbdnkWYoL/gvBsT b/c2MQ3JkUUXm77hntDex6FQ5eaFBo0DYDKyg5Lli/RaKMsjZbDZu44VTZ9NKR0n jnNprJvPoiZxmvc7xZMec7q76Qvk1RnrcGByDyRAiSEqEayZwvCoOj5pIR+4IP+r 6S8RhgZrMpHr2ZrGXZGB845rRp1kgS1STCsqodNIetztZn658znPaGC3X/smGorl iT2w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=Pn9KtiSEyYbqazNn82QTL298wxST0qL6W+6vLETo8 aQ=; b=mJH/ny4TUdfN2rV9jYCwuzJlAKlybM8Yt6rcir7o2OSvbmnqNWZ+g/3iz OhNbaPAGRVUZOA/tzeiPbaw0gY2t8siGUX5B3HQCglAPZM6jfOU85D2GrZWKEZeR u+5BKQYrAC0hBaa9H65JVou70GZTpcM/VOriaqeqMoDAmDuSTjdlyalfsz34Df7Y TNNm85TgYA2rQwi23OidsbQIM7aTr2fQpThB94S3bsGFv3gnuoX+9pqIwAA8lt/k 9KFhfoJX69nqfTdDbis2ITPgjFiaOMgrvJ+tFo9qVrb82JZkoVInqzECE+9GmT9c nqB3TzgqyxkukII6OQQhe+Xa+DrJw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedufedgieefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtgfesth hqredtreerjeenucfhrhhomhepfdfrhhhilhhiphcuofhunhhkshhgrggrrhgufdcuoehp hhhilhhiphesmhhunhhkshhgrggrrhgurdhmvgeqnecuggftrfgrthhtvghrnhepkedvfe evgeduieelfeehteejkeeufefftedvieegleejgffhhfdtjeduhfegkeevnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhlihhpsehmuh hnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 6543924009F; Thu, 10 Jun 2021 09:29:53 -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: In-Reply-To: References: <00e1a49d-d5af-402d-987c-f940adc5ab81@www.fastmail.com> <5867400c-f36a-43a0-94b0-0a33085b15dc@www.fastmail.com> Date: Thu, 10 Jun 2021 15:29:32 +0200 From: "Philip Munksgaard" To: zimoun Subject: Re: bug#48700: guix import fails with unexpected token Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 48700 Cc: 48700@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, 10 Jun 2021, at 15:02, zimoun wrote: > On Thu, 10 Jun 2021 at 14:22, Philip Munksgaard = wrote: >=20 > > If I understand you correctly, you're saying that this issue is an i= nstance 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. >=20 > Your point is that parsing the Cabal file of the package "versions" > fails. Mine is, somehow, instead of an ugly backtrace (whatever the > reason), the error for "guix import hackage futhark -r" should be: >=20 > Syntax error: unexpected token : common (at line 36, column 0) > Syntax error: unexpected end of input > guix import: error: =C3=A9chec du t=C3=A9l=C3=A9chargement du fichie= r cabal du > paquet =C2=AB versions =C2=BB >=20 > as it is for "guix import hackage versions". >=20 Good point, I agree that would be nicer. The backtrace was not my concer= n when submitting this bug, but it doesn't really matter as long as both= issues are fixed :-) From unknown Mon Jun 23 07:47:59 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 10 Aug 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator