From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tanguy Le Carrour Subject: Re: [WIP] gnu: Add fd. (rust) Date: Fri, 7 Feb 2020 08:57:49 +0100 Message-ID: <20200207075749.2fx55wmb2c52yrtz@rafflesia> References: <20200206163205.20668-1-tanguy@bioneland.org> <20200206195654.GF7827@E5400> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43089) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izyWT-0003ac-ET for guix-devel@gnu.org; Fri, 07 Feb 2020 02:57:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izyWS-0001w8-A6 for guix-devel@gnu.org; Fri, 07 Feb 2020 02:57:57 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:51941) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izyWS-0001ik-2z for guix-devel@gnu.org; Fri, 07 Feb 2020 02:57:56 -0500 Content-Disposition: inline In-Reply-To: <20200206195654.GF7827@E5400> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Efraim Flashner Cc: guix-devel@gnu.org Hi Efraim, Le 02/06, Efraim Flashner a écrit : > On Thu, Feb 06, 2020 at 05:32:06PM +0100, Tanguy Le Carrour wrote: > > I'm back on (trying to) package fd [1][]. > > > > [1]: https://github.com/sharkdp/fd > > > > I've just submitted 2 patches to add 2 trivial rust dependencies I need. > > But even with those, `fd` does not build! :-( > > I have the following error: > > > > ``` > > starting phase `build' > > error: no matching package named `term_size` found > > location searched: registry `https://github.com/rust-lang/crates.io-index` > > perhaps you meant: term_size > > required by package `clap v2.33.0` > > ... which is depended on by `fd-find v7.4.0 (/tmp/guix-build-fd-7.4.0.drv-0/fd-find-7.4.0)` > > command "cargo" "build" "--release" failed with status 101 > > ``` > > > > I tried adding `term_size` to `cargo-inputs` or to `cargo-development-inputs`, > > but it did not solve my problem. Am I missing something?! > > > […] > According to here¹ you need rust-term-size-0.3. Ideally we'll switch to > actually building and testing more of the crates so we can catch missing > or wrong dependencies. > > ¹ https://crates.io/crates/clap/2.33.0 I would have expected something like "error: no matching VERSION for package `term_size` found"! I'll remember to check crates.io for version next time! Thanks! -- Tanguy