[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] [PATCH] po-docs: disable parallel build



Automating the master build from scratch requires some annoying hassles
thanks to 1ea1646e6f224dbc5b3922bb3c65aab4d71a9cb9. This can be worked
around by running the requisite commands first, i.e.,

    rm -f po-docs/podfiles && make -C po-docs update-po && make

But after that, there still appears to be a race in the po-docs
build (reproduced on -j12 on an E5-1650 v2):

    make[2]: Entering directory 'libguestfs-git/src/libguestfs/po-docs'
    Making all in ja
    make[3]: Entering directory 'libguestfs-git/src/libguestfs/po-docs/ja'
    make[3]: *** No rule to make target 'guestfish-actions.pod', needed by
    'guestfish.1'. Stop.

This appears to go away if you set .NOTPARALLEL in all of po-docs.

Signed-off-by: Richard Tollerton <rich tollerton ni com>
---
 po-docs/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/po-docs/Makefile.am b/po-docs/Makefile.am
index a274898..617e8ad 100644
--- a/po-docs/Makefile.am
+++ b/po-docs/Makefile.am
@@ -88,3 +88,5 @@ podfiles: Makefile
 	for f in `cat $(top_srcdir)/po/POTFILES-pl`; do echo $(top_srcdir)/$$f; done >> $ -t
 	LC_ALL=C sort -o $ -t $ -t
 	mv $ -t $@
+
+.NOTPARALLEL:
-- 
2.6.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]