all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56584: vala build uses bundled bootstrap binaries
@ 2022-07-15 21:32 Maxim Cournoyer
  2022-07-16  8:18 ` Liliana Marie Prikler
  2023-03-01  5:00 ` Adam Faiz via Bug reports for GNU Guix
  0 siblings, 2 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2022-07-15 21:32 UTC (permalink / raw)
  To: 56584

Hi,

Our vala packages bundle themselves via bundled bootstrap binaries.
When I asked in #vala on the irc.gnome.org, I was pointed to
https://gitlab.gnome.org/ricotz/vala-bootstrap as a possible solution.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56584: vala build uses bundled bootstrap binaries
  2022-07-15 21:32 bug#56584: vala build uses bundled bootstrap binaries Maxim Cournoyer
@ 2022-07-16  8:18 ` Liliana Marie Prikler
  2023-02-18  7:34   ` Liliana Marie Prikler
  2023-03-01  5:00 ` Adam Faiz via Bug reports for GNU Guix
  1 sibling, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2022-07-16  8:18 UTC (permalink / raw)
  To: Maxim Cournoyer, 56584

Am Freitag, dem 15.07.2022 um 17:32 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Our vala packages bundle themselves via bundled bootstrap binaries.
Small correction, it appears to be bootstrapped source files, i.e.
compiler-generated C code.

> When I asked in #vala on the irc.gnome.org, I was pointed to
> https://gitlab.gnome.org/ricotz/vala-bootstrap as a possible
> solution.
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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56584: vala build uses bundled bootstrap binaries
  2022-07-16  8:18 ` Liliana Marie Prikler
@ 2023-02-18  7:34   ` Liliana Marie Prikler
  2023-02-25 20:12     ` Maxim Cournoyer
  0 siblings, 1 reply; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-02-18  7:34 UTC (permalink / raw)
  To: Maxim Cournoyer, 56584

Am Samstag, dem 16.07.2022 um 10:18 +0200 schrieb Liliana Marie
Prikler:
> The code in vala-bootstrap does not appear helpful, it in fact reads
> exactly like Vala-compiled Vala.
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




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56584: vala build uses bundled bootstrap binaries
  2023-02-18  7:34   ` Liliana Marie Prikler
@ 2023-02-25 20:12     ` Maxim Cournoyer
  0 siblings, 0 replies; 6+ messages in thread
From: Maxim Cournoyer @ 2023-02-25 20:12 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 56584

Hi Liliana,

Liliana Marie Prikler <liliana.prikler@gmail.com> writes:

> Am Samstag, dem 16.07.2022 um 10:18 +0200 schrieb Liliana Marie
> Prikler:
>> The code in vala-bootstrap does not appear helpful, it in fact reads
>> exactly like Vala-compiled Vala.
> 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

Neat!  Will you send patches to use it to bootstrap our vala in Guix?

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56584: vala build uses bundled bootstrap binaries
  2022-07-15 21:32 bug#56584: vala build uses bundled bootstrap binaries Maxim Cournoyer
  2022-07-16  8:18 ` Liliana Marie Prikler
@ 2023-03-01  5:00 ` Adam Faiz via Bug reports for GNU Guix
  2023-03-01 20:59   ` Liliana Marie Prikler
  1 sibling, 1 reply; 6+ messages in thread
From: Adam Faiz via Bug reports for GNU Guix @ 2023-03-01  5:00 UTC (permalink / raw)
  To: 56584; +Cc: Liliana Marie Prikler, maxim.cournoyer

> 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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#56584: vala build uses bundled bootstrap binaries
  2023-03-01  5:00 ` Adam Faiz via Bug reports for GNU Guix
@ 2023-03-01 20:59   ` Liliana Marie Prikler
  0 siblings, 0 replies; 6+ messages in thread
From: Liliana Marie Prikler @ 2023-03-01 20:59 UTC (permalink / raw)
  To: Adam Faiz, 56584; +Cc: maxim.cournoyer

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 –
> > 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.
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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-03-01 21:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-15 21:32 bug#56584: vala build uses bundled bootstrap binaries Maxim Cournoyer
2022-07-16  8:18 ` Liliana Marie Prikler
2023-02-18  7:34   ` Liliana Marie Prikler
2023-02-25 20:12     ` Maxim Cournoyer
2023-03-01  5:00 ` Adam Faiz via Bug reports for GNU Guix
2023-03-01 20:59   ` Liliana Marie Prikler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.