using both a git checkout and the current tarball, neither make dist nor make snapshot work. The error: ------------------ gtk-doc: Building HTML rm -rf ./html mkdir ./html cd ./html && gtkdoc-mkhtml cairo ../cairo-docs.xml ../xml/cairo-version.xml:137: parser error : Opening and ending tag mismatch: refsect1 line 38 and para </para> ^ ../xml/cairo-version.xml:138: parser error : Opening and ending tag mismatch: refentry line 6 and refsect1 </refsect1> ^ ../xml/cairo-version.xml:139: parser error : Extra content at the end of the document <refsect1 id="cairo-Version-Information.details" role="details"> ^ ../cairo-docs.xml:55: element include: XInclude error : could not load ../xml/cairo-version.xml, and no fallback was found make[4]: *** [html-build.stamp] Error 6 ---------------------------- There appears to be no way for a 3rd party to create a source tarball at present.
Hi Paul, I testing this both with current git and a git checkout from a month ago, and both did 'make dist' adequately (tons of warnings, but produced the .tar.xz file). I was able to reproduce your error messages on a current git checkout if I set up a separate build directory and ran 'make distcheck' there. It appears the gtkdoc tools build the cairo-version.xml in the build tree, but then move over to the source tree and try to build the docs there. Were you running your 'make dist' in tree or out of tree? I tested using gtkdoc-mkhtml 1.18, which is a bit old. What version were you using?
Moving from 1.14 tracker to 1.16 tracker
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/142.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.