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 gH7/LqNNBWCddAAA0tVLHw (envelope-from ) for ; Mon, 18 Jan 2021 08:58:11 +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 uJT2KqNNBWDJPgAAB5/wlQ (envelope-from ) for ; Mon, 18 Jan 2021 08:58:11 +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 9F8779403EB for ; Mon, 18 Jan 2021 08:58:09 +0000 (UTC) Received: from localhost ([::1]:39778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l1QMR-0006TE-0v for larch@yhetil.org; Mon, 18 Jan 2021 03:58:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1QM3-0006Su-W6 for help-guix@gnu.org; Mon, 18 Jan 2021 03:57:45 -0500 Received: from freeshell.de ([2a01:360:106::2]:49788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l1QM0-0002gd-0A for help-guix@gnu.org; Mon, 18 Jan 2021 03:57:43 -0500 Received: from localhost (cst-prg-30-69.cust.vodafone.cz [46.135.30.69]) (Authenticated sender: wz) by freeshell.de (Postfix) with ESMTPSA id 223EE35CE9DC; Mon, 18 Jan 2021 09:57:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1610960252; bh=YHgljmIUnBtp8up7Ubh8oEnqnq3kvmbcX/0SgXDvwlg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sGxRH1ZEYsanzUwTcQASOdm2Cco+Y8Jvnm3lFVxm+c4STOxApwnTCWD/lEtyoDVqq hagaCIAKASzJt3z2fhzgVQxFm+3BTeq/obfq8Xzhymlc3JJePt1jtu8M1afNslDeyq MDO45IJZRcCsrzDIAGSTgolvS4UytGGO6ApZ/IhQ= Date: Mon, 18 Jan 2021 09:57:31 +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: <20210118085731.b3x6b55riitrotdf@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> <20210114190030.suymnghk5mhteseu@wzguix> <86r1mnl0sj.fsf@gmail.com> <20210115201859.z4rlqu4xnsphowm4@wzguix> <86h7nikju3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xyueocc4devgoqfb" Content-Disposition: inline In-Reply-To: <86h7nikju3.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: -0.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=freeshell.de header.s=mail header.b=sGxRH1ZE; 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: 9F8779403EB X-Spam-Score: -0.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: ksEz10YGFg/E --xyueocc4devgoqfb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 15, 2021 at 09:48:20PM +0100, zimoun wrote: > On Fri, 15 Jan 2021 at 21:18, Wiktor =C5=BBelazny wrote: > > > A new idea: I just checked =E2=80=9CCRAN Time Machine=E2=80=9D at MRAN.= The tarball with > > the 0g4mi101srjbl17ydb2hl3854m3xj0llj6861lfr30sp08nkqavl hash is there. > > I guess I can use `build --with-source=3D` now, maybe even `environment > > --with-source=3Dr-foreign=3D`? > > Oh, thanks for the pointer. Yeah, in this case it is possible to use > --with-source, maybe combined with another trick to populate your store > with the expected by d81fb2a tarball. Hello again, Unfortunately, it=E2=80=99s not the end of the story: $ curl -o foreign_0.8-75.tar.gz https://cran.microsoft.com/snapshot/2020-01= -27/src/contrib/foreign_0.8-75.tar.gz $ guix time-machine --commit=3Dd81fb2ae9443994ae5dd1cb5837276fad63f842c --c= hannels=3Dchannel-specs.scm -- \ build --with-source=3Dr-foreign=3Dforeign_0.8-75.tar.gz r-foreign Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% building /gnu/store/xzsw0wiw223s07szh18kqlq2ynmmvlp8-r-foreign-75.drv... [building] successfully built /gnu/store/xzsw0wiw223s07szh18kqlq2ynmmvlp8-r-foreign-75= =2Edrv The following graft will be made: /gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-75.drv applying 1 graft for /gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-= 75.drv... grafting '/gnu/store/617x95s9ykd0va7r06g187y3dbwa3ddh-r-foreign-75' -> '/gn= u/store/jvh9zyym3xmzy94g37gx5klg8rx72vfj-r-foreign-75'... successfully built /gnu/store/ha6y2wpk2a9s237lk8jzhfg9pawfp12v-r-foreign-75= =2Edrv /gnu/store/jvh9zyym3xmzy94g37gx5klg8rx72vfj-r-foreign-75 As you can see, there=E2=80=99s =E2=80=9C-75=E2=80=9D rather than =E2=80=9C= 0.8-75=E2=80=9D in the paths. Am I doing something wrong or, perhaps, is this a Guix bug? W=C5=BB --xyueocc4devgoqfb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEvcl0zdnJun12Glc9xzWoxqtgedUFAmAFTXpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE Qzk3NENERDlDOUJBN0Q3NjFBNTczREM3MzVBOEM2QUI2MDc5RDUACgkQxzWoxqtg edWbng//TDHKS5NBhieIgc8GZPZLa1H0EKmTJgO8mww+GTUh+ilGkz39w2AG/OdV HarDPdSB7gCZ2JACApupb88IFAW6r8i79jvgeAI1lGKjed48qAoBobd+9kPLxKtW MhBMTc3pQqezBPzMSGbdzt43dW4kkKUinwqn6CTOjAciAzxYX/HExvwI+Cpxzctw 1QPQnnTFOYj8Pb2O8Z2znHf1OoXlGkBlueqotJfJo2Q8Fu4sJxeiPvXr3+f/bD1V 8ne2iJ053tf6aigzUEkbfOW/3MDHHAp5oU1tWWS03igPb5j/iVq5bI2Ytzh6Gl06 /p/tzftfxvW4HAy0pqHIUrwHTpiy/HjhSzW9VmCjtKZGYQ9YlI7/ZjOqfxVSQOlS zxDMOgEDyo70/r2UULdsYvDHxM7MHeB1oPlClhky5Q/Kb+iu9itSb3VOWUcgdqMA Dze5zBBC3Yc1jSc0Eqft6+z59i99wW8z5qX2ut4xAKWDILJRbbeItYfWvcYGhP4T n9VMDnHhWCeu0mDdK6Ku/7c2iwdW3KTaM9rTOCFEM6L/HAKX1mg2Ug167zqL1nCH fFgayI+OrGbu9SRr0j0f9JL2e65lTn/nf6NU8JqP0iS9Ea4DPSC9tlj3/dYedZi4 lrYP/7v+jRcBRfcZuK2ZyO3CcBNn2gl7wgp4TWz8ykVZxqm0fWo= =WuR0 -----END PGP SIGNATURE----- --xyueocc4devgoqfb--