From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 02 Jan 2017 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25327@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@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 ) id 1cNqlB-0007bw-3U for submit@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 ) id 1cNql8-0007bg-Sr for submit@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 ) id 1cNql2-0004tF-LA for submit@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 ) id 1cNql2-0004t7-I0 for submit@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 ) id 1cNql1-00026g-Au for bug-guix@gnu.org; Sun, 01 Jan 2017 19:45:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNqkw-0004rR-E3 for bug-guix@gnu.org; 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 ) id 1cNqkv-0004qX-N3 for bug-guix@gnu.org; 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 ) id 1cNqkt-0004A1-6M for bug-guix@gnu.org; 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@gnu.org; Mon, 02 Jan 2017 01:45:36 +0100 From: ng0 Date: Mon, 02 Jan 2017 00:46:09 +0000 Message-ID: <87zijathke.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-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 (-----) 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 From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Dec 2020 20:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: ng0 , Hartmut Goebel , John Soo Cc: 25327@debbugs.gnu.org Received: via spool by 25327-submit@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 ) id 1kqLxk-0002uk-Eg for submit@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 ) id 1kqLxj-0002uS-0M for 25327@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@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 References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Date: Fri, 18 Dec 2020 20:56:37 +0100 In-Reply-To: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> (ng0@libertad.pw's message of "Mon, 02 Jan 2017 00:46:09 +0000") Message-ID: <86pn36vqfe.fsf@gmail.com> 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@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 Mon, 02 Jan 2017 at 00:46, ng0 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 From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Dec 2020 13:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , ng0 , John Soo Cc: 25327@debbugs.gnu.org Received: via spool by 25327-submit@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 ) id 1kqbzt-0007qN-Jm for submit@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 ) id 1kqbzp-0007q8-Tl for 25327@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@wasp.i-did-not-set--mail-host-address--so-tickle-me> <86pn36vqfe.fsf@gmail.com> From: Hartmut Goebel Organization: crazy-compilers.com Message-ID: 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@gmail.com> 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@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.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@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible | From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jan 2021 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Hartmut Goebel Cc: 25327@debbugs.gnu.org, ng0 , John Soo Received: via spool by 25327-submit@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 ) id 1kywa7-0004bc-Dv for submit@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 ) id 1kywa4-0004bA-8F for 25327@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@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 References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <86pn36vqfe.fsf@gmail.com> Date: Mon, 11 Jan 2021 13:41:53 +0100 In-Reply-To: (Hartmut Goebel's message of "Sat, 19 Dec 2020 14:10:00 +0100") Message-ID: <86lfcztzla.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-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 Hartmut, On Sat, 19 Dec 2020 at 14:10, Hartmut Goebel = 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 From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: John Soo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 11 Jan 2021 13:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: Hartmut Goebel , ng0 , 25327 <25327@debbugs.gnu.org> Received: via spool by 25327-submit@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 ) id 1kyxKd-00089M-1O for submit@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 ) id 1kyxKa-00088o-AT for 25327@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@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 Message-ID: In-Reply-To: <86lfcztzla.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="5ffc53c0_6b8b4567_7664" X-Spam-Score: 0.0 (/) 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 (-) --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 Hi zimoun,

I think that the configuration = phase will fail even if conditional compilation dependencies are missing.=  It=E2=80=99s worth a shot though=21

- Joh= n
--5ffc53c0_6b8b4567_7664-- From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: windows-related dependencies in crates References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Mar 2022 18:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 25327@debbugs.gnu.org Cc: Maxime Devos Received: via spool by 25327-submit@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 ) id 1nXSWg-00049e-OA for submit@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 ) id 1nXSWe-00049V-JC for 25327@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@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@ngraves.fr) 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@ngraves.fr X-OVh-ClientIp: 81.254.78.89 User-agent: mu4e 1.6.10; emacs 28.0.92 From: Nicolas Graves Date: Thu, 24 Mar 2022 18:18:59 +0100 Message-ID: <87h77nyymd.fsf@ngraves.fr> 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@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 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 From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: windows-related dependencies in crates Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 24 Mar 2022 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves , 25327@debbugs.gnu.org Received: via spool by 25327-submit@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 ) id 1nXSrD-0004gM-Ui for submit@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 ) id 1nXSrC-0004gE-M4 for 25327@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@telenet.be> From: Maxime Devos Date: Thu, 24 Mar 2022 20:10:43 +0100 In-Reply-To: <87h77nyymd.fsf@ngraves.fr> References: <87h77nyymd.fsf@ngraves.fr> 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@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.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@gnu.org / guix-patches@gnu.org), 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-- From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 Oct 2022 15:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves Cc: Maxime Devos , 25327@debbugs.gnu.org Received: via spool by 25327-submit@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 ) id 1ohBZM-000417-55 for submit@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 ) id 1ohBZI-00040P-4P for 25327@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@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 References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87h77nyymd.fsf@ngraves.fr> Date: Sat, 08 Oct 2022 16:15:50 +0200 In-Reply-To: <87h77nyymd.fsf@ngraves.fr> (Nicolas Graves's message of "Thu, 24 Mar 2022 18:18:59 +0100") Message-ID: <86czb2tn8p.fsf_-_@gmail.com> 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@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 Thu, 24 Mar 2022 at 18:18, Nicolas Graves 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: From unknown Fri Jun 13 10:34:19 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 Oct 2022 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25327 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun , Nicolas Graves Cc: 25327@debbugs.gnu.org Received: via spool by 25327-submit@debbugs.gnu.org id=B25327.166524500828762 (code B ref 25327); Sat, 08 Oct 2022 16:04:01 +0000 Received: (at 25327) by debbugs.gnu.org; 8 Oct 2022 16:03:28 +0000 Received: from localhost ([127.0.0.1]:41275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCIS-0007Tp-8A for submit@debbugs.gnu.org; Sat, 08 Oct 2022 12:03:28 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:55330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohCIN-0007Ta-Kf for 25327@debbugs.gnu.org; Sat, 08 Oct 2022 12:03:26 -0400 Received: from [IPV6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16] ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by michel.telenet-ops.be with bizsmtp id VU3L2800D20ykKC06U3LxQ; Sat, 08 Oct 2022 18:03:20 +0200 Message-ID: <227baa59-632b-9420-cfdd-c97646991882@telenet.be> Date: Sat, 8 Oct 2022 18:03:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Content-Language: en-US References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87h77nyymd.fsf@ngraves.fr> <86czb2tn8p.fsf_-_@gmail.com> From: Maxime Devos In-Reply-To: <86czb2tn8p.fsf_-_@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------KYoTc5CLC9v0kois1jUWhtcg" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1665245000; bh=tWV9TC6b4o/o+HxHUYrM1HhmVo7lLhy4llSsuD28wbQ=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=C5W13MUvQW4jmANckgPJO8UzP0da+IPPMGhdqL6BNRyCqTW6ugxxb+Iflv1QRkp+T tVMh93/HHmlVJN2Wc0iE7qh/3K7fkG2a/eRYtw1BeIwGj+jlzQCr/8q/ZTFMWJ/KDJ dmFJYts/elSicSbNfu0K07SdogVzj1ALwJZ9Zogax7rvFhlVP+nIMYJkeiXES3essd 2TFR7xIlBsNk3NG+e+aGw5ok2AAIL0oVgTrsjt4vo5d69nkHnm7uH/BcgEv3BGpYJx 9YQ5Pg9nkHJnSjMy8ErZYQNOeLehEB819oJ+ScMufqUCVT+zXthmxrf3b1YkHgwYZX QR/0I/zZ5rZdA== X-Spam-Score: -1.8 (-) 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: -2.8 (--) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------KYoTc5CLC9v0kois1jUWhtcg Content-Type: multipart/mixed; boundary="------------HgXK7DeunulIjcZRgmS5nUlY"; protected-headers="v1" From: Maxime Devos To: zimoun , Nicolas Graves Cc: 25327@debbugs.gnu.org Message-ID: <227baa59-632b-9420-cfdd-c97646991882@telenet.be> Subject: Re: bug#25327: cargo build-system should be able to filter out target.cfg(windows) dependencies References: <87zijathke.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87h77nyymd.fsf@ngraves.fr> <86czb2tn8p.fsf_-_@gmail.com> In-Reply-To: <86czb2tn8p.fsf_-_@gmail.com> --------------HgXK7DeunulIjcZRgmS5nUlY Content-Type: multipart/mixed; boundary="------------Xee7H40Zkbw0XCOxfP6IbED0" --------------Xee7H40Zkbw0XCOxfP6IbED0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 DQoNCk9uIDA4LTEwLTIwMjIgMTY6MTUsIHppbW91biB3cm90ZToNCj4gSGksDQo+IA0KPiBP biBUaHUsIDI0IE1hciAyMDIyIGF0IDE4OjE4LCBOaWNvbGFzIEdyYXZlcyA8bmdyYXZlc0Bu Z3JhdmVzLmZyPiB3cm90ZToNCj4gDQo+PiBJIG1pZ2h0IHRyeSB0byBpbXBsZW1lbnQgdGhl c2UgY2hhbmdlcywgYWx0aG91Z2ggSSBkbyBub3QgaGF2ZSBlbm91Z2gNCj4+IHRpbWUgYW5k IGV4cGVyaWVuY2UgdG8gZG8gdGhhdCBxdWlja2x5LCBuZWl0aGVyIGVub3VnaCBob3JzZXBv d2VyIHRvIHRyeQ0KPj4gdG8gcmVidWlsZCBldmVyeXRoaW5nIGFmdGVyIHRoYXQuIEkgaW5j bHVkZWQgTWF4aW1lIERldm9zIGluIHRoZQ0KPj4gY29udmVyc2F0aW9uLCB3b3VsZCBpdCBi ZSBwb3NzaWJsZSB0byBmb3JrIGd1aXggdG8gZGV2ZWxvcCB0aGlzIGFuZCB0cnkNCj4+IHRv IHJlYnVpbGQgZXZlcnkgcnVzdCBwYWNrYWdlIGFmdGVyIHRoYXQgb24gYSBndWl4IGJ1aWxk IGZhcm0gPyBTb3JyeSwNCj4+IGhhdmVuJ3QgZ290IGluIHRvdWNoIHdpdGggZ3VpeCBkZXZl bG9wZXJzIHlldCwgc3RpbGwgaW1wb3N0ZXIncw0KPj4gc3luZHJvbWUgZWZmZWN0LCBidXQg aW1wbGVtZW50aW5nIHRoaXMgZG9lc24ndCBzZWVtIHRvbyBoYXJkLiBXaGF0IHdvdWxkDQo+ PiBJIG5lZWQgdG8gZG8gdG8gZ2V0IGdvaW5nIG9uIHRoYXQgPw0KPiANCj4gSnVzdCB0byBr bm93IHdoYXQgaXMgdGhlIHN0YXR1cyBvZiB0aGlzIGJ1ZyMyNTMyNyBbMV0/ICBXZWxsLCBJ IGhhdmUgbm90DQo+IGZvbGxvd2VkIGNsb3NlbHkgc29tZSByZWNlbnQgY2hhbmdlcyBhYm91 dCBSdXN0IGFuZCBHdWl4LiAgTWF5YmUsIHNvbWUNCj4gcGF0Y2hlcyBhcmUgYWxyZWFkeSBh cm91bmQ/DQoNCmFudGlveGlkYW50LWJ1aWxkLXN5c3RlbSAoKikgYXV0b21hdGljYWxseSBp Z25vcmVzIGFsbCBkZXBlbmRlbmNpZXMgaXQgDQpjYW4ndCBmaW5kIChpbmNsdWRpbmcgV2lu ZG93cyBkZXBlbmRlbmNpZXMpLCBhbmQgYXMgc3VjaCBzb2x2ZXMgdGhpcy4NCg0KKCopIGNs b3NlIHRvIDEwMCUsIHRoZSBtYWluIHJlbWFpbmluZyBwcm9ibGVtIGlzIGxhY2sgb2Ygc3Vw cG9ydCBmb3IgDQp3b3Jrc3BhY2VzOyBJJ20gY3VycmVudGx5IGxvb2tpbmcgZm9yIHBhY2th Z2luZyBhIHRvcG9sb2dpY2FsIHNvcnRpbmcgDQphbGdvcml0aG0gYnV0IGl0IGRlcGVuZHMg b24gb3RoZXIgdW5wYWNrYWdlZCB0aGluZ3MgZXRjLiAgT3RoZXIgcHJvYmxlbXMgDQpzaG91 bGQgYmUgcmF0aGVyIG1pbm9yLg0KDQpHcmVldGluZ3MsDQpNYXhpbWUuDQo= --------------Xee7H40Zkbw0XCOxfP6IbED0 Content-Type: application/pgp-keys; name="OpenPGP_0x49E3EE22191725EE.asc" Content-Disposition: attachment; filename="OpenPGP_0x49E3EE22191725EE.asc" Content-Description: OpenPGP public key Content-Transfer-Encoding: quoted-printable -----BEGIN PGP PUBLIC KEY BLOCK----- xjMEX4ch6BYJKwYBBAHaRw8BAQdANPb/d6MrGnGi5HyvODCkBUJPRjiFQcRU5V+m xvMaAa/NL01heGltZSBEZXZvcyA8bWF4aW1lLmRldm9zQHN0dWRlbnQua3VsZXV2 ZW4uYmU+wpAEExYIADgWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCX4ch6AIbAwUL CQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRBJ4+4iGRcl7japAQC3opZ2KGWzWmRc /gIWSu0AAcfMwyinFEEPa/QhUt2CogD/e2RdF4CYAgaRHJJmZ9WU7piKbLZ7llB4 LzgezVDHggzNJU1heGltZSBEZXZvcyA8bWF4aW1lZGV2b3NAdGVsZW5ldC5iZT7C kAQTFggAOBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJf56ycAhsDBQsJCAcDBRUK CQgLBRYCAwEAAh4BAheAAAoJEEnj7iIZFyXujpQBAKV1SwDDl4f24rXciDlB9L8W ycZt30CgbewMSRQk4mvbAP9dFMbVVixYBd6C8cfhR+NsOBGiOJnQABlUmgNuqGFJ Dc44BF+HIegSCisGAQQBl1UBBQEBB0BOlzIWiJzgobMF6/cqwLaLk7jIcFSZ++c0 k9cCNT6YXwMBCAfCeAQYFggAIBYhBMHzPuIMUo/bfdcBH0nj7iIZFyXuBQJfhyHo AhsMAAoJEEnj7iIZFyXuMr0BAJc8cl5PGvVmVuSQVKjleNl4DK1/XAaPAYPe34AE fZJPAP9IqLCQhH/FeJanHqBP8gNdGNI2qn8RnnLVfRJgUjZ1BA=3D=3D =3DOVqp -----END PGP PUBLIC KEY BLOCK----- --------------Xee7H40Zkbw0XCOxfP6IbED0-- --------------HgXK7DeunulIjcZRgmS5nUlY-- --------------KYoTc5CLC9v0kois1jUWhtcg Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCY0GfSAUDAAAAAAAKCRBJ4+4iGRcl7tYX APwPZXB8FRhg46jxlGDPfdSQwMgZ3OrpKdzEr+PVIk4NIwEA23IGTeh3ryZ7GxEhkAVcRMKA0NHF kViquLFaohTTIQg= =xT0J -----END PGP SIGNATURE----- --------------KYoTc5CLC9v0kois1jUWhtcg--