From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eKunDGOVAGB+GQAA0tVLHw (envelope-from ) for ; Thu, 14 Jan 2021 19:02:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id qHo0CGOVAGAVZQAAB5/wlQ (envelope-from ) for ; Thu, 14 Jan 2021 19:02:59 +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 3AAB19404E4 for ; Thu, 14 Jan 2021 19:02:58 +0000 (UTC) Received: from localhost ([::1]:60550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l07tY-0003dC-0b for larch@yhetil.org; Thu, 14 Jan 2021 14:02:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l07rY-0003ce-L7 for help-guix@gnu.org; Thu, 14 Jan 2021 14:00:52 -0500 Received: from freeshell.de ([2a01:360:106::2]:56862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l07rM-0003G9-So for help-guix@gnu.org; Thu, 14 Jan 2021 14:00:51 -0500 Received: from localhost (cst-prg-1-107.cust.vodafone.cz [46.135.1.107]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id A628135CE97B; Thu, 14 Jan 2021 20:00:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1610650831; bh=qqMNjTMxVI9Dgq70COg63JnzCH2jA67kah3s8IqJX0o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FHDd9zdBxhTHMQ5qNhw6fRbj+6qdcgR++AkfIZ3QYq/bVshPDP+HqbqsywRQ13WSA Nr43PrVYhrzTg/6TAajpwSuhpioR9FBAHv0Vw+opKjFQ3UIxwjwf4vWReRanIqMs8H JKfNjToDiSlBd3oqz0TvDXd0gihkVsvUa8hvKxuQ= Date: Thu, 14 Jan 2021 20:00:30 +0100 From: Wiktor =?utf-8?Q?=C5=BBelazny?= To: help-guix@gnu.org Subject: Re: guix time-machine, broken hash in an old package definition, a workaround? Message-ID: <20210114190030.suymnghk5mhteseu@wzguix> Mail-Followup-To: help-guix@gnu.org, zimoun X-PGP-Key: https://freeshell.de/~wz/pubkey.asc X-PGP-Fingerprint: BDC9 74CD D9C9 BA7D 761A 573D C735 A8C6 AB60 79D5 References: <20210113132223.x4wgnwwph2jwtfb5@wzguix> <20210113193730.efv5qknqcbwit4jk@wzguix> <20210114083000.ak4de227ipfi37pg@wzguix> <86eeinsvbg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ozm2be3zy5hik37p" Content-Disposition: inline In-Reply-To: <86eeinsvbg.fsf@gmail.com> 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: -1.86 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=freeshell.de header.s=mail header.b=FHDd9zdB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=freeshell.de (policy=none); 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: 3AAB19404E4 X-Spam-Score: -1.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7xCaeRTc2IMx --ozm2be3zy5hik37p Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 14, 2021 at 10:48:35AM +0100, zimoun wrote: > I guess it will not change your problem at hand: the missing tarball. A tarball is there, just a different one. I would like to make guix accept it. > About the hash mismatch, game over with time-machine. Are you sure? I remember a situation where a package was defined in my private channel. Then, someone committed a definition for the same package to guix, but the definition in the private channel was still given a priority while performing `guix package` operations. Isn=E2=80=99t it possible to obtain analogous behavior with time-machine and have a definition with a current hash defined in a private channel replace the original one? Isn=E2=80=99t it the purpose of inferiors? Not a = long time ago, there was this [1] thread discussed here, which looks related to my problem =E2=80=94 a need for package definition shuffling. An inferior gave me the substitutes error, so I=E2=80=99m hoping to make some progress = once I remove this obstacle. [1]: https://lists.gnu.org/archive/html/help-guix/2020-11/msg00230.html If I don=E2=80=99t manage to make the different channels =E2=80=9Ccommunica= te with each other=E2=80=9D, I can try substituting the input r-foreign definition from = the guix channel with one with another version, which is even closer to the theme of the cited thread. I don=E2=80=99t care much about the r-foreign version, but I care about the version (and the binary) of r and the R package stack that I use in that environment, and r happens to depend on r-foreign as an input. > Well, you have to do the =E2=80=9Ctime-machine=E2=80=9D by hand where the= simplest > IMHO is what I proposed. If the above fails, I will. > The substitutes error seems transient. Rebuild locally all you need > vs wait the fix: I do not know what would be the fastest. :-) For testing a solution to the hash mismatch problem, it suffices to build r, which uses r-foreign as an input. I will decide later about what to do next. Thank you for your support, W=C5=BB --ozm2be3zy5hik37p Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmAAlM5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edX0tBAAh+tqtPUCVCpERxQnlhsADmUVDkC1/qmyqWVaeY41TIPGmxGsp9nTxcMB r6Ll63fins7TUWNCDCpODVc1qujpuNB6ufRZpqhpHb9CkkRP0pi+guP0WsiiFIzY BgwQi9wBMy23x6SkVNw0KnhDibp3i7nszhsSi5pEAu1Rz6PE5TaRUO6ywF/FlYCJ PkqG5wz9E9sXTdmWMtjBOx2xgF7ApvKkC/+wUo9Vw2Xwm376ez8gY862qV+knpvG Wnf/c2XoUHShuQ1loKvfqvMAmYh/ZeJ15OgcJ79FdYLR5WgL46DecLqaZMo60KN4 +7t0HhDdBG0dzH3yhp/emFoxFbUqEDp1FNFp0dImCUtQb8UbyJoG/pL2yCi57tD1 fOG9foTuz8e+sGSRj4PD/6yDeHf73BDORQOsvDcOtLqHZHU1IltFNK8AQOJJvuPu Va/38TiEJMujaSRsaUJHkNPWmpkKg12tfrXKqpcBWjOQsi89umhVDTaOfbzxJn5d QTr5ewfz97EGaWSCNWf9rMJRAOeS76xg2mfV3HYGuC3b1VN5yCDmxfVqp1FmOpYQ qz0znEmo+iDx/c0O3wCMDinJ+2CLNqLrxapk3azeJLKyn6Ctn1xumm0X6pXwNQAo QahVxn3iF/mYxFsZaV8oL3KKnhiO5s6+TXPM7QSmTGplzsGMbyU= =kGsE -----END PGP SIGNATURE----- --ozm2be3zy5hik37p--