From unknown Tue Aug 19 06:31:22 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#25281 <25281@debbugs.gnu.org> To: bug#25281 <25281@debbugs.gnu.org> Subject: Status: rust importer duplicates input Reply-To: bug#25281 <25281@debbugs.gnu.org> Date: Tue, 19 Aug 2025 13:31:22 +0000 retitle 25281 rust importer duplicates input reassign 25281 guix submitter 25281 ng0 severity 25281 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 11:10:49 2016 Received: (at submit) by debbugs.gnu.org; 27 Dec 2016 16:10:49 +0000 Received: from localhost ([127.0.0.1]:57193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLuKq-0003cp-GC for submit@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 ) id 1cLuKo-0003cc-TD for submit@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 ) id 1cLuKi-0002LR-LP for submit@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 ) id 1cLuKi-0002LN-De for submit@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 ) id 1cLuKe-0006wS-77 for bug-guix@gnu.org; Tue, 27 Dec 2016 11:10:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLuKb-0002Io-1v for bug-guix@gnu.org; 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 ) id 1cLuKa-0002I5-Qg for bug-guix@gnu.org; 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 ) id 1cLuKY-0003D7-Mn for bug-guix@gnu.org; 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@gnu.org; Tue, 27 Dec 2016 17:10:19 +0100 From: ng0 To: bug-guix@gnu.org Subject: rust importer duplicates input Date: Tue, 27 Dec 2016 16:10:40 +0000 Message-ID: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> 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@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 27 19:01:48 2016 Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 00:01:48 +0000 Received: from localhost ([127.0.0.1]:57395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cM1gh-0001L3-QR for submit@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 ) id 1cM1gf-0001Kj-8C for 25281@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@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@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> From: David Craven Date: Wed, 28 Dec 2016 01:01:39 +0100 Message-ID: Subject: Re: bug#25281: rust importer duplicates input To: ng0 Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25281 Cc: 25281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 28 07:06:39 2016 Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 12:06:40 +0000 Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMD0B-0002DT-N4 for submit@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 ) id 1cMD09-0002DI-3N for 25281@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@wasp.i-did-not-set--mail-host-address--so-tickle-me> User-agent: mu4e 0.9.16; emacs 25.1.1 From: Ricardo Wurmus To: David Craven Subject: Re: bug#25281: rust importer duplicates input In-Reply-To: Date: Wed, 28 Dec 2016 13:06:28 +0100 Message-ID: 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 , 25281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) David Craven 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 28 15:51:27 2016 Received: (at 25281) by debbugs.gnu.org; 28 Dec 2016 20:51:27 +0000 Received: from localhost ([127.0.0.1]:58310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cMLC3-0003Qr-57 for submit@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 ) id 1cMLC1-0003QW-JL for 25281@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@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: References: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> From: David Craven Date: Wed, 28 Dec 2016 21:51:19 +0100 Message-ID: Subject: Re: bug#25281: rust importer duplicates input To: Ricardo Wurmus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 25281 Cc: ng0 , 25281@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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... From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 02 06:20:31 2021 Received: (at 25281) by debbugs.gnu.org; 2 Jul 2021 10:20:31 +0000 Received: from localhost ([127.0.0.1]:34887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzGHe-0000Xa-Lf for submit@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 ) id 1lzGHd-0000XG-7B for 25281@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@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 To: ng0 Subject: Re: bug#25281: rust importer duplicates input References: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Date: Fri, 02 Jul 2021 10:52:56 +0200 In-Reply-To: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (ng0@libertad.pw's message of "Tue, 27 Dec 2016 16:10:40 +0000") Message-ID: <85im1t85cn.fsf@gmail.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On mar., 27 d=C3=A9c. 2016 at 16:10, ng0 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 03 03:54:37 2021 Received: (at 25281-done) by debbugs.gnu.org; 3 Jul 2021 07:54:37 +0000 Received: from localhost ([127.0.0.1]:37897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzaU0-0002mH-Vf for submit@debbugs.gnu.org; Sat, 03 Jul 2021 03:54:37 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:39916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzaTx-0002lo-W6 for 25281-done@debbugs.gnu.org; Sat, 03 Jul 2021 03:54:35 -0400 Received: by mail-wm1-f50.google.com with SMTP id l18-20020a1ced120000b029014c1adff1edso10509266wmh.4 for <25281-done@debbugs.gnu.org>; Sat, 03 Jul 2021 00:54:33 -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=hOEsShbrfJ9L5+4LyW2yTZXgyOXiCWc+dzz6DAfZL8Y=; b=VKWkztEolebni0D+FqJxq4zmwPc03Tfow6hA2qwbrertxh+LcJcMcHRHG2xuI6paW7 UELzaE77yGbN/z6b9W1cbCkptYzEo4919H2ec7vhQf0Vn7uL87x9QLVt3Ptc4Dthkslj SwNzAsAF3+OQhjZtVQZxtUCCTof3/7IsOv8+HURzzNrNjkpkjk0i5kZcav+uUaaX4ffx 6CKHbbH2LlyFtxGcfto3grSIHGM/lKy2l5dHKGqlxuKgdw3cuJM8ttq+udZYWhxZjrgl DohvxO2+zQzkqqAJBOMZMNf43karaYqE20N99tWgMuGUunyxzT8X/JgykGxlebj4Iql2 DwAQ== 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=hOEsShbrfJ9L5+4LyW2yTZXgyOXiCWc+dzz6DAfZL8Y=; b=HEdhVJvx4j7bs+cZpSjcGF8hoaCgveHrpNS7HHA+td8EFmwstijlWjVHRALqsezoR3 5chl/3hrLsTXlka8aYR/33Oduw4IuX4X+1WjaxDCD7VOFfY5hgBwWlTGqPa+xTW3Dky7 F7ZC1L6CSdmtOfZq9gj3aJAdch+Ye35mB2ZztCsHIcpdK3Xt2aq42FhGD7+pZq7qVITk qSpWDHVkVVr2nMZfzoJIMMU3ACpfYFgma5TYKcHEqEyrA6FwDxfUmbupr1f0zhXG5rCR mL4P1YHwsYaDbgR2HLjuiVoigjXo5WnvRaBr6TkOg2drmZFotyqHaTEtyUWX9kHRsgEl 99nQ== X-Gm-Message-State: AOAM531Tpknot+qjVB1d0kQ1+pJ4ELfVqXrmhTifN2cx1McKLYZCSfbx nfEvjwyRHg2Ve2qZVPeiyV3m4SAYi3s= X-Google-Smtp-Source: ABdhPJxheYXBeTzXNikSvvGcl8Dpf4wAy/gqM5wn/pTpBlHR1rCtNMgcsH/VB1+yIA6513vMyexrFg== X-Received: by 2002:a1c:638a:: with SMTP id x132mr3885329wmb.90.1625298868342; Sat, 03 Jul 2021 00:54:28 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id y8sm5405350wrr.76.2021.07.03.00.54.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Jul 2021 00:54:27 -0700 (PDT) From: zimoun To: ng0 Subject: Re: bug#25281: rust importer duplicates input References: <87zijhuzcv.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <85im1t85cn.fsf@gmail.com> Date: Sat, 03 Jul 2021 09:54:07 +0200 In-Reply-To: <85im1t85cn.fsf@gmail.com> (zimoun's message of "Fri, 02 Jul 2021 10:52:56 +0200") Message-ID: <86zgv396jk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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-done Cc: 25281-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, 02 Jul 2021 at 10:52, zimoun wrote: > On mar., 27 d=C3=A9c. 2016 at 16:10, ng0 wrote: > >> ng0@wasp ~$ guix import crate net2 >> following redirection to `https://crates-io.s3-us-west-1.amazonaws.com/c= rates/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 i= n RFC 1158. >> ") >> (description >> "Extensions to the standard library's networking types as proposed i= n RFC 1158. >> ") >> (license (list license:expat license:asl2.0))) > > Using Guix 3694c0d, I get this: > > $ 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)))) > > Therefore, I think this bug report can be close. WDYT? I get a =C2=ABDelivery Status Notification (Failure)=C2=BB from the email a= ddress of the submitter, and I consider this issue is now fixed, so closing. If I misread something or misunderstand a point, please reopen. All the best, simon From unknown Tue Aug 19 06:31:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 31 Jul 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator