test-bugs-fixxref failure under meson (and 2 more)
With 1.31, the test-bugs-fixxref
fails:
16/38 test-bugs-fixxref FAIL 0.32 s (exit status 1)
--- command ---
/usr/bin/python3 /build/gtk-doc/src/build/../gtk-doc/tests/helpers/gtkdoc_fixxref_runner.py --binary-dir=/build/gtk-doc/src/build --module=tester --module-dir=. --extra-dir=/usr/share/gtk-doc/html
--- stderr ---
Traceback (most recent call last):
File "/build/gtk-doc/src/build/gtkdoc-fixxref", line 57, in <module>
fixxref.Run(options)
File "/build/gtk-doc/src/build/gtkdoc/fixxref.py", line 54, in Run
highlight.append_style_defs(os.path.join(options.module_dir, 'style.css'))
File "/build/gtk-doc/src/build/gtkdoc/highlight.py", line 49, in append_style_defs
os.chmod(css_file_name, 0o644)
FileNotFoundError: [Errno 2] No such file or directory: './style.css'
-------
Maybe a failure of the chmod
should be ignored? It's immediately followed by an open
that will create the file if it's missing.
try:
os.chmod(css_file_name, 0o644)
except OSError:
pass
Edited by Stefan Sauer