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 iEASG25PSGfyFwEAe85BDQ:P1 (envelope-from ) for ; Thu, 28 Nov 2024 11:09:37 +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 iEASG25PSGfyFwEAe85BDQ (envelope-from ) for ; Thu, 28 Nov 2024 12:09:34 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qVYQNJdN; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=H3TJqnu0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732792174; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=xjLzvdUxlsHaHqCWoxWG146rAqInk/G5q4LpvRdx95w=; b=mQYiFccccbcGdLe0VELBdl8HFfRepP+N7R+zagdC3v+JCXYU9Jc9lzxNIGVqD5CFmvADA+ 39P1Yw71FMnyfEP+Z+Z61BT3gGxDxuAi4ai2YgdcW8r6w8fVfjr8DwZBwmn5L08Atzvt6d pV0J6y8mzu3xZFqmZumGZLmtuzYvNt4Bj3eN9oYweJlqDxDSikXz4mmsN0gjjqOfImUJPJ uDZVyplgZMfalVYvGNPMIewx9EUI0vhN7OrfKzMrObQP0n7K55eqNPvyyJO00HR4k3WJUQ wPQ0anQb2V/gcw+ovS86dVc+Vw5FN8Os17n/gfSJzevTIE9vtLQRWEy8tHW0JQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=qVYQNJdN; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=H3TJqnu0; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732792174; a=rsa-sha256; cv=none; b=o6nHo8dm/vIizVVIpAKJoF858Qyq/+zTE6I5I/zaQEm+H8761Mz4Nv8Q6hncnDejys9If1 OUifflgkIL3BLNwfy/OKGzJJj2h0ccl2s3hgN+UBetmGEzT1V8tPg2O3WwdBvWdNfC3IiM 6QRHtWrgELAB1gnuoHJyzrOZYknLpq69uV581k4n27B/tfzfuzgkBizlIZMLLqXRx/jeA/ +QDDdbSZ5wYgt49m35Y8PgcNS3GP+prAfZ1aOzpdLPSABkxBWWQaRpBFooCWavvb2wJhb5 KFII3ZQXUSk+qWGsALFO6J8tyswcPtVbT1R/ILlV9DlcdbvvRDhfM9ub0XOuUQ== 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 4C665849F2 for ; Thu, 28 Nov 2024 12:09:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGcOQ-0004N9-LI; Thu, 28 Nov 2024 06:09:06 -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 1tGcOO-0004Mm-2t for bug-guix@gnu.org; Thu, 28 Nov 2024 06:09:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tGcON-0006wn-R1 for bug-guix@gnu.org; Thu, 28 Nov 2024 06:09:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=xjLzvdUxlsHaHqCWoxWG146rAqInk/G5q4LpvRdx95w=; b=qVYQNJdNBwOmBqb57gj76+q/7RqcazErH6oVyd32XQHRE0ekW0NNJ54Zu0XnLWyd4xJoybFsIK0UHSYeTiXZ2gPovtAzlZcVw6h6t2wjqqCCclkMEktkx9zE1AwrjSi149WORfim6WExIzvyQ3vvwe1RcP9O1yRcFzRyXifccZJkrOYqPh+HMa5XCt1tqH8jf48uIz9L8MFUwm3nbgO2Wqp9OKw9vFwi6Fb4uhoTL7sU1EI9wjNPk0i2Qm8OClTkdY2ut0SZqHTOnTy7WkZdWhuZETDgtjFRbWhNld/PT8MOsMOZg7LuYfIixgfOn0kv/IY2AdVl1HPic/Akk0xTqA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGcOL-0002er-VF; Thu, 28 Nov 2024 06:09:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74217: Bootstrapping Zig with no Binary Blobs Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org, Ekaitz Zarraga Resent-Date: Thu, 28 Nov 2024 11:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74217 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74217@debbugs.gnu.org Cc: Motiejus =?UTF-8?Q?Jak=C5=A1tys?= , =?UTF-8?Q?No=C3=A9?= Lopez , dan , Efraim Flashner , Ekaitz Zarraga Received: via spool by 74217-submit@debbugs.gnu.org id=B74217.173279212510190 (code B ref 74217); Thu, 28 Nov 2024 11:09:01 +0000 Received: (at 74217) by debbugs.gnu.org; 28 Nov 2024 11:08:45 +0000 Received: from localhost ([127.0.0.1]:36911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGcO5-0002eH-5N for submit@debbugs.gnu.org; Thu, 28 Nov 2024 06:08:45 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:60288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGcO3-0002dy-PO for 74217@debbugs.gnu.org; Thu, 28 Nov 2024 06:08:44 -0500 Date: Thu, 28 Nov 2024 19:08:09 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1732792115; 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: in-reply-to:in-reply-to:references:references; bh=xjLzvdUxlsHaHqCWoxWG146rAqInk/G5q4LpvRdx95w=; b=H3TJqnu0/bJH/urlj0baf5453XS2bSjvcjK6e4Gc6JXFhE2h6apcqjN0oMg9022hgjrrA2 WA/zZHjJ8U2GrauY9NITmg6U+kxrgOrA8QmR5vkdK6DL/eAN6v14RvSOqYMAF8AATFAdk0 eS8+GCUh+Yo89lS0RxHrH+gBn0b/6HHRdbg9kFN+NpWZzKUV40BKdX9PzMptJ1UBtTiBDb 9kZXlkLI7pDmsQVdk/i2uwOrpYHgEffBSaBKKk+D163gGywb3d2O8+nEld26Z22rj+COy5 IXqjfkh3cs7wGnY/ZXcu0B1bVAdA6kGqyY5+v1WryjH0HP9ubKkXfWZku1piuA== Message-ID: <87a5djipk6.wl-hako@ultrarare.space> In-Reply-To: <87ed34viqk.wl-hako@ultrarare.space> References: <87ldxngjy4.wl-hako@ultrarare.space> <878qtmvh2i.wl-hako@ultrarare.space> <877c96vd3u.wl-hako@ultrarare.space> <874j4auz7j.wl-hako@ultrarare.space> <87v7wqtbjq.wl-hako@ultrarare.space> <878qtl5g55.wl-hako@ultrarare.space> <87jzd47enj.wl-hako@ultrarare.space> <87a5dx7w1n.wl-hako@ultrarare.space> <87frnns6wh.wl-hako@ultrarare.space> <87ed34viqk.wl-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain From: Hilton Chain via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-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: -2.44 X-Spam-Score: -2.44 X-Migadu-Queue-Id: 4C665849F2 X-TUID: 18+35aTrgKlK I started to learn Zig these days and adjusted patches for Zig a bit. Other than this, I have added a install-source? argument to zig-build-system, it can now install package source to "/src/-". "-Dtarget" is used in zig-build-system's native builds as well, same as Zig for reproducibility. Made "#:zig-inputs" a private keyword, its value will be passed to inputs like cargo-build-system (the build system doesn't extract the whole closure for now, this can be added in the future depending on how Zig ecosystem develops). Set ZIG_GLOBAL_CACHE_DIR and ZIG_LOCAL_CACHE_DIR to "/tmp/zig-cache", and set ZIG_LIBC instead of using "zig build --libc", for convenience. I think this is mostly ready ( again :) ). If there's nothing else missing, I'll post the current status and call for packages to test the build system on guix-devel, together with the concern on generated files.