From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YK7rGXyFpmDFBQEAgWs5BA (envelope-from ) for ; Thu, 20 May 2021 17:51:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2KqtFXyFpmBBTAAAB5/wlQ (envelope-from ) for ; Thu, 20 May 2021 15:51:24 +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 B79DD1E481 for ; Thu, 20 May 2021 17:51:23 +0200 (CEST) Received: from localhost ([::1]:55036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljkxF-0003VG-Ly for larch@yhetil.org; Thu, 20 May 2021 11:51:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljkww-0003V1-5u for bug-guix@gnu.org; Thu, 20 May 2021 11:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljkwv-0002EP-UC for bug-guix@gnu.org; Thu, 20 May 2021 11:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ljkwv-0008Az-SC for bug-guix@gnu.org; Thu, 20 May 2021 11:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48540: Non-recursive Git checkout with submodules breaks SWH download Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 20 May 2021 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48540 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 48540@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162152582931390 (code B ref -1); Thu, 20 May 2021 15:51:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2021 15:50:29 +0000 Received: from localhost ([127.0.0.1]:35036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljkwP-0008AE-6r for submit@debbugs.gnu.org; Thu, 20 May 2021 11:50:29 -0400 Received: from lists.gnu.org ([209.51.188.17]:56580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljkwN-0008A5-DZ for submit@debbugs.gnu.org; Thu, 20 May 2021 11:50:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljkwN-0003OX-2f for bug-guix@gnu.org; Thu, 20 May 2021 11:50:27 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljkwK-0001tA-Jt for bug-guix@gnu.org; Thu, 20 May 2021 11:50:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6BA075C01A9 for ; Thu, 20 May 2021 11:50:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 20 May 2021 11:50:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=3kOVXN wf6cvHpqfzu09lcSaYyeb21lhNwSjyt4bZC/E=; b=SzTVKaNxL80JwbTM2ahQ+w ojgjzbm6YbDIBJksZ9TUmyxoICzTI7Olw9MGh1wZiXJHoJnsRiIY5ibi75g/iMLW xk6HPzYnhMvb5gBw6kdKS+KFplcXAzxioDvmVOlLt+QsCe/NxfYyjwfAH5Jg/5yq bK80X457ddlV8uzNWYh/Xd+j3BXZt6WbYW2vGydboW1WcEaig6n0LJWywCqLXgE8 M0SciZ15m6no82/Nh/fk9dNQDRR38n08/+RPKd2bkBTSP1i/J3T0SEadIqymEw0I zltAOTE7rky2VpmfMezMqnGltgmdTp/tFmiYOMjqdlKut0s9m1XdVdM9XtI3uUoQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejuddgleegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgfgsehtqhertd dtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehn ghihrhhordgtohhmqeenucggtffrrghtthgvrhhnpeejhefhhffhleegiefhhfduteefie ffgeelffdugedtleffgeejtefgkeejveekteenucfkphepjeegrdduudeirddukeeirdeg geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrg hmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 20 May 2021 11:50:20 -0400 (EDT) From: Timothy Sample Date: Thu, 20 May 2021 11:50:19 -0400 Message-ID: <87a6opl804.fsf@ngyro.com> 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 Received-SPF: pass client-ip=66.111.4.28; envelope-from=samplet@ngyro.com; helo=out4-smtp.messagingengine.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621525884; 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=3kOVXNwf6cvHpqfzu09lcSaYyeb21lhNwSjyt4bZC/E=; b=c1ePatdnOZOfjaN8GTZic/MWSRIMOHk4R1qNWhYY2ZtCvuyWqUBYniqgPWXbFw4Y9dDqle 5sddjeSYiEPxNrf7V3v4D8iaO766A2fCHNQjF6yLmSQt7A8PBnrWYZRUhfGAYoE2945ESv Bn+aZaSdYAaozIFPFLzlf59dHIZg0rdrOBJsFI0prUHM3F45k41NLNS0yAs73dHXkybiAC 2tuwL5GXs+oL47gNrG9cCJnt41o9+ylzAGgV/g1o6HSctnd8fjf4Ahur3RX/sekNlfW6Ak ZVbxHXPZxXUnZlHvglsW61LFytCZv0wszQgoemOwZ5VVtYygaxkAZlPamw8rCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621525884; a=rsa-sha256; cv=none; b=Ms1z19fzBLSJ7oxZpvAwgE6hXUEbupr90MeOtLE5NBOElQPhzToO/rEE+TG7wZm8Kzacan to4fobnndk+N8TwWhfInIzcxQVx6WZRoq5q5940g4bto6r8rrpwbPywz0iiNE4CGaabhyk 4qM+k4GNOJUR309rEhp8Rrp/N4pB79KcuO3oZnxe3NQYGYkT2z+qfLHPvEQ1rmGmknQJs6 tg1Iuilu19YTGRYv96x7zCz7rmlpDFT9dbPsH0F643Md8oKlngvTj2yCVze9PdFlKGJOcw rmODRIDJDc6/szbCTOYrJd92Df1rwigOJHARXawBqqFp+ipGV/TlOcKrLZAOYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=SzTVKaNx; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.44 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=SzTVKaNx; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B79DD1E481 X-Spam-Score: -1.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: uK/aJ+tJWbxh Hi! When trying to recover the =E2=80=98non-sequencer=E2=80=99 source from SWH,= Guix fails with a hash mismatch: expected hash: 1cljkkyi9dxqpqhx8y6l2ja4zjmlya26m26kqxml8gx08vyvddhx actual hash: 1xrrczqx4ll276g449nqiq0ip6lpika9hs4z4xgxaa6ayw60v29f The reason is that the checkout includes submodules, and the way that Guix treats submodules differs from the way that SWH treats them. Note that this is not a recursive checkout (which is also broken, but more clearly a =E2=80=9Cknown limitation=E2=80=9D). In particular, Guix leaves = the submodule as an empty directory, while SWH turns it into a symlink pointing to the submodule=E2=80=99s commit hash: $ readlink ./f20fa6babec52bbf703bad6c1c92fa845b781f7e/lib/ntk 1e3f5106d404562902bed2983403301db24a3f78 This is clearly a rare edge case, but it should be pretty easy to fix. Perhaps it=E2=80=99s as easy as just opening =E2=80=9C.gitmodules=E2=80=9D = and replacing the symlink at each submodule path with an empty directory. -- Tim