3.32.0 can't generate gtk-doc (meson 0.50.1)
Seems to be impossible to generate libwnck API doc.
ninja install "crash"
Start trace ;-----------------
Traceback (most recent call last): File "/usr/lib/python3.7/shutil.py", line 563, in move os.rename(src, real_dst) FileNotFoundError: [Errno 2] No such file or directory: '/home/jmp/rpmbuild/BUILD/libwnck-3.32.0/build/doc/html/libwnck.devhelp2' -> '/home/jmp/rpmbuild/BUILD/libwnck-3.32.0/build/doc/html/libwnck-3.0.devhelp2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/bin/meson", line 11, in load_entry_point('meson==0.50.1', 'console_scripts', 'meson')() File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 219, in main return run(sys.argv[1:], launcher) File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 208, in run return run_script_command(args[1], args[2:]) File "/usr/lib/python3.7/site-packages/mesonbuild/mesonmain.py", line 156, in run_script_command return module.run(script_args) File "/usr/lib/python3.7/site-packages/mesonbuild/scripts/gtkdochelper.py", line 259, in run options.mode) File "/usr/lib/python3.7/site-packages/mesonbuild/scripts/gtkdochelper.py", line 205, in build_gtkdoc os.path.join(htmldir, '{}-{}.devhelp2'.format(module, module_version))) File "/usr/lib/python3.7/shutil.py", line 577, in move copy_function(src, real_dst) File "/usr/lib/python3.7/shutil.py", line 263, in copy2 copyfile(src, dst, follow_symlinks=follow_symlinks) File "/usr/lib/python3.7/shutil.py", line 120, in copyfile with open(src, 'rb') as fsrc: FileNotFoundError: [Errno 2] No such file or directory: '/home/jmp/rpmbuild/BUILD/libwnck-3.32.0/build/doc/html/libwnck.devhelp2' FAILED: meson-install /usr/bin/meson install --no-rebuild ninja: build stopped: subcommand failed.
End Trace ;-----------------
Building sequence is:
pushd build
meson
--prefix=%{_prefix}
-Dbuildtype=release
-Dgtk_doc=true
..
ninja
#then
DESTDIR=%{buildroot}
ninja install
----> Crash
popd
Note: The API doc builder, gtkdochelper.py, seems unable to find expected file libwnck.devhelp2
Caution, build is done with
meson-0.50.1
ninja-1.9.0
gettext-0.20.1
gcc-9.1.0
I can provide other package version if needed.
Can this be duplicated?.
Beside -Dgtk-doc=false, how this problem can be bypassed?