From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 QClRDljc/mO1NQAAbAwnHQ (envelope-from ) for ; Wed, 01 Mar 2023 06:02:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2AU9DVjc/mOjHwAAG6o9tA (envelope-from ) for ; Wed, 01 Mar 2023 06:02:16 +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 CCDF82F76F for ; Wed, 1 Mar 2023 06:02:15 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=CPW0vV0C; 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=1677646935; 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: 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=7MpQqbcL2vulodQcQfKoi2u78ElUCmLKPg+Ec/CZzKE=; b=U9EL52Fn+BVWdZBQEuzN+IgtiZaL3+Nod9kIZP/SX65BFK2iTlzE/LbNZJxLdzdBwFuTBQ y46cyzWAQj3Ls0yHymDobJQc1FJcXEC1PvDbNGP/FrqpylvQ0hM5I5NyFwrvvAlpgq9V52 xIrmfJ0UufRfa2znWGaQtpHPPAHAa+PYPae9eiicKfE7EZF7J2IIbnUTHkOdCk2xx+T+yK gUsk7N/sOgbOb0SgOJnmZOlMps147AUp/ZVNoFCHKd1XtGTnir6D+k6Mnyh5ceUI4EUwSf Qu6YQNPgTK0awerS09sJRWY2dS9vpt5UEjbh4k8jpKg+/ByuE90s9SrIz7/UwA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=CPW0vV0C; 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=1677646935; a=rsa-sha256; cv=none; b=ho3fnBsRx8XdVcyq/4KhJwFXwLTWP+73DSR+s/dQSyhPcfDoQqSGj4UjFTjnZxAb9olhv6 R1cxx2aYS40c0P8f+WviNOT2jiI+b3zBplcYPOTe629vvzUt6mE0Iw3U7Ncn9R90tVUw7C +36oZ7K3ScClnQP74ofrRYPsJJzPXDccOHxo7p4btQUQckoMjp/LU+Kf81JikJOn20qPta yxRWBoj6TyB1C2KK8NZo3u/MsU5Bq2GvsfExB4OS2iN0nRKN/iXUsIPfJrX5D/e7oBM+7h UFQm4cRqdShmZe7Djw7DHH2Nq9bdC6AA4lRfn6r/qkhP2yH24pjv2Kwr5ps/Gg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXEbN-0001l7-7H; Wed, 01 Mar 2023 00:02:05 -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 1pXEbL-0001kf-2J for bug-guix@gnu.org; Wed, 01 Mar 2023 00:02:03 -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 1pXEbK-0005VZ-MW for bug-guix@gnu.org; Wed, 01 Mar 2023 00:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXEbK-0002Vu-5R for bug-guix@gnu.org; Wed, 01 Mar 2023 00:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#56584: vala build uses bundled bootstrap binaries References: <875yjyukni.fsf@gmail.com> In-Reply-To: <875yjyukni.fsf@gmail.com> Resent-From: Adam Faiz Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Mar 2023 05:02: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: 56584@debbugs.gnu.org Cc: Liliana Marie Prikler , maxim.cournoyer@gmail.com Received: via spool by 56584-submit@debbugs.gnu.org id=B56584.16776468719599 (code B ref 56584); Wed, 01 Mar 2023 05:02:02 +0000 Received: (at 56584) by debbugs.gnu.org; 1 Mar 2023 05:01:11 +0000 Received: from localhost ([127.0.0.1]:52407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXEaU-0002Ul-Nx for submit@debbugs.gnu.org; Wed, 01 Mar 2023 00:01:11 -0500 Received: from knopi.disroot.org ([178.21.23.139]:37432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXEaO-0002UX-QV for 56584@debbugs.gnu.org; Wed, 01 Mar 2023 00:01:08 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3BB7A44804; Wed, 1 Mar 2023 06:01:03 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P7QpaDleeVxN; Wed, 1 Mar 2023 06:01:01 +0100 (CET) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1677646861; bh=NuHSxdDXv1cz+Ru62tPrkUAv/aKzS3yap/4zzzdFkiM=; h=Date:To:Subject:Cc:From; b=CPW0vV0CuTattToQzKS75pbtszoFzreBe+tKg4Gb6l9iwqTAtlt4C+slDC0jFtEsS o9vE4rDyh6H02KulzNqbAeALiYarWLUXGDfsfd554I0/EBh9IdoNr60mezoMBZTyPc 2dzvYL6b6rloCZxBbv3Fm6dkS4lpxEBrtTY5a61FHnbOYkHdonhfSZ2xmaWfG0xxRl K55lr0niayRd3t6oIFBiO6yKpXz+wy//WMqMbNNAg2mLupZ33VGeQnPy18j6f7zrjV bAQhUOT6d52uebdC/mUpVup+2eoBRwcaou/D35UzbGluOfgcaQxX3ckbSGT4WQwSHF C6aBcacPycEiA== Date: Wed, 1 Mar 2023 05:00:56 +0000 MIME-Version: 1.0 Content-Language: en-US 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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Migadu-Spam-Score: -3.29 X-Spam-Score: -3.29 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: CCDF82F76F Reply-to: Adam Faiz From: Adam Faiz 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-TUID: AFIUpSj5I7cD > Looking at the vala source code, we can bootstrap the current version > from 0.39.5.8, which appears to be between release cycles – 0.39.6 > already requires it, whereas 0.39.5 bootstraps from 0.25.1. I'm not > sure how to get 0.25.1 to build from source, though. The code in vala- > bootstrap does not appear helpful, it in fact reads exactly like Vala- > compiled Vala. > > Cheers > I've now hosted my own vala-bootstrap [1], which has valacompiler.c and > gee translated to more readable C already. I'd be happy to take in > patches or transfer it to the bootstrappable project. > > Cheers > > [1] https://gitlab.gnome.org/lilyp/vala-bootstrap An easier route to bootstrap Vala could be the archeological approach: Oldest commit(SVN import): 68f95ffe3aef82aac0fb7bbc65d1faab19902e3c Last commit with only C code(except for tests written in Vala): c300d9c3d0af08f628b6c260bdd32f431a47e0f2 Became self-hosting(it still bootstraps with written C code under valac/): 29a1dec53a4661779cc819ede69732c6c1118088 Removed bootstrappability(removed valac/ directory and uses Vala-generated C code under ccode/): 35bd6909ba2b8467ba95dfe6360e7a7e227115c8 Oldest release: VALA_0_0_1 This information should make it possible to bootstrap Vala.