GNU logs - #48540, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#48540: Non-recursive Git checkout with submodules breaks SWH download
Resent-From: Timothy Sample <samplet@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 20 May 2021 15:51:01 +0000
Resent-Message-ID: <handler.48540.B.162152582931390 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 48540
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 48540 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ljkwP-0008AE-6r
	for submit <at> 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 <samplet@HIDDEN>) id 1ljkwN-0008A5-DZ
 for submit <at> 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 <samplet@HIDDEN>) id 1ljkwN-0003OX-2f
 for bug-guix@HIDDEN; 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 <samplet@HIDDEN>) id 1ljkwK-0001tA-Jt
 for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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: <xms:PIWmYJBXXdRB10433LoymAE-A1jVg_ZjhL2dzu6kdgtOJfLd2Yc8Nw>
 <xme:PIWmYHjEHyn1GZrMisbiLw2YXy_6pRl53kJpH3vyAxcWhXolrK5UdnFZViccGFsjG
 _-65i1dHsWOkGb8kw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdejuddgleegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkfgggtgfgsehtqhertd
 dtreejnecuhfhrohhmpefvihhmohhthhihucfurghmphhlvgcuoehsrghmphhlvghtsehn
 ghihrhhordgtohhmqeenucggtffrrghtthgvrhhnpeejhefhhffhleegiefhhfduteefie
 ffgeelffdugedtleffgeejtefgkeejveekteenucfkphepjeegrdduudeirddukeeirdeg
 geenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsrg
 hmphhlvghtsehnghihrhhordgtohhm
X-ME-Proxy: <xmx:PIWmYEnPCjPXGVjVqVTX_haQnisG_nOjf2woQS4mgZIqcEFXy9cZPA>
 <xmx:PIWmYDxEBRyyhJTu3Ykt7F64IQFWfdhB4zG2DFDsgAeb0kJgRQxkrw>
 <xmx:PIWmYOS5H9Vgie0T1S7qCMzIqa7EOffR3DWWQ1WfogS0awTt2lj_lA>
 <xmx:PIWmYFcki_2_Y9xoqgNmfXsyn_ML4FBfz5-tTGogZkFx7cIH2K0qgQ>
Received: from mrblack (74-116-186-44.qc.dsl.ebox.net [74.116.186.44])
 by mail.messagingengine.com (Postfix) with ESMTPA
 for <bug-guix@HIDDEN>; Thu, 20 May 2021 11:50:20 -0400 (EDT)
From: Timothy Sample <samplet@HIDDEN>
Date: Thu, 20 May 2021 11:50:19 -0400
Message-ID: <87a6opl804.fsf@HIDDEN>
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@HIDDEN;
 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-Spam-Score: -1.6 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

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




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Timothy Sample <samplet@HIDDEN>
Subject: bug#48540: Acknowledgement (Non-recursive Git checkout with
 submodules breaks SWH download)
Message-ID: <handler.48540.B.162152582931390.ack <at> debbugs.gnu.org>
References: <87a6opl804.fsf@HIDDEN>
X-Gnu-PR-Message: ack 48540
X-Gnu-PR-Package: guix
Reply-To: 48540 <at> debbugs.gnu.org
Date: Thu, 20 May 2021 15:51:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 48540 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
48540: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D48540
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 29 May 2021 21:04:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 29 17:04:07 2021
Received: from localhost ([127.0.0.1]:57812 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ln67r-00019e-OS
	for submit <at> debbugs.gnu.org; Sat, 29 May 2021 17:04:07 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35320)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ln67q-00018m-OG
 for control <at> debbugs.gnu.org; Sat, 29 May 2021 17:04:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:54192)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1ln67l-0001O4-JF
 for control <at> debbugs.gnu.org; Sat, 29 May 2021 17:04:01 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41506 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1ln67l-0005ov-Ay
 for control <at> debbugs.gnu.org; Sat, 29 May 2021 17:04:01 -0400
Date: Sat, 29 May 2021 23:04:00 +0200
Message-Id: <878s3x5k1r.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #48540
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

severity 48540 important
quit






Last modified: Sat, 29 May 2021 21:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.