<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" data-hsystem="true"></head>
<body><style>p{margin: 0;padding: 0;}

</style>
<p>Hi Greg -</p>
<p> </p>
<p>  I routinely build with -j4 or 8, get the results, then re-build once
without -j to finish .. I have been doing this for a year .. I wondered about
the bug you mentioned, but I did not dig through the build system to find the
details.. its a bit messy .. </p>
<p> </p>
<p>  best regards</p>
<p>    --Brian</p>
<p><br><br>On Tue, 07 Jul 2015 14:25:27 -0400, Greg Troxel
<gdt@ir.bbn.com> wrote:</p>
<blockquote style="border-left: 2px solid #000000; padding-right: 0px;
padding-left: 5px; margin-left: 5px; margin-right: 0px;"><br> In the pkgsrc
build, make is invoked as "all docs" to build everything.<br> Without -j, it
works fine. With -j, deep down in docs, there is a rule<br> to build
liblwgeom.a, which collides with the build from the all target.<br><br> The
following patches a dependency from docs to all, and also remove the<br>
reach-back rule. They appear to fix doing parallel builds. If it<br> isn't
appropriate to force all from docs, then arguably liblwgeom should<br> be split
out and both all and docs depend on that.<br><br> I still get:<br><br> gmake[1]:
warning: jobserver unavailable: using -j1. Add '+' to parent make rule.<br><br>
Does building with -j8 work for other people?<br><br><br> ---
GNUmakefile.in.orig 2015-07-07 17:51:48.000000000 +0000<br> +++
GNUmakefile.in<br> @@ -78,7 +78,7 @@ templategis-install:<br>
templategis-uninstall:<br> $(MAKE) -C extras/template_gis uninstall<br><br>
-docs: <br> +docs: all<br> $(MAKE) -C doc html<br><br> docs-clean:<br><br> ---
doc/html/image_src/Makefile.in.orig 2014-12-01 08:47:21.000000000 +0000<br> +++
doc/html/image_src/Makefile.in<br> @@ -156,10 +156,6 @@ $(IMAGES_RESIZED):
./images/%.png: %.wk<br> generator: ../../../liblwgeom/.libs/liblwgeom.a
$(OBJS)<br> $(CC) -o $@ $(OBJS) ../../../liblwgeom/.libs/liblwgeom.a -lm
$(CUNIT_LDFLAGS)<br><br> -# Build liblwgeom<br>
-../../../liblwgeom/.libs/liblwgeom.a:<br> - make -C ../../../liblwgeom
liblwgeom.la<br> -<br> # Clean target<br> clean:<br> rm -f
$(OBJS)<br><br><br><br><hr>
<br> _______________________________________________<br> postgis-devel mailing
list<br> postgis-devel@lists.osgeo.org<br><a href="../hwebmail/services/go.php?url=http%3A%2F%2Flists.osgeo.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fpostgis-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel</a>
</blockquote>
<p><br><br></p>
<p><br> --<br>Brian M Hamlin<br> OSGeo California Chapter<br>
blog.light42.com<br></p>
<p> </p>

</body>
</html>