Bug 62606

Summary: make snapshot does not appear to work - complains about missing cairo-version.xml
Product: cairo Reporter: Paul Davis <paul>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED MOVED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.14   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 84197    

Description Paul Davis 2013-03-21 19:14:45 UTC
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.
Comment 1 Bryce Harrington 2014-02-26 01:58:09 UTC
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?
Comment 2 Bryce Harrington 2014-09-22 19:21:50 UTC
Moving from 1.14 tracker to 1.16 tracker
Comment 3 GitLab Migration User 2018-08-25 13:41:35 UTC
-- 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.