I am attempting to install astal-io as it's a dependency for hyprpanel.
I am getting the following error:
Code: Select all
pete@darkstar ~/build/astal/lib/astal/io main meson setup wipe
The Meson build system
Version: 1.10.1
Source dir: /home/pete/build/astal/lib/astal/io
Build dir: /home/pete/build/astal/lib/astal/io/wipe
Build type: native build
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 meson 2.0.
See also: https://github.com/mesonbuild/meson/issues/9300
Project name: astal-io
Project version: 0.1.0
C compiler for the host machine: cc (gcc 15.2.1 "cc (Gentoo 15.2.1_p20251122 p3) 15.2.1 20251122")
C linker for the host machine: cc ld.bfd 2.45.1
Vala compiler for the host machine: valac (valac 0.56.18)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Configuring config.vala using configuration
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Run-time dependency glib-2.0 found: YES 2.84.4
Run-time dependency gobject-2.0 found: YES 2.84.4
Run-time dependency gio-2.0 found: YES 2.84.4
Run-time dependency gio-unix-2.0 found: YES 2.84.4
Program python3 found: YES (/usr/bin/python3)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Found pkg-config: YES (/usr/bin/pkg-config) 2.5.1
Build targets in project: 4
Found ninja-1.13.2 at /usr/bin/ninja
pete@darkstar ~/build/astal/lib/astal/io main meson install -C build
ninja: Entering directory `/home/pete/build/astal/lib/astal/io/build'
[1/2] Generating AstalIO-0.1.gir with a custom command
FAILED: [code=1] AstalIO-0.1.gir
/usr/bin/python3 ../gir.py --name astal-io --gir AstalIO-0.1.gir --pkgs gio-unix-2.0 config.vala ../application.vala ../daemon.vala ../file.vala ../process.vala ../time.vala ../variable.vala
Traceback (most recent call last):
File "/home/pete/build/astal/lib/astal/io/build/../gir.py", line 95, in <module>
_valadoc(args.name, gir, args.pkgs, args.sources)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/pete/build/astal/lib/astal/io/build/../gir.py", line 71, in _valadoc
subprocess.run(
~~~~~~~~~~~~~~^
cmd,
^^^^
...<3 lines>...
stdout=sys.stdout,
^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.13/subprocess.py", line 554, in run
with Popen(*popenargs, **kwargs) as process:
~~~~~^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1039, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pass_fds, cwd, env,
^^^^^^^^^^^^^^^^^^^
...<5 lines>...
gid, gids, uid, umask,
^^^^^^^^^^^^^^^^^^^^^^
start_new_session, process_group)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/subprocess.py", line 1991, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'valadoc'
ninja: build stopped: subcommand failed.
Could not rebuild /home/pete/build/astal/lib/astal/io/build
Thanks
