From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CEYTEvMNyWXWNgEA62LTzQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 19:12:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CEYTEvMNyWXWNgEA62LTzQ (envelope-from ) for ; Sun, 11 Feb 2024 19:12:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BqO+ETRG; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707675123; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=b36p+aZ2Pg64eqJ2tjhkqOUUGbzfbusyLz9tMSQzMnc=; b=aum5Oz2t/zyuCD7zQ5cUFTvT+6qJu1+aJAoG6TX7exl5mFiRA+qTxUGdtDyjYijw/TXZLQ P1EsPUk7jB+U7p3cxeUR5tL3LOkPkyouVZ67lGXEI8DrFdPQzuARw/QDBWYvtA50gpmoLT HCYOjxpL5l64MxliGPMfc86HLun7axyTl8Pa0aSEHs6luWI/IRSE48XvXndrDxvsY92qed bZ0k4K7xncTSIwc6uLoQ7KpvXZO1VRVJYZg+idkGLvTm4RGMDKo0/X89qOiLswdZjgCn91 0Ycj28PFPBanK7OYKRkqDfaPR1O74Mq9wNzdK7FhvX7+last3bNWO+EmupJQVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=BqO+ETRG; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707675123; a=rsa-sha256; cv=none; b=uOYW60lxBICtqMZPPWPML/yjP+FqQ3dMQ15m4EKhSbkJ2JZ1CiLAzSoQUfZtSEIWzyiVDQ 8Uuxi2WYDEbGziE9fLcln6yWJO9zSs4qFhFU8QiD4V74YwmUMiROtUVYOdJmyV2xS48vJj ybnoGNfUhP39yM4gZIwPCjONWLKUxt9hCL0aB7GLhuYy4fpNLvrnz4BV947/TVZXO+lGzY R5C/7ddgbUJkHCoTGC/9VDWq5wYaxU9YxFO4GRstlh1CW3Aa1h36HuYfvRGMCY7W75ygnV rwRa0a9JcIwXs1+J3a0jevM/s0aFYP5vk0Km9nMMR60bTvBEVlqRjjyiSS1QsA== 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 F059A6C2E6 for ; Sun, 11 Feb 2024 19:12:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZEIt-00045K-6d; Sun, 11 Feb 2024 13:11:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZEIs-00045C-9w for bug-guix@gnu.org; Sun, 11 Feb 2024 13:11:46 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZEIs-0005RF-23 for bug-guix@gnu.org; Sun, 11 Feb 2024 13:11:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZEJ8-0002h5-Ba for bug-guix@gnu.org; Sun, 11 Feb 2024 13:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69058: Failure when fallback to Disarchive+SWH Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 11 Feb 2024 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69058 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69058@debbugs.gnu.org Received: via spool by 69058-submit@debbugs.gnu.org id=B69058.170767509210270 (code B ref 69058); Sun, 11 Feb 2024 18:12:02 +0000 Received: (at 69058) by debbugs.gnu.org; 11 Feb 2024 18:11:32 +0000 Received: from localhost ([127.0.0.1]:36707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEIe-0002fY-Bn for submit@debbugs.gnu.org; Sun, 11 Feb 2024 13:11:32 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:38006) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZEIb-0002f8-Ni for 69058@debbugs.gnu.org; Sun, 11 Feb 2024 13:11:30 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40fb7427044so4154745e9.0 for <69058@debbugs.gnu.org>; Sun, 11 Feb 2024 10:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707675067; x=1708279867; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=b36p+aZ2Pg64eqJ2tjhkqOUUGbzfbusyLz9tMSQzMnc=; b=BqO+ETRGbkfy1sgoe/HeVJWnHrs4SMHmoYEM10sJk3UHVHJQi9c3s8wltqckRvthjr fblYkwEq9/kDDwmsFN9LMfBjkUF8ApRLiLznB7NfFYs2dBcIi5UZ/la+h325G8DX8d1P JNNgB+S8IpTGhX2SsfG/VjXlZrvIK4qeGF3lse5oyB/my+2U7v0kvP7v+5NYyWxFM+HP +v7vI2CALHs5X39Ss6nKwVNzhc7x5CYfNDW1n9GpQI28rW4lOfaAfKXVUwpqVAu8gMMF w0XyJF7MmJp8h8zmFxMcFUaT0jQapnKUn0y2RnF1u5J1ZqTTsdQqLxQ0KHgVgb3Nx4Zv 8dUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707675067; x=1708279867; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=b36p+aZ2Pg64eqJ2tjhkqOUUGbzfbusyLz9tMSQzMnc=; b=mehw22SgldJBhWuznSBT7x23W7bPP+kmb2mI7PGOAjRxQzUJwPaVv00GHoPzgXxusj XlfXHa+qY5wtAzXh3ZC+plN8HrcF0nIpUFnxLofZqq2H+oaur37WbQsPQwrs5NB71yHB U/7hsun5468YAx7LVlC1iq8cMfQJPnZt7Lkm6f/ctXiMKydZ5nw3KJMBkL7iwaYMmkxk jkJmzK7Sb+JT4GfPLMNpsyOBdl1nTJNZPX0NzZx2fQtsagxLXoHuu7jsNyWKhfkY4To5 lBMGx6MVq3G1z0MtEB3xBCv7u93ivVnKkY82+VFQ1teLwxq20zARAfqk5UXlZE7jY/W3 1WDg== X-Gm-Message-State: AOJu0YxJ8Q0bPc6KtO0Dwz2e7M5vljUuddAh5Uuvg1u2vrczZFm3pjLd vNpG49czRGdMW8pMdPaif07CNGNrAorYXE3DF1jnB9JKPi5AY2ezj561Sbup X-Google-Smtp-Source: AGHT+IHSWbswPA9PJ3C3kqHQes78tpfNZ4KsJbfAMU3iRc2Ppgtkc/frd+Kkfm4H0wx+5hrT8r7QYA== X-Received: by 2002:a05:6000:1f98:b0:33b:4d82:a487 with SMTP id bw24-20020a0560001f9800b0033b4d82a487mr3214920wrb.1.1707675066913; Sun, 11 Feb 2024 10:11:06 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:bebc:44ea:80f6:f7e5]) by smtp.gmail.com with ESMTPSA id y8-20020a5d4708000000b0033b507b0abdsm4731678wrq.32.2024.02.11.10.11.06 for <69058@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Feb 2024 10:11:06 -0800 (PST) From: Simon Tournier In-Reply-To: <87mss6apd2.fsf@gmail.com> (Simon Tournier's message of "Sun, 11 Feb 2024 18:21:29 +0100") References: <87mss6apd2.fsf@gmail.com> Date: Sun, 11 Feb 2024 19:11:02 +0100 Message-ID: <87frxyan2h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 2.33 X-Migadu-Queue-Id: F059A6C2E6 X-Spam-Score: 2.33 X-Migadu-Scanner: mx11.migadu.com X-TUID: fFp7vBsGW0oi Hi, Another example using Git. It is from v1.1.0. --8<---------------cut here---------------start------------->8--- $ guix time-machine -q --commit=3Dv1.1.0 -- build -S redkite guile: warning: failed to install locale The following derivation will be built: /gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-checkout.drv building /gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-checkout= .drv... guile: warning: failed to install locale environment variable `PATH' set to `/gnu/store/i2cdl0hvrml8hjdqplqln8didnvx= kgp5-gzip-1.10/bin:/gnu/store/jh17p4sns7dvbizwz58gdh953qpic144-tar-1.32/bin' Initialized empty Git repository in /gnu/store/y7j54zw1fwhl95534zsjl6rl1rfp= 7z82-redkite-0.8.0-checkout/.git/ fatal: could not read Username for 'https://gitlab.com': No such device or = address Failed to do a shallow fetch; retrying a full fetch... fatal: could not read Username for 'https://gitlab.com': No such device or = address git-fetch: '/gnu/store/xzhkhidb2kqwvpv8b8zaqzgd3gcjs9nn-git-minimal-2.26.0/= bin/git fetch origin' failed with exit code 128 Trying content-addressed mirror at berlin.guixsd.org... Trying content-addressed mirror at berlin.guixsd.org... Trying to download from Software Heritage... SWH: found revision 68276b9b88491198c33b03c4188dfe7d6e5dbf2a with directory= at 'https://archive.softwareheritage.org/api/1/directory/d14c0eb6801bca920= d1e1baac7a4b9e2a0589728/' SWH: directory d14c0eb6801bca920d1e1baac7a4b9e2a0589728 could not be fetche= d from the vault builder for `/gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-chec= kout.drv' failed to produce output path `/gnu/store/y7j54zw1fwhl95534zsjl6r= l1rfp7z82-redkite-0.8.0-checkout' build of /gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-checkout= .drv failed View build log at '/var/log/guix/drvs/x4/hcwpmb3p8llbhjzxlfggpkpqc7n5ng-red= kite-0.8.0-checkout.drv.gz'. guix build: error: build of `/gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-re= dkite-0.8.0-checkout.drv' failed --8<---------------cut here---------------end--------------->8--- >From its definition the package reads: --8<---------------cut here---------------start------------->8--- (define-public redkite [...] (sha256 (base32 "1747w1kg8y9jbl11xi018d85dm38xk7843pz26sh0k5fdv87a10q")))) --8<---------------cut here---------------end--------------->8--- Then if I manually download it: --8<---------------cut here---------------start------------->8--- $ wget -O /tmp/content https://archive.softwareheritage.org/api/1/vault/fla= t/swh:1:dir:d14c0eb6801bca920d1e1baac7a4b9e2a0589728/raw [...] /tmp/content 100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D>] 129,38K 555KB/s in 0,2s=20=20=20=20 2024-02-11 19:00:33 (555 KB/s) - =E2=80=98/tmp/content=E2=80=99 saved [1324= 88/132488] $ tar xf content --8<---------------cut here---------------end--------------->8--- And we get the expected value: --8<---------------cut here---------------start------------->8--- $ guix hash -rx swh:1:dir:d14c0eb6801bca920d1e1baac7a4b9e2a0589728 1747w1kg8y9jbl11xi018d85dm38xk7843pz26sh0k5fdv87a10q --8<---------------cut here---------------end--------------->8--- Cheers, simon