From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GAbfIKl8X2X02gAAauVa8A:P1 (envelope-from ) for ; Thu, 23 Nov 2023 17:24:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GAbfIKl8X2X02gAAauVa8A (envelope-from ) for ; Thu, 23 Nov 2023 17:24:09 +0100 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 043B334555 for ; Thu, 23 Nov 2023 17:24:09 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b=HPhVlfTo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700756649; 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: content-transfer-encoding:content-transfer-encoding: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=KdcCxBD7Hco6ZnoALV+waZLKIzdhgJXCzH+Hh60Va8M=; b=ow64Dint8lx9mScSpfXsJjRcreleT3QYr01hC6xO5VifKIsUdSALOgJ9vFiaV1xlUXseHS y9lIJo7zc53jk8qvkCXB5VV7oPRDaQjiIpn0khuYmVk6hlePbgNU0rXaB07qnLXJNtb3G0 7sFcfR9SyJZj/J37oYGAYnfpKt69vVT86mSys8pnIYzqYM+JKZrxLYrGWiG8o4Gj/F0VMi zeUnj+X/935okW7E6nkjRZKRdo1HmKyQdyppOkMY4o/K30quCzm2HLJhgEFrh+5U9fJyYr /+OqppIVvj785UaJJ62GOeTtcamm83PHgfpJNtQ8iw8OYAHs3133U4mRyywOoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=soverin1 header.b=HPhVlfTo; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700756649; a=rsa-sha256; cv=none; b=sKJkQ42413x1tjArMYxoWGP8CbSMnZscBvB0EarN1frhBSwixENRXfLJif/yeLI8tsaK51 YKRYKGxERK2+VzUKKEGofGW8xSRUV30RurNXvX6hrs+PeWPR8wa1cpGLstvRiQ0ePucgRc 2Zb04uPegaeNN8Wau2/hJlv1m1/6untvwINU+QHNCLfxJS6hNqNTxT5c7bPpN3INCHMZJ1 74BLfa/PEbRtgmcQscD+firv5NdT++Fe//iV3ZFNOKMwaOrsTRqkw6m86/jgFboIVo9E6q zTIBOayeVEahQVXEKuJy9MLSOZFcF8jHL6uoZFKYl1JMWYg8EjK97XdBMWSOAw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6CUi-0007jJ-If; Thu, 23 Nov 2023 11:24:00 -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 1r6CUg-0007ii-EJ for guix-patches@gnu.org; Thu, 23 Nov 2023 11:23:58 -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 1r6CUg-0005DO-20 for guix-patches@gnu.org; Thu, 23 Nov 2023 11:23:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6CUj-0004Rk-Qh for guix-patches@gnu.org; Thu, 23 Nov 2023 11:24:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66723] [PATCH 0/3] gnu: zig-0.10: Inherit from zig-0.9. Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Nov 2023 16:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66723 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Hilton Chain , 66723@debbugs.gnu.org Cc: =?UTF-8?Q?Nguy=E1=BB=85n?= Gia Phong , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 66723-submit@debbugs.gnu.org id=B66723.170075660517041 (code B ref 66723); Thu, 23 Nov 2023 16:24:01 +0000 Received: (at 66723) by debbugs.gnu.org; 23 Nov 2023 16:23:25 +0000 Received: from localhost ([127.0.0.1]:34840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6CU9-0004Qm-7U for submit@debbugs.gnu.org; Thu, 23 Nov 2023 11:23:25 -0500 Received: from dane.soverin.net ([2a10:de80:1:4091:b9e9:221f:0:1]:37297) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6CU6-0004QX-CB for 66723@debbugs.gnu.org; Thu, 23 Nov 2023 11:23:23 -0500 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4Sbk1X67cNz2xf9; Thu, 23 Nov 2023 16:23:12 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4Sbk1W7196z36; Thu, 23 Nov 2023 16:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1700756592; 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: in-reply-to:in-reply-to:references:references; bh=KdcCxBD7Hco6ZnoALV+waZLKIzdhgJXCzH+Hh60Va8M=; b=HPhVlfToEIwuuTVfyunsH1AqiUTuZXSRHGdRTM6MJCUzzmIT78ZZAqq8ppTtmrjh8YOq9I 9b2+Oh/u6iOpgdx8SxP2r6zf12hUUQN114VAsCPWBqni825BZU0/Vow2IfS0lD7c4V9r2E FwlZ3EdPuL+nZX3V/yqflUWVs4Hsx+XaHICVjyFklVzy6AN0OE7MMlHYxn/gHt9PqUtFWq WlSnSh7DVp2urM9HvMWPG0zx5Y003IwD+1TOr46Vta4+m/p4zwkCeg6mkQabHUXriyPw5v unghEqy+TzK1L5ZJtWOHr16DQ8G2W/rsgtG1ES6B8KVQkQRxKQbVPuHq3csKeg== Message-ID: Date: Thu, 23 Nov 2023 17:23:11 +0100 MIME-Version: 1.0 Content-Language: en-US, es-ES, eu References: <87wmuakmv8.fsf@gnu.org> <87cyw0trxi.wl-hako@ultrarare.space> From: Ekaitz Zarraga In-Reply-To: <87cyw0trxi.wl-hako@ultrarare.space> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-Migadu-Queue-Id: 043B334555 X-Migadu-Scanner: mx10.migadu.com X-TUID: iMhYRKETY4IW Hi, On 11/23/23 16:23, Hilton Chain wrote: > Hi, > > On Sun, 19 Nov 2023 19:35:13 +0800, Nguyễn Gia Phong wrote: >> >> Should we keep Zig 0.9? All currently packaged Zig programs requires it >> anymore AFAICT, and the language is immature enough I'd argue we should only >> keep older versions when necessary. >> >> Your patchset adding LLVM 16 has been applied BTW, I can't wait for Zig 0.11! > > > I didn't realise that Zig 0.11 includes a binary file when sending the cover > letter. So I haven't bootstrapped it yet, sorry that I didn't mention this > earlier... > > Though Zig 0.11 is not bootstrapped, here's a patch to use it at the moment: > https://paste.sr.ht/~hako/c6fb3a872c1e91a09500bf1288e128215ca80d12 > > > I have no experience in both bootstrapping and Zig, so I don't know exactly what > to do further. We can talk about how to do it, I'm not sure about it yet. > (Cc-ed Ekaitz since they are more familiar with the topic) Thanks for keeping me on the loop. I missed this thread. > For Zig I think the first step is to create a path from the last commit that has > a stage1: > 4e2a960b523070c7f8fddf0ea9b6e2a94e31dafe (std.fs: fix openDirAbsolute) > to the addition of the binary file: > 20d86d9c63476b6312b87dc5b0e4aa4822eb7717 (add zig1.wasm.zst) > > But for now I'm not sure how. > > > On Wed, 22 Nov 2023 20:12:43 +0800, Ludovic Courtès wrote: >> >> Hi Hilton, >> >> Hilton Chain skribis: >> >>> This series applies gexp to package arguments of zig@0.9 and zig@0.10, and >>> makes the latter inherit from the former. >>> >>> I have already packaged zig@0.11, which depends on LLVM 16 >>> (https://issues.guix.gnu.org/66701), will send the patch soon. >>> >>> Hilton Chain (3): >>> gnu: zig-0.10: Use gexp. >>> gnu: zig-0.9: Use gexp. >>> gnu: zig-0.10: Inherit from zig-0.9. >> >> It’s been a while, and I think this patch series can go in. >> >> As Nguyễn Gia Phong, we should question whether to keep zig 0.9, but that can >> come later. > > > Thank you! I'll push the series this weenkend. My 2 cents here: I made a very similar package to this one on my own. But the tests are failing for cross compilation targets. This is not cool. I think you just disabled those but we do have an issue reported at Zig (https://github.com/ziglang/zig/issues/18063) that is relevant. I don't mind to leave this as you proposed at the moment, this issue will take long to fix, probably. I just read the changes diagonally but I think my research leads to the same resulting package so this patch series look pretty ok to me. We need to discuss that bootstrapping issue though. Feel free to reach me in IRC and we can find a solution together, or we can continue the discussion here. I tried to avoid the webassembly thingie using an older zig version without it and making the bootstrapping à la rust, but as zig changes fast using the previous version as a stage2 compiler simply doesn't work. We need to catch some commit in the middle and probably make incremental packages until we reach the current zig. Doesn't feel reasonable, so we may need to find other kind of solution. As said, we need to discuss this. Thanks for the patches and for keeping me on the loop. Ekaitz