Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't check for required itstool for gnome.yelp #7653

Closed
hadess opened this issue Aug 27, 2020 · 0 comments · Fixed by #9557
Closed

Doesn't check for required itstool for gnome.yelp #7653

hadess opened this issue Aug 27, 2020 · 0 comments · Fixed by #9557

Comments

@hadess
Copy link

hadess commented Aug 27, 2020

Using meson-0.55.1-1.fc34 trying to build malcontent, which uses gnome.yelp would fail with:

Traceback (most recent call last):
  File "/usr/bin/meson", line 33, in <module>
    sys.exit(load_entry_point('meson==0.55.1', 'console_scripts', 'meson')())
  File "/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 228, in main
    return run(sys.argv[1:], launcher)
  File "/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 217, in run
    return run_script_command(args[1], args[2:])
  File "/usr/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 165, in run_script_command
    return module.run(script_args)
  File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/yelphelper.py", line 130, in run
    merge_translations(build_subdir, abs_sources, langs)
  File "/usr/lib/python3.9/site-packages/mesonbuild/scripts/yelphelper.py", line 57, in merge_translations
    subprocess.call([
  File "/usr/lib64/python3.9/subprocess.py", line 349, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib64/python3.9/subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.9/subprocess.py", line 1819, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'itstool'

if itstool is missing.

pabloyoyoista added a commit to pabloyoyoista/meson that referenced this issue Nov 6, 2021
pabloyoyoista added a commit to pabloyoyoista/meson that referenced this issue Nov 7, 2021
pabloyoyoista added a commit to pabloyoyoista/meson that referenced this issue Nov 7, 2021
pabloyoyoista added a commit to pabloyoyoista/meson that referenced this issue Dec 11, 2021
This is basically a rewrite of the gnome.yelp target to remove the
ad-hoc script, which generates multiple issues, including meson
not knowing which files were installed.

Closes mesonbuild#7653
Closes mesonbuild#9539
Closes mesonbuild#6916
Closes mesonbuild#2775
Closes mesonbuild#7034
Closes mesonbuild#1052

Related mesonbuild#9105
Related mesonbuild#1601
Dudemanguy pushed a commit to Dudemanguy/meson that referenced this issue Jan 21, 2022
This is basically a rewrite of the gnome.yelp target to remove the
ad-hoc script, which generates multiple issues, including meson
not knowing which files were installed.

Closes mesonbuild#7653
Closes mesonbuild#9539
Closes mesonbuild#6916
Closes mesonbuild#2775
Closes mesonbuild#7034
Closes mesonbuild#1052

Related mesonbuild#9105
Related mesonbuild#1601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant