X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
Resent-From: ng0 <ng0@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 02 Jan 2017 00:46:02 +0000
Resent-Message-ID: <handler.25327.B.148331795729265 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 25327 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.148331795729265
(code B ref -1); Mon, 02 Jan 2017 00:46:02 +0000
Received: (at submit) by debbugs.gnu.org; 2 Jan 2017 00:45:57 +0000
Received: from localhost ([127.0.0.1]:38915 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1cNqlB-0007bw-3U
for submit <at> debbugs.gnu.org; Sun, 01 Jan 2017 19:45:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:60657)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ng0@HIDDEN>) id 1cNql8-0007bg-Sr
for submit <at> debbugs.gnu.org; Sun, 01 Jan 2017 19:45:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <ng0@HIDDEN>) id 1cNql2-0004tF-LA
for submit <at> debbugs.gnu.org; Sun, 01 Jan 2017 19:45:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:36239)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1cNql2-0004t7-I0
for submit <at> debbugs.gnu.org; Sun, 01 Jan 2017 19:45:48 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:51624)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from <ng0@HIDDEN>) id 1cNql1-00026g-Au
for bug-guix@HIDDEN; Sun, 01 Jan 2017 19:45:48 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from <ng0@HIDDEN>) id 1cNqkw-0004rR-E3
for bug-guix@HIDDEN; Sun, 01 Jan 2017 19:45:47 -0500
Received: from aibo.runbox.com ([91.220.196.211]:35478)
by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.71) (envelope-from <ng0@HIDDEN>) id 1cNqkv-0004qX-N3
for bug-guix@HIDDEN; Sun, 01 Jan 2017 19:45:42 -0500
Received: from [10.9.9.210] (helo=mailfront10.runbox.com)
by bars.runbox.com with esmtp (Exim 4.71)
(envelope-from <ng0@HIDDEN>) id 1cNqkt-0004A1-6M
for bug-guix@HIDDEN; Mon, 02 Jan 2017 01:45:39 +0100
Received: from [85.159.237.210] (helo=localhost)
by mailfront10.runbox.com with esmtpsa (uid:892961 )
(TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cNqkq-0006hc-8x
for bug-guix@HIDDEN; Mon, 02 Jan 2017 01:45:36 +0100
From: ng0 <ng0@HIDDEN>
Date: Mon, 02 Jan 2017 00:46:09 +0000
Message-ID: <87zijathke.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-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 (-----)
The cargo build-system should be able to filter out Windows
dependencies.
Ignore blocks with this in Cargo.toml files:
[target.'cfg(windows)'.dependencies]
until the next [ ] starts.
I also found that most *32-sys packages (currently ALL *32-sys
I've seen) are windows specific.
As the build system is simple enough to not complain, you just
have to learn about this while doing the work.
--
♥Ⓐ ng0
PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org
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: ng0 <ng0@HIDDEN> Subject: bug#25327: Acknowledgement (cargo build-system should be able to filter out target.cfg(windows) dependencies) Message-ID: <handler.25327.B.148331795729265.ack <at> debbugs.gnu.org> References: <87zijathke.fsf@HIDDEN> X-Gnu-PR-Message: ack 25327 X-Gnu-PR-Package: guix Reply-To: 25327 <at> debbugs.gnu.org Date: Mon, 02 Jan 2017 00:46:02 +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 25327 <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 25327: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D25327 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Fri, 18 Dec 2020 20:03:01 +0000
Resent-Message-ID: <handler.25327.B25327.160832177211212 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: ng0 <ng0@HIDDEN>, Hartmut Goebel <h.goebel@HIDDEN>, John Soo <jsoo1@HIDDEN>
Cc: 25327 <at> debbugs.gnu.org
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.160832177211212
(code B ref 25327); Fri, 18 Dec 2020 20:03:01 +0000
Received: (at 25327) by debbugs.gnu.org; 18 Dec 2020 20:02:52 +0000
Received: from localhost ([127.0.0.1]:40037 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kqLxk-0002uk-Eg
for submit <at> debbugs.gnu.org; Fri, 18 Dec 2020 15:02:52 -0500
Received: from mail-wm1-f53.google.com ([209.85.128.53]:39881)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <zimon.toutoune@HIDDEN>) id 1kqLxj-0002uS-0M
for 25327 <at> debbugs.gnu.org; Fri, 18 Dec 2020 15:02:51 -0500
Received: by mail-wm1-f53.google.com with SMTP id 3so3878906wmg.4
for <25327 <at> debbugs.gnu.org>; Fri, 18 Dec 2020 12:02:50 -0800 (PST)
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;
bh=TkSg3bCZj+qiZNILcXNabnExVSeYfc3g9zoSoD1u3XU=;
b=BW7KP0hK6TuiydjQKuz7k0DAk5/YtrIVopYkyT6K54B2LBriqofYb1F03felIVXFbK
R0Ja6K+w5z4bsQI3LsmybtX2Oe63AUi4J+jvjNVx9gPTjYbtySlIMnTXSZuw5fJZ6YnL
hZYoz5al2vq1eQp0zdgQBqOVjbEZsFRlo0++UNN0cTMA6qijMfYaZXhbu1zQJ1xe9CfC
aeXjo/nuRQrYjNDvXYD3m1G85+ir8cpJ/0M0ODP+a7U0xeGqQbTNeLxpNmEkHG/cfQRW
ZHsgFaecwWdzlxy7v/QXxsOXVYpwKtT7f7awNOYp1CJ4Azhg/dCmPbvr+NAZpxAOkZVO
2jNA==
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;
bh=TkSg3bCZj+qiZNILcXNabnExVSeYfc3g9zoSoD1u3XU=;
b=ntgDcR2Z34F6k9po3xdkjCHpOS7tk2b5fpc7icIGw66g2rpSfWc9AxU7/8X1wbAazH
00uqlLc63kZaH43zl+SVbtb91G/TOB4ycZvqhJyqSAftDi/+iV6PUejk7CLGd3K4sNFW
+DCPUXWJ6RNZfhVNrmA0hpn5+baOz/P80Dd15Lhphcjmlod+ReW8Tqh6MhtoF5JHbiXM
+Ta2+ZLCswBsHcRfjatmRWPKr79IVM7QMrcRzjuQ3ukAyKlCQNQEyNOTQZ1rZl9nsycs
yCdDIHUIPNPJf1ndEBrlamTPmam2P4vQuFQF/FcqTXCKc32k6P1D23EyW3BVLUbP4c/Z
TbXA==
X-Gm-Message-State: AOAM533/XFd4tcgayiA8IdfkOGNyTUGmqqY1UoAat41lQya9IntA+89s
Ww2/ydMGdTwPVU6/vdfhE2x58RtZBdI=
X-Google-Smtp-Source: ABdhPJxPLQV4y4MK941UfXMIAw0S7z80sJJVS8Fm+Nkde9zd0oeOpycYaJyjSfMa/q9owbMwT5Tl3w==
X-Received: by 2002:a1c:c254:: with SMTP id s81mr5666526wmf.132.1608321765283;
Fri, 18 Dec 2020 12:02:45 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
by smtp.gmail.com with ESMTPSA id c10sm15633904wrb.92.2020.12.18.12.02.44
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Fri, 18 Dec 2020 12:02:44 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
References: <87zijathke.fsf@HIDDEN>
Date: Fri, 18 Dec 2020 20:56:37 +0100
In-Reply-To: <87zijathke.fsf@HIDDEN>
(ng0@HIDDEN's message of "Mon, 02 Jan 2017 00:46:09 +0000")
Message-ID: <86pn36vqfe.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
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 Mon, 02 Jan 2017 at 00:46, ng0 <ng0@HIDDEN> wrote:
> The cargo build-system should be able to filter out Windows
> dependencies.
> Ignore blocks with this in Cargo.toml files:
> [target.'cfg(windows)'.dependencies]
>
> until the next [ ] starts.
>
> I also found that most *32-sys packages (currently ALL *32-sys
> I've seen) are windows specific.
> As the build system is simple enough to not complain, you just
> have to learn about this while doing the work.
This bug is really old and the story about cargo has a bit evolved. Is
it still relevant with the recent additions?
If no, feel free to close it. And without more comment, I will close it
after the usual 2 weeks delay.
All the best,
simon
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
Resent-From: Hartmut Goebel <h.goebel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 19 Dec 2020 13:11:01 +0000
Resent-Message-ID: <handler.25327.B25327.160838341030159 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: zimoun <zimon.toutoune@HIDDEN>, ng0 <ng0@HIDDEN>, John Soo <jsoo1@HIDDEN>
Cc: 25327 <at> debbugs.gnu.org
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.160838341030159
(code B ref 25327); Sat, 19 Dec 2020 13:11:01 +0000
Received: (at 25327) by debbugs.gnu.org; 19 Dec 2020 13:10:10 +0000
Received: from localhost ([127.0.0.1]:41036 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kqbzt-0007qN-Jm
for submit <at> debbugs.gnu.org; Sat, 19 Dec 2020 08:10:09 -0500
Received: from mail-out.m-online.net ([212.18.0.10]:38065)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <h.goebel@HIDDEN>) id 1kqbzp-0007q8-Tl
for 25327 <at> debbugs.gnu.org; Sat, 19 Dec 2020 08:10:08 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
by mail-out.m-online.net (Postfix) with ESMTP id 4CymL41r5sz1rx8j;
Sat, 19 Dec 2020 14:10:04 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
by mail.m-online.net (Postfix) with ESMTP id 4CymL416R7z1tYWl;
Sat, 19 Dec 2020 14:10:04 +0100 (CET)
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 y7Jq9vAXcDz9; Sat, 19 Dec 2020 14:10:03 +0100 (CET)
Received: from hermia.goebel-consult.de
(ppp-188-174-52-104.dynamic.mnet-online.de [188.174.52.104])
(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;
Sat, 19 Dec 2020 14:10:03 +0100 (CET)
Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de
[192.168.110.2])
by hermia.goebel-consult.de (Postfix) with ESMTP id 08AC460213;
Sat, 19 Dec 2020 14:17:11 +0100 (CET)
References: <87zijathke.fsf@HIDDEN>
<86pn36vqfe.fsf@HIDDEN>
From: Hartmut Goebel <h.goebel@HIDDEN>
Organization: crazy-compilers.com
Message-ID: <bc4b27b4-5d3a-fac2-f7c2-689147b9c16d@HIDDEN>
Date: Sat, 19 Dec 2020 14:10:00 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <86pn36vqfe.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Spam-Score: -0.7 (/)
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 (-)
Am 18.12.20 um 20:56 schrieb zimoun:
> Is it still relevant with the recent additions?
I just checked this with sequoia 0.20.0: The package "winapi" is still
downloaded and compiled - even if obviously not used sicne on Linux.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@HIDDEN |
| www.crazy-compilers.com | compilers which you thought are impossible |
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 11 Jan 2021 12:46:02 +0000
Resent-Message-ID: <handler.25327.B25327.161036916017713 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Hartmut Goebel <h.goebel@HIDDEN>
Cc: 25327 <at> debbugs.gnu.org, ng0 <ng0@HIDDEN>, John Soo <jsoo1@HIDDEN>
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.161036916017713
(code B ref 25327); Mon, 11 Jan 2021 12:46:02 +0000
Received: (at 25327) by debbugs.gnu.org; 11 Jan 2021 12:46:00 +0000
Received: from localhost ([127.0.0.1]:56001 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kywa7-0004bc-Dv
for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 07:46:00 -0500
Received: from mail-wm1-f42.google.com ([209.85.128.42]:52023)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <zimon.toutoune@HIDDEN>) id 1kywa4-0004bA-8F
for 25327 <at> debbugs.gnu.org; Mon, 11 Jan 2021 07:45:56 -0500
Received: by mail-wm1-f42.google.com with SMTP id v14so13720520wml.1
for <25327 <at> debbugs.gnu.org>; Mon, 11 Jan 2021 04:45:56 -0800 (PST)
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=wXHD3V8WU870d0sioszyhG8ZNL0R/ftZcMU9dmf6MRo=;
b=amPt2ejw9Y7zNc62JrGhyb31DTFW/xHVoK8ThRRuKwLzWaCl5Q05PDT9RbmjCHlQTk
B1C65mYaH1jJJvG/xKgwQI12nHp8FTCqkKKdXxvF7ShJLLMVpN8WUfMuBE7Ia/vMbizq
fKBj7FmUsOKJkE0Ob3jXmWpAVQdgvXNSE8GVSSec/k0xvUSP1B7eSwpcHtDEv1oy1TY8
+86CaH+IfxcuhDsxuLo/wEXhqGqyrLrC2hWcWzCFNnyFZ0hjjCQbnnUQtWmYjQKXBuIR
5vZiHGrNqNql3jUfVLN7EBKttLlanP25idrUecevXKq+fpHi+cP6qfpsKBtPkplnb8lG
L17g==
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=wXHD3V8WU870d0sioszyhG8ZNL0R/ftZcMU9dmf6MRo=;
b=my9E8QLrF+U1IQDAuIfzXftUxqly1mGLu96t+mxU2mN7XjbeiDIleBmtsD5r8qpej0
Q9v02dPuLZiXgUNJLQmzxo9/2d80oLSedBZwD4WC7lTgdqsSUDAFv2yy+tGaZ29t6Dj/
3/0d5ZyCsAMR+Rqg61RNmYuSWs44/CqTOpVArOUNoBLAR65bJ/imWr0UvY+ZCX2u58LZ
fZ8CQ3lMr9T+DxYZ7Y5TrLUOsucuDhRfCwyXcgMRUZT68MuXCYloGq1loMbc/+7haeAX
OAI9EJ1GGHjUFtSXqnNeqKXNEqGlByH2Y7lD1S1ZvW9dYS7zZm74CHBNaVez+a2Dutrs
NwhQ==
X-Gm-Message-State: AOAM5312mrVdLgT8rqEp2qxz/2F29F8NWtWj19xF0W+/vuUB0KN93IVk
IHIRLvWVigU1fgsWH0g1PtKJ7Dlrpjw=
X-Google-Smtp-Source: ABdhPJyhQWlhuNDXf5Pkx144oOU69GAQqUwIlAe28CadrQeCW833BBobz6vMGlyLYNIuCrc9caIK2Q==
X-Received: by 2002:a1c:87:: with SMTP id 129mr14362090wma.183.1610369150568;
Mon, 11 Jan 2021 04:45:50 -0800 (PST)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
by smtp.gmail.com with ESMTPSA id h15sm23305124wru.4.2021.01.11.04.45.49
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 11 Jan 2021 04:45:50 -0800 (PST)
From: zimoun <zimon.toutoune@HIDDEN>
References: <87zijathke.fsf@HIDDEN>
<86pn36vqfe.fsf@HIDDEN>
<bc4b27b4-5d3a-fac2-f7c2-689147b9c16d@HIDDEN>
Date: Mon, 11 Jan 2021 13:41:53 +0100
In-Reply-To: <bc4b27b4-5d3a-fac2-f7c2-689147b9c16d@HIDDEN>
(Hartmut Goebel's message of "Sat, 19 Dec 2020 14:10:00 +0100")
Message-ID: <86lfcztzla.fsf@HIDDEN>
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-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 Hartmut,
On Sat, 19 Dec 2020 at 14:10, Hartmut Goebel <h.goebel@HIDDEN>=
wrote:
> Am 18.12.20 um 20:56 schrieb zimoun:
>> Is it still relevant with the recent additions?
>
> I just checked this with sequoia 0.20.0: The package "winapi" is still
> downloaded and compiled - even if obviously not used sicne on Linux.
Should the remove of this =E2=80=9Cwinapi=E2=80=9D happen at the build-syst=
em level or
at the package per package level?
Other said, are the Windows dependencies normalized by Cargo?
All the best,
simon
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
References: <87zijathke.fsf@HIDDEN>
Resent-From: John Soo <jsoo1@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 11 Jan 2021 13:35:01 +0000
Resent-Message-ID: <handler.25327.B25327.161037204331336 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: zimoun <zimon.toutoune@HIDDEN>
Cc: Hartmut Goebel <h.goebel@HIDDEN>, ng0 <ng0@HIDDEN>, 25327 <25327 <at> debbugs.gnu.org>
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.161037204331336
(code B ref 25327); Mon, 11 Jan 2021 13:35:01 +0000
Received: (at 25327) by debbugs.gnu.org; 11 Jan 2021 13:34:03 +0000
Received: from localhost ([127.0.0.1]:56112 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1kyxKd-00089M-1O
for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 08:34:03 -0500
Received: from mail-pj1-f52.google.com ([209.85.216.52]:50330)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <jsoo1@HIDDEN>) id 1kyxKa-00088o-AT
for 25327 <at> debbugs.gnu.org; Mon, 11 Jan 2021 08:34:02 -0500
Received: by mail-pj1-f52.google.com with SMTP id lj6so7813990pjb.0
for <25327 <at> debbugs.gnu.org>; Mon, 11 Jan 2021 05:34:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=asu-edu.20150623.gappssmtp.com; s=20150623;
h=date:from:to:cc:message-id:in-reply-to:subject:mime-version;
bh=AhQ0RUN9Avk7ZUN5QydjuPCPHe7YI4tHo/f0TwqO/r0=;
b=fRr7S8bNgZFhnD3sqK5UifNb2CAk6LExz4u0OfMQv0+2HeAERbtc70K2MA9g5gfil/
UG8OXmQXvnFPM1yzJ63h6dzz4Cs31T2snj7mVYTAjioaEiidIpItxqWZX09PMFLfSCFM
QsKQu5Hyqbl9Cd5xthX3vzuYfNlIPRA6mBmkHE29bbb5BqCRlop7ollcxY5Oa4j+qVLH
GgKdhxOzwdJHDaUEX0xPaVGeF3ercsMnsA+u5/xgN1HzUs2lbAvRapZPLNmkYzwXwNMH
VHhvvPF2zHSFQlMBYjZOfuyZ3vV8zFRDRWblBZNiXSzSSwd0ldaSnrVDpbcbKWajYQOC
ullA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to:subject
:mime-version;
bh=AhQ0RUN9Avk7ZUN5QydjuPCPHe7YI4tHo/f0TwqO/r0=;
b=N/lXtcdC9D3tcgxBjQvHubsnSzuSJ6qhBilS+dWXmIcDAO0rz7CDroRyvlrNr4UC79
pg4SsOmv4h27YXfiYQB/eYGIVjxAxAxSdR7HM7mr4V9+mXCo8CGIk4nkEFo3GzzvZW0X
DnJlwy+YR819stgQxbjpWp+hLFzsbnabDaAdxhM5bjM766qP3fwhtHJrW0D1J9KLs2Vm
pMBmfm6fgxhd8+zQqLDSmJC8ho82KA9l+Xu8QDA4W+N8U9/SovJdwmEn0zgAzEG1NGPz
kq3rZ2sBbRu0kMv1FchGFkn45TzFza8kgGpol5KpDJ30Y2bc8VTb83nsAUe9tZCVVmdb
I7rg==
X-Gm-Message-State: AOAM531Bf0d0FhWVUDjBTDCenmwWbEyjJM7EzqioOqWZXWs3hLI9ecMD
KgQp+wtnRjrOdVPysJLtQvst5A==
X-Google-Smtp-Source: ABdhPJxL8JWx0rNidZ6xYSN0PcJ1EHHczBILPokJsdxyWoxAysOWQ8tmbRFhrURnirTgVGiivoNJAA==
X-Received: by 2002:a17:90a:eb0f:: with SMTP id
j15mr18120976pjz.10.1610372034380;
Mon, 11 Jan 2021 05:33:54 -0800 (PST)
Received: from [2600:1700:83b0:8bd0:f0de:d081:200:0]
([2600:1700:83b0:8bd0:f145:d4af:f4c8:5206])
by smtp.gmail.com with ESMTPSA id cu4sm16205863pjb.18.2021.01.11.05.33.53
(version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
Mon, 11 Jan 2021 05:33:53 -0800 (PST)
Date: Mon, 11 Jan 2021 05:33:52 -0800
From: John Soo <jsoo1@HIDDEN>
Message-ID: <bf65844a-c17c-4e6c-a5ae-5a88b404ba55@Johns-iPhone>
In-Reply-To: <86lfcztzla.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5ffc53c0_6b8b4567_7664"
X-Spam-Score: 0.0 (/)
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 (-)
--5ffc53c0_6b8b4567_7664
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi zimoun, =20
=20
I think that the configuration phase will fail even if conditional compil=
ation dependencies are missing. It=E2=80=99s worth a shot though=21
=20
=20
- John
--5ffc53c0_6b8b4567_7664
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
<html><body>Hi zimoun,<div><br></div><div>I think that the configuration =
phase will fail even if conditional compilation dependencies are missing.=
It=E2=80=99s worth a shot though=21</div><div><br></div><div>- Joh=
n</div></body></html>
--5ffc53c0_6b8b4567_7664--
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: windows-related dependencies in crates
References: <87zijathke.fsf@HIDDEN>
In-Reply-To: <87zijathke.fsf@HIDDEN>
Resent-From: Nicolas Graves <ngraves@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 24 Mar 2022 18:50:01 +0000
Resent-Message-ID: <handler.25327.B25327.164814777915978 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: 25327 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos@HIDDEN>
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.164814777915978
(code B ref 25327); Thu, 24 Mar 2022 18:50:01 +0000
Received: (at 25327) by debbugs.gnu.org; 24 Mar 2022 18:49:39 +0000
Received: from localhost ([127.0.0.1]:49406 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nXSWg-00049e-OA
for submit <at> debbugs.gnu.org; Thu, 24 Mar 2022 14:49:39 -0400
Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:60779)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <ngraves@HIDDEN>) id 1nXSWe-00049V-JC
for 25327 <at> debbugs.gnu.org; Thu, 24 Mar 2022 14:49:37 -0400
Received: from player687.ha.ovh.net (unknown [10.111.208.149])
by mo581.mail-out.ovh.net (Postfix) with ESMTP id D503C24403
for <25327 <at> debbugs.gnu.org>; Thu, 24 Mar 2022 18:49:34 +0000 (UTC)
Received: from ngraves.fr (lfbn-lil-1-745-89.w81-254.abo.wanadoo.fr
[81.254.78.89]) (Authenticated sender: ngraves@HIDDEN)
by player687.ha.ovh.net (Postfix) with ESMTPSA id 2920928B86964;
Thu, 24 Mar 2022 18:49:33 +0000 (UTC)
Authentication-Results: garm.ovh; auth=pass
(GARM-95G00136a7fa0e-967b-4e27-b502-023cefd637a0,
FF497740C0C7079D0408917BF8250BE5EEB71087) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 81.254.78.89
User-agent: mu4e 1.6.10; emacs 28.0.92
From: Nicolas Graves <ngraves@HIDDEN>
Date: Thu, 24 Mar 2022 18:18:59 +0100
Message-ID: <87h77nyymd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Ovh-Tracer-Id: 13636336725616943832
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: -100
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvvddrudegledguddufecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpegfhffvufffkfggtgesthdtredttdertdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffgffhhfdtueduhfeghfegffeivdeijeejledtuefffeefleeigeekudeigfduheenucfkpheptddrtddrtddrtddpkedurddvheegrdejkedrkeelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrheikeejrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepvdehfedvjeesuggvsggsuhhgshdrghhnuhdrohhrgh
X-Spam-Score: -0.0 (/)
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 all,
I've delved into the subject the past week and now have a clearer view
on it :
- windows (and mac) dependencies are not needed when compiling a single
package. It is possible to bypass it without changing the
build-system, by a few means :
- either by using the #:cargo-build-flags argument (doesn't
work everytime, seems to work only seldomly with
--target unix)
In this option, one would also need to modify Cargo.toml
file before the package phase, since `cargo package`
vendors all possible dependencies to ensure a package on
all environments.
For instance (1) :
#:phases
(modify-phases %standard-phases
(add-before 'package 'unix-cargo-toml
(lambda _
(delete-file "Cargo.toml")
(substitute* "Cargo.toml.orig"
(("^mac-notification-sys.*") "")
(("^chrono.*") "")
(("^winrt-notification.*") ""))
(rename-file "Cargo.toml.orig" "Cargo.toml")
#t)))
- either by using the environment variable
"CARGO_BUILD_RUSTFLAGS" during the build phase, like that
for instance (2) :
#:phases
(modify-phases %standard-phases
(add-before 'build 'unix-cargo-toml
(setenv
"CARGO_BUILD_RUSTFLAGS"
(string-append
(getenv "CARGO_BUILD_RUSTFLAGS")
"--cfg 'target_os=\"linux\"'"))))
In this case, the package phase would also require the same
change as in (1). Note that this might not be backward
compatible further down the line (seen in the cargo
manual).
For some reason, these two means don't seem to propagate when using such
packages as inputs.
There are also the options to use a snippet or a patch on the source
itself. The snippet on the source could look like (1), or the patch as
its effects, and we would still need to use (2). Haven't experimented
much with that yet.
In any case, all this seems kinda bulky for an edit on an imported base,
and since we have lots of information with `cargo metadata`, I imagine
it would be possible to modify the build-system itself, so that it only
considers `target_os = "linux"` or possibly redox / bsd / dragonfly if
guix considers porting to these platforms.
I have 2 possible ideas :
1) Maybe something like adding a phase after unpack, which would :
- parse `cargo metadata` to isolate only needed dependencies (by maybe
generating and applying a patch ? or maybe there's a cargo command for
generating a Cargo.toml based on modified metadata ?). In any case,
modifying the Cargo.toml to only keep relevant information.
2) Maybe rethinking the package phase entirely instead of relying on
`cargo package --no-verify --no-metadata` which seems to not allow
options without interferring with the Cargo.toml file.
In both cases, we would then need to :
- modify the phase were environment variables are defined to add (2).
- modify the crate import script accordingly (not trivial).
As for the second hypothesis, according to the cargo manual, what `cargo
package` does is the following :
1. Load and check the current workspace, performing some basic checks.
Path dependencies are not allowed unless they have a version key. Cargo
will ignore the path key for dependencies in published
packages. dev-dependencies do not have this restriction.
2. Create the compressed .crate file.
a. The original Cargo.toml file is rewritten and normalized.
b. [patch], [replace], and [workspace] sections are removed from the manifest.
c. Cargo.lock is automatically included if the package contains an
executable binary or example target. cargo-install(1) will use the
packaged lock file if the --locked flag is used.
d. A .cargo_vcs_info.json file is included that contains information about
the current VCS checkout hash if available (not included with
--allow-dirty).
3. Extract the .crate file and build it to verify it can build.
- This will rebuild your package from scratch to ensure that it can be
built from a pristine state. The --no-verify flag can be used to skip
this step.
4. Check that build scripts did not modify any source files.
Step 3 and 4 are actually not performed, since the build-system calls
cargo package with the --no-verify flag. The checks in step 1 doesn't
seem that essential on guix, but I imagine we could replicate
them. Clearly the essential step here is 2, but since we get a crate,
steps a. and b. should actually already be done at the source level, and
step d. is not essential because of origin's field version. Step 2c is
not essential either since Cargo.lock file is actually deleted during
the build system.
I might try to implement these changes, although I do not have enough
time and experience to do that quickly, neither enough horsepower to try
to rebuild everything after that. I included Maxime Devos in the
conversation, would it be possible to fork guix to develop this and try
to rebuild every rust package after that on a guix build farm ? Sorry,
haven't got in touch with guix developers yet, still imposter's
syndrome effect, but implementing this doesn't seem too hard. What would
I need to do to get going on that ?
Cheers,
Nicolas Graves
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: windows-related dependencies in crates
Resent-From: Maxime Devos <maximedevos@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 24 Mar 2022 19:11:01 +0000
Resent-Message-ID: <handler.25327.B25327.164814905218007 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Nicolas Graves <ngraves@HIDDEN>, 25327 <at> debbugs.gnu.org
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.164814905218007
(code B ref 25327); Thu, 24 Mar 2022 19:11:01 +0000
Received: (at 25327) by debbugs.gnu.org; 24 Mar 2022 19:10:52 +0000
Received: from localhost ([127.0.0.1]:49426 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1nXSrD-0004gM-Ui
for submit <at> debbugs.gnu.org; Thu, 24 Mar 2022 15:10:52 -0400
Received: from laurent.telenet-ops.be ([195.130.137.89]:50544)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <maximedevos@HIDDEN>) id 1nXSrC-0004gE-M4
for 25327 <at> debbugs.gnu.org; Thu, 24 Mar 2022 15:10:51 -0400
Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be
([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a])
by laurent.telenet-ops.be with bizsmtp
id AKAo2700F4UW6Th01KAoJG; Thu, 24 Mar 2022 20:10:49 +0100
Message-ID: <373d643a3526861bd97d3de53b5ec9eb6f21e5f8.camel@HIDDEN>
From: Maxime Devos <maximedevos@HIDDEN>
Date: Thu, 24 Mar 2022 20:10:43 +0100
In-Reply-To: <87h77nyymd.fsf@HIDDEN>
References: <87h77nyymd.fsf@HIDDEN>
Content-Type: multipart/signed; micalg="pgp-sha512";
protocol="application/pgp-signature"; boundary="=-M/26nWLVCB9IinUxEAq4"
User-Agent: Evolution 3.38.3-1
MIME-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22;
t=1648149049; bh=s5626RGx9zzl/uf34HYi8jjxwxnsFPCskUawwomOzXk=;
h=Subject:From:To:Date:In-Reply-To:References;
b=jiLEi7bSffeQmrPM1KzhkWKX0BDX7Iil+Dn+xHYtgS8x6nKD8ydGbgG3NAKFS04Lp
igT1CRSkkIqD/ExE4UIQQUIXhtw/KN/R1pJR/MllNrDmT/nAeXcjW8Bl47oZKcOyxH
OOQKzqoyZUD5VGyot3l8+cncOoEukpZ911uSfTQjmfZ7HsV7pGuObkKxf5EbAqyDXS
mmkoogV6vcp7Op429akBKmawPSPu3wMfS4nwkR/Xt5GqZIF25xsHfMx7uCQ1vAFufr
5GB5mweTI9Va2U5N14LVetXKYzP5KaYEw2EgVyspzfQGql44mMy0/+/eNEU7bLinWW
HcckDO7W7+pbw==
X-Spam-Score: -0.7 (/)
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 (-)
--=-M/26nWLVCB9IinUxEAq4
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Nicolas Graves schreef op do 24-03-2022 om 18:18 [+0100]:
> I included Maxime Devos in the
> conversation, would it be possible to fork guix to develop this and try
> to rebuild every rust package after that on a guix build farm ?
In the past, for some build system changes, separate branches have been
created that are automatically built by ci.guix.gnu.org. A non-
committer and a committer could then collaborate together (on
guix-devel@HIDDEN / guix-patches@HIDDEN), though only the committer
can
actually push the changes. If, at some point, the changes appear to be
=E2=80=98ready=E2=80=99, the build on ci.guix.gnu.org can be started to bui=
ld the
substitutes. If there are no regressions and the builds completed, the
branch can be merged.
TBC, I'm not a committer, but I'd be willing to review FWIW (I don't
understand cargo).
Greetings,
Maxime.
--=-M/26nWLVCB9IinUxEAq4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjzCMxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7m3CAQCfsxiR34W1R5X8j43afQ66FA/l
15iE8IZWUZo5nAAfUgEA9LttOPw2igRrPiHeXcQu8U0CbtRdX7r8fPnyj+ViaAU=
=wERb
-----END PGP SIGNATURE-----
--=-M/26nWLVCB9IinUxEAq4--
X-Loop: help-debbugs@HIDDEN
Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies
Resent-From: zimoun <zimon.toutoune@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sat, 08 Oct 2022 15:17:02 +0000
Resent-Message-ID: <handler.25327.B25327.166524221215456 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25327
X-GNU-PR-Package: guix
X-GNU-PR-Keywords:
To: Nicolas Graves <ngraves@HIDDEN>
Cc: Maxime Devos <maximedevos@HIDDEN>, 25327 <at> debbugs.gnu.org
Received: via spool by 25327-submit <at> debbugs.gnu.org id=B25327.166524221215456
(code B ref 25327); Sat, 08 Oct 2022 15:17:02 +0000
Received: (at 25327) by debbugs.gnu.org; 8 Oct 2022 15:16:52 +0000
Received: from localhost ([127.0.0.1]:41187 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1ohBZM-000417-55
for submit <at> debbugs.gnu.org; Sat, 08 Oct 2022 11:16:52 -0400
Received: from mail-wm1-f43.google.com ([209.85.128.43]:38474)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <zimon.toutoune@HIDDEN>) id 1ohBZI-00040P-4P
for 25327 <at> debbugs.gnu.org; Sat, 08 Oct 2022 11:16:48 -0400
Received: by mail-wm1-f43.google.com with SMTP id
r8-20020a1c4408000000b003c47d5fd475so887788wma.3
for <25327 <at> debbugs.gnu.org>; Sat, 08 Oct 2022 08:16:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=mime-version:user-agent:message-id:in-reply-to:date:references
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
bh=80IiWhAv0nU1HjTLtfwc4mZn0eBcKgQdKf/YMvWYxuU=;
b=EHsNWQSukM2Weeb1Ixba1mOeHYk3Pks2v1gkwyAoerG8jylfZ73PzdYv3HCdYkabXg
LixefMY+vYA5Y5IFFDz/qkLzjwYy0a2HUOdCdG7g5yj9oj6qXAJuKacPF4W700ACQ/dY
cUW1aSbuhixPZutt5SfhL8IXWlYML6t9drQUlTMaJL0i4pdiQIlPlU1dH1Q4hC/TYCQx
Il+zdQS+JMVLaxTBe5dMHmitt73m5NcVhcOq1A0KyVWU+Dm13PHGic4oFViIBVszjzVo
uoPQH8VQOTDPfjBOMPmec6p+Bw9LOeGcQPnggFUt+8ClKnr+c0og7IiH7maM7Fh4lRTT
k38Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=mime-version:user-agent:message-id:in-reply-to:date:references
:subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=80IiWhAv0nU1HjTLtfwc4mZn0eBcKgQdKf/YMvWYxuU=;
b=yP2DK5Ra4wjaqwI8mmP72i7G3xfqCodj9O+2ufKKl3EShDLrohR6wH2iyi2yX8TPHD
+xzXqgOtB6zryEPIudzoFXjHJVPWp4b25sNUUqWm9+Vvo7Ex0RCd2wXt3xG5Y0rzn1Ko
2oahkNePJG7xzPDP68JuDYt0geqbEreubjWp58PklHYNELj8920NPrHPJhmLxz455IOf
t8640nmxQRIy8Vbynw4VQAs+Qla+26MkcBQ4OLcPDONuW0hw4HIyfzcO0snzHEQaO4th
Bm0qLjQK2HauWY2FUmmhWvwq5XgBS+3QsQ6Nq6ySY8fKIap4O2kpN1MA3/PnO0NyVv7v
Jx7A==
X-Gm-Message-State: ACrzQf0GRK5yxk/B2WyHLyaw3bQ49Z2pvmdTx5gGUu9s4bKdSu+Brp/c
yDJMt3ivwO0vQcl+T4s+jPtiWOZe+pw=
X-Google-Smtp-Source: AMsMyM7lGbSdfM6DudHirgGHc+Zq4OOTZ4ytz38MVMvuZMGMHcYK+JesW00oSCEit6CtTTUvhu+Q7g==
X-Received: by 2002:a05:600c:4999:b0:3c4:df99:5596 with SMTP id
h25-20020a05600c499900b003c4df995596mr1702778wmp.154.1665242202531;
Sat, 08 Oct 2022 08:16:42 -0700 (PDT)
Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e])
by smtp.gmail.com with ESMTPSA id
l17-20020a05600c1d1100b003a4efb794d7sm5384672wms.36.2022.10.08.08.16.41
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Sat, 08 Oct 2022 08:16:42 -0700 (PDT)
From: zimoun <zimon.toutoune@HIDDEN>
References: <87zijathke.fsf@HIDDEN>
<87h77nyymd.fsf@HIDDEN>
Date: Sat, 08 Oct 2022 16:15:50 +0200
In-Reply-To: <87h77nyymd.fsf@HIDDEN> (Nicolas Graves's message of "Thu, 24
Mar 2022 18:18:59 +0100")
Message-ID: <86czb2tn8p.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
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 Thu, 24 Mar 2022 at 18:18, Nicolas Graves <ngraves@HIDDEN> wrote:
> I might try to implement these changes, although I do not have enough
> time and experience to do that quickly, neither enough horsepower to try
> to rebuild everything after that. I included Maxime Devos in the
> conversation, would it be possible to fork guix to develop this and try
> to rebuild every rust package after that on a guix build farm ? Sorry,
> haven't got in touch with guix developers yet, still imposter's
> syndrome effect, but implementing this doesn't seem too hard. What would
> I need to do to get going on that ?
Just to know what is the status of this bug#25327 [1]? Well, I have not
followed closely some recent changes about Rust and Guix. Maybe, some
patches are already around?
Cheers,
simon
1: <http://issues.guix.gnu.org/issue/25327>
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.