GNU bug report logs - #40893
import crate: Recursive importer loops

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Hartmut Goebel <h.goebel@HIDDEN>; dated Mon, 27 Apr 2020 07:14:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 40893) by debbugs.gnu.org; 28 Apr 2020 17:59:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 28 13:59:55 2020
Received: from localhost ([127.0.0.1]:41404 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jTUWQ-0001dF-V3
	for submit <at> debbugs.gnu.org; Tue, 28 Apr 2020 13:59:55 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38351)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1jTUWO-0001cp-LZ
 for 40893 <at> debbugs.gnu.org; Tue, 28 Apr 2020 13:59:53 -0400
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 4F0EA5C0247;
 Tue, 28 Apr 2020 13:59:47 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute2.internal (MEProxy); Tue, 28 Apr 2020 13:59:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=HiP/O7hd48Mxmy7R+RRbW7bm
 qsr/vJbEniYQTMzvzG0=; b=gjWRFS0Ojx7j05sdi2otmOgVQo5mvMf/Y1EEiblk
 aP/u44WHxdbdJtpSYSC2biijC53rI0bmB+pLUBYVSgP2dML32iCk51VXChzxmazJ
 6Apc0H8Z0rFxfhmbpE1u+xmuCwwFj8G4zxYV+34GUYfVkAoqjKHuFcOwRhi/I5nG
 CxY=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=HiP/O7
 hd48Mxmy7R+RRbW7bmqsr/vJbEniYQTMzvzG0=; b=dykoak0H4S8y2njL6si6Hi
 EWd2Nldgzwqb8Ayzo7Ximd9XPQ/8zIcJACxAoo4lFTB9Hf7rcRRFDxxzkbgf5fwp
 ehh92cW7zroXgSIFLD5qgOUs137/twDRVQva1bLbFVPohNzM3LGcoo3OBEMQD8DT
 nOuCpQ4c1bNG1T0M/M86sIbyo8rrf+qCgx3yq0+Kh9eeV/ByHJqDZj8P3bqr9mOi
 v0/1ooP27SKiYRoRfNhMqqJ6fEuaMbzj+fzY48BeV3GBMvq7jsX7zg1v32I4skUG
 bC/1vaOBESPorgD+LlklKiKxvI23zCrly0EEhM9929k5gBIuq3WbentXrRN8sTtw
 ==
X-ME-Sender: <xms:Em-oXuTZATxjmE7k50eTcSN993ngbzVYsnBkqqxtWjWGS8OY84xfPg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedriedugdduudekucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh
 rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucffohhmrghinh
 epghhnuhdrohhrghenucfkphepjeeirdduvdegrddufeekrdeifeenucevlhhushhtvghr
 ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrih
 drnhgrmhgv
X-ME-Proxy: <xmx:Em-oXoa9w5-nnbIqhV98xzZpe9YgHn2xVwgUSxHmq_Z4V-sP_UmK2Q>
 <xmx:Em-oXuh-mRKvE8w8zIod1rQtB8GHbo5xb-69VQSVx2sKexcQw-C9bQ>
 <xmx:Em-oXpUf7ZPRJLeUTIng4dKfDcaKw356ull6d7ThG_p4FDHBuCow8g>
 <xmx:E2-oXlCNqEVBOxe-iu0ALLgPqSKR0t1UBfQJBhrMMbkDOyfmpg55Og>
Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63])
 by mail.messagingengine.com (Postfix) with ESMTPA id 5C35A3065EA5;
 Tue, 28 Apr 2020 13:59:46 -0400 (EDT)
Date: Tue, 28 Apr 2020 13:59:37 -0400
From: Leo Famulari <leo@HIDDEN>
To: Hartmut Goebel <h.goebel@HIDDEN>
Subject: Re: bug#40893: import crate: Recursive importer loops
Message-ID: <20200428175937.GA28930@HIDDEN>
References: <1c05ff63-f5f7-f5c2-84d4-b255875c1f9d@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1c05ff63-f5f7-f5c2-84d4-b255875c1f9d@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 40893
Cc: 40893 <at> debbugs.gnu.org
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: -1.7 (-)

On Mon, Apr 27, 2020 at 09:12:44AM +0200, Hartmut Goebel wrote:
> When running "import crate -r", the same packages get downloaded again
> and again. Depending on the package to be imported, this looping can
> take quite some time and the user gets the impression, that the import
> will recurse endlessly.

Is this for the crate importer currently on Guix master, or the new
importer being developed by Martin Becze at
<https://bugs.gnu.org/38408>?




Information forwarded to bug-guix@HIDDEN:
bug#40893; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 27 Apr 2020 07:13:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 27 03:13:04 2020
Received: from localhost ([127.0.0.1]:35440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jSxwu-0006h9-JJ
	for submit <at> debbugs.gnu.org; Mon, 27 Apr 2020 03:13:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:55279)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1jSxwq-0006gg-32
 for submit <at> debbugs.gnu.org; Mon, 27 Apr 2020 03:13:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36570)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <h.goebel@HIDDEN>) id 1jSxwo-0007cu-AB
 for bug-guix@HIDDEN; Mon, 27 Apr 2020 03:12:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,
 RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLOCKED
 autolearn=unavailable autolearn_force=no version=3.4.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1)
 (envelope-from <h.goebel@HIDDEN>) id 1jSxwh-0002P5-VN
 for bug-guix@HIDDEN; Mon, 27 Apr 2020 03:12:58 -0400
Received: from mail-out.m-online.net ([212.18.0.9]:51948)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.goebel@HIDDEN>)
 id 1jSxwh-0002N0-CJ
 for bug-guix@HIDDEN; Mon, 27 Apr 2020 03:12:51 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 499bZm4D5Xz1r6n9
 for <bug-guix@HIDDEN>; Mon, 27 Apr 2020 09:12:48 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 499bZm46vKz1qrjf
 for <bug-guix@HIDDEN>; Mon, 27 Apr 2020 09:12:48 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024) with ESMTP id soGKmKgRVhTp for <bug-guix@HIDDEN>;
 Mon, 27 Apr 2020 09:12:47 +0200 (CEST)
Received: from hermia.goebel-consult.de
 (ppp-188-174-55-44.dynamic.mnet-online.de [188.174.55.44])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS
 for <bug-guix@HIDDEN>; Mon, 27 Apr 2020 09:12:47 +0200 (CEST)
Received: from lenashee.goebel-consult.de (lenashee.fritz.box [192.168.110.28])
 by hermia.goebel-consult.de (Postfix) with ESMTP id 90E3A600B0
 for <bug-guix@HIDDEN>; Mon, 27 Apr 2020 09:13:15 +0200 (CEST)
To: bug-guix <bug-guix@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Subject: import crate: Recursive importer loops
Organization: crazy-compilers.com
Message-ID: <1c05ff63-f5f7-f5c2-84d4-b255875c1f9d@HIDDEN>
Date: Mon, 27 Apr 2020 09:12:44 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.7.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Received-SPF: none client-ip=212.18.0.9;
 envelope-from=h.goebel@HIDDEN; helo=mail-out.m-online.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/27 02:11:09
X-ACL-Warn: Detected OS   = Linux 3.11 and newer [fuzzy]
X-Received-From: 212.18.0.9
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
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 (---)

When running "import crate -r", the same packages get downloaded again
and again. Depending on the package to be imported, this looping can
take quite some time and the user gets the impression, that the import
will recurse endlessly.

I would expect the importer to recognize it did already download the
package.

$ guix pull --commit=ee8de7381  # to be sure the packages are not
imported already.
$ ./pre-inst-env guix import crate -r h2
...
following redirection to
`https://static.crates.io/crates/rustls/rustls-0.17.0.crate'...
...
following redirection to
`https://static.crates.io/crates/webpki/webpki-0.21.2.crate'...
following redirection to
`https://static.crates.io/crates/webpki-roots/webpki-roots-0.19.0.crate'...
...
following redirection to
`https://static.crates.io/crates/webpki/webpki-0.21.2.crate'...
following redirection to
`https://static.crates.io/crates/webpki-roots/webpki-roots-0.19.0.crate'...
...
following redirection to
`https://static.crates.io/crates/ring/ring-0.17.0-alpha.1.crate'...
following redirection to
`https://static.crates.io/crates/ring/ring-0.17.0-alpha.1.crate'...
...
following redirection to
`https://static.crates.io/crates/webpki/webpki-0.21.2.crate'...
...
following redirection to
`https://static.crates.io/crates/rustls/rustls-0.17.0.crate'...
following redirection to
`https://static.crates.io/crates/webpki/webpki-0.21.2.crate'...
following redirection to
`https://static.crates.io/crates/webpki-roots/webpki-roots-0.19.0.crate'...

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@HIDDEN               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Acknowledgement sent to Hartmut Goebel <h.goebel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#40893; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 28 Apr 2020 18:00:02 UTC

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