From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cFAzKgUT42DtjwAAgWs5BA (envelope-from ) for ; Mon, 05 Jul 2021 16:11:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AKnlJQUT42A8IgAA1q6Kng (envelope-from ) for ; Mon, 05 Jul 2021 14:11:17 +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 8A8CF1089B for ; Mon, 5 Jul 2021 16:11:15 +0200 (CEST) Received: from localhost ([::1]:47816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0PJZ-0003AT-H7 for larch@yhetil.org; Mon, 05 Jul 2021 10:11:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0PJO-0003AF-Ix for bug-guix@gnu.org; Mon, 05 Jul 2021 10:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m0PJO-00034q-BI for bug-guix@gnu.org; Mon, 05 Jul 2021 10:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m0PJO-0003n7-1O for bug-guix@gnu.org; Mon, 05 Jul 2021 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49418: Importing haskell packages from hackage doesn't apply metadata revisions Resent-From: "Philip Munksgaard" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Jul 2021 14:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49418 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49418@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162549420414489 (code B ref -1); Mon, 05 Jul 2021 14:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jul 2021 14:10:04 +0000 Received: from localhost ([127.0.0.1]:46328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PIR-0003lc-BW for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:10:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:34222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m0PIP-0003lT-Tv for submit@debbugs.gnu.org; Mon, 05 Jul 2021 10:10:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0PIP-0002LI-Kl for bug-guix@gnu.org; Mon, 05 Jul 2021 10:10:01 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0PIM-0002Pk-5y for bug-guix@gnu.org; Mon, 05 Jul 2021 10:10:01 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id C38375C0094 for ; Mon, 5 Jul 2021 10:09:51 -0400 (EDT) Received: from imap43 ([10.202.2.93]) by compute2.internal (MEProxy); Mon, 05 Jul 2021 10:09: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; s= fm1; bh=j1ynmIJgtpNTB1JYEu6hJeuHun4d3b8Rza/ZZ6G9oPc=; b=RanXUTxZ j+ts991N57/As4apcKOZNDeaeN4dHgXAfZQVUhJkObkJI0M5wVbqR8tpxxA9+ey0 uvaNZ5NA3KWtiaAaxjarw3XT18m6zhyIdHh9lNpoOUUGt43RW9wxQDqUFzEOE7cX FqnWTamWbB1b95JB2hbBzqs9A3ysjkANpc3NQwSUMhm3sFiKPaDaz1d5sIjPtVZc yIGOWy3thFaOXtXJZIMjDW9hnkfQ6il3fvuxFFJ1Jq2B11PpQVr1PFCXTZIJRDM5 zj3jd3qcIqETSoOxfDk5C7u5gFIPgOjBBgJjX47GLKNX8Al19cLr+nqLr9tTc7vo HQzlVm56xaseiw== 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=j1ynmIJgtpNTB1JYEu6hJeuHun4d3 b8Rza/ZZ6G9oPc=; b=VlTfILG8PCrsgzoIowdkHZExiIwQpPWfMu4CAT9lRGkSF rLf3x/UwZyPhw34YIF89/plw9w5uwDOJ++1d4imikBxANXeHUmGxKOVTBisI1CPQ mvzTU7SFzXdALkwcrFc0luJUqJz2K3Yl2CUZL7AYT9eV8dDwSL6CNjBJVy/0VBqJ nd18a0R4QfJWZA42EKtrFQak3M4nwhmC7dvNAxoX823+QfrHpuh2uanUQ+7ubfPM HjHGt8Jwp84AMKvg9s3qcLI33UY/FtUIN5A6TYvzrlnkR8JW3RxxPUbnhSARBfxP OyljtPOnjWqKD15VoW9sHTZRxPolOtl+pWhdo6xKA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeejgedgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehmtderre erreejnecuhfhrohhmpedfrfhhihhlihhpucfouhhnkhhsghgrrghrugdfuceophhhihhl ihhpsehmuhhnkhhsghgrrghrugdrmhgvqeenucggtffrrghtthgvrhhnpeeiuddvleeghe etffehvdeuudeukefgvdfhfeeilefgvefftedthedvvdektedutdenucffohhmrghinhep hhgrshhkvghllhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehphhhilhhiphesmhhunhhkshhgrggrrhgurdhmvg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 89F4FAC007C; Mon, 5 Jul 2021 10:09:51 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-530-gd0c265785f-fm-20210616.002-gd0c26578 Mime-Version: 1.0 Message-Id: Date: Mon, 05 Jul 2021 16:09:31 +0200 From: "Philip Munksgaard" Content-Type: multipart/mixed; boundary=da29dc08397d4ad589c03d89ca9b0970 Received-SPF: pass client-ip=66.111.4.28; envelope-from=philip@munksgaard.me; helo=out4-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_H3=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-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=1625494277; 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=j1ynmIJgtpNTB1JYEu6hJeuHun4d3b8Rza/ZZ6G9oPc=; b=H7tyntUhlrKR3pwDA9PP8YpoNBM9XMRm0F8z+mTGaMbbgnW82K0A447c+GAUHtmA5tGrBG YkWgeN6f5u3sRmnMDpLe14FNYFZwQiXOppDtrLfPU5BO1fcq/NNmN6yZ13e6IdUOEx4LYe ghEIuZU9ke11qKVQKCcliTqnotJ21h97+WNyb3Hwq0fgkh0MNxp/WIoqmbwCu8jsukqPCz Y3He41TLDATdjUORmdP0rT+xxlZZJyxbHu6faJxu/zwbjf+bNqUEYmMvewBl7pjUve8M3z cLJkJ4XkUBqqfRB237rF0Ll+jplQzYrRMgiHdPw1Vzw5G/qGmkpM0fML81gMkw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625494277; a=rsa-sha256; cv=none; b=pajbPKv/YjWVTw3jl4rdGb2oJTChxq48O/DEt0SrCQvFL88qKyP4F6c/NRBPzZVV6ji4mn JQbJ+IfMiwHoQcGjhW6xeclOncUMqWZCHkHDniOUDzOqNQe6OBvOQjHPdQV7OIM+E7cehb Wiwf5pUZ5yIFuRyFDmLyWg81NK/78lRelsIrKT/yIXa13vO5dDh8IF4ji98GZhAXUVfYfo LtOrgH/QGGEAe1vHsbhBvWVaCGgrhti1AJa39TxyxXbJLaqCrWkZqGdsL00nNyIVMSY8BJ YnIh7l/hGDkAz/Qs77iufZqiKqT9Fv6b/qhbhS91YRLlWV5a1zcYoF9C2Gb88A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b=RanXUTxZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VlTfILG8; 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.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=munksgaard.me header.s=fm1 header.b=RanXUTxZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=VlTfILG8; 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: 8A8CF1089B X-Spam-Score: 0.70 X-Migadu-Scanner: scn0.migadu.com X-TUID: uEmHZSXGgCQW --da29dc08397d4ad589c03d89ca9b0970 Content-Type: text/plain The hackage store of haskell packages allows maintainers to update package metadata directly on hackage without updating the associated archive of a package. For instance, the cabal file of the integer-logarithms package version 1.0.3 [0] has been updated since 1.0.3 was published, relaxing the constraints on some dependencies[1]. This means that, if I try to build the attached integer-logarithms.scm (created from guix import hackage integer-logarithms and modified to use ghc-8.8) I get the following error: ``` Setup.hs: Encountered missing or private dependencies: base >=4.3 && <4.13 command "runhaskell" "Setup.hs" "configure" "--prefix=/gnu/store/lssajarfg1vr6xbhi5dfvnn3xs01v3bz-ghc-integer-logarithms-bootstrap-1.0.3" "--libdir=/gnu/store/lssajarfg1vr6xbhi5dfvnn3xs01v3bz-ghc-integer-logarithms-bootstrap-1.0.3/lib" "--docdir=/gnu/store/lssajarfg1vr6xbhi5dfvnn3xs01v3bz-ghc-integer-logarithms-bootstrap-1.0.3/share/doc/ghc-integer-logarithms-bootstrap-1.0.3" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-ghc-integer-logarithms-bootstrap-1.0.3.drv-0/package.conf.d" "--global" "--enable-shared" "--enable-executable-dynamic" "--ghc-option=-fPIC" "--ghc-option=-optl=-Wl,-rpath=/gnu/store/lssajarfg1vr6xbhi5dfvnn3xs01v3bz-ghc-integer-logarithms-bootstrap-1.0.3/lib/$compiler/$pkg-$version" failed with status 1 builder for `/gnu/store/pwdhhwp6d6b5g5pgik9y6ml5g1d8fxf5-ghc-integer-logarithms-bootstrap-1.0.3.drv' failed with exit code 1 build of /gnu/store/pwdhhwp6d6b5g5pgik9y6ml5g1d8fxf5-ghc-integer-logarithms-bootstrap-1.0.3.drv failed ``` In ghc 8.8 the base version is 4.13, and the updated cabal file for integer-logarithms amends the constrants to allow that version. The solution might be to use `cabal get` to download the archive instead of downloading the .tar.gz directly, or manually amending the cabal file after downloading. 0: https://hackage.haskell.org/package/integer-logarithms-1.0.3 1: https://hackage.haskell.org/package/integer-logarithms-1.0.3/revisions/ --da29dc08397d4ad589c03d89ca9b0970 Content-Disposition: attachment;filename="integer-logarithms.scm" Content-Type: text/x-scheme; name="integer-logarithms.scm" Content-Transfer-Encoding: BASE64 KGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBmdXRoYXJrKQogICM6dXNlLW1vZHVsZSAo Z3VpeCBwYWNrYWdlcykKICAjOnVzZS1tb2R1bGUgKGd1aXggZG93bmxvYWQpCiAgIzp1c2Ut bW9kdWxlIChndWl4IGJ1aWxkLXN5c3RlbSBoYXNrZWxsKQogICM6dXNlLW1vZHVsZSAoZ3Vp eCBsaWNlbnNlcykKICAjOnVzZS1tb2R1bGUgKGd1aXggZ2l0LWRvd25sb2FkKQogICM6dXNl LW1vZHVsZSAoKGd1aXggbGljZW5zZXMpICM6cHJlZml4IGxpY2Vuc2U6KQogICM6dXNlLW1v ZHVsZSAoZ251IHBhY2thZ2VzKQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGhhc2tl bGwpCiAgIzp1c2UtbW9kdWxlIChnbnUgcGFja2FnZXMgaGFza2VsbCkKICAjOnVzZS1tb2R1 bGUgKGdudSBwYWNrYWdlcyBoYXNrZWxsLXdlYikKICAjOnVzZS1tb2R1bGUgKGdudSBwYWNr YWdlcyBoYXNrZWxsLXh5eikKICAjOnVzZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBoYXNrZWxs LWNoZWNrKQogICM6dXNlLW1vZHVsZSAoZ251IHBhY2thZ2VzIGhhc2tlbGwtY3J5cHRvKSkK CihkZWZpbmUtcHVibGljIGdoYy1pbnRlZ2VyLWxvZ2FyaXRobXMKICAocGFja2FnZQogICAg KG5hbWUgImdoYy1pbnRlZ2VyLWxvZ2FyaXRobXMiKQogICAgKHZlcnNpb24gIjEuMC4zIikK ICAgIChzb3VyY2UKICAgICAob3JpZ2luCiAgICAgICAobWV0aG9kIHVybC1mZXRjaCkKICAg ICAgICh1cmkgKHN0cmluZy1hcHBlbmQgImh0dHBzOi8vaGFja2FnZS5oYXNrZWxsLm9yZy9w YWNrYWdlLyIKICAgICAgICAgICAgICAgICAgICAgICAgICAgImludGVnZXItbG9nYXJpdGht cy9pbnRlZ2VyLWxvZ2FyaXRobXMtIgogICAgICAgICAgICAgICAgICAgICAgICAgICB2ZXJz aW9uICIudGFyLmd6IikpCiAgICAgICAoc2hhMjU2CiAgICAgICAgKGJhc2UzMgogICAgICAg ICAiMDVwYzVod3M2NmNzdmN2ZnN3bHdjcjJmcGx3bjFsYnNzdndpZmp4a2Jid3FocTBuNXFq cyIpKSkpCiAgICAoYnVpbGQtc3lzdGVtIGhhc2tlbGwtYnVpbGQtc3lzdGVtKQogICAgKGFy Z3VtZW50cwogICAgIGAoIzpwaGFzZXMKICAgICAgIChtb2RpZnktcGhhc2VzICVzdGFuZGFy ZC1waGFzZXMKICAgICAgICAgKGFkZC1iZWZvcmUgJ2NvbmZpZ3VyZSAndXBkYXRlLWNvbnN0 cmFpbnRzCiAgICAgICAgICAgKGxhbWJkYSBfCiAgICAgICAgICAgICAoc3Vic3RpdHV0ZSog ImludGVnZXItbG9nYXJpdGhtcy5jYW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