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 ms11 with LMTPS id tfw+AWz0/l9KJAAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 13:23:56 +0000 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 IDYrOGv0/l+ZTQAAbx9fmQ (envelope-from ) for ; Wed, 13 Jan 2021 13:23:55 +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 12D5694013B for ; Wed, 13 Jan 2021 13:23:53 +0000 (UTC) Received: from localhost ([::1]:47068 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzg7r-0007EB-IY for larch@yhetil.org; Wed, 13 Jan 2021 08:23:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzg6c-0006GK-Nt for help-guix@gnu.org; Wed, 13 Jan 2021 08:22:34 -0500 Received: from freeshell.de ([2a01:360:106::2]:47468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzg6a-0001Tu-9g for help-guix@gnu.org; Wed, 13 Jan 2021 08:22:34 -0500 Received: from localhost (cst-prg-14-238.cust.vodafone.cz [46.135.14.238]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 60E5E35CE63E for ; Wed, 13 Jan 2021 14:22:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1610544144; bh=9TC28y0vdcb0PXqxMvJf1dAgBqIWfqsVY1dHaPCBobI=; h=Date:From:To:Subject:From; b=GeahmtaPtPtAA4ueA5Rg7jKJI+abQCeH4azSkH+Bjrc0icnGSy9/LP5NIAfZI7f77 Z1PLWFx/F72uzd5W924YkBrk2R54uZYa+8j6pEm4EZfWjv7bwoOJqP3N0IP8g1SPEN TuL1NYSzGG+oRzEMqrbe1HqpX53cuRBSiG5Aghac= Date: Wed, 13 Jan 2021 14:22:23 +0100 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: help-guix@gnu.org Subject: guix time-machine, broken hash in an old package definition, a workaround? Message-ID: <20210113132223.x4wgnwwph2jwtfb5@wzguix> Mail-Followup-To: help-guix@gnu.org X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="njfnhllyhi5dzg3c" Content-Disposition: inline Received-SPF: pass client-ip=2a01:360:106::2; envelope-from=wz@freeshell.de; helo=freeshell.de 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=freeshell.de header.s=mail header.b=GeahmtaP; dmarc=pass (policy=none) header.from=freeshell.de; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 12D5694013B X-Spam-Score: -3.66 X-Migadu-Scanner: scn1.migadu.com X-TUID: dqR7RLIOrlkl --njfnhllyhi5dzg3c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi list, It appears that the package bundles at CRAN are not stable. The bundle contents can change, and so its hash. I=E2=80=99ve encountered such a probl= em three times, I think, already, so it=E2=80=99s presumably systemic. The lat= est (minimal working) example: $ cat manifest.scm (specifications->manifest '("r-foreign")) $ cat channel-specs.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (commit "d81fb2ae9443994ae5dd1cb5837276fad63f842c"))) $ guix time-machine --commit=3Dd81fb2ae9443994ae5dd1cb5837276fad63f842c --c= hannels=3Dchannel-specs.scm -- environment -C --pure --manifest=3Dmanifest.= scm Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... building /gnu/store/ixqarfdy375cqwkwgvm9z8cadw87f6gg-foreign_0.8-75.tar.gz.= drv... downloading from http://cran.r-project.org/src/contrib/Archive/foreign/fore= ign_0.8-75.tar.gz... /sha256 hash mismatch for /gnu/store/z6hkz6r1i5cgzjxc5m883lgh1xvjff8s-forei= gn_0.8-75.tar.gz: expected hash: 0g4mi101srjbl17ydb2hl3854m3xj0llj6861lfr30sp08nkqavl actual hash: 1c888wrn9xf94lp7w9kjw5l8fnarrkv5pi1px5rfnybm1qlysdx5 hash mismatch for store item '/gnu/store/z6hkz6r1i5cgzjxc5m883lgh1xvjff8s-f= oreign_0.8-75.tar.gz' build of /gnu/store/ixqarfdy375cqwkwgvm9z8cadw87f6gg-foreign_0.8-75.tar.gz.= drv failed View build log at '/var/log/guix/drvs/ix/qarfdy375cqwkwgvm9z8cadw87f6gg-for= eign_0.8-75.tar.gz.drv.bz2'. cannot build derivation `/gnu/store/vx9187mcdj041sr76bivzbnggr6ajm4q-r-fore= ign-0.8-75.drv': 1 dependencies couldn't be built guix environment: error: build of `/gnu/store/vx9187mcdj041sr76bivzbnggr6aj= m4q-r-foreign-0.8-75.drv' failed I tried =2E adding another channel with r-foreign redefined in hope that the one in= guix would get masked =2E adding --with-input=3Dr-foreign=3Dr-foreign-redefined (the latter defin= ed in another channel) =2E adding -L to the environment (also to time-machine) pointing to a directory with r-foreign redefined =2E an inferior These attempts were either ignored by guix or resulted in guix time-machine: error: got unexpected path `Backtrace:' from substituter Is there a recommended way to deal with such a situation? Thank you for taking a look. W=C5=BB --njfnhllyhi5dzg3c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAl/+9A9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edXHpA/+NH3iNg//nIF6Uz9rTHXDOpo+UXKhk2qtUEf3Nw8nVdGWLO16Jq1EQxpr fWt05QoyDVwMWJuHpn6a5PuuBshkbS50gWlKcUDH8ZZyRo/+XLhO19fz/I56wVGs VwQsSUBE/DeO5KFDKAEDKe4a5BZc27NBX7UIfLzo9XHJVzi/KG4Xtwr0fXME6aaf I10nvsMq49IPlJRTP6objiTKey5/Lo6JabmbXErd1WL5tYaLNdWWH2SLODzcj5rl 9TuffZYoUQ0o7LHDiTJGbrJKeY+yqilyuA3vqEvAg7f6Gq42IpmdnBsalbPRXEr+ Fz3aNON222moxLiQbOefHIZN237RkfmCtVLf05qG4rxxE8Exw0SJDkFzgPQqL7fv Yg1mmFaObs/HN5U0ZYwHX2sf02O56JEcaZv5+3kAbjSnhJIFngyDWfiecK3oF8FI EAPciMt9rqgebhZsXWUqC07L4FSDCICjaWPGNgEARDd66IhrBIXL1KHYMuGhA81n kyJXSzkC66SYzfGKHaCGWoFCY3OGK2MDEpnhdZU+DQSdrbHTJeemCLMTtdTmhApH Xea5gdpPkl59vXyK5OpfLDXUK5UHDo+lH5qciNEbxn7vMoQMVL0B56Z41BL1gGAc YneQJUECRUQvzBrOIAKybc4zmc2ZxcRhbup6EZCwDC6dMYb4KHg= =CdUP -----END PGP SIGNATURE----- --njfnhllyhi5dzg3c--