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 723653 - Docs build failure with parallel builds
Docs build failure with parallel builds
Status: RESOLVED DUPLICATE of bug 697940
Product: gtk-doc
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: 1.20
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2014-02-05 08:40 UTC by Emilio Pozuelo Monfort
Modified: 2017-10-05 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't use a parallel build for the documentation (1.96 KB, patch)
2014-02-06 10:33 UTC, Simon McVittie
none Details | Review

Description Emilio Pozuelo Monfort 2014-02-05 08:40:37 UTC
We've enabled parallel builds in Debian's glib and have started getting some build failures during the docs build. It's probably a missing dependency in one of the Makefiles causing a race condition. See:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737501
https://buildd.debian.org/status/fetch.php?pkg=glib2.0&arch=i386&ver=2.38.2-2&stamp=1391385937
https://buildd.debian.org/status/fetch.php?pkg=glib2.0&arch=mips&ver=2.38.2-2&stamp=1391420157
https://buildd.debian.org/status/fetch.php?pkg=glib2.0&arch=kfreebsd-i386&ver=2.38.2-2&stamp=1391415625
Comment 1 Simon McVittie 2014-02-06 10:30:54 UTC
I think this might be Bug #697940. I've worked around it in Debian by sprinkling ".NOTPARALLEL:" throughout doc/, which might be worth doing upstream if gtk-doc isn't fixed.
Comment 2 Simon McVittie 2014-02-06 10:33:59 UTC
Created attachment 268272 [details] [review]
Don't use a parallel build for the documentation

We seem to get a sporadic FTBFS in which it tries to scan
Windows-specific symbols. Possibly caused by
<https://bugzilla.gnome.org/show_bug.cgi?id=697940>.

Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737501

---

Here's the patch I applied. I'll see whether the autobuilders do any better with that change; I wasn't able to reproduce this reliably on my laptop anyway.
Comment 3 Philip Withnall 2017-10-05 14:34:54 UTC
I can’t immediately see patches for sprinkling .NOTPARALLEL everywhere in https://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/glib2.0/debian/ — what’s the status of this in Debian? Is there still a problem here?
Comment 4 Simon McVittie 2017-10-05 15:15:32 UTC
According to the Debian changelog, this is no longer an issue due to gtk-doc fixes:

>  * debian/patches/Don-t-use-a-parallel-build-for-the-documentation.patch:
>    + Removed, no longer needed with gtk-doc 1.20.
Comment 5 Simon McVittie 2017-10-05 15:16:40 UTC

*** This bug has been marked as a duplicate of bug 697940 ***