From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GGqICTjqQGdZBQEAqHPOHw:P1 (envelope-from ) for ; Fri, 22 Nov 2024 20:31:52 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GGqICTjqQGdZBQEAqHPOHw (envelope-from ) for ; Fri, 22 Nov 2024 21:31:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732307512; a=rsa-sha256; cv=none; b=W9ss3uuvQpkpsYSTJ8SpENYMD9NFXavQzcm9KIJ/GXINR4b3c7d3HQT3Sbb3SUJwW4qh7P 3xw/8tcS/tOCTJkmjfMCcbgBjg+6idPylt26/AMlDkclrPb6rISHNgwyoyqhlf8FqwORef lIV7skCbsTnYHYxtfDZo/2sTKJboNhAR8FxJEt0906dHbYo5Hy0M6YrLHfSpgVdrMZHl0Q aCBs1n3T06R8ZrICJrlrK9UI9Iks6bnchKxfGD9lu72Eodn+niLjJOcmckInrKcC3KPb4v 5EPz7W3yLoEBrZjAwsshJd8NIKfgMmzb2LOKSDaAugojcqUAT4fV/trO5sxRCg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732307512; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=i+kGAYgEWp0pVhzH8PqfR1HA7d9u4hPQG4s3+wGuVbw=; b=VVgKTf0UzY4WIjAFLPtuT00WXFNOyE6pGs0Bl6otg6+ysADc0sG9O+bZypxlTiOase1HML xtaNpyJ67gCoJmz3n0rRyxVcS9NGGa4p+4YgTSjwN5OlZ7AU1pKndqpyamT2uwJhLP8/8M naWVVY+zkEM1lA8Lo5637AHiVQ1pAf/m/BG9v5yL+0Q5QWEM5JvVn0CAHB6sNrMrFV8vbv wwhG4rIrR3gfQErBFCxBbSSrZyV5Kdn/JPjhUEOHwssbj5NuS+/EKhuL+5SV9DBDK9OXN3 IJ5iGh8oYFFeO+LMd8AgWaVEYZCrkoxyTUNhiM3GTmijut0tEx0l6pvwurA95g== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9B7DC712F for ; Fri, 22 Nov 2024 21:31:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEaJB-0006fu-BF; Fri, 22 Nov 2024 15:31:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEaJ5-0006fS-SP for guix-devel@gnu.org; Fri, 22 Nov 2024 15:31:11 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEaJ4-00051f-22 for guix-devel@gnu.org; Fri, 22 Nov 2024 15:31:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 2D0201658; Fri, 22 Nov 2024 21:31:06 +0100 (CET) X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id zuG8g2mK9nGa; Fri, 22 Nov 2024 21:31:05 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 000FF3B3; Fri, 22 Nov 2024 21:31:04 +0100 (CET) Date: Fri, 22 Nov 2024 21:31:03 +0100 From: Andreas Enge To: Efraim Flashner , David Elsing , guix-devel@gnu.org Subject: Re: Problem building rust application Message-ID: References: <7yed35a6cu.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [7.73 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM(2.46)[0.821]; MID_RHS_NOT_FQDN(0.50)[]; BAYES_HAM(-0.13)[67.65%]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Action: add header X-Rspamd-Server: hera X-Rspamd-Queue-Id: 2D0201658 X-Spamd-Bar: +++++++ Received-SPF: pass client-ip=185.233.100.1; envelope-from=andreas@enge.fr; helo=hera.aquilenet.fr X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9B7DC712F X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.37 X-Spam-Score: -0.37 X-TUID: jgPKe80tdIma Hello, thanks to all who replied to me! Am Thu, Nov 21, 2024 at 09:21:10PM +0200 schrieb Efraim Flashner: > Through some playing around I was able to build > rust-core-graphics-types@0.1.3, but I had to disable the automatic > linking. Since that crate is specifically for macOS I think the easiest > option you have is to remove the dependency from Cargo.toml with a > substitute* and just not include it. For a start, I just removed rust-core-graphics from the cargo-inputs, but apparently it was still looked for, so this was not a solution. The Cargo.toml contains these lines: [target.'cfg(target_os = "macos")'.dependencies.core-graphics] version = "0.23.2" Is it a mistake in our build system that it does not realise we are not on macos? Apart from that, there are other specific macos and windows dependencies that could probably be dropped. Andreas