From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sMjsIX1pSGJiPAEAgWs5BA (envelope-from ) for ; Sat, 02 Apr 2022 17:19:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MAJoH31pSGJrbwEA9RJhRA (envelope-from ) for ; Sat, 02 Apr 2022 17:19:25 +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 BBEC5FEF9 for ; Sat, 2 Apr 2022 17:19:24 +0200 (CEST) Received: from localhost ([::1]:39838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nafX8-0007TY-Ad for larch@yhetil.org; Sat, 02 Apr 2022 11:19:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nafWu-0007TJ-7B for guix-devel@gnu.org; Sat, 02 Apr 2022 11:19:08 -0400 Received: from [2a02:1800:110:4::f00:19] (port=32800 helo=laurent.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nafWr-0003Cd-Po for guix-devel@gnu.org; Sat, 02 Apr 2022 11:19:07 -0400 Received: from [172.20.10.5] ([188.189.158.170]) by laurent.telenet-ops.be with bizsmtp id DrK02700T3gsTD001rK1pk; Sat, 02 Apr 2022 17:19:01 +0200 Message-ID: <547b56ea0a2a714029415385abaaed726fd02074.camel@telenet.be> Subject: Building hexyl (a rust app) without cargo, with antioxidant-build-system From: Maxime Devos To: Hartmut Goebel , guix-devel@gnu.org Date: Sat, 02 Apr 2022 17:18:55 +0200 In-Reply-To: <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> References: <32ae0e474e295fa7f7052abd1bbb8053d2fddf16.camel@telenet.be> <36c1a8dcb363f8780b45156058ea606d0dd50854.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-yp7aECuMha0CZ1Jsmpyl" 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=1648912741; bh=LDe5wNBsJmjNWUkxxMRyJWin2kvJst+oDlB/DlxcW6U=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=miTI8KJRVt7/MUEpk6m3kUR/s6XfriX3HzX+FCTEJmHOwcS1y1VL+7CsR7YIQav5T CpDhGuR06MvAHPOOkHc1iJL/zRyzHVO5bU7kaaS+XFTaKkrPqkhGEQrfBvWKOPNLlr KWVM3gfx4zYxiKrFJiJ98fnjoKSNPJAB+piRzkfMP4D4HxshZ/2Anzz2ptxrpfYnBV rls0ILPvox4fJ0Gjoq8nyJCg00ChKJcx+aU6Y/gk2AAw5EquAWKcyHE1L5ARkypcMN d8TXcLuGznGGsvMNNAjZzit56Ylhw13XNvhdbjUGkx8XTUJRyTg5Jqypl7ZXMQxPH4 nI9pO/gM+KjlQ== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:19 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: Martin Becze 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=1648912764; 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=LDe5wNBsJmjNWUkxxMRyJWin2kvJst+oDlB/DlxcW6U=; b=BqurVciqzgSN0GbkQZr2bYw+1z8Q1YRn12jedj3wZMCpVdp0fBk5O6/kuUW5UHQR3QwLJp UHEgeDbNKNgLz4KBNhiQBSvjGtGmHE1LzqyB3seUEeizFD6C0wlrb1Ldvp/0D7sTlYHGrD lZ1iyxWdwcBhs0oqYKF86496KyaQpR+Gpyu0Oxfly4KU8WDrgyOiMd+n3kfF/NebT4Skrh cCYniNP7pNB2hrsjNLRF0BhvcsvY0LeMnjRaHFk1RIe9OQjxDLkRc6pTLGZ7X6Zc+LI0l7 17QR8hdaldjg6N80J7I1a5VndWAzWdQjwRuKKnDh9MoDCzIxLYm/EsVB27cQGw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648912764; a=rsa-sha256; cv=none; b=q85Hpa6GKNaOtJv3S10NML2K1ZNybK6U6Vmz6q66Z+c6XiwzP+YAvpgQx0n8Ag307kNt4Q k7sMMk7azZcFJWV8WBcioCtwXUUzdEgVN5iOjZsraIYFy5fDnz+aWZN6u7KBHJFbhpQHRD 1l+5BkztU8naemr+CkXBldqijvAvap0pdrNElheCQUxJD0NbRm7Yc3pJORny5dWTXnl4xY FRbqb882cvaNvg504ywm3TIpTPH0l+A4z6yxgWvRGG7IVMQsLB2+mUa0OuaZVeyCYQcAKh VBM2GdCMFBNVj9u9hZHZGNKH+aRE0Us7YetiaE64uOxmyuWecwnywZzeEf1KMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=miTI8KJR; 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.28 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=miTI8KJR; 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: BBEC5FEF9 X-Spam-Score: -11.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: mD0s/8ksvBYc --=-yp7aECuMha0CZ1Jsmpyl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, antioxidant-build-system can now be used for some =E2=80=98real=E2=80=99 so= ftware -- it compiles 'hexyl'. To test, download (commit: d09fd93750ac6d77e0c85623286b45cf5c3b055b) and run "guix build -L . -f guix.scm" and then $ cat guix.scm | /gnu/store/[...]-hexyl-0.8.0/bin/hexyl > lots of coloured hex output Some features of antioxidant-build-system: * 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) Limitations: * 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) Greetings, Maxime. --=-yp7aECuMha0CZ1Jsmpyl 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+4iGRcl7gUCYkhpXxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7h45AQCdTrAnQtnORkYGveOCpBHDL8QY vBmJHLDWkSxBgU2eHgEA8rROlgEntYf8HBEKDFesEHymoWuWSfp13BETH0+9jw8= =Nfou -----END PGP SIGNATURE----- --=-yp7aECuMha0CZ1Jsmpyl--