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 0JTSImPSSWc3gAAAe85BDQ:P1 (envelope-from ) for ; Fri, 29 Nov 2024 14:40:35 +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 0JTSImPSSWc3gAAAe85BDQ (envelope-from ) for ; Fri, 29 Nov 2024 15:40:35 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ultrarare.space header.s=dkim header.b=qcAGS9v8; 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=reject) header.from=ultrarare.space 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 96AFC7CF21 for ; Fri, 29 Nov 2024 15:40:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tH29T-0003Mh-Qp; Fri, 29 Nov 2024 09:39:23 -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 1tH29R-0003Lc-VH for guix-devel@gnu.org; Fri, 29 Nov 2024 09:39:21 -0500 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH29Q-00061T-8J for guix-devel@gnu.org; Fri, 29 Nov 2024 09:39:21 -0500 Date: Fri, 29 Nov 2024 22:39:10 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1732891155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=D4XbbVlPrNLcAoj+u955VVHoAPLKMv08kmAOW+mO3jg=; b=qcAGS9v8voLMyBmhOQk/fQU2/Sh8zOYtxUyziwOONoJqMmmdmsnXqdKQPyhr9UG0ejzyNH K8ygqA/rkIf+NwQdQyhhCB4oNzPLAbFhQq5cfoY/n9Q58s9KVuhXMTd2GTiB4QNwhMrBrk fVXDoVZR/NPU5dpd3BBF3Pj6hhiq+sf0uJV27kMvvbwZ6w70Td2IZRwHFKdQsfMCg4GDsg dEOawGJu2Gh2dZDUaWfDnDD4KKA+foimeo+FG405MSacE37vFh/yf+BQd7zE5StXbikHzj 1ekTnNtgf0T11ncLUjwXMbcFNrsoypFSsT5W0LH7UcsthymUYWeNrw1yltBH4g== Message-ID: <87a5dip0j5.wl-hako@ultrarare.space> From: Hilton Chain To: guix-devel@gnu.org Cc: dan , Efraim Flashner , Ekaitz Zarraga , Motiejus =?ISO-8859-2?Q?Jak=B9tys?= , =?ISO-8859-1?Q?No=E9?= Lopez Subject: Bootstrapping Zig with no binary blobs: status update and call for packages. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: -- Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: 0.66 X-Spam-Score: 0.66 X-Migadu-Queue-Id: 96AFC7CF21 X-TUID: P0VKIGRj4l8D Hello Guix! After working on 'wip-zig-bootstrap' branch for the past month[1], I'm glad= to say it's ready for testing now! + Zig is bootstrapped to the current release, 0.13.0! Greatly thanks to Motiejus! I cannot find out the way without them finishi= ng the trickiest part. They have also published a blog post[2]. You can now use Zig 0.13.0 and everything on wip-zig-bootstrap via =A1guix time-machine=A2, for example: --8<---------------cut here---------------start------------->8--- guix time-machine \ --no-channel-files \ --branch=3Dwip-zig-bootstrap \ -- shell zig@0.13 --8<---------------cut here---------------end--------------->8--- Building 0.13 from the beginning of bootstrap chain takes around 5 hours on= my machine. Efraim is building the branch on berlin so there should be some substitutes on ci.guix.gnu.org, at least for sources. Patches for adjusting linking behavior have been applied to all release ver= sions we currently have (0.9.1, 0.10.1, 0.11.0, 0.12.1, 0.13.0). They should work just fine without any extra workaround, please report to [1] if you encount= er any issue. + Cross build and Zig package manager support are available in zig-build-sy= stem. zig-build-system now by default installs source under "/src" of package out= put. Like in go-build-system, this can be disabled by setting #:install-source? = to #f. Other new arguments, #:skip-build? and #:zig-inputs, like the ones in cargo-build-system, are available. Note that packages and sources in #:zig-inputs must have their output names starting with "zig-". Example packages are available in (gnu packages zig-xyz) on wip-zig-bootstr= ap[3]. These new features need testing, please send your favorite packages to guix-patches@gnu.org, targeting wip-zig-bootstrap and prefixed with "zig-te= am", the more the better :) Cheers, Hilton --- [1]: Bootstrapping Zig with no Binary Blobs https://issues.guix.gnu.org/74217 [2]: Zig Reproduced Without Binaries https://jakstys.lt/2024/zig-reproduced-without-binaries/ [3]: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/zig-xyz.s= cm?h=3Dwip-zig-bootstrap