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 ms0.migadu.com with LMTPS id mNkKLlPWOWEKegEAgWs5BA (envelope-from ) for ; Thu, 09 Sep 2021 11:39:31 +0200 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 +EJ9KVPWOWGYUwAAbx9fmQ (envelope-from ) for ; Thu, 09 Sep 2021 09:39:31 +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 C434BE4F6 for ; Thu, 9 Sep 2021 11:39:30 +0200 (CEST) Received: from localhost ([::1]:48850 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOGWn-00035Z-T5 for larch@yhetil.org; Thu, 09 Sep 2021 05:39:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOGWb-000359-Pp for guix-devel@gnu.org; Thu, 09 Sep 2021 05:39:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52470) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOGWb-0006HJ-IQ; Thu, 09 Sep 2021 05:39:17 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=47210 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOGWb-0001pD-4c; Thu, 09 Sep 2021 05:39:17 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: SWH: fallback error References: <86pmti8t9w.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 Fructidor an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 09 Sep 2021 11:39:14 +0200 In-Reply-To: <86pmti8t9w.fsf@gmail.com> (zimoun's message of "Thu, 09 Sep 2021 02:52:27 +0200") Message-ID: <875yvaf5q5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631180371; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=AGVE/E3W3N+cNsdnSNTPhDCLnUduKgEDg1Lly629vjo=; b=Y57KDeLjCId22+xBFZc8A9yXnZo7Gjq2UbxamrmBKu4fmBmAL84knKFwE0r0kA/oFsk9p8 fZdjNoiJ1pOjauS55nCbi40NHoiZOf4//Sc4RDszNTcZSbR8LMI4/SWgcRortoO2UTgJs5 gPLrlB94SupicRTVd562Fyhl9lhweTjJkhdEDE4TpVGgD564L/xZ67F8a1QGZIqVqC4fCC qFmfjUJHLEhxWOUR7apYOZxzoghOGdXfth07b9yG4tAyZY2PiZCd4T8kORVkrT2J1wjDA0 M9W6sOChplat6RaxWtlhdTo7uor2NIaYTTCSFlYGmm00DphZdw5ZHwGmQs7FZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631180371; a=rsa-sha256; cv=none; b=b0F96rVGL6i+7vFPvXL4Tl7mP1q+ddAftB9+myU+YRbh829GDP0FFWcNCq2GkA4gInprSn mcYAvfm8nmF/Or7O+ZNmNFoxPpLsULGQiUeF+J3KvBhJRGqFficyrTGeBAe74ClP4e52yZ VHpJceyz3DqyV1TZrRNg/WCQh+of0Y60yvHdiC4FMoh+dZty+DwFa/J6s7a23fClWo7QjF yDJIpeMTEw4LJY6QS7aoJq1oBRNq81hgeyd/UoH8MhXx+qWD2KztUfdNeozokQjd76hSrT gGPVQ71z4LiQ1OfbG+83a1xOBtcJTnIWFY1AuNcXT03tDyg53rZ50dVEL6kj2Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -1.41 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: C434BE4F6 X-Spam-Score: -1.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: sVYJmgVYh/I5 Hi! zimoun skribis: > Using Guix 16ef7b4, I get this: > > $ guix build -L /tmp/channel-example/ hi -S > The following derivation will be built: > /gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv > building /gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv... > guile: warning: failed to install locale > environment variable `PATH' set to `/gnu/store/378zjf2kgajcfd7mfr98jn5xyc= 5wa3qv-gzip-1.10/bin:/gnu/store/sf3rbvb6iqcphgm1afbplcs72hsywg25-tar-1.32/b= in' > hint: Using 'master' as the name for the initial branch. This default bra= nch name > hint: is subject to change. To configure the initial branch name to use i= n all > hint: of your new repositories, which will suppress this warning, call: > hint:=20 > hint: git config --global init.defaultBranch > hint:=20 > hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and > hint: 'development'. The just-created branch can be renamed via this comm= and: > hint:=20 > hint: git branch -m > Initialized empty Git repository in /gnu/store/884nsva9r8wkp40kbqyvpj1ad5= 7jc5dd-git-checkout/.git/ > fatal: could not read Username for 'https://github.com': No such device o= r address > Failed to do a shallow fetch; retrying a full fetch... > fatal: could not read Username for 'https://github.com': No such device o= r address > git-fetch: '/gnu/store/5vai7bfrfkzv22dx13bxpszjrqyi78x6-git-minimal-2.33.= 0/bin/git fetch origin' failed with exit code 128 > Trying content-addressed mirror at berlin.guix.gnu.org... > Trying content-addressed mirror at berlin.guix.gnu.org... > Trying to download from Software Heritage... > SWH: found revision e1eefd033b8a2c4c81babc6fde08ebb116c6abb8 with directo= ry at 'https://archive.softwareheritage.org/api/1/directory/c3e538ed2de412d= 54c567ed7c8cfc46cbbc35d07/' > Backtrace: > 6 (primitive-load "/gnu/store/xq0z66k209klw42wwssgww5mq6y?") > In ice-9/boot-9.scm: > 152:2 5 (with-fluid* _ _ _) > In guix/swh.scm: > 622:8 4 (call-with-temporary-directory #) > 632:5 3 (_ "/tmp/guix-build-git-checkout.drv-0/guix-directory.a?") > 543:0 2 (vault-fetch _ _ #:log-port _) > 261:30 1 (call "https://archive.softwareheritage.org/api/1/vaul?" ?) > 390:0 0 (json->vault-reply _) > > guix/swh.scm:390:0: In procedure json->vault-reply: > In procedure string->symbol: Wrong type argument in position 1 (expecting= string): # As you might have seen on #swh-devel on irc.libera.chat, this is due to an API change on their side, which is now fixed in fb32a38db1d3a6d9bc970e14df5be95e59a8ab02. Tested with the usual: guix build -S guile-bash --check The API change (removing =E2=80=9Cobj_id=E2=80=9D and =E2=80=9Cobj_type=E2= =80=9D from vault replies) might be reverted, according to what SWH folks said on IRC. However, other incompatible changes may happen on /api/1. For instance, I noticed by chance that /api/1/vault/directory, which we use in =E2=80=98request-cooking=E2=80=99, is marked as deprecated. I=E2=80=99ll u= pdate our code to the new API soonish if nobody beats me at it, but it=E2=80=99s a bummer that old code might break anytime. :-/ (The API is officially not considered stable.) Thanks, Ludo=E2=80=99.