From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id cNG2GyvvyWWq5QAA62LTzQ:P1 (envelope-from ) for ; Mon, 12 Feb 2024 11:12:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cNG2GyvvyWWq5QAA62LTzQ (envelope-from ) for ; Mon, 12 Feb 2024 11:12:59 +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=tGNE6+Ev; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707732779; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=spaFA1wOTXdKBFyw4heHne6z9hKBlQ/b8D10xO4GIFc=; b=uO07wizGO4Uqmtl9CpSdiD88ce3sNJHMgRwt2ZYkGlDSH8bxD/9b/4tUFzpQWx7UpZjLbo 0xZa5oybmeHnt5xy5o9fOlNGFTBpaAwN7FhNtRYE2d8GHE2lBLA2V5Vm65gYkVbhn8rqeQ EqRavoy3Qqk/J9nlN9nCSe5JY4pZwBQs1gFn1DKEsdPhF3ftECDhqOVEhxUu3/2NMsl0th 8FNWddWJf9m6YCladCfFRedB0oZT1mo7WjpfHkXg1iDzcFJnIgf1v1q7M+pZEDr16NjcFz C1FhMkV43UY4YrBvbCwtrqo2iLGHF9iwjlAVRjIHrjnMhnWJQBAWzXnEqcsnBg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=tGNE6+Ev; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707732779; a=rsa-sha256; cv=none; b=VIovXeHSQLIOJUcSdfFPxLmo1SndW7HkNh4vj4XlOwkZxkmPweD5/aQ/yqzZSow3TLdBl8 PVAs7R1w1hnrmnDBi+G9LdFKeM2NViSFWRWkaBKoYjfUAWEHS8BOZ8G49wGMoMim+weXyl +r16FtKEgrAOrdaB+/V7IGNHtghxFmsWcuPkHzO4RxE9oT+Ag8ip3uL1JuOmbuNTOnkBD0 BMJm2ZnY1rAWxORVrLbMk6riVFSwtIujiKBr7bE+s7V+yiOAGD5KknVaKL5MzPLRYmyJ+7 ful05kep8/CUdpzvQ1uC4rfkAQqBBUPLWbIKfVcuODQzg0RsGhUTY6pMf9XrWw== 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 2B7A431F96 for ; Mon, 12 Feb 2024 11:12:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZTIt-0006cE-6L; Mon, 12 Feb 2024 05:12: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 1rZTIs-0006c5-JR for bug-guix@gnu.org; Mon, 12 Feb 2024 05:12: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 1rZTIs-00062c-AU for bug-guix@gnu.org; Mon, 12 Feb 2024 05:12:46 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZTJ8-0001dq-Ms for bug-guix@gnu.org; Mon, 12 Feb 2024 05:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#69070: =?UTF-8?Q?=E2=80=98guix?= lint -c archival =?UTF-8?Q?python-scikit-learn=E2=80=99?= crashes 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:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69070 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69070@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17077327456148 (code B ref -1); Mon, 12 Feb 2024 10:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2024 10:12:25 +0000 Received: from localhost ([127.0.0.1]:45250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZTIW-0001b4-N4 for submit@debbugs.gnu.org; Mon, 12 Feb 2024 05:12:25 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZTIT-0001aM-3b for submit@debbugs.gnu.org; Mon, 12 Feb 2024 05:12:22 -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 1rZTI6-0006SO-IC for bug-guix@gnu.org; Mon, 12 Feb 2024 05:11:58 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZTI3-0005te-W7 for bug-guix@gnu.org; Mon, 12 Feb 2024 05:11:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=spaFA1wOTXdKBFyw4heHne6z9hKBlQ/b8D10xO4GIFc=; b=tGNE6+EvHfXyflYmP0ouCC4bsmw3FXlVQsU/EWv7B8qgM+hQ/BKIU8Xb 8onBnCFEZNO/M3OKgIelCJS0bJE3Hvx8drtlodv9+ds02bYxPcWbtZeAm 760gGd2Zi8fCeWm1FobsWr3qqBeigywfCkLZugDR72E19HNWI34ReZCIb U=; X-IronPort-AV: E=Sophos;i="6.05,262,1701126000"; d="scan'208";a="151455897" 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:11:52 +0100 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Pluvi=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la =?UTF-8?Q?Tra=C3=AEnasse?= 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: Mon, 12 Feb 2024 11:11:51 +0100 Message-ID: <87v86uf0uw.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=192.134.164.83; envelope-from=ludovic.courtes@inria.fr; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Spam: Yes X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 9.12 X-Spam-Score: 9.12 X-Migadu-Queue-Id: 2B7A431F96 X-Migadu-Spam: Yes X-TUID: ndc6MEoo8J8/ Hi! Starting from a couple of weeks ago, probably around the time SWH deployed an updated version of their infrastructure, we get crashes like this: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 290 Feb 11 2024 23:01:35 (current) guix c4372f7 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: c4372f7ebfac17236299346fe60c6ca125336b1f $ guix lint -c archival python-scikit-learn Backtrace:ython-scikit-learn@1.3.2 [archival]... 12 (primitive-load "/home/ludo/.config/guix/current/bin/gu=E2=80= =A6") In guix/ui.scm: 2324:7 11 (run-guix . _) 2287:10 10 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 9 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 634:9 8 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 65:4 7 (run-checkers _ _ #:store _) In srfi/srfi-1.scm: 634:9 6 (for-each # =E2=80=A6) In guix/scripts/lint.scm: 74:21 5 (_ _) In guix/lint.scm: 1662:4 4 (check-archival _) 877:2 3 (call-with-networking-fail-safe _ _ _) In ice-9/boot-9.scm: 1752:10 2 (with-exception-handler _ _ #:unwind? _ # _) 1685:16 1 (raise-exception _ #:continuable? _) 1683:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1683:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" direct= ory)'. --8<---------------cut here---------------end--------------->8--- This can be reproduced by merely evaluating: (lookup-origin-revision "https://github.com/scikit-learn/scikit-learn" "1= .3.2") The crux of the problem is that =E2=80=98snapshot-branches=E2=80=99 used to= return either a =E2=80=9Crevision=E2=80=9D or a =E2=80=9Crelease=E2=80=9D, but now= it can also return a =E2=80=9Cdirectory=E2=80=9D: --8<---------------cut here---------------start------------->8--- $ wget -qO- https://archive.softwareheritage.org/api/1/snapshot/c405490b80f= b35cc58b34260d9ec6add8248857f |jq { "id": "c405490b80fb35cc58b34260d9ec6add8248857f", "branches": { "1.3.2": { "target": "e4a4be18fae8d9c6528abff3bc9088feb19a76c7", "target_type": "directory", "target_url": "https://archive.softwareheritage.org/api/1/directory/e= 4a4be18fae8d9c6528abff3bc9088feb19a76c7/" }, "HEAD": { "target": "1.3.2", "target_type": "alias", "target_url": "https://archive.softwareheritage.org/api/1/directory/e= 4a4be18fae8d9c6528abff3bc9088feb19a76c7/" } }, "next_branch": null } --8<---------------cut here---------------end--------------->8--- I=E2=80=99ll check with comrades at SWH whether this is intended. (Note that this problem may vanish once has been merged.) Ludo=E2=80=99.