From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GLAXDIZiPmdWkwAAe85BDQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 22:28:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GLAXDIZiPmdWkwAAe85BDQ (envelope-from ) for ; Wed, 20 Nov 2024 23:28:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pxTwFIXd; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732141702; 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:dkim-signature; bh=j0l4fJM3NkjWd8BK3NdoN2ofDTFF9/5DLYGUrhRF5qs=; b=m0ndl5/Nh8w75/DWlMDxD06sp5r6qDqx/2D2DqGKnEd1CmZ4+HIZm3Qjh1+wtzAzrVmlNU Yol3oBwYEsoeQRS1oG3crR7c4m6csxmUKNCbD+U2c8CNLW/x44mr5u5IQuRqmCTpXBNADi p1gD7a0afde0nq7k3TpGQvd8MJnXSDbZd0mg9TFr3zC203ycDlWzYDaG9/MHGWjuPpNg2P k94sKl+YBwtsgHMmCZvaQZb4KTBKJrn4D34kS8DTwEEK3IuGrhyHvBB6xXw6gT3v6n5vmx AGadtaU35WBp76ek7BIru2nC2dtUsiuubxZCGnCHDwC2uazJKCe2PZOKexUUYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pxTwFIXd; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732141702; a=rsa-sha256; cv=none; b=GJNVcZuCAolt/KFovdwvj06I1ieeBxtBrtMzP29Ik+p8NTvN81Ffe/vLoKWjFOsbw83040 o48SPHc5r+5u0hxzvlQEZbjf+Pu9O2gp/2Gh8trVVnKxPqJgi7Iws9xYmPcHn4EXZimN7w 12d338lyQNNUe5VP1BshzPyIh4MhY4NuDh6FfcucJidvhoNBd6QjDEEf+RyTsBjNz1/Oeu /9ii3a8wj2JJedmfPfiFbcqUjNnvCGv7w8xDbZGXptCwkujPMc2BaofECgDCPzDGjd+0A9 t7nXt3e7EVFNo9kSjBY/wroNQD6JQY8iwx7XYPJAd1kEbS2TvWHU/OAAG9MH6w== 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 722F387F34 for ; Wed, 20 Nov 2024 23:28:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDtAg-0004Iq-Ol; Wed, 20 Nov 2024 17:27:38 -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 1tDtAf-0004IX-GX for guix-devel@gnu.org; Wed, 20 Nov 2024 17:27:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDtAd-0006tM-IL for guix-devel@gnu.org; Wed, 20 Nov 2024 17:27:37 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id EA60E240101 for ; Wed, 20 Nov 2024 23:27:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732141650; bh=W2XnIpNH+vd6SijaJ5OMTcn4/62fcIMK+7l9/49QsY8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=pxTwFIXd1dNbGUs4UM1NQwT3/JMfeL250bKWCZOcLMFA6F1m3yrjFYRPAxIGUexrk i8WR1BSE+bJ+4XwxVdEibGIhHxc4H22OtVGlGDRDZowceBcWwDvy2qlsd6vJ+b+hDb 4XH9MHcXkK6+3dYidUtmVdTuvxlAGstL+2kX9EdFfWyLDvrwVhS0CX9MJI6CeiFOrJ pwvIbeRcdzy13S9DaKlqE1GZjnxIEVEsC2joaj1GMpyq2NuGBZm5NxHuZcKN87Ub+C KJFv+Y9tKy9xKWLfdAEj/e50CnXNgXENGTMFXaPX8FxsDyKEktVbLw7mYZxkHA8P+V jhpW2symEXQ3Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XtwwK4wmCz9rxK; Wed, 20 Nov 2024 23:27:29 +0100 (CET) From: David Elsing To: Andreas Enge , guix-devel@gnu.org Subject: Re: Problem building rust application In-Reply-To: References: Date: Wed, 20 Nov 2024 22:27:29 +0000 Message-ID: <7yed35a6cu.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=david.elsing@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -2.49 X-Spam-Score: -2.49 X-Migadu-Queue-Id: 722F387F34 X-TUID: zTKwyNYAAumn Hi, Andreas Enge writes: > starting phase `build' > error: failed to select a version for `core-graphics-types`. > ... required by package `core-graphics v0.23.2` > ... which satisfies dependency `core-graphics = "^0.23.2"` of package `kanata v1.7.0-prerelease-2 (/tmp/guix-build-kanata-1.7.0-prerelease-2.drv-0/kanata-1.7.0-prerelease-2)` > versions that meet the requirements `^0.1` are: 0.1.1 > > the package `core-graphics` depends on `core-graphics-types`, with features: `link` but `core-graphics-types` does not have these features. > > failed to select a version for `core-graphics-types` which could resolve this conflict > > We do have core-graphics-types@0.23.2 and core-graphics-types@0.1.1, so the > versions look okay to my untrained eye. it appears that the crates `core-graphics` and `core-graphics-types` are developed in the same repository [1]. Looking at the commit where the `core-graphics` version was set to 0.23.2 [2], the corresponding `core-graphics-types` crate version (0.1.3) already has the "link" feature, but version 0.1.1 (the version in Guix) does not. This seems to be a mistake in the `core-graphics` crate. As `kanata` depends on `core-graphics` version 0.23.2, you should add a package for rust-core-graphics-types with version 0.1.3 (the latest 0.1.* version) and use that instead in the #:cargo-inputs of rust-core-graphics-0.23. Cheers, David [1] https://github.com/servo/core-foundation-rs [2] https://github.com/servo/core-foundation-rs/blob/dd284a07f4aec3b78667462cd7ef56d0c6153c68