From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QIBtO5V/lGKUkQAAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 10:25:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GKxLO5V/lGJfkgAAauVa8A (envelope-from ) for ; Mon, 30 May 2022 10:25: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 80A333D0DE for ; Mon, 30 May 2022 10:25:57 +0200 (CEST) Received: from localhost ([::1]:35746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvaip-0002Ix-J6 for larch@yhetil.org; Mon, 30 May 2022 04:25:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvah5-0002Im-J5 for guix-devel@gnu.org; Mon, 30 May 2022 04:24:07 -0400 Received: from flashner.co.il ([178.62.234.194]:40816) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvagz-0007cX-No for guix-devel@gnu.org; Mon, 30 May 2022 04:24:07 -0400 Received: from localhost (unknown [141.226.14.232]) by flashner.co.il (Postfix) with ESMTPSA id 4FF87401C5; Mon, 30 May 2022 08:24:00 +0000 (UTC) Date: Mon, 30 May 2022 11:23:21 +0300 From: Efraim Flashner To: Maxime Devos Cc: Hartmut Goebel , guix-devel@gnu.org, Martin Becze Subject: Re: Building hexyl (a rust app) without cargo, with antioxidant-build-system Message-ID: Mail-Followup-To: Maxime Devos , Hartmut Goebel , guix-devel@gnu.org, Martin Becze References: <32ae0e474e295fa7f7052abd1bbb8053d2fddf16.camel@telenet.be> <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> <547b56ea0a2a714029415385abaaed726fd02074.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="M4ydLswslv2e1C9H" Content-Disposition: inline In-Reply-To: <547b56ea0a2a714029415385abaaed726fd02074.camel@telenet.be> 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=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" 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=1653899157; 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; bh=PW46PAIg8lg5tgoNUGEzl8q/CRo4jebJp8NPmcNe4K4=; b=oirco8ehvAaf/PQsKoZTWNSSskFPkxy0dx/FeL8oeC2FLzhkUV/rJA/kht6Km2OJQU8qbd jNESSUJpgDPFBKPEXpQxsjs2K3KafTtl3pIdHHfAknnAXCGSbCAgNMU31KJ3FW4WJxDAXO xyVycib4u918v/S2xTVlmjPawPP1sQGtkJboiiutAPEJDsA3lLJq17flC9WU0nhAms1wNT uvy0gkcYrybUaW41VWbGZGaVFaHdbb8LntrFN64YzQ3wiQNvmDHGMk95NqFxVpbEBuoGZN tykKefSLfXzXIuFbhqub0TH/7FfFFX2mSc1ZKd3CoHSsuMAz9vjJLRne4mZQgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653899157; a=rsa-sha256; cv=none; b=h/yMubbP8THz95YPYShxobyltkqE0BV1isUukrbGUfjRVm+QmKaM4eHUCAvK+IQn2vxACJ 1tiHWYKAT7C6KE+dKSN7c5xwDQVYVwEsDGflCguz8L/YszYU/+TnA0JzkOWAlIHXOGJw7a a8pXsRoJFUvTRyrhgZ1kGLBvSrisTAinz9Skzk+b3UTURVBGK3h7oxHRBBzrz8lxY+32N0 yCvprvvQXzoq5xN5nxNiAljvtkqs+BDtNEfdc74UNe1VnkIvOXOTHlVmDMGmrcUD+qozD2 rjQNwbJpvt2xy0dEO2QJh+S5Cnj2IaWo7XDaZPySm4dAi7M7FofaqKxrPiVIGg== 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" X-Migadu-Spam-Score: -4.43 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" X-Migadu-Queue-Id: 80A333D0DE X-Spam-Score: -4.43 X-Migadu-Scanner: scn1.migadu.com X-TUID: YvHdSkm2IVZc --M4ydLswslv2e1C9H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 02, 2022 at 05:18:55PM +0200, Maxime Devos wrote: > Hi, >=20 > antioxidant-build-system can now be used for some =E2=80=98real=E2=80=99 = software -- it > compiles 'hexyl'. To test, download > (commit: > d09fd93750ac6d77e0c85623286b45cf5c3b055b) and run > "guix build -L . -f guix.scm" and then >=20 > $ cat guix.scm | /gnu/store/[...]-hexyl-0.8.0/bin/hexyl > > lots of coloured hex output >=20 > Some features of antioxidant-build-system: >=20 > * no copying source code of dependencies > * no compiling dependencies again -- old artifacts are reused > * all dependencies use the usual package input system > (native-inputs, inputs, propagated-inputs) >=20 > Limitations: >=20 > * no support for linking to arbitrary shared libraries yet > (only rust deps) > * makes a few assumptions on the source layout (can be fixed > by using more info from Cargo.toml) > * no tests > * no cross-compilation yet > * no shared libraries (just replacing 'rlib' by 'dylib' causes problems) > * code is a bit messy > * no cdylib yet (probably needed for librsvg) Something that might help with that would be to also include the source of the crate somewhere in the output. Then at the worst we could just put the rust inputs of librsvg as regular inputs and let librsvg do its own special build thing. We'd then still keep the build dependency tree you've got working. --=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 --M4ydLswslv2e1C9H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmKUfvkACgkQQarn3Mo9 g1GQRw//UTDFFQKoRJe7HqAcGy7PaAOQQYSEtrEf1ib+dICDRcOjErMacSXIyD0o X2Kp0i3/hB131aidxclJo20c6J2xKFaUgOxZbtJo22z2gJQjswegXENc+RYpAKrZ 7fkwupGys2nB3Y7XAQ1CHW8/+6lOc0dQUta9i8SmKZtOFs20isl2ZgpeIbpux0p0 4dgTNwd6h/D/iQy2i5FE173NuzLO7Z0RQUp/8l03dI/c4ooKNuANONCPnjr3b5fS JzHHWUI08Km3Zpf46VuEh9QFRiuZjBYYRFe1NnvhrKWWUv8rTH3l9RH8VCjT/D7J +Fcfra1FLQYNWdyxvChiXFByhjyATNEtVC7usAwzcfyV0CfB3+BoC4Yqq6a6Koiw 8Z4ta1Jpm0Zj6mm2xFmh/6xJzHUMErIn9a5zs/PsKEQ1tCGrBFOpp/C6YqF1wyq/ vHGl8Tuq5pUfCmRgKIVJdHnnHdQF2zcXvwebnKC0dMBQzdRnhWK+0RMDPHL1TZ5C oliE2AbzGRJfa+XxWKBJu/AL7vEdUsC7EKV84EAcWML9OkhOb7NaNWlyQmfiBqx7 F4+elwzRyDWm8rcRRraYGThgEgWtw4BGVvF50U7EFSZQ7BvU8ypV4YfHBmxrqaVj TmFGtnW+yZFCwwZBFbbMwWQOEXgi70Ai78IEkuBx2X7oqrVsSy4= =bvpu -----END PGP SIGNATURE----- --M4ydLswslv2e1C9H--