From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SPYiCE5UsmBBzgAAgWs5BA (envelope-from ) for ; Sat, 29 May 2021 16:48:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0ERMA05UsmBAQgAAbx9fmQ (envelope-from ) for ; Sat, 29 May 2021 14:48:46 +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 27D781B56D for ; Sat, 29 May 2021 16:48:44 +0200 (CEST) Received: from localhost ([::1]:33836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln0GZ-0007mq-7j for larch@yhetil.org; Sat, 29 May 2021 10:48:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40278) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmHHr-0007mH-JD for bug-guix@gnu.org; Thu, 27 May 2021 10:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmHHq-0001Er-Nx for bug-guix@gnu.org; Thu, 27 May 2021 10:47:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lmHHq-0007S0-MG for bug-guix@gnu.org; Thu, 27 May 2021 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48701: cabal import parser doesn't support common stanzas Resent-From: "Philip Munksgaard" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 27 May 2021 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48701 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48701@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162212681328116 (code B ref -1); Thu, 27 May 2021 14:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2021 14:46:53 +0000 Received: from localhost ([127.0.0.1]:52556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmHHg-0007Id-F9 for submit@debbugs.gnu.org; Thu, 27 May 2021 10:46:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:53054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lmFxs-00014s-Uz for submit@debbugs.gnu.org; Thu, 27 May 2021 09:22:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmFxo-0001ZT-Rh for bug-guix@gnu.org; Thu, 27 May 2021 09:22:20 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:48385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmFxj-0002vk-1f for bug-guix@gnu.org; Thu, 27 May 2021 09:22:16 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 1B4E3BA1 for ; Thu, 27 May 2021 09:22:04 -0400 (EDT) Received: from imap11 ([10.202.2.61]) by compute5.internal (MEProxy); Thu, 27 May 2021 09:22:04 -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=yDVvSMSRnKs/MrqB1C1K5IZD7CJStzB8gOIiDaeyzZs=; b=HsLY/I2p 1JlqL+4r+8D/fuLhEWakPa/ZF4qcaFBCCO356g+KQ7CFm2R4XX0debf3Tf99p6V9 Jsjlf6u1HVySsr6ouZX5FlX34TZ0Rex0Zq8vBQbolwrMpct30eS19lumKkVdvRLr 1WThhkKDUm1rK2hXDm2ayyYNvt+oPMvKAwwcnQ4H0AtllwbvTJ98UcNlrld/Nlt7 /oEBfptD1G/AjQ97KVo/dRfDllmHUthc7b3A01iccUqJgEn2CkPyNXaHMB7q1WMT sqX+Iw3I4i5typ2vElhq/4NfK1pt0aPSEvhbM5q3/Jm263uDAfcNw7Zv/mMVt6Uz GkGtngxM6rbZAA== 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=yDVvSMSRnKs/MrqB1C1K5IZD7CJSt zB8gOIiDaeyzZs=; b=f5aKwF9kzwq94oeneV5CjvXrFzDxyogFKrIcozHL52Syk Sisa4BIzTt65gETHlzy1ipkhEQnCwAtSr57SJiWCRSGt7Jw39x6ZCEsJfgalDtbP MEmvT7Aztaj3sLFyTHDS1hngX4ZaBWUsDUqMmYV7ADNoV1s8VQRW6NmtbJedk7vO bzS/jgGDHH/2miVS2Wu7xJh7dJqFoA2g7KsLmRyXFqG6OlHmE9SswXVZmEeRAsko 8qDvWjBLddN7V2lerkVpUJvfpZdIzI6d2O0zdKzsK+uaDERW36UtJFGvbUIywzia wxo0XutQn+2Q+gHzSkFUz2UJY2lnkzXfnF4xDAJSg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekhedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfrfhhihhlihhpucfouhhnkhhsghgrrghrugdfuceophhhihhl ihhpsehmuhhnkhhsghgrrghrugdrmhgvqeenucggtffrrghtthgvrhhnpeelueevheefte eiffekudeuueekjefftedtudekheeikeevudegkefgudevfeevteenucffohhmrghinhep ghhnuhdrohhrghdprhgvrgguthhhvgguohgtshdrihhopdhhrghskhgvlhhlrdhorhhgne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhihhl ihhpsehmuhhnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 582D024005D; Thu, 27 May 2021 09:22:03 -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: <6f94e4a1-fc27-479e-8c9f-f1cd7542d6f5@www.fastmail.com> Date: Thu, 27 May 2021 15:21:43 +0200 From: "Philip Munksgaard" Content-Type: text/plain 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-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 X-Mailman-Approved-At: Sat, 29 May 2021 10:48:34 -0400 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=1622299725; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=yDVvSMSRnKs/MrqB1C1K5IZD7CJStzB8gOIiDaeyzZs=; b=lbHCOkgLpU05MyfiWMSCcVFz1BorR3a/YJctXEwHJxKgks1wYi9WJOczMrjh7nkj11qNBH heSKnVFHI5A7M6yT1s7AYevMWsKqgxOL/ImYFJvXCRQB5FLmS11lZFENJZ0DCZE3GQUj/b v2mHf8bC8DrHgy4fiqeTk1QjhL1ICmB6m7+A8+/cxsKH+suUS0eUCc+jpjFbCUw8bOYzub PYpaJJMWt5jzJ17K+SrpZBSUOenH4l6TqQf6/AzR1w3zIzmetmBTf0GlbquguiAf2nDnA4 nZlN0Cp2heAYnhfBAgxk5KdRbSilRJI+lHWbVQI4Y4vOvoa54H086qk6GRlLmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622299725; a=rsa-sha256; cv=none; b=AAGTRKW0EeTSSPbXqchYpivEm/1VfXDmBYoaroib0DhlfulgD6YbXFg/sK2/Cw++B9GcsL 5V33D4EPeXd3mJ6X/NYt1dglcj+11+QWZ0BNm1bUp3xl0jfF/4L0iP3sHusXu3FS5JuwQc rj4Grky6TEhJRKv+NPv0eAcVstnZlUpua0mLtk2wF2QiD7A/KGr5WViNp4UtHBQ1rRDq/W /IFJxwiGktpA0bzjaF2mTdXNXhB1yjuMbvTr+/RhwzWxGF5Zsf9uJGonTt0hmZthLD6rU6 gr1Ysl0qy6VXdYZo4y/TTyL0xmW9NN158l/5R89CD14xdpAcAQfL1qHP6Sxe2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b="HsLY/I2p"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=f5aKwF9k; 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.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b="HsLY/I2p"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=f5aKwF9k; 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: 27D781B56D X-Spam-Score: 0.59 X-Migadu-Scanner: scn0.migadu.com X-TUID: vgo+Vt7Y0mKW As far as I can tell, the cabal parser for the `guix import` command (https://git.savannah.gnu.org/cgit/guix.git/tree/guix/import/cabal.scm) does not support common stanzas, as specified in the cabal specification (https://cabal.readthedocs.io/en/3.4/cabal-package.html#common-stanzas). This means that some packages, like "versions" (https://hackage.haskell.org/package/versions-5.0.0/src/versions.cabal) and all depending packages cannot be imported using `guix import hackage versions`: ``` $ guix import hackage versions Syntax error: unexpected token : common (at line 36, column 0) Syntax error: unexpected end of input guix import: error: failed to download cabal file for package 'versions' ```