Missing file help/ca/index.docbook
Summary
Cannot install Rhythmbox built from source.
Steps to reproduce
$ mkdir _build
$ cd _build
$ ~/.local/bin/meson .. -Dprefix=/usr -Dfm_radio=disabled -Dplugins_python=enabled -Dlibnotify=enabled -Ddaap=enabled -Dgrilo=enabled -Dgudev=enabled -Dipod=enabled -Dlibsecret=enabled -Dmtp=enabled -Dlirc=enabled -Dsample-plugins=true -Dgtk_doc=true -Dhelp=true -Dtests=true
$ ~/.local/bin/ninja -C .
$ ~/.local/bin/ninja -C . install
...
Installing /home/user/Downloads/src/rhythmbox/_build/help/ca/index.docbook to /usr/share/help/ca/rhythmbox/index.docbook
--- stderr ---
Warning: Could not merge da translation for msgid:
The files imported in the Library are displayed in the track list with the information (like the Artist name or the Album name) stored in the tags embedded on the tracks. <application>Rhythmbox Music Player</application> uses these tags to display the tracks in an organized manner. <_:tip-1/>
Warning: Could not merge ru translation for msgid:
To activate repeat, press the button <guibutton>Repeat</guibutton> on the toolbar. <_:screenshot-1/>
Traceback (most recent call last):
File "/home/user/.local/bin/meson", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 235, in main
return run(sys.argv[1:], launcher)
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 224, in run
return run_script_command(args[1], args[2:])
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/mesonmain.py", line 172, in run_script_command
return module.run(script_args)
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/yelphelper.py", line 131, in run
install_help(src_subdir, build_subdir, sources, media, langs, install_dir,
File "/usr/local/lib/python3.9/dist-packages/mesonbuild/scripts/yelphelper.py", line 72, in install_help
shutil.copy2(infile, outfile)
File "/usr/lib/python3.9/shutil.py", line 443, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.9/shutil.py", line 265, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/help/ca/rhythmbox/index.docbook'
FAILED: install script '/home/user/.local/bin/meson --internal yelphelper install --subdir=help --id=rhythmbox --installdir=share/help --sources=index.docbook@@legal.xml --symlinks=true --media=figures/rb-iradio-main.png@@figures/rb-notification-zone.png@@figures/rb-podcast-main.png@@figures/rb-toolbar-prevplaynext.png@@figures/rb-toolbar-repeat.png@@figures/rb-toolbar-shuffle.png@@figures/rb-volume-changer.png@@figures/rb-window.png' exit code 1, stopped
More information
$ ls -la /home/user/Downloads/src/rhythmbox/_build/help/ca/index.docbook
ls: cannot access '/home/user/Downloads/src/rhythmbox/_build/help/ca/index.docbook': No such file or directory
- OS: Ubuntu 21.04
- Branch: master
- Hash: 1c2a528c
Edited by Erwin W