From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8NfYCX2xAGPBjQAAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 12:03:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id SC35CX2xAGO4OwEA9RJhRA (envelope-from ) for ; Sat, 20 Aug 2022 12:03:41 +0200 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 ADCAD2A478 for ; Sat, 20 Aug 2022 12:03:40 +0200 (CEST) Received: from localhost ([::1]:33486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPLKN-0000eU-Qu for larch@yhetil.org; Sat, 20 Aug 2022 06:03:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPLJO-0000eL-I5 for guix-devel@gnu.org; Sat, 20 Aug 2022 06:02:40 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPLJJ-0008LG-4t for guix-devel@gnu.org; Sat, 20 Aug 2022 06:02:37 -0400 Received: by mail-wm1-x331.google.com with SMTP id h204-20020a1c21d5000000b003a5b467c3abso5211061wmh.5 for ; Sat, 20 Aug 2022 03:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:subject:cc:to:from:from:to:cc; bh=q2HxLxa+HGQDmc+oY1KkAu9llFhVclSzRDtMb1eoHz0=; b=JhWnhhy344WJgio6LZBAwFVhs9DLG38VK+fE1EZ8aMNyoqAn1PZVes8cbZlMm0ggSD 5I+C04WGSdIbOtL2Q5SSRdnswz6XZnxogy8TI1MQ3+CRF5i0omBHEEU0NY7QvXzCM6rD W+zgBVRQ4L34/m6qWtAV+KN7mnK0H/hM6ebEP5jQTUxRUsWWhZXwn0rWqpJ3LhyNNp34 m/PwQk048oNS9F0N/ANEmF6VMttsEmmCTKQWv7OL8hTh+DJ5aLwQRmTP/2PNbSLGkIGF IK407pIhtYAjEkShK7cIQHoqPxsUj2flTIHypZCT9rUMYSh1yP/oSoJcInufUStYJBVt w3CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:subject:cc:to:from:x-gm-message-state :from:to:cc; bh=q2HxLxa+HGQDmc+oY1KkAu9llFhVclSzRDtMb1eoHz0=; b=aiO9GChMDt0KcQVDx9SnxHt1DU1JIcKB2WLkNLopWwBuz53JKzUNJX0YHjlfAmdRv8 NSst/vfH4tFciVfHTP6mGzn1uTCJpYWICMEo9x0ckeexXW+nBEIqOVTKzCCTLureuS3P 9Pu0UHZ573GP4Q+Lo3Fwbx9ZnFM1pMjqTdAzqaUKgGlIQWiKv1ycJTJzhLPiw+quWUCg hENdovdOsgNK1YFisBvYGMHgdUfaNyhJ6fO189tSFfxv6vWO2bMVwtMCyevFTPqD2Yv0 F7k7bYkpFk05t5S0PeERWmERTZTZwPMIgG3cVABVOTOwKRaSXwSoxx/9mqpsC8CaK/gt u68Q== X-Gm-Message-State: ACgBeo0XLmnJ1udsdm8w/l27JHiWvVCFh2kHu9Z23qNpVHX3HQAv6rie t+WM/A8kDJVtakuuV0uxfpE= X-Google-Smtp-Source: AA6agR5/RwQdG9QrtJ/Qd8TeCbXAzoD9Pfpn8Ge8CTLZxzOJZxQIkoBe6NVBXTE9Itf/kq35/amHAA== X-Received: by 2002:a05:600c:a08:b0:3a1:9319:ab78 with SMTP id z8-20020a05600c0a0800b003a19319ab78mr9949972wmp.158.1660989751558; Sat, 20 Aug 2022 03:02:31 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id g2-20020a5d4882000000b002211fc70174sm7274077wrq.99.2022.08.20.03.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Aug 2022 03:02:30 -0700 (PDT) From: zimoun To: Guix Devel Cc: Lars-Dominik Braun Subject: Cabal mismatch in ghc-lucid; long-term archiving Haskell? Date: Sat, 20 Aug 2022 12:02:26 +0200 Message-ID: <86v8qnxmfh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1660989820; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=q2HxLxa+HGQDmc+oY1KkAu9llFhVclSzRDtMb1eoHz0=; b=mkw9sqxmmK0GPXpNnxMhWXiXZqtwZiljTbQNdXmGXd3Ge68n5RmxYuqdBloJ4ciKiQ9dYF /mJVbawQIdP7NIpBO958xpap+5LI8AwBdF3rqG0N/NGcbRh1fDUmpe9qiVktcr+aOtIc/M 1iQPq1hlOVmWM81rnMYJiQnKHf1GqsoHQ/DwY6AqWUxiZoTK2Di2K8nQmjjFXjNxXn/3XT yck1eTIRxoaVmIKGbvIjOvRYbc0BX7m5jKvYHxEQ0HIgmErkhnRCa6azjuMlH+kvzo2Pam giPOZCxRlHVQRjlPJxNwZuDULzOx2Zfjc4NNLY5/IqztZaUeqjIrQNhtsF3WKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660989820; a=rsa-sha256; cv=none; b=qd1Kneu/zTMS6hq4cb5eDIiqSxYJXZfM15ZnVR6Hd8coqfVKTyjzKJg8CowCaXkz+rtPT+ cyzOBr8SPD2hH9pbeZSpy7bhB1pSzo1bQNbxS832SM2YmCwzACpqmlP6z0XXUQfXmcWxCX aNfUVhbZLIJtK2xKoRfgXpn41QAnCFTCLbeMRVr7+dPJdw7f6pqsz+l81TTnycVnMfdWZ+ XE+87igEjOBjX4ZnbC0LrXHYa8P2WN3I2DUshsqjor87o1q0heitiE+shtoG2rcAOS8zR7 WZeVO6ampFIyBr8/n29wW3syCsVG2SrIigiR6/jNayY4NaMkMGxaPGmjRTElYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JhWnhhy3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.85 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=JhWnhhy3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: ADCAD2A478 X-Spam-Score: -2.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: RHaaeTYnbbjO Hi, Let try to build the Haskell package ghc-lucid. --8<---------------cut here---------------start------------->8--- $ guix build ghc-lucid substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% The following derivations will be built: /gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv building /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv... Starting download of /gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal >From https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal... downloading from https://hackage.haskell.org/package/lucid-2.9.12.1/revision/1.cabal ... 1.cabal 345KiB/s 00:00 | 3KiB transferred sha256 hash mismatch for /gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal: expected hash: 1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9 actual hash: 1xllyf26ypk37k807g5v6fl1449mhpvk18dljmqgwj723n0v8rpj hash mismatch for store item '/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal' build of /gnu/store/i62zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv failed View build log at '/var/log/guix/drvs/i6/2zr0ykqyxfwyc270csnhbwyrk3l3bb-ghc-lucid-2.9.12.1-1.cabal.drv.gz'. cannot build derivation `/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/9m71fs1i0anv89f5zq44hbh2wn2lavxz-ghc-lucid-2.9.12.1.drv' failed --8<---------------cut here---------------end--------------->8--- and indeed, ci.guix.gnu.org is also failing (since May) with the same message. See . The reason is because, --8<---------------cut here---------------start------------->8--- (arguments `(#:cabal-revision ("1" "1f0whk5ncanxfjjanrf6rqyncig2xgc5mh2j0sqy3nrlyjr9aqq9"))) --8<---------------cut here---------------end--------------->8--- Hopefully, we have an old substitute for this Cabal file on bordeaux.guix.gnu.org. Therefore, we can compare both: --8<---------------cut here---------------start------------->8--- $ diff error.cabal pass.cabal 2,3c2,3 < version: 2.9.12.1 < x-revision: 1 --- > version: 2.9.12 > x-revision: 1 23c23 < cabal-version: >=1.10 --- > cabal-version: >=1.8 25c25 < tested-with: GHC==7.10.3,GHC==8.0.2,GHC==8.2.2,GHC==8.4.4,GHC==8.6.5,GHC==8.8.4,GHC==8.10.4,GHC==9.0.1 --- > tested-with: GHC==7.10.3,GHC==8.0.2,GHC==8.2.2,GHC==8.4.4,GHC==8.6.5,GHC==8.8.3,GHC==8.10.1 28d27 < default-language: Haskell2010 37c36 < build-depends: base >=4.8 && <4.16 --- > build-depends: base >=4.8 && <4.15 43c42 < build-depends: mtl >=2.2 && < 2.3 --- > build-depends: mtl >=2.2 56,59d54 < source-repository head < type: git < location: https://github.com/chrisdone/lucid.git < 61d55 < default-language: Haskell2010 76d69 < default-language: Haskell2010 91d83 < default-language: Haskell2010 --8<---------------cut here---------------end--------------->8--- And it is where I am confused. :-) The Hackage entry of the Haskell package Lucid says: https://hackage.haskell.org/package/lucid-2.9.12.1/revisions/ which corresponds to only one line in the diff. All the other means that the time-machine could break. Is it a manual in-place replacement? Or is it an automatic in-place update by Hackage infrastructure? Or do I miss a point? In all cases, these revised Cabal files are not archived elsewhere than in Hackage, right? The question is thus, where could we archive them? Note that the both items have the same store-address hash (/gnu/store/rj33x41i86vgw6c0iwffzwrgzrib1shb-ghc-lucid-2.9.12.1-1.cabal) but not the same content hash. Any idea? Cheers, simon