After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752157 - phodav doesn't build with --enable-gtk-doc when make -j4 is used
phodav doesn't build with --enable-gtk-doc when make -j4 is used
Status: RESOLVED FIXED
Product: phodav
Classification: Other
Component: general
unspecified
Other FreeBSD
: Normal normal
: ---
Assigned To: Marc-Andre Lureau
Depends on:
Blocks:
 
 
Reported: 2015-07-09 06:47 UTC by Ting-Wei Lan
Modified: 2016-12-20 09:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build-sys: add missing files to gitignore (749 bytes, patch)
2016-12-20 09:55 UTC, Marc-Andre Lureau
committed Details | Review
build-sys: fix make -j (3.11 KB, patch)
2016-12-20 09:55 UTC, Marc-Andre Lureau
committed Details | Review
build-sys: update git-mk (5.74 KB, patch)
2016-12-20 09:55 UTC, Marc-Andre Lureau
committed Details | Review

Description Ting-Wei Lan 2015-07-09 06:47:22 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
Comment 1 Ting-Wei Lan 2015-12-14 19:27:21 UTC
I can no longer reproduce this problem.
Comment 2 Ting-Wei Lan 2016-05-23 17:45:14 UTC
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'?
Comment 3 Marc-Andre Lureau 2016-12-20 09:55:03 UTC
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
Comment 4 Marc-Andre Lureau 2016-12-20 09:55:07 UTC
Created attachment 342250 [details] [review]
build-sys: add missing files to gitignore
Comment 5 Marc-Andre Lureau 2016-12-20 09:55:11 UTC
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>
Comment 6 Marc-Andre Lureau 2016-12-20 09:55:16 UTC
Created attachment 342252 [details] [review]
build-sys: update git-mk