GNU bug report logs - #25281
rust importer duplicates input

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: ng0 <ng0@HIDDEN>; dated Tue, 27 Dec 2016 16:11:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 25281) by debbugs.gnu.org; 2 Jul 2021 10:20:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 02 06:20:31 2021
Received: from localhost ([127.0.0.1]:34887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lzGHe-0000Xa-Lf
	for submit <at> debbugs.gnu.org; Fri, 02 Jul 2021 06:20:30 -0400
Received: from mail-wm1-f43.google.com ([209.85.128.43]:41722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1lzGHd-0000XG-7B
 for 25281 <at> debbugs.gnu.org; Fri, 02 Jul 2021 06:20:29 -0400
Received: by mail-wm1-f43.google.com with SMTP id
 a5-20020a7bc1c50000b02901e3bbe0939bso6038784wmj.0
 for <25281 <at> debbugs.gnu.org>; Fri, 02 Jul 2021 03:20:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=AO9SZPdjuqQPHHfCDD7JqgJaTxeMj9chC4KDDvYVQxw=;
 b=buKNPWHHl6nXOvShRoR32qgvx6zawTLVUyh8A7/Zz2pIeHLQvhLdWOZ/ZcafQGsqo/
 RNRuB2wMY8foTf0DymMDbwXlzE5ikgtT11JrGrZruPoy07jiKkrWAPXRPNfGJlLMYQXz
 m+IzBfk7YZVMtQ8JtG8yhmPdYBqw/tCkpXfSRVhWIjRM7XzWJdAiDx0Vk1oqb3pN5jWX
 AJp8vBIl2sUiPvRdAv7d7H//o4xmaIzYLaZXN6OLYyyP7dsDb3xp5dqBOcH7xi17/+Xf
 xTVePLX5yp8O3HdouFsfoJJAjVJwYhjA7ZkwR7aLgNpkN8WMgm+eoGL02ADeOuI1rqUN
 qN4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=AO9SZPdjuqQPHHfCDD7JqgJaTxeMj9chC4KDDvYVQxw=;
 b=Bg7RK7yCPI5yVyb3Qq2zKOsOQzKnoqbkzTqP63Blhi9uHVsew1cvv5LcqKQ0oj4DiY
 Tt5/9aXkVSZlZY/wOeFkfUy+LX6qVmfqH53XgmBsVjkKnH8WNipQi/WOU32aajPZFvlK
 A1FlyGADXYWkUUlHh8tfuRFQR++WqSn0DT7FY1+KXW2XQckBVLW834LxlblnL66L8FUK
 Kcnj2IKahKo1ov+EES3egRHq3tzlrEtC6SyaPoR3lhZvWAluUjxYb9+MAc8RPoxB0x4m
 1382DqaBpvn/jcvRNKjg+D0q9lZBvLsU7tT5KutY/2xLGyD+RsK6XD1dg8rZNAQbOdWR
 eiRg==
X-Gm-Message-State: AOAM530kd8OZDUIkduCGlz55DfZQ2Be2QMaj21JTmFTbq1MA5p6EBYW8
 OEO5EnaPEeyXp33gXJ9nt1zxAsf4/7k=
X-Google-Smtp-Source: ABdhPJzMYTSXIA1p1gBkbbTaqvQ4F31EtDl29sjrv93Yyvxcx8oOlAGCyqHTqlqLc61Zt3m2NznzhA==
X-Received: by 2002:a1c:3505:: with SMTP id c5mr15481214wma.53.1625221223694; 
 Fri, 02 Jul 2021 03:20:23 -0700 (PDT)
Received: from bioinfomeary01-Precision-7820-Tower ([193.48.40.110])
 by smtp.gmail.com with ESMTPSA id r4sm2900080wre.84.2021.07.02.03.20.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 02 Jul 2021 03:20:23 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
To: ng0 <ng0@HIDDEN>
Subject: Re: bug#25281: rust importer duplicates input
References: <87zijhuzcv.fsf@HIDDEN>
Date: Fri, 02 Jul 2021 10:52:56 +0200
In-Reply-To: <87zijhuzcv.fsf@HIDDEN>
 (ng0@HIDDEN's message of "Tue, 27 Dec 2016 16:10:40 +0000")
Message-ID: <85im1t85cn.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
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 25281
Cc: 25281 <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.0 (-)

Hi,

On mar., 27 d=C3=A9c. 2016 at 16:10, ng0 <ng0@HIDDEN> wrote:

> ng0@wasp ~$ guix import crate net2
> following redirection to `https://crates-io.s3-us-west-1.amazonaws.com/cr=
ates/net2/net2-0.2.26.crate'...
> (package
>   (name "rust-net2")
>   (version "0.2.26")
>   (source
>     (origin
>       (method url-fetch)
>       (uri (crate-uri "net2" version))
>       (file-name
>         (string-append name "-" version ".tar.gz"))
>       (sha256
>         (base32
>           "1qp3q6xynb481rsp3ig1nmqb6qlxfba3shfrmqij88cppsv9rpsy"))))
>   (build-system cargo-build-system)
>   (inputs
>     `(("rust-cfg-if" ,rust-cfg-if)
>       ("rust-kernel32-sys" ,rust-kernel32-sys)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-libc" ,rust-libc)
>       ("rust-winapi" ,rust-winapi)
>       ("rust-ws2-32-sys" ,rust-ws2-32-sys)))
>   (home-page
>     "https://github.com/rust-lang-nursery/net2-rs")
>   (synopsis
>     "Extensions to the standard library's networking types as proposed in=
 RFC 1158.
> ")
>   (description
>     "Extensions to the standard library's networking types as proposed in=
 RFC 1158.
> ")
>   (license (list license:expat license:asl2.0)))

Using Guix 3694c0d, I get this:

--8<---------------cut here---------------start------------->8---
$ guix import crate net2
(define-public rust-net2-0.2
  (package
    (name "rust-net2")
    (version "0.2.37")
    (source
      (origin
        (method url-fetch)
        (uri (crate-uri "net2" version))
        (file-name
          (string-append name "-" version ".tar.gz"))
        (sha256
          (base32
            "1bk8jp0i12gvhrlaqbfq19ancja70r1rg3sywbhjl0385g8k05ir"))))
    (build-system cargo-build-system)
    (arguments
      `(#:cargo-inputs
        (("rust-cfg-if" ,rust-cfg-if-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-winapi" ,rust-winapi-0.3))))
    (home-page
      "https://github.com/deprecrated/net2-rs")
    (synopsis
      "Extensions to the standard library's networking types as proposed in=
 RFC 1158.
")
    (description
      "Extensions to the standard library's networking types as proposed in=
 RFC 1158.
")
    (license (list license:expat license:asl2.0))))
--8<---------------cut here---------------end--------------->8---

Therefore, I think this bug report can be close.  WDYT?


All the best,
simon




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

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


Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 20:51:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 28 15:51:27 2016
Received: from localhost ([127.0.0.1]:58310 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cMLC3-0003Qr-57
	for submit <at> debbugs.gnu.org; Wed, 28 Dec 2016 15:51:27 -0500
Received: from mail-qt0-f177.google.com ([209.85.216.177]:36489)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david@HIDDEN>) id 1cMLC1-0003QW-JL
 for 25281 <at> debbugs.gnu.org; Wed, 28 Dec 2016 15:51:25 -0500
Received: by mail-qt0-f177.google.com with SMTP id k15so119442376qtg.3
 for <25281 <at> debbugs.gnu.org>; Wed, 28 Dec 2016 12:51:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craven.ch; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=u5bqGTmTTS7sqDoZPsYGuFMMQqOTpwiEdlXxS09+Yc4=;
 b=jkVROXaCU9RNTj0VxiURGr8PHrRI4qHmt1TlfROA3KyYDmSTiznAvCDai5ZXeeO6HB
 /+Vcs7M68lYetW402KQU0IDxHxYqkXqak4AzX4xJUTnVT9DfsoV+dq05JrRchIkJvE5o
 bAwXs4X6vdO9FjfoDSsr8yhD2BJ+M60dZTdpM=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=u5bqGTmTTS7sqDoZPsYGuFMMQqOTpwiEdlXxS09+Yc4=;
 b=YWGv98ns+RTBgMQTb0Y8tWIC8ogvc4P795juqfxUpAlgzPGnCKr6yme0WgJHsBDQ8u
 nz6V5lTmT+M8wShwEIM+nHF8rlEAg9PHm0XEhYRaRI/x5TdfkhdQa2gIQf6d7fmWDWDY
 +ja+0j7DbY8wqsn4drwYdgtnveojSn4pL05H4oaWjnO4Y40ZZqrEV8va7d7j50nIkPQc
 HEFnpHDbLegsZQi8X8+JJyejGg2PetyskGotjR4jJoSTl3KfxRq/SxZKTL2msiSnlo0n
 a6gpX+/BwCLumN2y+OD8AoGiftDnCXZoezoFqv+Nujs5ZixXcqCX2re5c6ldxn/zd4Ym
 lnVg==
X-Gm-Message-State: AIkVDXJqSVvO9XvdyA54HtQ++Ae8wTdSQOQpSCmJTnrMAJqGDmNCMfG9CPJAgl7rF7E/dAXZNWs2B+qx1klQgQ==
X-Received: by 10.200.33.244 with SMTP id 49mr35691735qtz.70.1482958279836;
 Wed, 28 Dec 2016 12:51:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.133.38 with HTTP; Wed, 28 Dec 2016 12:51:19 -0800 (PST)
X-Originating-IP: [151.248.146.13]
In-Reply-To: <idjeg0sgsvv.fsf@HIDDEN>
References: <87zijhuzcv.fsf@HIDDEN>
 <CAL1_immr3jcxCDJxjYUpO5o8sxVsorW-t7178Vzd55kCGrG3-w@HIDDEN>
 <idjeg0sgsvv.fsf@HIDDEN>
From: David Craven <david@HIDDEN>
Date: Wed, 28 Dec 2016 21:51:19 +0100
Message-ID: <CAL1_imkUxTgUfpTgkRX6KJ_wO8O5nPyEeo2PAmX-pTjZm0fbhw@HIDDEN>
Subject: Re: bug#25281: rust importer duplicates input
To: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 25281
Cc: ng0 <ng0@HIDDEN>, 25281 <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: 0.5 (/)

> Could the importer be changed to either ignore targets that don=E2=80=99t=
 match
> the current architecture or to uniquify the list of inputs?

It could, but I don't see an advantage. It takes more than just
removing duplicate inputs for the thing to build. I'd find time spent
on a Cargo.lock parser (which should be quite easy) to be more useful,
but if someone wants to do it...




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

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


Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 12:06:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 28 07:06:39 2016
Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cMD0B-0002DT-N4
	for submit <at> debbugs.gnu.org; Wed, 28 Dec 2016 07:06:39 -0500
Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:43222)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Ricardo.Wurmus@HIDDEN>) id 1cMD09-0002DI-3N
 for 25281 <at> debbugs.gnu.org; Wed, 28 Dec 2016 07:06:37 -0500
Received: from localhost (localhost [127.0.0.1])
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id A6585380545;
 Wed, 28 Dec 2016 13:06:35 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:date:date:in-reply-to:subject:subject:from:from
 :user-agent:references:received:received:received; s=mdc; t=
 1482926790; x=1484741191; bh=hnbgS0QVuk56cyoFWfB6Y+wtrsvf+zT6I9F
 qmCqlP8M=; b=l6Pu2ntPgct67q3PzwjgJU9Y88ARXX43wb8ENOP28gZwwPaa02m
 cSmSoVi0NelLHm3kxdhUjeoOLQGS3+uEzwwy0YWx6yzZH1mO1do4AaNXtvnsUsdB
 HWbG7Vgi26QZ0cZh6SdA0TcTsbVoSWd8ka+YjfQsq44DxFv/aOPvMbJ8=
X-Virus-Scanned: amavisd-new at mdc-berlin.de
Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1])
 by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id T0xAbipMjZnk; Wed, 28 Dec 2016 13:06:30 +0100 (CET)
Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by venus.bbbm.mdc-berlin.de (Postfix) with ESMTPS;
 Wed, 28 Dec 2016 13:06:30 +0100 (CET)
Received: from localhost (141.80.180.135) by HTCATWO.mdc-berlin.net
 (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Dec
 2016 13:06:29 +0100
References: <87zijhuzcv.fsf@HIDDEN>
 <CAL1_immr3jcxCDJxjYUpO5o8sxVsorW-t7178Vzd55kCGrG3-w@HIDDEN>
User-agent: mu4e 0.9.16; emacs 25.1.1
From: Ricardo Wurmus <ricardo.wurmus@HIDDEN>
To: David Craven <david@HIDDEN>
Subject: Re: bug#25281: rust importer duplicates input
In-Reply-To: <CAL1_immr3jcxCDJxjYUpO5o8sxVsorW-t7178Vzd55kCGrG3-w@HIDDEN>
Date: Wed, 28 Dec 2016 13:06:28 +0100
Message-ID: <idjeg0sgsvv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [141.80.180.135]
X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.000.1202-22764.006
X-TM-AS-Result: No--1.285600-0.000000-31
X-TM-AS-MatchedID: 150567-390468-703731-139010-702187-706762-708058-700648-7
 03786-706065-702358-703788-709584-709185-704496-701604-704341-705861-707410
 -703782-148004-148133-20043-42000-42003
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
X-Spam-Score: -8.1 (--------)
X-Debbugs-Envelope-To: 25281
Cc: ng0 <ng0@HIDDEN>, 25281 <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: -8.1 (--------)


David Craven <david@HIDDEN> writes:

> Looking at the Cargo.toml file we see this:
>
> [target."cfg(unix)".dependencies]
> libc = "0.2.14"
> # Compat with older Cargo versions temporarily
> [target.x86_64-unknown-linux-gnu.dependencies]
> libc = "0.2.14"
> [target.i686-unknown-linux-gnu.dependencies]
> libc = "0.2.14"
> [target.x86_64-apple-darwin.dependencies]
> libc = "0.2.14"
> [target.i686-apple-darwin.dependencies]
> libc = "0.2.14"
>
> I started reimplementing cargos dependency resolution algorithm, but
> think now that it's better to use a Cargo.lock file when one is
> provided.
>
> When there isn't a cargo lock file it's a library in the sense that it
> is a collection of source code that can be reused in a cargo project
> that has a Cargo.lock file.
>
> I don't think that this is a issue that needs fixing.

Could the importer be changed to either ignore targets that don’t match
the current architecture or to uniquify the list of inputs?

~~ Ricardo




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

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


Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 00:01:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 27 19:01:48 2016
Received: from localhost ([127.0.0.1]:57395 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cM1gh-0001L3-QR
	for submit <at> debbugs.gnu.org; Tue, 27 Dec 2016 19:01:47 -0500
Received: from mail-qt0-f171.google.com ([209.85.216.171]:33747)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <david@HIDDEN>) id 1cM1gf-0001Kj-8C
 for 25281 <at> debbugs.gnu.org; Tue, 27 Dec 2016 19:01:45 -0500
Received: by mail-qt0-f171.google.com with SMTP id p16so335965058qta.0
 for <25281 <at> debbugs.gnu.org>; Tue, 27 Dec 2016 16:01:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craven.ch; s=google;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=JG6TNdrzpW7n9wNggRua3RxvxMTmSzAJN2gRvEewFgs=;
 b=X4YsQ8j10E8G10zUc2SJKofYcztR7ys0gPfbaWumIYZQrE8qL270raT21cxBRksaI2
 epP4c2DWABkLCt46u7NPZ2uif0AYyAE5ByFRj1fZTP80hjzyN0M3MUn80dGxXSxY2vmG
 78hax0oX26QIRyavo9T6frHq5Pu3gk7plflHA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=JG6TNdrzpW7n9wNggRua3RxvxMTmSzAJN2gRvEewFgs=;
 b=Gxqrxm0YUe/9Kn106pCJf0NpEO3F0E/+fx1SQ+9qJBTLXO9MnMbGoQjVXN1OIBPk7M
 0zjf2kInltzDrGsbxVIVsHJzngZb9a5mfqs0Iygzmcal+C972KCNHudH2ZApb1RrxuXH
 okwkiM+oOrmwMT2qmfV6I/T8kI5LG5GTmAkwEWmD4vFFqRMrGAQwUXER1dKBlLIEJx7J
 0I5N/HL26x8vf2p5lVegUQdeXve4C46swD6qnaBdX8QcG8Hi0ecxSj4peSqJgchxMkwM
 F5MGZYY+slwAWYQMoPKx+S+WBQRIkLyAtQLN4MUogFb9VckzgjbEULyR9bG2xNjsgAK4
 Z9Nw==
X-Gm-Message-State: AIkVDXLUiGcHMW1y/K9Ug5xJbZYO5smCgfWWtc6ctzkYru7aOeuoszWwtUjZt7YqxFiFF6iKmkbwvO4L9G1oLw==
X-Received: by 10.200.46.7 with SMTP id r7mr35588405qta.16.1482883299460; Tue,
 27 Dec 2016 16:01:39 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.133.38 with HTTP; Tue, 27 Dec 2016 16:01:39 -0800 (PST)
X-Originating-IP: [151.248.146.13]
In-Reply-To: <87zijhuzcv.fsf@HIDDEN>
References: <87zijhuzcv.fsf@HIDDEN>
From: David Craven <david@HIDDEN>
Date: Wed, 28 Dec 2016 01:01:39 +0100
Message-ID: <CAL1_immr3jcxCDJxjYUpO5o8sxVsorW-t7178Vzd55kCGrG3-w@HIDDEN>
Subject: Re: bug#25281: rust importer duplicates input
To: ng0 <ng0@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: 0.5 (/)
X-Debbugs-Envelope-To: 25281
Cc: 25281 <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: 0.5 (/)

Looking at the Cargo.toml file we see this:

[target."cfg(unix)".dependencies]
libc = "0.2.14"
# Compat with older Cargo versions temporarily
[target.x86_64-unknown-linux-gnu.dependencies]
libc = "0.2.14"
[target.i686-unknown-linux-gnu.dependencies]
libc = "0.2.14"
[target.x86_64-apple-darwin.dependencies]
libc = "0.2.14"
[target.i686-apple-darwin.dependencies]
libc = "0.2.14"

I started reimplementing cargos dependency resolution algorithm, but
think now that it's better to use a Cargo.lock file when one is
provided.

When there isn't a cargo lock file it's a library in the sense that it
is a collection of source code that can be reused in a cargo project
that has a Cargo.lock file.

I don't think that this is a issue that needs fixing.




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

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


Received: (at submit) by debbugs.gnu.org; 27 Dec 2016 16:10:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 27 11:10:49 2016
Received: from localhost ([127.0.0.1]:57193 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cLuKq-0003cp-GC
	for submit <at> debbugs.gnu.org; Tue, 27 Dec 2016 11:10:49 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53362)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ng0@HIDDEN>) id 1cLuKo-0003cc-TD
 for submit <at> debbugs.gnu.org; Tue, 27 Dec 2016 11:10:43 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1cLuKi-0002LR-LP
 for submit <at> debbugs.gnu.org; Tue, 27 Dec 2016 11:10:37 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36818)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1cLuKi-0002LN-De
 for submit <at> debbugs.gnu.org; Tue, 27 Dec 2016 11:10:36 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44319)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1cLuKe-0006wS-77
 for bug-guix@HIDDEN; Tue, 27 Dec 2016 11:10:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1cLuKb-0002Io-1v
 for bug-guix@HIDDEN; Tue, 27 Dec 2016 11:10:32 -0500
Received: from aibo.runbox.com ([91.220.196.211]:49898)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1cLuKa-0002I5-Qg
 for bug-guix@HIDDEN; Tue, 27 Dec 2016 11:10:28 -0500
Received: from [10.9.9.212] (helo=mailfront12.runbox.com)
 by bars.runbox.com with esmtp (Exim 4.71)
 (envelope-from <ng0@HIDDEN>) id 1cLuKY-0003D7-Mn
 for bug-guix@HIDDEN; Tue, 27 Dec 2016 17:10:26 +0100
Received: from 178-17-173-22.static.host ([178.17.173.22] helo=localhost)
 by mailfront12.runbox.com with esmtpsa (uid:892961 )
 (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cLuKR-0007kU-EY
 for bug-guix@HIDDEN; Tue, 27 Dec 2016 17:10:19 +0100
From: ng0 <ng0@HIDDEN>
To: bug-guix@HIDDEN
Subject: rust importer duplicates input
Date: Tue, 27 Dec 2016 16:10:40 +0000
Message-ID: <87zijhuzcv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)

I'm on the grand journey into rusty land, and while I'm
assembling a list of what needs to be packaged to package our
prototype, I got this:

ng0@wasp ~$ guix import crate net2
following redirection to `https://crates-io.s3-us-west-1.amazonaws.com/crates/net2/net2-0.2.26.crate'...
(package
  (name "rust-net2")
  (version "0.2.26")
  (source
    (origin
      (method url-fetch)
      (uri (crate-uri "net2" version))
      (file-name
        (string-append name "-" version ".tar.gz"))
      (sha256
        (base32
          "1qp3q6xynb481rsp3ig1nmqb6qlxfba3shfrmqij88cppsv9rpsy"))))
  (build-system cargo-build-system)
  (inputs
    `(("rust-cfg-if" ,rust-cfg-if)
      ("rust-kernel32-sys" ,rust-kernel32-sys)
      ("rust-libc" ,rust-libc)
      ("rust-libc" ,rust-libc)
      ("rust-libc" ,rust-libc)
      ("rust-libc" ,rust-libc)
      ("rust-libc" ,rust-libc)
      ("rust-winapi" ,rust-winapi)
      ("rust-ws2-32-sys" ,rust-ws2-32-sys)))
  (home-page
    "https://github.com/rust-lang-nursery/net2-rs")
  (synopsis
    "Extensions to the standard library's networking types as proposed in RFC 1158.
")
  (description
    "Extensions to the standard library's networking types as proposed in RFC 1158.
")
  (license (list license:expat license:asl2.0)))

-- 
♥Ⓐ  ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org




Acknowledgement sent to ng0 <ng0@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#25281; 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: Fri, 2 Jul 2021 10:30:02 UTC

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