From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 13 09:38:20 2019 Received: (at submit) by debbugs.gnu.org; 13 Dec 2019 14:38:20 +0000 Received: from localhost ([127.0.0.1]:33271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifm5E-00082m-6o for submit@debbugs.gnu.org; Fri, 13 Dec 2019 09:38:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:41450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ifm5C-00082f-Q1 for submit@debbugs.gnu.org; Fri, 13 Dec 2019 09:38:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41089) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifm5A-0000yp-Kz for guix-patches@gnu.org; Fri, 13 Dec 2019 09:38:18 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifm58-00078A-28 for guix-patches@gnu.org; Fri, 13 Dec 2019 09:38:15 -0500 Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:46007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifm57-00075a-IB for guix-patches@gnu.org; Fri, 13 Dec 2019 09:38:13 -0500 Received: by mail-ua1-x933.google.com with SMTP id 59so848004uap.12 for ; Fri, 13 Dec 2019 06:38:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Dy2zxrsa8+v+VIddgPmy+5e9W1NK8zCon+PLed37iZQ=; b=efRlz4Vbjq5bg3Mviakv0qdPO+VChj1h1/8FB6dOMZkaMB4MdHFbQ2tV4gdHxW0GE7 Qk6tyG7G1SCA+WvehH4fRhhSltfEDchxKbxJGeDymMnI2Dm/QeUac5vtFFWbuj7zeIvr 1c5vdDIcyY3BP23MuwUqHBrI9EXXyHETARUDSeJuMIub7N1j5FE9yHySSU+5gUCsZmLh X4SJgHGsBeuJSNov9H//eMrqstutj1LUKu8DUFHijZYmXsYztfQeo4Wm5Q+W53JE/Nuu bLpGvJmk9t/7433oFeIdQ0cFl8/t/PCe+alS/vC6pdbQ/+Hp9/HlqeOZ3/QmAs/cKuk9 6pqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Dy2zxrsa8+v+VIddgPmy+5e9W1NK8zCon+PLed37iZQ=; b=R68MBI2WCqyP64tHYHxLSBK6hXGBiCv/fmKBHnHBlR+qWA6jTkrBEw4MOZyhRp4JyA +kMdQJHZ2due2nCQkbov2IMFjyr79ewIY8bqxdM+jY9flAnO5fPEhUmE8ZGJsR9P+Yrn FZRIatIUFiGJU7Byu7oTgPVO4Q3LfdiiProqbF7Npam63ho30pyC7JpanpfDq2DQSRN2 lqhoyKcjOsi4JiPtoTTTcrK8aB7KYIeBBhBC7nnHt2PRv0lYeGQD/NzxeKEKp27is3p/ f/zmcZ468A8Ro83TpqYNLF20hrQongoDHOl52yKZ4xrIaEhcNn20bxuYvT3aNZBkvn/7 Xb5w== X-Gm-Message-State: APjAAAUb/ncqIpJEnuWqwrHlakiYkxj2FO3qACUHG4CBTgSHrLGilFKv 8aaJgXVNxjlrxiQlV2c7DZK1eOP1xDLvXL8jKAj7k34M X-Google-Smtp-Source: APXvYqwOcFhPZwEmakblrampeVx9u+AvmUx/w/FJMTrGRgfUokjaUcmfXeJGF6VCY0Cw7Dpema2RBQhuo0oKegR5YuQ= X-Received: by 2002:ab0:6894:: with SMTP id t20mr13616641uar.100.1576247892162; Fri, 13 Dec 2019 06:38:12 -0800 (PST) MIME-Version: 1.0 From: John Soo Date: Fri, 13 Dec 2019 14:38:01 +0000 Message-ID: Subject: Remove invalid library directories from some haskell packages To: guix-patches@gnu.org Content-Type: multipart/mixed; boundary="000000000000b0e9e7059996cfb8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::933 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) --000000000000b0e9e7059996cfb8 Content-Type: multipart/alternative; boundary="000000000000b0e9e5059996cfb6" --000000000000b0e9e5059996cfb6 Content-Type: text/plain; charset="UTF-8" Hi all, When compiling with ghc, I have been getting the message that the following packages have invalid package databases. These patches remove the library from the output, keeping the executables. There may be other packages with this problem but I have not done an audit. - John --000000000000b0e9e5059996cfb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

When compiling with = ghc, I have been getting the message that the following packages have inval= id package databases. These patches remove the library from the output, kee= ping the executables.

There may be other packages = with this problem but I have not done an audit.

- = John


--000000000000b0e9e5059996cfb6-- --000000000000b0e9e7059996cfb8 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-gnu-ghc-hpack-Remove-invalid-lib-directory.patch" Content-Disposition: attachment; filename="0001-gnu-ghc-hpack-Remove-invalid-lib-directory.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k449a6700 RnJvbSBmN2JjYTlmY2EwYjAxYjFjNzcwZDM4OGZlYTgwY2JjZWUwNDJiMTRhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIFNvbyA8anNvbzFAYXN1LmVkdT4KRGF0ZTogU3VuLCAx NyBOb3YgMjAxOSAwMToxNToxNiAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMS8zXSBnbnU6IGdoYy1o cGFjazogUmVtb3ZlIGludmFsaWQgbGliIGRpcmVjdG9yeS4KCiogZ251L3BhY2thZ2VzL2hhc2tl bGwteHl6LnNjbSAoZ2hjLWhwYWNrKTogUmVtb3ZlIGludmFsaWQgbGlicmFyeSBkaXJlY3RvcnkK ZnJvbSBvdXRwdXQuCi0tLQogZ251L3BhY2thZ2VzL2hhc2tlbGwteHl6LnNjbSB8IDcgKysrKysr KwogMSBmaWxlIGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNr YWdlcy9oYXNrZWxsLXh5ei5zY20gYi9nbnUvcGFja2FnZXMvaGFza2VsbC14eXouc2NtCmluZGV4 IGZiNjgzMzIwN2QuLjFkNzhlYjc4OTQgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdlcy9oYXNrZWxs LXh5ei5zY20KKysrIGIvZ251L3BhY2thZ2VzL2hhc2tlbGwteHl6LnNjbQpAQCAtNTUwMCw2ICs1 NTAwLDEzIEBAIHJlcHJlc2VudGF0aW9ucyBvZiBjdXJyZW50IHRpbWUuIikKICAgICAgICAoImdo Yy1xdWlja2NoZWNrIiAsZ2hjLXF1aWNrY2hlY2spCiAgICAgICAgKCJnaGMtdGVtcG9yYXJ5IiAs Z2hjLXRlbXBvcmFyeSkKICAgICAgICAoImhzcGVjLWRpc2NvdmVyIiAsaHNwZWMtZGlzY292ZXIp KSkKKyAgICAoYXJndW1lbnRzCisgICAgIGAoIzpwaGFzZXMKKyAgICAgICAobW9kaWZ5LXBoYXNl cyAlc3RhbmRhcmQtcGhhc2VzCisgICAgICAgICAoYWRkLWFmdGVyICdpbnN0YWxsICdyZW1vdmUt bGliCisgICAgICAgICAgIChsYW1iZGEqICgjOmtleSBvdXRwdXRzICM6YWxsb3ctb3RoZXIta2V5 cykKKyAgICAgICAgICAgICAoZGVsZXRlLWZpbGUtcmVjdXJzaXZlbHkKKyAgICAgICAgICAgICAg KHN0cmluZy1hcHBlbmQgKGFzc29jLXJlZiBvdXRwdXRzICJvdXQiKSAiL2xpYiIpKSkpKSkpCiAg ICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9naXRodWIuY29tL3NvbC9ocGFjayIpCiAgICAgKHN5bm9w c2lzICJUb29scyBmb3IgYW4gYWx0ZXJuYXRpdmUgSGFza2VsbCBwYWNrYWdlIGZvcm1hdCIpCiAg ICAgKGRlc2NyaXB0aW9uCi0tIAoyLjI0LjAKCg== --000000000000b0e9e7059996cfb8 Content-Type: text/x-patch; charset="US-ASCII"; name="0003-gnu-hoogle-Remove-invalid-library.patch" Content-Disposition: attachment; filename="0003-gnu-hoogle-Remove-invalid-library.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k449a69s2 RnJvbSBlYjE4YTM3ZDYwMDM5YzVmNjdmN2NiOTIzYzg4NDMzMTU5YTgzODdjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIFNvbyA8anNvbzFAYXN1LmVkdT4KRGF0ZTogU3VuLCAx NyBOb3YgMjAxOSAwODoyNTo1MyAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMy8zXSBnbnU6IGhvb2ds ZTogUmVtb3ZlIGludmFsaWQgbGlicmFyeS4KCiogZ251L3BhY2thZ2VzL2hhc2tlbGwtYXBwcy5z Y20gKGhvb2dsZSk6IFJlbW92ZSBpbnZhbGlkIGxpYnJhcnkgZnJvbSBvdXRwdXQuCi0tLQogZ251 L3BhY2thZ2VzL2hhc2tlbGwtYXBwcy5zY20gfCA3ICsrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCA3 IGluc2VydGlvbnMoKykKCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvaGFza2VsbC1hcHBzLnNj bSBiL2dudS9wYWNrYWdlcy9oYXNrZWxsLWFwcHMuc2NtCmluZGV4IDVhMTZiMWJiOTEuLjFlNzky OTQ3MzcgMTAwNjQ0Ci0tLSBhL2dudS9wYWNrYWdlcy9oYXNrZWxsLWFwcHMuc2NtCisrKyBiL2du dS9wYWNrYWdlcy9oYXNrZWxsLWFwcHMuc2NtCkBAIC01MDAsNiArNTAwLDEzIEBAIHVud2FudGVk IHN1Z2dlc3Rpb25zLCBhbmQgdG8gYWRkIHlvdXIgb3duIGN1c3RvbSBzdWdnZXN0aW9ucy4iKQog ICAgICAgICgiZ2hjLXdhcnAiICxnaGMtd2FycCkKICAgICAgICAoImdoYy13YXJwLXRscyIgLGdo Yy13YXJwLXRscykKICAgICAgICAoImdoYy16bGliIiAsZ2hjLXpsaWIpKSkKKyAgICAoYXJndW1l bnRzCisgICAgIGAoIzpwaGFzZXMKKyAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhh c2VzCisgICAgICAgICAoYWRkLWFmdGVyICdpbnN0YWxsICdyZW1vdmUtbGliCisgICAgICAgICAg IChsYW1iZGEqICgjOmtleSBvdXRwdXRzICM6YWxsb3ctb3RoZXIta2V5cykKKyAgICAgICAgICAg ICAoZGVsZXRlLWZpbGUtcmVjdXJzaXZlbHkKKyAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQg KGFzc29jLXJlZiBvdXRwdXRzICJvdXQiKSAiL2xpYiIpKSkpKSkpCiAgICAgKGhvbWUtcGFnZSAi aHR0cHM6Ly9ob29nbGUuaGFza2VsbC5vcmcvIikKICAgICAoc3lub3BzaXMgIkhhc2tlbGwgQVBJ IFNlYXJjaCIpCiAgICAgKGRlc2NyaXB0aW9uICJIb29nbGUgaXMgYSBIYXNrZWxsIEFQSSBzZWFy Y2ggZW5naW5lLCB3aGljaCBhbGxvd3MKLS0gCjIuMjQuMAoK --000000000000b0e9e7059996cfb8 Content-Type: text/x-patch; charset="US-ASCII"; name="0002-gnu-hlint-Remove-invalid-lib-directory.patch" Content-Disposition: attachment; filename="0002-gnu-hlint-Remove-invalid-lib-directory.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k449a69s1 RnJvbSBjNjM0OTMxYmU4NzkwMzQyYTBlYWVlYzJiYmVmNmYwNThjODY0NDhlIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKb2huIFNvbyA8anNvbzFAYXN1LmVkdT4KRGF0ZTogU3VuLCAx NyBOb3YgMjAxOSAwMToxOToyMCAtMDgwMApTdWJqZWN0OiBbUEFUQ0ggMi8zXSBnbnU6IGhsaW50 OiBSZW1vdmUgaW52YWxpZCBsaWIgZGlyZWN0b3J5LgoKKiBnbnUvcGFja2FnZXMvaGFza2VsbC1h cHBzLnNjbSAoaGxpbnQpOiBSZW1vdmUgaW52YWxpZCBsaWJyYXJ5IGZyb20gb3V0cHV0LgotLS0K IGdudS9wYWNrYWdlcy9oYXNrZWxsLWFwcHMuc2NtIHwgNyArKysrKysrCiAxIGZpbGUgY2hhbmdl ZCwgNyBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2hhc2tlbGwtYXBw cy5zY20gYi9nbnUvcGFja2FnZXMvaGFza2VsbC1hcHBzLnNjbQppbmRleCBkNWMzMWNiYjBiLi41 YTE2YjFiYjkxIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMvaGFza2VsbC1hcHBzLnNjbQorKysg Yi9nbnUvcGFja2FnZXMvaGFza2VsbC1hcHBzLnNjbQpAQCAtNDQxLDYgKzQ0MSwxMyBAQCB1c2Vk IHRvIGtlZXAgYSBmb2xkZXIgaW4gc3luYyBiZXR3ZWVuIGNvbXB1dGVycy4iKQogICAgICAgICgi Z2hjLWFlc29uIiAsZ2hjLWFlc29uKQogICAgICAgICgiZ2hjLWxpYi1wYXJzZXIiICxnaGMtbGli LXBhcnNlcikKICAgICAgICAoImhzY29sb3VyIiAsaHNjb2xvdXIpKSkKKyAgICAoYXJndW1lbnRz CisgICAgIGAoIzpwaGFzZXMKKyAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2Vz CisgICAgICAgICAoYWRkLWFmdGVyICdpbnN0YWxsICdyZW1vdmUtbGliCisgICAgICAgICAgIChs YW1iZGEqICgjOmtleSBvdXRwdXRzICM6YWxsb3ctb3RoZXIta2V5cykKKyAgICAgICAgICAgICAo ZGVsZXRlLWZpbGUtcmVjdXJzaXZlbHkKKyAgICAgICAgICAgICAgKHN0cmluZy1hcHBlbmQgKGFz c29jLXJlZiBvdXRwdXRzICJvdXQiKSAiL2xpYiIpKSkpKSkpCiAgICAgKGhvbWUtcGFnZSAiaHR0 cDovL2NvbW11bml0eS5oYXNrZWxsLm9yZy9+bmRtL2hsaW50LyIpCiAgICAgKHN5bm9wc2lzICJT dWdnZXN0IGltcHJvdmVtZW50cyBmb3IgSGFza2VsbCBzb3VyY2UgY29kZSIpCiAgICAgKGRlc2Ny aXB0aW9uICJITGludCByZWFkcyBIYXNrZWxsIHByb2dyYW1zIGFuZCBzdWdnZXN0cyBjaGFuZ2Vz IHRoYXQKLS0gCjIuMjQuMAoK --000000000000b0e9e7059996cfb8-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 18 07:42:07 2019 Received: (at 38593) by debbugs.gnu.org; 18 Dec 2019 12:42:07 +0000 Received: from localhost ([127.0.0.1]:42732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihYeU-0008U5-TY for submit@debbugs.gnu.org; Wed, 18 Dec 2019 07:42:07 -0500 Received: from mail-ua1-f52.google.com ([209.85.222.52]:41404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ihYeS-0008Ta-DK for 38593@debbugs.gnu.org; Wed, 18 Dec 2019 07:42:05 -0500 Received: by mail-ua1-f52.google.com with SMTP id f7so565239uaa.8 for <38593@debbugs.gnu.org>; Wed, 18 Dec 2019 04:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=Rfxq7r2kCHLY7SPmXZ5SvlCONoaLxTBCoX5pl5W04wo=; b=FsJc811dPWrUjWdqNovX8lDwlv6gDqj3qQskGQnsUYw7juLzZbCR3aEdsbkZp0/oEI CbQT19pvznBtmIXYh2TgY2AUNedOSIsUOaHy+CKEkz7OzhxS2Dt1ZYLqa2Ki9tnWo/7a /I7jsbTLFko+SruWrvaRNaRAUd76+GWsZA02LtrGBtIppgHP50udNKiUNuzhP1ZvVerI +HKHWnN1V/CDFlN741Syv6vDBBD/BKOobIsrhpS7Pi5q0uXlE8UGrn4gR+jx/KqMAdou CssVz2TJSjM95xdCPZK9WzMj/SwK2m6L22QUSp50wPqZrstnMCNc7AnHN98I7SK8EDfZ JEOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Rfxq7r2kCHLY7SPmXZ5SvlCONoaLxTBCoX5pl5W04wo=; b=JeYgB/HfIH4wkwkzSRENip2m+aJJY1h38mIFD6ZjR5HvYxm8b1RAx/FtAQklpNYEMO zJVWo+AiZbJNli/d1Mbg5mOdbfCrcVny1ME4R5Vr8BOS1ygRasSWNC/Jwqvul3BrLAdh Y3bWKk5dgxkWYIAkt/MOXyKU2gpgv8Tr/6724uOOT1xoZnqmh4QLeNBTdOeFuGq4gMlf iYjHqrvQtFqOnioq0c13on0YrzqUUZS2+DaWhdGiTMdjGGDe85u2qreFqUGYTsfANW/n AqIIU1C3lIVeM0y2XMZpjVS71eID0pofDzNWGDpJCyOPfNc+zBuUU4yE/Zo2+BHLElC6 YGnQ== X-Gm-Message-State: APjAAAVU24kSV0bEIYSNz9syIw35fzfFQRlQXFEALbXS8ge9wwaSnHtC 3RDq4ns4lQ5tVXRJOa9TN5ZEwyymLJsYP0M4ChhHuL8T X-Google-Smtp-Source: APXvYqyxnWGAcFfSF3hCJ+eSiMAuItXhyuW28WQkPgyF48p/BW13ZTR2/iKrtE3VLgDhGNbYXCcaZhyJ37sWBn8ySjc= X-Received: by 2002:ab0:704b:: with SMTP id v11mr1128390ual.36.1576672918556; Wed, 18 Dec 2019 04:41:58 -0800 (PST) MIME-Version: 1.0 From: John Soo Date: Wed, 18 Dec 2019 12:41:47 +0000 Message-ID: Subject: [PATCH] Remove invalid library directories from some haskell packages To: 38593@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000003cfc9d0599f9c510" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38593 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 (-) --0000000000003cfc9d0599f9c510 Content-Type: text/plain; charset="UTF-8" I forgot to mention there are patches attached to this. --0000000000003cfc9d0599f9c510 Content-Type: text/html; charset="UTF-8"
I forgot to mention there are patches attached to this.
--0000000000003cfc9d0599f9c510-- From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 19 17:30:46 2019 Received: (at 38593) by debbugs.gnu.org; 19 Dec 2019 22:30:46 +0000 Received: from localhost ([127.0.0.1]:45680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ii4Ji-00062H-Js for submit@debbugs.gnu.org; Thu, 19 Dec 2019 17:30:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ii4Jg-00061y-Jg for 38593@debbugs.gnu.org; Thu, 19 Dec 2019 17:30:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ii4Ja-0004zS-22; Thu, 19 Dec 2019 17:30:38 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36380 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ii4JJ-0006b4-QA; Thu, 19 Dec 2019 17:30:35 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: John Soo Subject: Re: [bug#38593] Remove invalid library directories from some haskell packages References: Date: Thu, 19 Dec 2019 23:30:20 +0100 In-Reply-To: (John Soo's message of "Fri, 13 Dec 2019 14:38:01 +0000") Message-ID: <871rt0kkxv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38593 Cc: 38593@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: -3.3 (---) Hi, John Soo skribis: > When compiling with ghc, I have been getting the message that the followi= ng > packages have invalid package databases. Does it hurt in practice, or are these invalid databases shadowed by the one created in the profile? > diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm > index fb6833207d..1d78eb7894 100644 > --- a/gnu/packages/haskell-xyz.scm > +++ b/gnu/packages/haskell-xyz.scm > @@ -5500,6 +5500,13 @@ representations of current time.") > ("ghc-quickcheck" ,ghc-quickcheck) > ("ghc-temporary" ,ghc-temporary) > ("hspec-discover" ,hspec-discover))) > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-after 'install 'remove-lib > + (lambda* (#:key outputs #:allow-other-keys) > + (delete-file-recursively > + (string-append (assoc-ref outputs "out") "/lib"))))))) Should we add a phase in =E2=80=98haskell-build-system=E2=80=99 that system= atically removes package databases? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 20 16:29:02 2019 Received: (at 38593) by debbugs.gnu.org; 20 Dec 2019 21:29:02 +0000 Received: from localhost ([127.0.0.1]:47312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iiPpW-0000Zk-D7 for submit@debbugs.gnu.org; Fri, 20 Dec 2019 16:29:02 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:38220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iiPpT-0000ZD-ND for 38593@debbugs.gnu.org; Fri, 20 Dec 2019 16:29:00 -0500 Received: by mail-pf1-f193.google.com with SMTP id x185so5918206pfc.5 for <38593@debbugs.gnu.org>; Fri, 20 Dec 2019 13:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=5PJcEwnPrnMRm1/V19RPCySTUQD5h53SHjQWDMq54+k=; b=BNnuUt1GroGZpuu8T+QONx+z//M1G5Zdun5lXniTMHv9HySRLqSCIIys75u5HYHLkK IC68MDuzxmdT+GmrYDbQbVyr8RR9mPaWemQdi3TnoZ8RCLH/okRZ9cj4gSqkJP+WhqGl +VqHSNv9gG3y8KrI/X0PO4226d5XOM34TU1n0spdoIKXW9INYcoTLN+uu0SEIsM+OhUw bXR8zfdcf9btLHYKhrIaglDgZ4NvgJbPLUqOV5liUd9bMh+0bhAB8YCLkiIN3D4daVoc lDSAsqXLKlkN+xPQLqljJ1U96AWOOYMbqBkRFcrotQYkSY10WnkWs+f1Gu5vBX0vo/EX jFmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=5PJcEwnPrnMRm1/V19RPCySTUQD5h53SHjQWDMq54+k=; b=CKau3ikCrlcc1xiVTsqi5NJlbgr68SILFkTnlo0XyfO7Yvw/WzW/ADrQYZI8O9cvqS RKJptSHE/LC06BNYbel3cQZtV66TQLznHYNzPvk2IGLE83UHCcjT+SHAPJY0hXzXLxdX Kr9RX4CcU+3zWPp1k0fzd0E66dWh+sBlBzd6NKn4UeuHueGYQI8GwBOVlbZJ0wAgLgg8 W+O6iOX1jTv9vr7btWhrdVuT3BfpFmHzH0hdZKTHpIBCdedFhh9YNabf1hSKN9rIoa4W 69YsGmcD2Tvzm6MGdKIOYipuXz0oahHKmhGIh9XzrX6dvJqq6VJmVbsimcOY2PfYj9B4 9tMw== X-Gm-Message-State: APjAAAWmVvy//5gqzk2edoj63n2/d9uCT4FNvPHfweFE3Srx3Np5hSKT mhKfyB5PLN0tT4MD4JAZogmsHA== X-Google-Smtp-Source: APXvYqwpN0sMG9kOCPIhdTCe1flua7sQZK6ez6uDByS174rTpKhLQzk4SdRvjQ1Nk2yejYgv2sPzNQ== X-Received: by 2002:a62:4d87:: with SMTP id a129mr18308258pfb.116.1576877333696; Fri, 20 Dec 2019 13:28:53 -0800 (PST) Received: from [10.153.115.158] (mobile-166-170-44-159.mycingular.net. [166.170.44.159]) by smtp.gmail.com with ESMTPSA id q193sm10174009pfc.132.2019.12.20.13.28.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 20 Dec 2019 13:28:53 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: John Soo Mime-Version: 1.0 (1.0) Subject: Re: [bug#38593] Remove invalid library directories from some haskell packages Date: Fri, 20 Dec 2019 13:28:52 -0800 Message-Id: <69081139-A67A-43C5-8757-36437C6CC96D@asu.edu> References: <871rt0kkxv.fsf@gnu.org> In-Reply-To: <871rt0kkxv.fsf@gnu.org> To: =?utf-8?Q?Ludovic_Court=C3=A8s?= , help-guix X-Mailer: iPhone Mail (17C54) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38593 Cc: 38593@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 Ludo and guix, Let me explain my problem. Maybe there is some other explanation here and th= ese patches aren=E2=80=99t necessary. When I have stylish-haskell installed I have troubles compiling anything usi= ng plain ghc. I want to use the ghc packages in the profile but for some r= eason ghc reports the database is invalid because of at least stylish-haskel= l and I think I=E2=80=99ve seen hoogle as well. > Does it hurt in practice, or are these invalid databases shadowed by the > one created in the profile? I=E2=80=99m not sure what you mean here. I think I dod not explained my prob= lem well enough. Does the explanation above make sense? Another possibility is the duplication of path variables in tmux where I usu= ally operate.=20 Thinking now, maybe another explanation is because stylish-haskell and ghc-s= tylish-haskell are fighting each other? They are duplicate packages and mayb= e if one is removed it will be ok? > Should we add a phase in =E2=80=98haskell-build-system=E2=80=99 that syste= matically > removes package databases? I don=E2=80=99t think so. I like having the profile packages. A lot of times= I prefer to use plain ghc with the profile packages over cabal or another t= ool so I=E2=80=99m happy to have the packages in the database. The ones I was considering removing were ones that primarily provide a binar= y to use - hoogle and stylish-haskell are primarily used as binaries. Howev= er on second thought if I wanted to use them as libraries I think I would be= confused as to why I could not. Overall I am leaning towards finding some other solution. Thanks everyone! John= From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 01 13:30:15 2021 Received: (at 38593-done) by debbugs.gnu.org; 1 Jan 2021 18:30:15 +0000 Received: from localhost ([127.0.0.1]:34831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvPBn-0001VY-L8 for submit@debbugs.gnu.org; Fri, 01 Jan 2021 13:30:15 -0500 Received: from mail-pj1-f45.google.com ([209.85.216.45]:54584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kvPBm-0001VH-8F for 38593-done@debbugs.gnu.org; Fri, 01 Jan 2021 13:30:14 -0500 Received: by mail-pj1-f45.google.com with SMTP id f14so6368679pju.4 for <38593-done@debbugs.gnu.org>; Fri, 01 Jan 2021 10:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asu-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version; bh=5fyDCY+297D9OqfXIbs3M2+VlKxsm70eWXDValoacSk=; b=X7MYw98z/5c4CBGenfT1I6OaNLZKBgkMy80PsBt5ozhVyeoDMyKmdA7k+iw3A45s+T lgd5fvGPnMC9LmSEvbext0CUBLpAUvqwJw/VLrgXkbClscYGfCun8k59oCEjEc/EY6qG YPolQkjqq4kFZlRF3Fx+2jKVgLiTFxrIOve1Orm6ZzaDlm//keChpzTnxIvu3gm+XCLx raMnljR/zz8BZyaXMXwWg63AFG5+clO6+FpRXAF3+ZAgB5Uug7BbuShvDLlh77YWe1KD LDaPjksdSKiezelHuofI6CUpknLOS+XcdBcf82MXieqkThh4EUND1LPE17RVywhqFxJc HyvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=5fyDCY+297D9OqfXIbs3M2+VlKxsm70eWXDValoacSk=; b=dNU4TL3bFtyrMegEXuD8/0UAL+v63RwGJYQScosB+H/lwdjz+R4X1pmD9pZiB3gVHq 90P26BAS29Xmu0rZUpDT8PSRkiT3ffgpJ9UBMFMQN0P6nbQ1bXsbPzH55r0iZ0igxbuh dPsDSgj5EPlOERjAnx2wCaxrwLD/UkdlQ/5vGMDEuM6zrye6asMJE+zeDnNEhhld5BIy NhOz0t6qqWnJ7nou9/cCFv/1abQ0LQ8ebtxVnCzfiWK+LtmA5Ks0xxHyVl0PnIOpXAHW 7HZgHge42qDBPb1ewG4nX+ifdbmiqxQ4FnYjaQkYyExFVwuHFTtgIPqICURmF62nTM+b o2Qw== X-Gm-Message-State: AOAM532zC5O+3pjipAinyThPGG4m3tcAQxQ0dfbZ/5jlkt/D4IGBr54Q VRC+W9auuAIKM8AlkWfSYBqfdwx+Co+0AirS X-Google-Smtp-Source: ABdhPJwYfzNLnIfPXuEtfcBVqghWnFC5axNplTfsZ6HWIhfBhv/ATTdILNOAciD5vsEACKFnzLQgtw== X-Received: by 2002:a17:902:6506:b029:da:b472:7131 with SMTP id b6-20020a1709026506b02900dab4727131mr62827194plk.38.1609525808145; Fri, 01 Jan 2021 10:30:08 -0800 (PST) Received: from ecenter ([2600:1700:83b0:8bd0::7a8]) by smtp.gmail.com with ESMTPSA id y3sm14835672pjb.18.2021.01.01.10.30.07 for <38593-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Jan 2021 10:30:07 -0800 (PST) From: John Soo To: 38593-done@debbugs.gnu.org Subject: Have not experienced this problem in a long time Date: Fri, 01 Jan 2021 10:30:06 -0800 Message-ID: <87lfdc33yp.fsf@asu.edu> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 38593-done 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 (-) I have not experienced this issue in a long time. I may come back to it if it ever happens again. From unknown Sat Aug 09 13:14:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Jan 2021 12:24:06 +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