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 6Mn1JW2PPGcK8QAAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 13:15:25 +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 6Mn1JW2PPGcK8QAAe85BDQ (envelope-from ) for ; Tue, 19 Nov 2024 14:15:25 +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=RMJEojuW; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Y8BrqJ6x; 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=1732022125; 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=Bja5RyVx35HDEISRjNoEtVp8GncADQmCx3TuV+f04fA=; b=F8ps1K0vPEYjZ/JYdeS/3wBxyP4d7z7ADj53vjExucCAvHaM8h622VQEPuqPudG5znz0O4 16319dObAhv6H6vtMMJmifAa1gjUYWsfSg1Ey63SOcPgd4yjowICDNXx6p1XSvTYfu+1Qs svj886R0jbF9pQnPr0CyoFVXRKhenSvYIeXsXMIn6aQM4CoXPTcAOjVi2nAS6R3ovir0jq UFy+wHO8qD/l+U9yVuSV2/xURbI+0nAbw4+ThngcWv2rB1AQlBOzaSBro/XAQw9ancTc6m hYLpzwPPiWty+rX6nXRXnEYEYInamt/AxwQ84C3qdQyTtoEdiKMKzWutfAINoQ== 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=RMJEojuW; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=Y8BrqJ6x; 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=1732022125; a=rsa-sha256; cv=none; b=Pw8uPfXBLEtkcljrPoRn6Uz2cbEysXV0pSXChxTdDqsj4VpDmdj0FGzSyGTnsExIBTW48s 2RYMV0iqTBmzuDLZoqGC0Xua1Qy+RHmb/h6FnYm/FwrliQvrTf4z5Rl+7DLx+v7EsrVdp0 wWmohz0PZebL4frr8Tcj+p+JQFJWXbVXUGTmUIa7MBnfJ3HdWWEfkM1WRdZ6l30LE/17Xv wGlyDWbDBIGTzOzYzn8s8FNoz/DpDCT0xDi4XcKZLo45Wpg+I41821P3/vWCbsnbQrAgIl 9yjZ6YbJBIsCmjp607jSgyGY2hv9BDoBZ/960OG70vsqlJ8L+1LH/2SkyKMBgw== 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 1E9E786A25 for ; Tue, 19 Nov 2024 14:15:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDO4Q-0004xR-Ot; Tue, 19 Nov 2024 08:15:07 -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 1tDO4N-0004uj-86 for bug-guix@gnu.org; Tue, 19 Nov 2024 08:15:03 -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 1tDO4M-0003Qm-VQ for bug-guix@gnu.org; Tue, 19 Nov 2024 08:15: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=Bja5RyVx35HDEISRjNoEtVp8GncADQmCx3TuV+f04fA=; b=RMJEojuW9ZR9ypvFJQkP8Nnwx6O1g9xXeXGRFVERoFVkGxkerjZqYch6jStmvB4xySpUW1lIPXxGbHANrdfyHPIFHMlx0cinX3QGUL15y9d/FkqKDQ/B5xg7E2f9NTiksif3b1Zvbg8/oQNe1kzhJ0sM/DMJN6zpQMPgxT+QL8TO5aF86IY8cTnq0G7Zg334+d9wVVFRqU9BvmlGsVqjl/BXSr4gk6MeIy4JOhzRIz6tGz99ToAWYZd4KkNB+ya/1AfZJoxjNWtZxNldNYMnkzaQzCPesN7kIQ7kW0MTGmjo0GsF1gYeiP6ZkZU7DwMiZVCTnKZ7D7ZpDKpoXR2nuQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDO4L-0005E9-Se; Tue, 19 Nov 2024 08:15: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: Tue, 19 Nov 2024 13:15: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.173202205620017 (code B ref 74217); Tue, 19 Nov 2024 13:15:01 +0000 Received: (at 74217) by debbugs.gnu.org; 19 Nov 2024 13:14:16 +0000 Received: from localhost ([127.0.0.1]:41464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDO3c-0005Cn-5v for submit@debbugs.gnu.org; Tue, 19 Nov 2024 08:14:16 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:59536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDO3a-0005CY-3V for 74217@debbugs.gnu.org; Tue, 19 Nov 2024 08:14:15 -0500 Date: Tue, 19 Nov 2024 21:13:50 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1732022046; 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=Bja5RyVx35HDEISRjNoEtVp8GncADQmCx3TuV+f04fA=; b=Y8BrqJ6xnTOWN1jmJ7zwmKgldqxXNp0qKvtMKTOTcmUhDac2zd9M7Za4sqxe22N8bHdTYq LtChlKo2+Fo36pteisNblBRDiRJcKIG0LQEqIcB0GWUm/Q/oM/36HQdRofVDidp87iIFwN dxD15iPVpgDKzvw4+5yy9lGZ8YuwksNMhBcEwAp0fahrjj4UAQfza8+KEaQ0f1g9UMuA8Y dIkHxfuT35Igi2oiVoAhzPXIr31gXf3TMqNrIssCAWtOa4Owebc/3LmOTTp0QvqE/8mZT3 RB7U9A+pna8CdiYBmsVZMLJTFVpEOZ8rUcOj1sBKz04TWYvFsPGdxTGz2dxndA== Message-ID: <87frnns6wh.wl-hako@ultrarare.space> In-Reply-To: <87a5dx7w1n.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> 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.42 X-Spam-Score: -2.42 X-Migadu-Queue-Id: 1E9E786A25 X-TUID: ZjORgQGHqrOc On Sun, 17 Nov 2024 22:51:48 +0800, Hilton Chain wrote: > > Thanks, I have ported all patches and pushed. GUIX_ZIG_LIBC_DIR is changed to > GUIX_ZIG_GLIBC_LINKER and is set as full path in Guix side because I don't want > mess with strings in Zig side... Reworked this, patched Zig to search dynamic linker in CROSS_LIBRARY_PATH or LIBRARY_PATH (added in the use-system-paths patch), no extra environment variable introduced now. > > We now have a couple of phases that are before the 'build phase, do you > > think it'd be better to consolidate them into a 'configure phase? > > There's no 'configure' script to run, but it does do a lot of > > preparation before the actual 'build phase... > > I have merged these phases into configure, forgot to change commit log though. Moved zig-target and zig-build-system's configure phase to (guix build zig-utils) to avoid dependency issue, as building Zig now uses them too. Removed nonfree files (IETF RFC documents) from Zig source. I'll take a look at Zig package manager support.