GNOME Bugzilla – Bug 723653
Docs build failure with parallel builds
Last modified: 2017-10-05 15:16:40 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
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.
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.
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?
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.
*** This bug has been marked as a duplicate of bug 697940 ***