From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eBTDD6FilmKAJwAAbAwnHQ (envelope-from ) for ; Tue, 31 May 2022 20:46:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0EbaDqFilmKFRAEAG6o9tA (envelope-from ) for ; Tue, 31 May 2022 20:46:57 +0200 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 CD4813A2B7 for ; Tue, 31 May 2022 20:46:56 +0200 (CEST) Received: from localhost ([::1]:46300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nw6tL-0006rK-RC for larch@yhetil.org; Tue, 31 May 2022 14:46:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nw6Q1-0002f3-37 for guix-devel@gnu.org; Tue, 31 May 2022 14:16:38 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:36434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nw6Px-0005k4-17 for guix-devel@gnu.org; Tue, 31 May 2022 14:16:36 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id dWGV2700J4UW6Th01WGVWs; Tue, 31 May 2022 20:16:30 +0200 Message-ID: Subject: Re: antioxidant-build-system can be tested as a channel, + > GTK app 'castor' builds From: Maxime Devos To: kiasoc5@disroot.org, guix-devel@gnu.org Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Tue, 31 May 2022 20:16:24 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-XV+lX3jU9MuKTgNLoK9W" 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=1654020990; bh=vTtRLcD0iO14YyWCa7SP79Ch/3/e308jfMpyAbpd3Gg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=W52R9t8SSv2FoZUJK8Fs4Q3dGKvN9jBbvLspdvTKD4iZ4uuIeq/WawSgk9THzMYyg +VL+9eB5fmiiE8z4aMMgpgdakH7CtjhVGLOOWfoz63B3dd+v9WL9gu0bdfZRDUJjKn 9Jm/MnQuOnuOKw9G5EYkMuEXmcWwNgExrM2u0kHCHdx6BuNbsqSNtzf/wpT+pprk5n YsRTqfvh8LF+IgeifNE/h7MA28uNKr8fX0oFybSMrFBgW8ZJVQcCPDjksKVO7pGCNT CuoLOsZ4X6F5FdAKmap3V2tRCbDdXC9NEAdZnm23SQYO1Tbw6vZx/o32VkjzYAgsVD VVYJKgj+S6jJA== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654022816; 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=vTtRLcD0iO14YyWCa7SP79Ch/3/e308jfMpyAbpd3Gg=; b=KjAqbcBd1G5AMBxn53vIaphRrZUfLI3HMKDXBdPAAhFAVnP2U2FcUzbaKAtv1vOm/gDm4b YhPbnRq39EDaTKz7s2tL6FCGY+PZWrkDLEgxjAhPEmks0Kt2adYuNUx3hS3ne6gCV2NaJi cG6IJJWZQGgBuWVPW/HFlCOGnBb/a4nx7eTV2JcqorISOhT702cONh8drDPz8+yXNaidFR G/mwlfChGL+1HZzZ/RFbuLhEPQksFDu/FLAaRw4DcbKe85RpXXUD8CcQAU6Be0/EhVlNNn 0uwMA2DdBW0iiXtkGpwGLLfKuYoQlqGQVg5CatvXx52yBBAQxVJilH62Wa8tsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654022816; a=rsa-sha256; cv=none; b=BICnRc0ODiF1Q064OoqCBRdbJwHnmrgK6kLBn0NDVfUJmz+wyU4axXycvvoHpT/zdxVnEB CKqWmyhabn5H5bkcj8HYWaBlhFFXq4Xm1zm4lCLc0ur8ZRdMXmImCr3WbzDRzO4zX9B+Fv H/oWZQQKTBmNn96gxoWon8n6Ygv6K6xQ4TgCSqwfOb9OVoB5n8Sfi4M/4E74/UHXhRZNs8 QQTKLsKgVFgLwkVMpWFweVSNomIbUu6UTxvrck8hgEH9dpJPJ3pwCfqNyGCgl50Oa3JPSe GBjQLSunBHxfO4i8W/a9+ieKbYbkHdcpAzvZw6qHaiLXLz2pkY9gYcYfzdO8BA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=W52R9t8S; dmarc=pass (policy=none) header.from=telenet.be; 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" X-Migadu-Spam-Score: -11.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=W52R9t8S; dmarc=pass (policy=none) header.from=telenet.be; 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" X-Migadu-Queue-Id: CD4813A2B7 X-Spam-Score: -11.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: /CgSuF6CLEZP --=-XV+lX3jU9MuKTgNLoK9W Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable kiasoc5@disroot.org schreef op di 31-05-2022 om 17:45 [+0000]: > Hi Maxime, >=20 > >=20 > > Non-goals: > >=20 > > * Produce exactly the same binaries with exactly the same dependencies = as with > > Cargo. If you want to reproduce a binary produced with Cargo, use Cargo= . > >=20 >=20 > If I compile project P to produce binary A (with antioxidant) and binary = C > (with Cargo), will A and C have the same functionality? If nothing weird is going on, yes. Though antioxidant and Cargo have different methods for selecting =E2=80=98features=E2=80=99, so a creative R= ust app author could engineer things such that when compiled with Cargo, the app prints "hello cargo" and when compiled with antioxidant, it prints "hello antioxidant". I expect such situations to be the exception though, and if such a thing happens, a $GUIX_PACKAGER could manually choose the right set of =E2=80=98features=E2=80=99 and put an outdated dependency in inputs/native-= inputs if needed. That said, I haven't =E2=80=98tried out=E2=80=99 many of the Rust apps, mos= tly only built them. > And for dependencies not being the same, is this just limited to using th= e latest version of crates instead of following the versions in Cargo.toml? If you feed antioxidant-build-system the exact same versions of dependencies as specified in Cargo, in principle you should get something equivalent (except maybe for feature flags because antioxidant has a different procedure for automatically selecting feature flags, but if you really want to, you as writer of the package definition could manually pick the features such that they match 100% with those that Cargo would have picked). However, the package transformation procedures in the antioxidant channel for turning Cargo packages into antioxidant packages currently often just select the latest version. Greetings, Maxime --=-XV+lX3jU9MuKTgNLoK9W 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+4iGRcl7gUCYpZbeBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7i2bAP9977XKnz/uN7ypTcmjo4FwHnj9 wTB7vCwQsrzTszb4ngD/ehB2LOfr7tsuQ1HfZTFlPxh2+QbdWSyXBhXxjs5Ruwo= =QdxI -----END PGP SIGNATURE----- --=-XV+lX3jU9MuKTgNLoK9W--