GNOME Bugzilla – Bug 752157
phodav doesn't build with --enable-gtk-doc when make -j4 is used
Last modified: 2016-12-20 09:55:16 UTC
I got these messages: Making all in spice git.mk: Generating .gitignore Making all in libphodav git.mk: Generating .gitignore Making all in doc git.mk: Generating .gitignore Making all in reference gmake[3]: *** No rule to make target 'phodav-2.0-docs.sgml', needed by 'html-build.stamp'. Stop. gmake[3]: *** Waiting for unfinished jobs.... DOC Preparing build Makefile:476: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 Makefile:1162: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 Makefile:618: recipe for target 'all' failed gmake: *** [all] Error 2
I can no longer reproduce this problem.
I saw this issue again today. It can only be reproduced when make runs multiple jobs simultaneously. It seems other modules avoid this issue by committing $(DOC_MAIN_SGML_FILE), which is phodav-2.0-docs.sgml in phodav, to git. Is this a proper fix, or gtk-doc should be modified to support 'make -j'?
The following fixes have been pushed: d0b0696 build-sys: add missing files to gitignore 71afa83 build-sys: fix make -j 43f9b08 build-sys: update git-mk
Created attachment 342250 [details] [review] build-sys: add missing files to gitignore
Created attachment 342251 [details] [review] build-sys: fix make -j Adds doc/reference/phodav-2.0-docs.sgml to fix parallel make. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=752157 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Created attachment 342252 [details] [review] build-sys: update git-mk