I find the build process complicated and hard to debug, a couple of suggestions:
Subcommand failed: error while running /usr/local/bin/python3.11 /usr/home/saper/src/ada/langkit/lkt/check_bootstrap.py -q:
Command '['/usr/local/bin/python3.11', '/usr/home/saper/src/ada/langkit/lkt/check_bootstrap.py', '-q']' returned non-zero exit status 1.
Build the Liblktlang support library:
$ python manage.py make --no-mypy --library-types=static,static-pic,relocatable
But this seems to build more than just that library.
Do I get it right that logical steps of the build process are:
python3 manage.py build-langkit-support (all library types if needed)
python3 manage.py install-langkit-support (all library types if needed)
python3 manage.py bootstrap - this builds relocatable library only in lkt/bootstrap/lib/relocatable/dev/liblktlang.so
- some code generation
- ...
I find the build process complicated and hard to debug, a couple of suggestions:
gprbuildandgprinstallverbose modes - changing python is neededNO_COLORenvironment variable (or maybe alsoCI) in the langkit.utils.colorsBut this seems to build more than just that library.
Do I get it right that logical steps of the build process are:
python3 manage.py build-langkit-support(all library types if needed)python3 manage.py install-langkit-support(all library types if needed)python3 manage.py bootstrap- this builds relocatable library only inlkt/bootstrap/lib/relocatable/dev/liblktlang.so