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 GCwVEAkdFmLy3wAAgWs5BA (envelope-from ) for ; Wed, 23 Feb 2022 12:39:53 +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 eBrsCAkdFmL+bgAAG6o9tA (envelope-from ) for ; Wed, 23 Feb 2022 12:39:53 +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 98DCA19E4C for ; Wed, 23 Feb 2022 12:27:26 +0100 (CET) Received: from localhost ([::1]:50838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMpnp-0002ha-50 for larch@yhetil.org; Wed, 23 Feb 2022 06:27:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMpnS-0002de-S4 for bug-guix@gnu.org; Wed, 23 Feb 2022 06:27:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMpnS-0001em-Hm for bug-guix@gnu.org; Wed, 23 Feb 2022 06:27:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMpnS-0000QF-5e for bug-guix@gnu.org; Wed, 23 Feb 2022 06:27:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#53655: haskell build system cannot build attoparsec Resent-From: "Philip Munksgaard" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 23 Feb 2022 11:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53655 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53655@debbugs.gnu.org X-Debbugs-Original-To: "John Kehayias" Received: via spool by submit@debbugs.gnu.org id=B.16456155741564 (code B ref -1); Wed, 23 Feb 2022 11:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2022 11:26:14 +0000 Received: from localhost ([127.0.0.1]:44024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMpmg-0000PA-0f for submit@debbugs.gnu.org; Wed, 23 Feb 2022 06:26:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:58014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMpme-0000P2-93 for submit@debbugs.gnu.org; Wed, 23 Feb 2022 06:26:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMpmb-0002WJ-DX for bug-guix@gnu.org; Wed, 23 Feb 2022 06:26:10 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:35021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMpmW-0001YJ-W3 for bug-guix@gnu.org; Wed, 23 Feb 2022 06:26:09 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 426A83200993 for ; Wed, 23 Feb 2022 06:25:57 -0500 (EST) Received: from imap43 ([10.202.2.93]) by compute1.internal (MEProxy); Wed, 23 Feb 2022 06:25:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=munksgaard.me; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; bh=QDHDjdquQXtI6vyyV1mOYU0o9HMGs/yCTBRf0Y DyNsw=; b=odEcl7Y7wI9EEEUYZ00BleNRFK/I+K6jNsbpAEuKjUZ7wYP6Xh0hjL NS16KiHNMkJ+BE/qOlBli+DatOejUVRt+2OlBSzm0Zg0gdSUvKlAdVHcq2OqUMvn DmEyKmEW5XplVTWW89o9IZ7uxBfKJknMQ0nN7UOHcY5sNcAMh7cX8pDGs3NKH/ZR D2tuekI4VptVMWOosxfi+tya+sg2ccLTRxm3BI+okCnrZgttO61wJcksK7UtiRt8 vx/ZLK6dJhUHyeVD5TTNAky5cdIFZf7pySUj36JH2nA6bcVk2RceAPFPfpgxKodD 7VBxormXc1DkA33wZcJCsnuZpO74UPGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=QDHDjdquQXtI6vyyV 1mOYU0o9HMGs/yCTBRf0YDyNsw=; b=TWrlR3Y2eHC6SNN2vSA8SgsNdr1ZwTc/X WTA3mi8jqR+ilN2NAB9TvmJDTj6TQCYJIkUqVb5AK2WNxCXxm32VOXBN7bWW+23q vDuHvPv9DEAFuJQvt5ms81ffw46z3k4mZ6f5oYxqESFGlbjK3x0SJDY1YSdrZokw y/ilisVSf8Gge6JhupyaqL/4kMtffTD9PLcO3LG5JbP4k70yXMGFbCzeupcfqoqL E9yasmRgufOj4Ol1ENVkIpDA0FliJz8PcreRZTR/KW9CPYgzQWgq9LkwP84N8ik3 vKByHzCSCwlAWo2yrtM39asm0Xe0gi8PFdxWPgtPmHEEtuguFT7AA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrledtgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesthdtre dtreertdenucfhrhhomhepfdfrhhhilhhiphcuofhunhhkshhgrggrrhgufdcuoehphhhi lhhiphesmhhunhhkshhgrggrrhgurdhmvgeqnecuggftrfgrthhtvghrnhepkeeljedvle ejueffhfekfffgleelkeehlefhkeefuddvieeufedvtdehuedvieevnecuffhomhgrihhn pehhrghskhgvlhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepphhhihhlihhpsehmuhhnkhhsghgrrghrugdrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 96050AC0E99; Wed, 23 Feb 2022 06:25:56 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4778-g14fba9972e-fm-20220217.001-g14fba997 Mime-Version: 1.0 Message-Id: In-Reply-To: <62174ccd-9114-4096-8d63-e1933b76ad32@www.fastmail.com> References: <86a6eh2954.fsf@gmail.com> <62174ccd-9114-4096-8d63-e1933b76ad32@www.fastmail.com> Date: Wed, 23 Feb 2022 12:25:36 +0100 From: "Philip Munksgaard" Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.21; envelope-from=philip@munksgaard.me; helo=wout5-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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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 X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645615646; 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=QDHDjdquQXtI6vyyV1mOYU0o9HMGs/yCTBRf0YDyNsw=; b=QPYBhr9hpIvle0j6qx4wPQfp81nRyjPHbIHslZk5SiGBLE5VG88O0buIr/1+db+Q6X5Lqf gLbWIdl5lZZnSrGvhxtSsqcSzCNmm4EbrzxYQRiV3SRfTRvu/UR/85LeKt3xhKM/kgr3J6 vs8j3f8u8RX3EsKDq7R8+jDd2ApdWNUjFtreJB80JIXOzhYOIV5gfykYvukZVzMxHMUmFP iBGQ1dx/NTltQ4lEIV/dOpiITHwgE8wwM8sQOJwmevPH8fHdNwMGSDDz4I6XOeM+JcUyDz BW/jjxkLyRyHRd+/Tp/yXCgI/9FHfP0Y0g4vs5FaS/7PrjRv0CFPN+LVgSm5Lw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645615646; a=rsa-sha256; cv=none; b=lwGIu+lKjQKwld2rjay/IFapwQWnOrAppNaC6KpHu3wd1VLU42hcb5uLPkBUPjVIg6iqhS AaxOShDRc1XRLt1DsSIpcGtY7PIUheSUrMPg1EwVseq9/DMEGgeUToFI1ozdiCO8wZLDYt A3EBD+7ZAnho+WXEFp7WOLBBBSAS6D7/pGGP4yr5kzPHYcKMoA6znL+9bK3rIKVWdSvrjf NLssQzXL0hsZG2vSnO48JJdYomr1p4liG7IkamXmUigEi+x9bkli4wEJrVc+Nf1wRuM4PQ J6qttqtYQL/IIi1ZdJ9SgoWpyT/9my4jlLh3XHT+1Nr3fulFuhDhLzqfK4Omrg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm3 header.b=odEcl7Y7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=TWrlR3Y2; dmarc=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: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm3 header.b=odEcl7Y7; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=TWrlR3Y2; dmarc=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: 98DCA19E4C X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: ciu4Ze4/lXOq On Wed, 23 Feb 2022, at 12:06, Philip Munksgaard wrote: > And yes, this is indeed the issue I'm mostly concerned about. It seems > like > `/gnu/store/25ql0xsjqf0alrvy6hmpw6gzirzbqfmv-ghc-attoparsec-0.14.4/ghc-attoparsec-0.14.4.conf` > is expected to be a file, while it is in fact a directory. I'm not sure > what that means or why it is important though. Upon further investigation, it seems like the `register` function in `guix/build/haskell-build-system.scm` assumes that running `runhaskell Setup.hs register --gen-pkg-config=...` will at most result in a single configuration file, while the documentation for `--gen-pkg-config` clearly states that it is also possible that it results in a directory[0]. The relevant section states: > This option outputs a directory if the package requires multiple registrations: this can occur if internal/convenience libraries are used. These configuration file names are sorted so that they can be registered in order. I think we need to amend `haskell-build-system.scm` to be able to handle such cases. 0: https://downloads.haskell.org/cabal/Cabal-3.0.0.0/doc/users-guide/installing-packages.html#cmdoption-setup-register-gen-pkg-config