From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MIxLIOO8/2NmbgEAbAwnHQ (envelope-from ) for ; Wed, 01 Mar 2023 22:00:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4BIVIOO8/2MsKQAAauVa8A (envelope-from ) for ; Wed, 01 Mar 2023 22:00:19 +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 2E59228376 for ; Wed, 1 Mar 2023 22:00:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXTYV-0008L4-Na; Wed, 01 Mar 2023 16:00: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 1pXTYQ-00087f-RB for bug-guix@gnu.org; Wed, 01 Mar 2023 16:00:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXTYQ-0004Oz-DJ for bug-guix@gnu.org; Wed, 01 Mar 2023 16:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXTYQ-0000AC-6h for bug-guix@gnu.org; Wed, 01 Mar 2023 16:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#56584: vala build uses bundled bootstrap binaries Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Mar 2023 21:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56584 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Adam Faiz , 56584@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com Received: via spool by 56584-submit@debbugs.gnu.org id=B56584.1677704388577 (code B ref 56584); Wed, 01 Mar 2023 21:00:02 +0000 Received: (at 56584) by debbugs.gnu.org; 1 Mar 2023 20:59:48 +0000 Received: from localhost ([127.0.0.1]:54985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXTYC-00009F-0b for submit@debbugs.gnu.org; Wed, 01 Mar 2023 15:59:48 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:47061) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXTYA-00008y-40 for 56584@debbugs.gnu.org; Wed, 01 Mar 2023 15:59:46 -0500 Received: by mail-ed1-f68.google.com with SMTP id o15so56831367edr.13 for <56584@debbugs.gnu.org>; Wed, 01 Mar 2023 12:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677704380; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=8j1lRLMUomfrDaleHHB5/1JzUZ7cxXO0qC3xbO2S4Lc=; b=OcLQ7j0ZR138SlB0T3Ttny73z1ywf6wyWtTxTJ/Tc0SZRySdqXma+d+X11SrlTEzJq SloMzKdz9Ib8Cusbsx7RWBEJ8xQqMm8VsyFwx039K2CJyUb+WsFpOHQ2PuTFsp29cPhR FVgQsgKxBV3WibvnKQErko+cdj2/ha3avXvg7NR1Ovr6ayCiJYOU+IPzvyLs6kPlclaa 5yK9v7XwYHxoEdo1CNQEws/q+zd7SsCnZWu0FazP5OQ7G/4IfiwKz65lQBSB+DHts/m3 WZlgumG0ls3B2PrZWbJFleNP0Nsp7HIConjIPgZ2JzRah6ZgZF6bdpVlK4qMFMAMdlv0 Vr1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677704380; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8j1lRLMUomfrDaleHHB5/1JzUZ7cxXO0qC3xbO2S4Lc=; b=kHlmwUz4DWBWiB7QQZ51+iC1hSLWpuor42puwRuDcnZVbLY+2NUzWLHDkiBnNdMoJz wzEzIvhq7VkwDYCGvGuEKMJo69ww81eOg8IKzTU0ruXX8QmzfSLNdetkNdJbW5cCy/pL 1x+1l84Qry2Fd7QQ5zpPdFcXD5/xoE1A99nQe5vwtQo59dycc8xhgCyR84MRanib5Yf5 RemUpRHPk0xSp7HOAmtJ6AWicFutfqIIgJjMvivd9D/EDbY6T60uoGD2nzQuodGLsGds wYxfyWT9QBPYI46SDTQ2J6LeTfzWm+fLzG1IFCnTgQaBUGtFA7hv3J+yG/fVIo3ok4bq pphA== X-Gm-Message-State: AO0yUKVPrjvx5Wx+7/KSK5pjQXfX5CKW7lt4gvPJdx5IYg8K0T0wUfbD 66HF0IEfYbz39hZhJRgAlh8= X-Google-Smtp-Source: AK7set+9OmLK0jSE29YXwNMcoScZ8STnMV73HBQG48JMl0ZnS6VFigwqPMPlB2+4mMFiXiynZectig== X-Received: by 2002:a17:907:7206:b0:8b1:94cc:4a6b with SMTP id dr6-20020a170907720600b008b194cc4a6bmr10490151ejc.37.1677704379935; Wed, 01 Mar 2023 12:59:39 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id bp11-20020a170907918b00b008de10925a45sm6192004ejb.159.2023.03.01.12.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 12:59:39 -0800 (PST) Message-ID: <58613c216729af92e868bac39925fe8e01628bf3.camel@gmail.com> From: Liliana Marie Prikler Date: Wed, 01 Mar 2023 21:59:38 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 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: , 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677704419; a=rsa-sha256; cv=none; b=iAfbtXXjs6Aga2bNH46IoEuWgBSSp453O35JSH5w4yDoh4hrDmKUAhlpk24t0eJ0c+QzA8 pjQ2FGQ/e8LoxwrkA8soX8bl7+0EBNgPtICFP+1VkDCnZwdZ32YOXWNXihs2YmQgkoIVr4 1rc3j5DtAM/r1W+Siun9PGAcqHHL/KzA58lhdX35m1Uyiw2QzvDbwLQnfWXSScbAdndcul Etna+k9aEtIC1zrDY9PNzeJ+DWnpTfrRZSwB9LpZOIRQbnSx8yuY1bXSEH0VCOZxSDq4Ca rbZIFb0VA/FluxGeNHr1hIaVK5aZuV2l3/SxoCB2HRbyePn78Cz6FQVDwIXrEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OcLQ7j0Z; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677704419; 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=8j1lRLMUomfrDaleHHB5/1JzUZ7cxXO0qC3xbO2S4Lc=; b=iHqln2XwHFY8tdj2PxO+nx2dnjwpfSLtQbsMqvptphOVvnUaIZaoXSBOkODQp4j9Fzq0op cbuIjWGU+K+SceJxV9b2ZsSPb4+5MamWRAmlHjua6s+zc0iwHJ5kIXUf+/K/l7SLWh3YkD HSKWudYkK8TEMPuup4jyoODFBuwL18bIzv3StBE/jtLKJ0CJsaOe24oDJLM/fp/9pWBIRl BajdQqiL6xwKHmkqJh3cdz4rPQJOMWK4OODY09vuOjTvJNG9OqoohQLMZR/S/QFsYmaRbH rrhznIqR9bebWHHbejE2+8Wn9Xu9uB6og6TRWP4VTyXvWpE7Iumu0AkgucsQxA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.59 X-Spam-Score: -0.59 X-Migadu-Queue-Id: 2E59228376 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=OcLQ7j0Z; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: JeuDEdQSAQAH Am Mittwoch, dem 01.03.2023 um 05:00 +0000 schrieb Adam Faiz: > > Looking at the vala source code, we can bootstrap the current > > version from 0.39.5.8, which appears to be between release cycles =E2= =80=93 > > 0.39.6 already requires it, whereas 0.39.5 bootstraps from 0.25.1.=C2= =A0 > > I'm not sure how to get 0.25.1 to build from source, though.=C2=A0 The > > code in vala-bootstrap does not appear helpful, it in fact reads > > exactly like Vala-compiled Vala. > >=20 > > Cheers >=20 > > I've now hosted my own vala-bootstrap [1], which has valacompiler.c > > and gee translated to more readable C already.=C2=A0 I'd be happy to > > take in patches or transfer it to the bootstrappable project. > >=20 > > Cheers > >=20 > > [1] https://gitlab.gnome.org/lilyp/vala-bootstrap >=20 > An easier route to bootstrap Vala could be the archeological > approach: >=20 > Oldest commit(SVN import): 68f95ffe3aef82aac0fb7bbc65d1faab19902e3c > Last commit with only C code(except for tests written in Vala):=20 > c300d9c3d0af08f628b6c260bdd32f431a47e0f2 >=20 > Became self-hosting(it still bootstraps with written C code under > valac/):=20 > 29a1dec53a4661779cc819ede69732c6c1118088 >=20 > Removed bootstrappability(removed valac/ directory and uses Vala- > generated C code under ccode/): > 35bd6909ba2b8467ba95dfe6360e7a7e227115c8 >=20 > Oldest release: VALA_0_0_1 >=20 > This information should make it possible to bootstrap Vala. Provided that we find a version of yacc that doesn't choke on the grammar files. Also, we got an uncertain road ahead for Valas before 0.35.1, and then vala 0.39.6 did a dirty bump in which they rely on a practically unreleased version. So yes, the archeological approach could work, but I wouldn't necessarily count on it being "easy". Cheers