Solution: changed meson flags (disabled or set to false)
I'm having problems with running ninja to build the
gobject-introspection package in the BLFS book,
When running meson it gives me these 4 warnings
Code:
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: https://github.com/mesonbuild/meson/issues/9300
../tests/scanner/meson.build:546: WARNING: Project targeting '>= 0.55.3' but tried to use feature introduced in '0.57.0': env arg in custom_target.
../tests/scanner/meson.build:573: WARNING: Project targeting '>= 0.55.3' but tried to use feature introduced in '0.57.0': env arg in custom_target.
WARNING: Project specifies a minimum meson_version '>= 0.55.3' but uses features which were added in newer versions:
* 0.57.0: {'env arg in custom_target'}
When running ninja I get these errors:
Code:
[164/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-Gjs
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_784991be409eb47a5f7c5ac08e0c41433a242794.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'Gjs', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-Gjs']
--- stdout ---
--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
[-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates
[165/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-Python
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_31c93d992cf91d2bd63316641a7e5d84abdd4974.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'Python', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-Python']
--- stdout ---
--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
[-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates
[166/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
FAILED: tests/scanner/Regress-1.0-C
/usr/bin/meson --internal exe --unpickle /sources/gobject-introspection-1.70.0/build/meson-private/meson_exe_python3_4a6ef414ebd6d947fbe8388f2a8423010d40908c.dat
while executing ['/usr/bin/python3', 'tools/g-ir-doc-tool', '--add-include-path=/sources/gobject-introspection-1.70.0/build/gir', '--add-include-path=/sources/gobject-introspection-1.70.0/build/tests/scanner', '--language', 'C', '--templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates', 'tests/scanner/Regress-1.0.gir', '-o', 'tests/scanner/Regress-1.0-C']
--- stdout ---
--- stderr ---
usage: g-ir-doc-tool [-h] [--version] [-o OUTPUT] [-l LANGUAGE]
[-f {devdocs,mallard,sections}] [-I INCLUDE_PATHS] [-s]
girfile
g-ir-doc-tool: error: unrecognized arguments: --templates-dir=/sources/gobject-introspection-1.70.0/tests/scanner/../../giscanner/doctemplates
[167/167] Generating tests/scanner/generate-docs...h a custom command (wrapped by meson to set env)
ninja: build stopped: subcommand failed.
It should be noted that I do not have the following
optional packages: gtk-doc, gjs, markdown