Build process requires itstools - not a dependency

After compiling, I wanted to install geary using the command
ninja install -C build

It seems, the meson build system requires itstools, but they are not a dependency of geary. More detailed info in the following:

Update icon cache...
gtk-update-icon-cache: Cache file created successfully.
Compiling gsettings schemas...
Running custom install script '/usr/bin/meson --internal yelphelper install --subdir=help --id=geary --installdir=share/help --sources=accounts.page@@archive.page@@bugs.page@@contributing.page@@index.page@@label.page@@limits.page@@overview.page@@preferences.page@@search.page@@shortcuts.page@@star.page@@write.page --symlinks=true --media=figures/geary.svg'
Traceback (most recent call last):
  File "/usr/bin/meson", line 20, in <module>
    sys.exit(mesonmain.main())
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 240, in main
    return run(sys.argv[1:], launcher)
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 229, in run
    return run_script_command(args[1], args[2:])
  File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 177, in run_script_command
    return module.run(script_args)
  File "/usr/lib/python3/dist-packages/mesonbuild/scripts/yelphelper.py", line 130, in run
    merge_translations(build_subdir, abs_sources, langs)
  File "/usr/lib/python3/dist-packages/mesonbuild/scripts/yelphelper.py", line 57, in merge_translations
    subprocess.call([
  File "/usr/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'itstool'
FAILED: install script '/usr/bin/meson --internal yelphelper install --subdir=help --id=geary --installdir=share/help --sources=accounts.page@@archive.page@@bugs.page@@contributing.page@@index.page@@label.page@@limits.page@@overview.page@@preferences.page@@search.page@@shortcuts.page@@star.page@@write.page --symlinks=true --media=figures/geary.svg' exit code 1, stopped
FAILED: meson-install 
/usr/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.