From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ACY1BEFdOWFNnwAAgWs5BA (envelope-from ) for ; Thu, 09 Sep 2021 03:02:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id gG/4OkBdOWH/bAAAbx9fmQ (envelope-from ) for ; Thu, 09 Sep 2021 01:02:56 +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 5494C3D53 for ; Thu, 9 Sep 2021 03:02:56 +0200 (CEST) Received: from localhost ([::1]:35236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mO8St-0007KZ-8Z for larch@yhetil.org; Wed, 08 Sep 2021 21:02:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mO8Si-0007J2-BR for guix-devel@gnu.org; Wed, 08 Sep 2021 21:02:44 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:44624) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mO8Sg-0003Qh-Lv for guix-devel@gnu.org; Wed, 08 Sep 2021 21:02:44 -0400 Received: by mail-wr1-x430.google.com with SMTP id d6so5828359wrc.11 for ; Wed, 08 Sep 2021 18:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZYRyINhBWnjZAji9f05r6gnEAghgbj5CRHyccfHWLYQ=; b=DeP+xU6KyuQks3fom06vdt/akGmsO/PxcswgfvWda7BdB+Y7qbGnHu+2Knm8p3QRRO INS0mh+dF/ystCxWO7fFMaGS2nrOmW6uNMpLUZVxagWsV4/nAJv83QBpIBeYZFS+zJCy IGm/2fS+r/epq4qckZ/oGVMI6DLi6ogbl8FMKrmnmvLCJ62v4TsIzGCobarEGR7Y3aka hd+a8ddFpseURJSn2MJnmvDmsDKgGmy8B+aBPHjCdN60LROjOXyCIxX02VNz6yktqcB0 rHv13LnPrC2spN4wExgOEXP2xyHbFwLvBK/SmR12RFMjrvK4gBoDwpfagU6UhmoM2z+f gDvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZYRyINhBWnjZAji9f05r6gnEAghgbj5CRHyccfHWLYQ=; b=N6SAA+1KefPxa24sJfkPzcqbvu0EM2wIcxb3SHhYU5KoBaT+TtSfzMPCatoIsL7gHb Sush+Lf7Ymt838fvRip9xr7cEQEbLShd3I3s321kuqB2c/P3FwEEZ25zfjAoT/Vtmf5Z 148XIAQ5Gqd/+SWHLLv0wFxPf4O8EL3F43pmS9gWudqFuduFxM/S9743PCDBRWLOL/YU 7pByMydoAS/OrVZOiJ20PB0HDO6O2UDO+r/S6ZDsz2FoEhkGO80OUuQ7+V86BgbZZwc+ bdjVzKAsS/QOIoTxBqP+zsQ7gKoKkon7BbNvZ3w4W3jfP/24sxreJ+3bPcWBeFju+UYx c2FQ== X-Gm-Message-State: AOAM533GKEZzskfiggogpIEuVbmnoFjn4WjgHjA6qDTMCOgprp6cPg0x jAyFyNJLrIF0akbggBV1nGSvbO6YnFM= X-Google-Smtp-Source: ABdhPJwLNfOv0Aqik/VS+G0SwBrMA1uWw9Ho4O9CQzpRjvayyT4V11wAyrrfQJrzG1W16OZ1h3D1nA== X-Received: by 2002:adf:d231:: with SMTP id k17mr380370wrh.389.1631149361341; Wed, 08 Sep 2021 18:02:41 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u26sm189453wrd.32.2021.09.08.18.02.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 18:02:41 -0700 (PDT) From: zimoun To: Guix Devel Subject: SWH: fallback error Date: Thu, 09 Sep 2021 02:52:27 +0200 Message-ID: <86pmti8t9w.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::430; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , 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=1631149376; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZYRyINhBWnjZAji9f05r6gnEAghgbj5CRHyccfHWLYQ=; b=HDWBGjHBx1I5f2sHvz8aQu2k2eQw4o003HBrhRxsqBgZv9f6KWCVBN2j4L7wjtbgZw7TZp Hk+q32yhv5dD7zBMk75vtXG46g7+9jVqmxjyhMp5oPfmeJ8Os5ubRDQLHb6GV730B/Ba43 gpcSNhRlM6J9u2B1OFbATyqJXBB6hnyj6OPPyOewAyQaJHmI6QhTJUYfQPmC8Ql5+/HXDZ J59TrBCw4dMQi8k3/rT2BJX3Bd+NZSxUx74kAc7Fy2/+EYHlsJnRmsiLN24eTBhM78uOIq nSyosI+yyZPxyorx5NGKzC+LEPSmNdU8oKYxfDNXOcpll+8o03GY4w6hhzbq7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631149376; a=rsa-sha256; cv=none; b=TREkiu39uKt9HRhSlCDbeYkh4MkuvYxZWMo+pKfKbTka1JRJlAjVbWqaqiI2VeCstP1w43 GDjXyCmWZPX6hyOyiyeleP6F/Ul3/oJOkglzWgPmyqS4tpsobQD3F8Z+2SNTJwAgcdG3aH g88hJJzWi4IsnKaV5rNzHrv1MZhugKZWvY5NhYS6LrjYnFG7gdReY77K5YjrKxwPzkZwkN rbnCYzfOC1n3Pc0+39PhIsQeWu1mUG29jWVRvSmeQiXlCN7HE/vbkuaMLpuQKVu1IL97Ha I1Mwj9qM0DlLXG6OK2N1Nwit3X7R4O7LocywvwDJrZT5okyx0sRcie2OCbsrlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DeP+xU6K; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DeP+xU6K; dmarc=pass (policy=none) header.from=gmail.com; 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: 5494C3D53 X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: Cwk2aZe3x3eJ Hi, In order to check if the SWH fallback works, time to time, I test it. I have a variant package of hello defined here: The source had been archived on SWH long time ago (via their Web submission or via =E2=80=9Cguix lint -c archival=E2=80=9D).=20=20 Using Guix 16ef7b4, I get this: --8<---------------cut here---------------start------------->8--- $ 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/378zjf2kgajcfd7mfr98jn5xyc5w= a3qv-gzip-1.10/bin:/gnu/store/sf3rbvb6iqcphgm1afbplcs72hsywg25-tar-1.32/bin' hint: Using 'master' as the name for the initial branch. This default branc= h name hint: is subject to change. To configure the initial branch name to use in = 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 comman= d: hint:=20 hint: git branch -m Initialized empty Git repository in /gnu/store/884nsva9r8wkp40kbqyvpj1ad57j= c5dd-git-checkout/.git/ fatal: could not read Username for 'https://github.com': No such device or = address Failed to do a shallow fetch; retrying a full fetch... fatal: could not read Username for 'https://github.com': No such device or = 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 directory= at 'https://archive.softwareheritage.org/api/1/directory/c3e538ed2de412d54= c567ed7c8cfc46cbbc35d07/' 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 s= tring): # builder for `/gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv' = failed with exit code 1 build of /gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-git-checkout.drv failed View build log at '/var/log/guix/drvs/bi/i72cavifd0ll151vjiz3brmdfxjdyp-git= -checkout.drv.bz2'. guix build: error: build of `/gnu/store/bii72cavifd0ll151vjiz3brmdfxjdyp-gi= t-checkout.drv' failed --8<---------------cut here---------------end--------------->8--- The revision is found but then an error. Hum? Any clue? All the best, simon