From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id mLfbGliIP2d9+QAAqHPOHw:P1 (envelope-from ) for ; Thu, 21 Nov 2024 19:22:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mLfbGliIP2d9+QAAqHPOHw (envelope-from ) for ; Thu, 21 Nov 2024 20:22:00 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=M08CSOGO; 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=1732216920; a=rsa-sha256; cv=none; b=LCVm74RffYXnYolcvcN6HPvn9h9hbYdJ6BEyZvE69eMoRtcunBj7/nKq+caMqdjMg08dCC DFJUXgUMLK3oLq1JTw4Sz9i3tbJMQfpI0a4NmMgpuWkv3ScuTSdwGLpPWlqmD+D8Fw2Gqi KrQuBBdLEYFhQ9bgt2EY3yUuE2XD8WhXFzrfJqxfK6S3RUjsbdv/11PfsfIYxRrSGUFjM1 e4c8WKa63bqK3HF5EvkK0stzIepKk9XTYm6qqjnvMI6SLclLGoTUcZ2HAA0kCx1pL4fa/C q8dLDVXtvMjoN/KVGUz58TjPdMyqzMzr22EUusTsD+mF7hBv0OrAB1Fu5VQLOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=M08CSOGO; 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=1732216920; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=UJotMbURARGgMyz8RGYkX0WhscqMy8+hW+d2U1uGTNI=; b=Rd0B4alG2QlJtmRiAAFsU6MiP8ffAxh+d+oW59oJZAEL2a++dZ4qLMsVrUpSmCMoboeCHs TbulqoQIS8IgS/LfP3bMVtV91szczYHbqybU3c8TZRfq1DvnE5FfN3levcz7zWDATl8xGO /adMCUo8PrlS+Vm+8Uo6/nmHth/oB46FyQWPj2vYCqZp8igLBcAj3dkbjNBylZe7B2Db6l +mbpdbG7ylfA4PMb0yFOiSakNoE4FyGhy4J8VmbPAzR0ZECpcYMUv8ighVveWYRIel47pW 0OtIl8LoLpEbYcxYLJL2i7wOXhQvNx/GpgBBpxQMb2cvOzF5lWF79+/dpRWGkg== 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 0CA9778281 for ; Thu, 21 Nov 2024 20:21:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tECk1-00066A-Cg; Thu, 21 Nov 2024 14:21:26 -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 1tECjv-00065s-LX for guix-devel@gnu.org; Thu, 21 Nov 2024 14:21:20 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tECjr-0002Rc-J1 for guix-devel@gnu.org; Thu, 21 Nov 2024 14:21:17 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-43155abaf0bso11121995e9.0 for ; Thu, 21 Nov 2024 11:21:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732216874; x=1732821674; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=UJotMbURARGgMyz8RGYkX0WhscqMy8+hW+d2U1uGTNI=; b=M08CSOGOrvwEOHidi3drhqb1beIqB87heoLCbOxn9JISm5L0CmaEr5iRcEu/9P/Clk /v1ONpMPVKr8Bog9yenIxFUwpyiBEY0HIEzpWQ4SwW5w0O7970QxAdK/uvYw3KOzuyaS kgDuo9WbIqWTCbbQ95SMz0q3PjIBc2uGfGjVJRZDC5HG7B/Ghff4s98vQJDesFV4WXXq 3v/HFDoA7EJBAj/YuwDbAdOCEMqaxfdlYluTtyDfdhDmGtLqWAQQJ8b7Wb/b8VLaN4V/ V5iRUk9hIpH0hNp41vu+JdpU23jIah5dV2ulg+j5NVaRGreAtuNwonWaUeH+OaY03AIg EiOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732216874; x=1732821674; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UJotMbURARGgMyz8RGYkX0WhscqMy8+hW+d2U1uGTNI=; b=KvKlWorTFhMTzW+96RGIdsuWKeNuGykwun9hnqJpuoWueIzviSAIiSY+1ZMAMv0kII 5JumusPc4siWvuUhdAZ035+IadsSXqqRYBArtm46yZ16mncbcXJO2VjWWFlz5I536Udq aaiHaHU9nctWMNDj9LPhzSAEM3JEfUDh4DBvDtVe35Aqf9Fy75fkYbCpVIDv2DYjSOTt bqjN1d5n8VGXhOLRUDkbEuJgkDFC9xe746rwbIdwnsccOW5UbpOhy9/I/g3cyCvQWotW hseO21HYrBrzQM0Z6hoAwFdiwbvRBqR256hVd7GhoDMX+6mMpreEGt20Oz0ltbFEDPHJ 4ypA== X-Forwarded-Encrypted: i=1; AJvYcCUeYb1SFwwyO8ljMkRP9GEe1imgu5Vbs70YLUTUdnIW3fK6FzmxZ17Ls0HenUPNdoUfm5iF2I3N8XYS@gnu.org X-Gm-Message-State: AOJu0Yx3m+KQBjq4JlE0hGrb3wo3s+n+aXc3twUkk/Y7B3F7eU+Skt8O GtpVZxKj9RP9oMG7uKChv2Ay3/Hm5cq6kO+nh6ey1Jaqjh18qCUC X-Gm-Gg: ASbGncsQwPdxeiqV07SEYQtdzrtrb3nkKBWxey7dCMWwcd8nz5GvqRlFLkG/HO2VcQ9 a2BNkqzBxyxOajm+qrqcxrOJ/4rsnAU7PbVf4fGXjIDZUtzMhjAJeFsN/DBRGcgWA8+hPUGLdj2 q5rugdvvGylaulis3BABRLTYHpcmjOhc6tgdl7nPiKtSJkOXWFA4L2+IoEe8Xi8VfH4p1F4uzMs BzYIjWWpW/TxfHFRgsB0GqkSsL7xli0B4WFzsygwz2Q2IKk8g== X-Google-Smtp-Source: AGHT+IEK4+iBmuJqXoASsothFD7qa8+8Q+wt9yRQu6t3Ev1sPBD9TeEaLGZJNST6OQC2XQZbKZcf4A== X-Received: by 2002:a05:600c:1e15:b0:431:4b88:d408 with SMTP id 5b1f17b1804b1-433ce417b0emr96945e9.5.1732216873851; Thu, 21 Nov 2024 11:21:13 -0800 (PST) Received: from localhost ([188.120.129.43]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45bd701sm64666485e9.11.2024.11.21.11.21.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Nov 2024 11:21:13 -0800 (PST) Date: Thu, 21 Nov 2024 21:21:10 +0200 From: Efraim Flashner To: David Elsing Cc: Andreas Enge , guix-devel@gnu.org Subject: Re: Problem building rust application Message-ID: Mail-Followup-To: David Elsing , Andreas Enge , guix-devel@gnu.org References: <7yed35a6cu.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="TVMt8mGv6rAGETzd" Content-Disposition: inline In-Reply-To: <7yed35a6cu.fsf@posteo.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=efraim.flashner@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-Spam-Score: -3.66 X-Spam-Score: -3.66 X-Migadu-Queue-Id: 0CA9778281 X-Migadu-Scanner: mx10.migadu.com X-TUID: 9RKwuaIaDN1u --TVMt8mGv6rAGETzd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 20, 2024 at 10:27:29PM +0000, David Elsing wrote: > Hi, >=20 > 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 =3D "^0.23.2"` of pac= kage `kanata v1.7.0-prerelease-2 (/tmp/guix-build-kanata-1.7.0-prerelease-2= =2Edrv-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 feat= ures: `link` but `core-graphics-types` does not have these features. > > > > failed to select a version for `core-graphics-types` which could resolv= e 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. >=20 > 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. >=20 > 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. >=20 > Cheers, > David >=20 > [1] https://github.com/servo/core-foundation-rs > [2] https://github.com/servo/core-foundation-rs/blob/dd284a07f4aec3b78667= 462cd7ef56d0c6153c68 >=20 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. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --TVMt8mGv6rAGETzd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmc/iCIACgkQQarn3Mo9 g1FREhAArBnpVF6/yxaeR+JIO1GXmZWfaJuGob8Kw6+vM8dwi1DeKfL4eWK1Ueao 9o/irezyCsQPXvGuOia2rUw9BbT6SWKnpvU78GS7/onhH1LeCnpcr6wcd/agXB2/ Jzi19KkXPpIu3fA6cukL9k+Qf90z9vQvWBmEiZzkC5E6I2fKvXwJ6iYVwCiIkbbV z3kOzoez0zCdllUKXKbHJFMUuClzmYe1hAimH2ziFxnlaYrpKDuf5W7IhMDW6jce kxYlkL73pHUvRwUKeC73TdQmtARiNgwgZGh5W4t06f7I9nGRaPWzsn0q7+Y9fd91 Z/HCHAfcyhNIgqg3IhyN1NItaJwwaWxm3zL/yF5pGF3OYCDSqiObdxMi4bSNYZuW Vng1wzPByzOEikb0YIRQSDUqrE8j3aR5b9pA8rA1Fy6Nzm+7pO9KDnno95yOLlRb 02/pPliDmd9dzPlKmU+lvqjZdkIc1deyN7/MR8JzO01qjXVNg44yVcT5gZmB2WY6 87hKLzg30kTICndURzYYC7o4784dcZ/FeOVjPGEK6W1Wxk2OqVPjABOs/EmgpAQV uaCKbHEeLFhaDVduzn57ljJvxRkvNU8pUrvMGcXnRJ5w/pSdF1kNrpqryywIHGmz 5QLp9NlpRFz7r3Tk6atIcobBLlF/Gwml16h6xJHJDb/ztlfM+1w= =nFOv -----END PGP SIGNATURE----- --TVMt8mGv6rAGETzd--