From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CBYUKFVSx2J/SQEAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 23:38:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EBsMKFVSx2LkgAEA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 23:38:29 +0200 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 89B3CDD03 for ; Thu, 7 Jul 2022 23:38:28 +0200 (CEST) Received: from localhost ([::1]:35812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9ZCd-0000dl-M7 for larch@yhetil.org; Thu, 07 Jul 2022 17:38:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9ZBG-0007tc-R6 for bug-guix@gnu.org; Thu, 07 Jul 2022 17:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9ZBG-00014E-Ip for bug-guix@gnu.org; Thu, 07 Jul 2022 17:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9ZBG-0008Kj-Gg for bug-guix@gnu.org; Thu, 07 Jul 2022 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56398: (guix git) fails to check out repos with nested submodules Resent-From: =?UTF-8?Q?Andr=C3=A9?= Batista Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 Jul 2022 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56398 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 56398@debbugs.gnu.org Received: via spool by 56398-submit@debbugs.gnu.org id=B56398.165722977731982 (code B ref 56398); Thu, 07 Jul 2022 21:37:02 +0000 Received: (at 56398) by debbugs.gnu.org; 7 Jul 2022 21:36:17 +0000 Received: from localhost ([127.0.0.1]:58193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9ZAR-0008Jh-0n for submit@debbugs.gnu.org; Thu, 07 Jul 2022 17:36:16 -0400 Received: from mx1.riseup.net ([198.252.153.129]:38748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9ZAL-0008Ik-RR for 56398@debbugs.gnu.org; Thu, 07 Jul 2022 17:36:09 -0400 Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Lf8q36TjLzDrb4; Thu, 7 Jul 2022 21:35:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1657229760; bh=Va6iI9E8Lt1PGzMku+WHG/3IP457iDcSj7A2kjYXS/8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fEWNi7JsK3lo4U2ifwWp5zn/QLToXXN7klZWwH1BapCkJbzB8DUAqPjMt042pvIEQ BTss9oOo46DM5f2b5SotbupOdY9KJRmUtzeCxq2p4Qs6W35r1zSg0gzLpmHZHSle6j FzuJE3tP0OkVV2h4nmY3iLSutKyBzB9lLGSv0MsA= X-Riseup-User-ID: 5027F1966ABED0C64320BBDF9FD705200C1FB2CE18D945D12A2F0DEB2DF50747 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4Lf8q25ZH4z1yQq; Thu, 7 Jul 2022 21:35:58 +0000 (UTC) Date: Thu, 7 Jul 2022 18:35:42 -0300 From: =?UTF-8?Q?Andr=C3=A9?= Batista Message-ID: References: <87sfnf4n7c.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87sfnf4n7c.fsf@inria.fr> 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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657229909; 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=isRLvgfBIkcHsFhUnOcuj25d6WyvyxyPQiHcl9xzMT4=; b=tROkXc8e8vVu55KVVnN3r84ZESyWGGO6lgd7QJiNGaPGFNositfBGInzv8kFrntcVZNiCm 4cV6A1YGqYGiTl0SkPRvzJs9GAc4xUIZisZ9tWqFSRrBidBRjn1p43kf374S7k8FprViO6 c9Hl8Ul3BW16sj61L62/lOEF5MLezAvv9J6kuptTj63xUUWIlYkw/PqllP4Hwj26KlWrAq IIJa7Rcla7e19Z8WR+tKWXXS2ddhvn+SCUBL6VxsdFPC7h5Z0RoJfS6K5UqWoLGPub7g0g uwXOLYxDqy3i52aUlUG1NCucyY5grD+R65XFemOvElOOpfHLBaJ29DCy9pJ9NQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657229909; a=rsa-sha256; cv=none; b=VIYCd+qSBjstKkz6IVPkS4dWjuhcvWYC5ia/G8mNLY+nhFivTHemRLniDnwKIbxYADAurw mYA2f/L08zYDHrQfbQewkrHGwlEhtBRLkcbpIDumtS8+hyvmMwRwC2L7tew0F+58SA4LMc AjWSrvf0CRdHHX/k3DI27e+w4OsuHi8rNqMyrvsVwN29RPj98tC/TkcNrFJORMkn9imso7 s5DUjgN+Cje3z3X6/GcjmjwkT/6YwzEG3JEzg23++61ZjHIUjspXtq2YpBmxVmbAJdLNTe Ix0v2TX1wzhG8wsM6qkFjNEigyo/F7CzZOc4B2A4DM/P9hsorrfuIyC2zAusNA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=fEWNi7Js; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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" X-Migadu-Spam-Score: 7.45 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=fEWNi7Js; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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" X-Migadu-Queue-Id: 89B3CDD03 X-Spam-Score: 7.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: x/DbSBH+0Ot/ Hi! ter 05 jul 2022 às 17:02:31 (1657051351), ludovic.courtes@inria.fr enviou: > It seems that ‘update-cached-checkout’ fails to handle nested Git > submodules, when a submodule itself has submodules: I think this may be actually a bug upstream. When refreshing, guix is able to recursively upgrade submodules under 'thirdparty/fbgemm' just fine, but it fails on thirdparty/gloo because the path declared on its .gitmodules does not exist on the repository: --8<---------------cut here---------------start------------->8--- user@guix /src/guix.git$ cat ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/third_party/gloo/.gitmodules [submodule "third-party/googletest"] path = third-party/googletest url = https://github.com/google/googletest.git user@guix /src/guix.git$ ls ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/third_party/gloo/ cmake/ CMakeLists.txt CODE_OF_CONDUCT.md CONTRIBUTING.md docs/ gloo/ LICENSE README.md tools/ user@guix /src/guix.git$ cat ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/third_party/fbgemm/.gitmodules [submodule "third_party/asmjit"] path = third_party/asmjit url = https://github.com/asmjit/asmjit.git [submodule "third_party/cpuinfo"] path = third_party/cpuinfo url = https://github.com/pytorch/cpuinfo [submodule "third_party/googletest"] path = third_party/googletest url = https://github.com/google/googletest user@guix /src/guix.git$ ls ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/third_party/fbgemm/third_party/ asmjit/ asmjit.BUILD cpuinfo/ cpuinfo.BUILD googletest/ user@guix ~$ cat ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/.git/modules/third_party/gloo/config [core] bare = false repositoryformatversion = 0 filemode = true logallrefupdates = true worktree = ../../../../third_party/gloo/ [remote "origin"] url = https://github.com/facebookincubator/gloo fetch = +refs/heads/*:refs/remotes/origin/* [branch "main"] remote = origin merge = refs/heads/main user@guix ~$ cat ~/.cache/guix/checkouts/orwu3gj6brdg2ui6r2tl5me7plucokpvqvgbhe2yuo6jc2tovvha/.git/modules/third_party/fbgemm/config [core] bare = false repositoryformatversion = 0 filemode = true logallrefupdates = true worktree = ../../../../third_party/fbgemm/ [remote "origin"] url = https://github.com/pytorch/fbgemm fetch = +refs/heads/*:refs/remotes/origin/* [branch "main"] remote = origin merge = refs/heads/main [submodule "third_party/asmjit"] url = https://github.com/asmjit/asmjit.git [submodule "third_party/cpuinfo"] url = https://github.com/pytorch/cpuinfo [submodule "third_party/googletest"] url = https://github.com/google/googletest --8<---------------cut here---------------end--------------->8---