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 Gan/NZof/1/BYwAA0tVLHw (envelope-from ) for ; Wed, 13 Jan 2021 16:28:10 +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 qCVbMZof/1/ESwAAbx9fmQ (envelope-from ) for ; Wed, 13 Jan 2021 16:28:10 +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 2A0C29402D4 for ; Wed, 13 Jan 2021 16:28:10 +0000 (UTC) Received: from localhost ([::1]:47620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzj0C-00022V-Te for larch@yhetil.org; Wed, 13 Jan 2021 11:28:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzj01-00021D-Ms for help-guix@gnu.org; Wed, 13 Jan 2021 11:27:57 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:54849) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzizx-0000uE-EH for help-guix@gnu.org; Wed, 13 Jan 2021 11:27:57 -0500 Received: by mail-wm1-x32c.google.com with SMTP id i63so2136447wma.4 for ; Wed, 13 Jan 2021 08:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=UfAtMxOxL6qdSK2MSuKlqvKQ1965Kl2e9tk6SkQWtuE=; b=vSafQmDYpkOLqVD8CydR7QbDrgSCfwJrBK1bk14H7Zgk7laVG64TMy4T1tXM/fMrl4 Eu/fTFYeinYp8BXLXYI1A6ufAw8ElIIp2BpbAUx1FxVsOAyRFlFkt1eE04FOZuFua51A +ip085t4CctEW3NGF0bCFnDkVpag5jZoY0IPZpGeUq/IZzb2haw0o9/3/FnLINU/j3RT nDekULwVeayM5MQgzfdm3CTbuq4Fpir3yQkGKgm3OwduygJ2+Wz0kSedWbtBEK/FcoiW vCQwsyXtUq+I19NaSi2VfLX6Kn1JDvmrusZwJX0PcESC+4P+EpD1MD5yjY/4h1fjhf2e 5wcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=UfAtMxOxL6qdSK2MSuKlqvKQ1965Kl2e9tk6SkQWtuE=; b=OFTE4zhE9SHOcrQXAUkIWGRlMlQs71rt2lW2f2lC6W9r5UcTFn1rz0zadnBXu5YwIe 9R1VtA5bSTEojKpcK5bjzy5qXuy+rrxfpehBnZ+ZAJFVtPhd5bUsrSqUct5YvgwM0qn+ pwy/5fX6Olvo7awcFZZgqMEp1ERd6Imjafs4I4j9lpn+zk16+xnyi4si+4XTUSNFvDvN LBOIv0yptMKRE0gH1Hqa2PHu3z3q1C7EgE0CTlcWPhMzdRPyI9ZzCGvnnVOrwIMRrV2o YH8bJT/lG3He/8WZ0HKgPv7Ovm40tFYqxq5q2JyrAmv3WfNyHOsq0UQhWupv6puwp/hm z8kw== X-Gm-Message-State: AOAM53310ex6QuN2+5aZmlSA0V9cPcAibIeWrd24pMwolpIq/4y4K14P VlpWVWKqFrc5XQjBpf8x5f7+XVS7qKM= X-Google-Smtp-Source: ABdhPJw/wIobt3cv6+ZvFSvj0m3kZMT0gj/AeooI20VGAb0n1zXOEOV+xZkzj6emY4X/Pxsn3tdUxQ== X-Received: by 2002:a1c:b608:: with SMTP id g8mr78255wmf.110.1610555271430; Wed, 13 Jan 2021 08:27:51 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n11sm4674662wra.9.2021.01.13.08.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 08:27:50 -0800 (PST) From: zimoun To: Wiktor =?utf-8?Q?=C5=BBelazny?= , help-guix@gnu.org Subject: Re: guix time-machine, broken hash in an old package definition, a workaround? In-Reply-To: <20210113132223.x4wgnwwph2jwtfb5@wzguix> References: <20210113132223.x4wgnwwph2jwtfb5@wzguix> Date: Wed, 13 Jan 2021 17:24:39 +0100 Message-ID: <86wnwgst2w.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32c.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 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: -2.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=vSafQmDY; dmarc=pass (policy=none) header.from=gmail.com; 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: 2A0C29402D4 X-Spam-Score: -2.06 X-Migadu-Scanner: scn0.migadu.com X-TUID: kyDh3ZD4Ehoz Hi, Sadly, nothing can be done. Well, I hope that someone will show me I am wrong. :-) --8<---------------cut here---------------start------------->8--- $ guix time-machine --commit=3Dd81fb2ae9443994ae5dd1cb5837276fad63f842c \ -- weather r-foreign \ --substitute-urls=3D"https://ci.guix.gnu.org https://bayfront.guix.g= nu.org https://guix.cbaines.net https://guix.tobias.gr https://builds.guix-= patches.cbaines.net" Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' packa= ge and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. computing 1 package derivations for x86_64-linux... looking for 1 store items on https://ci.guix.gnu.org... https://ci.guix.gnu.org .0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 0.000 seconds per request (0.0 seconds in total) 2770.1 requests per second 0.0% (0 out of 1) of the missing items are queued 660 queued builds i586-gnu: 5 (.8%) aarch64-linux: 634 (96.1%) armhf-linux: 1 (.2%) x86_64-linux: 18 (2.7%) i686-linux: 2 (.3%) build rate: 111.65 builds per hour x86_64-linux: 37.52 builds per hour aarch64-linux: 70.38 builds per hour i686-linux: 4.14 builds per hour looking for 1 store items on https://bayfront.guix.gnu.org... updating substitutes from 'https://bayfront.guix.gnu.org'... 100.0% https://bayfront.guix.gnu.org .0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 0.176 seconds per request (0.2 seconds in total) 5.7 requests per second 0.0% (0 out of 1) of the missing items are queued 93 queued builds x86_64-linux: 93 (100.0%) 'https://bayfront.guix.gnu.org/api/latestbuilds?nr=3D1000' returned 504 (= "Gateway Time-out") looking for 1 store items on https://guix.cbaines.net... updating substitutes from 'https://guix.cbaines.net'... 100.0% https://guix.cbaines.net .0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 1.751 seconds per request (1.8 seconds in total) 0.6 requests per second (continuous integration information unavailable) looking for 1 store items on https://guix.tobias.gr... updating substitutes from 'https://guix.tobias.gr'... 100.0% https://guix.tobias.gr .0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 0.210 seconds per request (0.2 seconds in total) 4.8 requests per second (continuous integration information unavailable) looking for 1 store items on https://builds.guix-patches.cbaines.net... updating substitutes from 'https://builds.guix-patches.cbaines.net'... 100.= 0% https://builds.guix-patches.cbaines.net .0% substitutes available (0 out of 1) unknown substitute sizes 0.0 MiB on disk (uncompressed) 0.182 seconds per request (0.2 seconds in total) 5.5 requests per second (continuous integration information unavailable) --8<---------------cut here---------------end--------------->8--- Well, maybe someone has the tarball in their personal store and could share it. Otherwise, it is game over. The story about =E2=80=9Cguix time-machine=E2=80=9D and tarball is far to b= e complete and robust. It is impossible to fix the upstream in-place replacement. The only thing the Guix project can do is store these tarballs on their machine; it is what it is commonly done but time to time edge cases happen, sadly. Instead of archiving the upstream source code on machines from Guix projects, the idea is to use Software Heritage infrastructure as archivist. It works pretty well for Git source because the mapping (content-address) between Git ID, SWH-ID, and NAR hash is almost straightforward. But, this mapping is not as straightforward for tarballs because of metadata. That=E2=80=99s the aim of the project Disarc= hive; still experimental. https://git.ngyro.com/disarchive-db/ One way to locally fix is: checkout the Guix repo at commit d81fb2ae9443994ae5dd1cb5837276fad63f842c, then tweak the checksum, build from this source, and use: ./pre-inst-env guix environment -C -m manifest.scm All the best, simon