From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aFo8H/vyyWXEdAAA62LTzQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 11:29:15 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aFo8H/vyyWXEdAAA62LTzQ (envelope-from ) for ; Mon, 12 Feb 2024 11:29:15 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=JM9aeJiq; 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=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707733755; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=62gTO37k11ydV9Pn6q7fCoQ4h7Rs0jcrwUarWop6DTE=; b=oM/6Tb1nStoV9bKF1o6WfEYpKqXL1ycQh70jY4EOzWXknoEiOeBvBtZnb2cDf37dtRHyjl t38leUsMWCds7ivjzOtuPA9Sie6RA1XnmKfRY4ON9l9mrKw4wPLS6m/fk1JgSbdEfQE57d sJ6r3PdM/cH/sFj7W2AwQHVzxbdKHLMAO4GTNT53rlr4jVWxNokPYlh4uev9JzZkZ/9W1b Cf5PfbnYhhmZRq6kpvik7LMVzFKU14982sWRW1ltLgTFk/Bgy93VFtJ7ROk7LirF8l/ce/ H0O6PlVaShYo3I0hlydtf8g/ebxam91Te+Z3FPV/ziqh3EpU7epm0da/6QdZhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=JM9aeJiq; 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=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707733755; a=rsa-sha256; cv=none; b=UiqfAXR/DqIVxbqk9YBhK3Qr1/WvJ0+/HcKKOYNe2CCK1WnBROdJ8QRgcCi5kHZK/RBXCo 0Vj3MPCdITh2aFLPkE7k8neUF6d0mbVp8IY6pBwFbUQX1O61r+pj6P6dzBoXssWhXRPWfL 1VwYp7cTy1px6FDGR5CW9WKT+Nz2eYqems4loJD9CBVmf+X+/8WerzGCUw08CE5ySfESqh dDpTAnXwzIc5rtmuoRJS9B7P+rT6jFSQ7eNrPZginvC18AGLaTsrKO3GDGJyy//rghuo4l YZTB5lMQv4JrzT/4Q0m/CanaX+V4n80hBSZODfLUnLweE7/8xx3KKvWiqA9flA== 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 1ADCE6379F for ; Mon, 12 Feb 2024 11:29:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZTYS-0006Ln-34; Mon, 12 Feb 2024 05:28:52 -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 1rZTYM-0006Je-Bw for bug-guix@gnu.org; Mon, 12 Feb 2024 05:28:48 -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 1rZTYL-0000re-F6 for bug-guix@gnu.org; Mon, 12 Feb 2024 05:28:45 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZTYc-0002qr-02 for bug-guix@gnu.org; Mon, 12 Feb 2024 05:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69058: Failure when fallback to Disarchive+SWH Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Feb 2024 10:29:01 +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: Simon Tournier Cc: 69058@debbugs.gnu.org Received: via spool by 69058-submit@debbugs.gnu.org id=B69058.170773372210873 (code B ref 69058); Mon, 12 Feb 2024 10:29:01 +0000 Received: (at 69058) by debbugs.gnu.org; 12 Feb 2024 10:28:42 +0000 Received: from localhost ([127.0.0.1]:46286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZTYG-0002pC-G2 for submit@debbugs.gnu.org; Mon, 12 Feb 2024 05:28:42 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:11803) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZTYE-0002oV-1O for 69058@debbugs.gnu.org; Mon, 12 Feb 2024 05:28:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version:content-transfer-encoding; bh=62gTO37k11ydV9Pn6q7fCoQ4h7Rs0jcrwUarWop6DTE=; b=JM9aeJiqKDqst1Y28COv8ydwF/5BSqvD45MJ97DqDHIhmjz8XdA2UVOB UV57FE3RhSkzi/gMWnJb8RM5NlXFqB13S3kMneXV7DRdhrEBP8oDfOGty 3yIgBZKcelzcPObXkgHRY/I9zHTYJQqvrOaVQjqf4EGSZRD7Zhx/vl/oS 4=; X-IronPort-AV: E=Sophos;i="6.05,262,1701126000"; d="scan'208";a="151460025" Received: from unknown (HELO ribbon) ([193.50.110.205]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2024 11:28:14 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87frxyan2h.fsf@gmail.com> (Simon Tournier's message of "Sun, 11 Feb 2024 19:11:02 +0100") References: <87mss6apd2.fsf@gmail.com> <87frxyan2h.fsf@gmail.com> Date: Mon, 12 Feb 2024 11:28:13 +0100 Message-ID: <87r0hif03m.fsf@gnu.org> 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.13 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: 2.13 X-Migadu-Queue-Id: 1ADCE6379F X-TUID: VU5Fwd8D5b3i Hi, Simon Tournier skribis: > Another example using Git. It is from v1.1.0. > > $ 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-checko= ut.drv... > guile: warning: failed to install locale > environment variable `PATH' set to `/gnu/store/i2cdl0hvrml8hjdqplqln8didn= vxkgp5-gzip-1.10/bin:/gnu/store/jh17p4sns7dvbizwz58gdh953qpic144-tar-1.32/b= in' > Initialized empty Git repository in /gnu/store/y7j54zw1fwhl95534zsjl6rl1r= fp7z82-redkite-0.8.0-checkout/.git/ > fatal: could not read Username for 'https://gitlab.com': No such device o= r address > Failed to do a shallow fetch; retrying a full fetch... > fatal: could not read Username for 'https://gitlab.com': No such device o= r 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 directo= ry at 'https://archive.softwareheritage.org/api/1/directory/d14c0eb6801bca9= 20d1e1baac7a4b9e2a0589728/' > SWH: directory d14c0eb6801bca920d1e1baac7a4b9e2a0589728 could not be fetc= hed from the vault > builder for `/gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-ch= eckout.drv' failed to produce output path `/gnu/store/y7j54zw1fwhl95534zsjl= 6rl1rfp7z82-redkite-0.8.0-checkout' > build of /gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-redkite-0.8.0-checko= ut.drv failed > View build log at '/var/log/guix/drvs/x4/hcwpmb3p8llbhjzxlfggpkpqc7n5ng-r= edkite-0.8.0-checkout.drv.gz'. > guix build: error: build of `/gnu/store/x4hcwpmb3p8llbhjzxlfggpkpqc7n5ng-= redkite-0.8.0-checkout.drv' failed I can reproduce it with c4372f7ebfac17236299346fe60c6ca125336b1f: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (swh-download "https://gitlab.com/geontime/redkite.git= " "v0.8.0" "/tmp/redkite") SWH: found revision 68276b9b88491198c33b03c4188dfe7d6e5dbf2a with directory= at 'https://archive.softwareheritage.org/api/1/directory/d14c0eb6801bca920= d1e1baac7a4b9e2a0589728/' SWH: object swh:1:dir:d14c0eb6801bca920d1e1baac7a4b9e2a0589728 could not be= fetched from the vault $5 =3D #f --8<---------------cut here---------------end--------------->8--- The bug is that the Vault now returns 302 (redirect) in this case, which is similar to the bug I fixed in . So I=E2=80=99ll have to push that patch series and add a patch for =E2=80= =98vault-fetch=E2=80=99 on top of it. Ludo=E2=80=99.