[Xapian-tickets] [Xapian] #226: Distcheck is broken due to missing rule for documentation files
Xapian
nobody at xapian.org
Mon May 5 16:19:58 BST 2008
#226: Distcheck is broken due to missing rule for documentation files
--------------------------+-------------------------------------------------
Reporter: richard | Owner: richard
Type: defect | Status: closed
Priority: normal | Milestone: 1.0.7
Component: Build system | Version: SVN HEAD
Severity: normal | Resolution: fixed
Keywords: | Blockedby:
Platform: All | Blocking:
--------------------------+-------------------------------------------------
Changes (by richard):
* status: assigned => closed
* resolution: => fixed
* milestone: => 1.0.7
Old description:
> If I run "make distcheck", the "distdir" step in the generated
> distribution
> fails for me:
>
> make[1]: Entering directory
> `/home/richard/private/Working/xapian/working/build/xapian-core/docs'
> make[1]: *** No rule to make target `apidoc/html/*.gif', needed by
> `distdir'. Stop.
>
> This appears to have been a problem since revision 9747: see the
> following link
> for the details of what changed there:
>
> http://svn.xapian.org/trunk/xapian-core/docs/Makefile.am?r1=9650&r2=9747
>
> The problem is that there is no rule to generate the *.gif files (or any
> of the
> other files in apidoc/html/ except for index.html). In a built tree,
> "make
> dist" succeeds because the files will be generated by earlier build
> steps, but
> in the distcheck tree these earlier build steps aren't raised.
>
> I think the cleanest fix is probably to revert revision 9747, and instead
> make a
> dist-hook rule or something similar to clean up the copied directory in
> the target.
>
> The complete error log leading up to this can be seen in the buildbot:
> eg, at
> http://localhost:8010/xapian_head_clean_linux_amd64/builds/156/step-
> distcheck/0
> if you have the usual ssh tunnel to buildbot running.
New description:
If I run "make distcheck", the "distdir" step in the generated
distribution
fails for me:
make[1]: Entering directory
`/home/richard/private/Working/xapian/working/build/xapian-core/docs'
make[1]: *** No rule to make target `apidoc/html/*.gif', needed by
`distdir'. Stop.
This appears to have been a problem since revision 9747: see the following
link
for the details of what changed there:
http://svn.xapian.org/trunk/xapian-core/docs/Makefile.am?r1=9650&r2=9747
The problem is that there is no rule to generate the *.gif files (or any
of the
other files in apidoc/html/ except for index.html). In a built tree,
"make
dist" succeeds because the files will be generated by earlier build steps,
but
in the distcheck tree these earlier build steps aren't raised.
I think the cleanest fix is probably to revert revision 9747, and instead
make a
dist-hook rule or something similar to clean up the copied directory in
the target.
The complete error log leading up to this can be seen in the buildbot: eg,
at
http://localhost:8010/xapian_head_clean_linux_amd64/builds/156/step-
distcheck/0
if you have the usual ssh tunnel to buildbot running.
--
Comment:
Fixed in changeset [10462]. (distcheck is still broken, but it gets past
the problem with the documentation files).
--
Ticket URL: <http://trac.xapian.org/ticket/226#comment:6>
Xapian <http://trac.xapian.org>
Xapian
More information about the Xapian-tickets
mailing list