Hi, I'm building my ports with MAKE_JOBS=4, and I noticed that a few of the ports were failing.
* devel/boehm-gc failed sometimes (can't find "libgc.la" towards the end of the build). * lang/ruby/1.8 failed consistently (can't find "miniruby" at beginning of the build). * editors/vim failed consistently (can't find "ex.1" and other manuals when packaging). I tried the "huge no_x11" and "no_x11" flavours. * lang/ocaml failed consistently ("Unbound module Pervasives" early in the build, but the build doesn't halt until much later). * security/nss failed inconsistently, at different stages of the build. I added PARALLEL_BUILD=No to these ports and now they build fine. Patches included. Cheers, -- Andreas Kusalananda Kähäri, Bioinformatics Developer, Uppsala, Sweden OpenPGP: url=https://db.tt/2zaB1E7y; id=46082BDF ------------------------------------------------------------------------
Index: Makefile =================================================================== RCS file: /cvs/ports/devel/boehm-gc/Makefile,v retrieving revision 1.62 diff -u -p -u -r1.62 Makefile --- Makefile 11 Mar 2016 20:28:23 -0000 1.62 +++ Makefile 16 Mar 2016 13:27:54 -0000 @@ -41,6 +41,8 @@ MAKE_ENV= CP="cp" \ INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_MAN="${INSTALL_MAN}" +PARALLEL_BUILD= No + CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --with-libatomic-ops=no \
Index: Makefile =================================================================== RCS file: /cvs/ports/security/nss/Makefile,v retrieving revision 1.61 diff -u -p -u -r1.61 Makefile --- Makefile 10 Mar 2016 19:29:25 -0000 1.61 +++ Makefile 16 Mar 2016 18:46:25 -0000 @@ -37,6 +37,8 @@ MAKE_ENV= BUILD_OPT=1 \ USE_GMAKE= Yes +PARALLEL_BUILD= No + WRKSRC= ${WRKDIST}/nss NSSDIST= ${WRKDIST}/dist NSSOBJ= ${NSSDIST}/OpenBSD`uname -r`${OBJ64}_OPT.OBJ
Index: Makefile =================================================================== RCS file: /cvs/ports/lang/ocaml/Makefile,v retrieving revision 1.70 diff -u -p -u -r1.70 Makefile --- Makefile 29 Feb 2016 23:42:51 -0000 1.70 +++ Makefile 16 Mar 2016 15:19:29 -0000 @@ -41,6 +41,8 @@ CONFIGURE_ENV+=OPENBSD_LOCALBASE="${LOCA USE_GMAKE= Yes +PARALLEL_BUILD= No + BUILD_DEPENDS += devel/gdb RUN_DEPENDS-graphics += lang/ocaml WANTLIB-main = c curses iberty m pthread z
Index: Makefile =================================================================== RCS file: /cvs/ports/lang/ruby/1.8/Makefile,v retrieving revision 1.38 diff -u -p -u -r1.38 Makefile --- Makefile 29 Feb 2016 20:46:53 -0000 1.38 +++ Makefile 16 Mar 2016 13:20:31 -0000 @@ -23,6 +23,8 @@ PKGSPEC-main= ruby->=1.8,<1.9 REVISION-main= 5 REVISION-ri_docs= 0 +PARALLEL_BUILD= No + CONFIGURE_ARGS= --program-suffix=18 \ --enable-ipv6 \ --with-dbm-type=bogus \
Index: Makefile =================================================================== RCS file: /cvs/ports/editors/vim/Makefile,v retrieving revision 1.146 diff -u -p -u -r1.146 Makefile --- Makefile 9 Mar 2016 18:20:02 -0000 1.146 +++ Makefile 16 Mar 2016 13:50:40 -0000 @@ -27,6 +27,8 @@ FULLPKGPATH-lang= ${PKGPATH},-lang FLAVORS= huge gtk2 athena motif no_x11 lua perl python python3 ruby FLAVOR?= gtk2 +PARALLEL_BUILD= No + .include <bsd.port.arch.mk> .if ${FLAVOR:Mno_x11} BUILD_PACKAGES := ${BUILD_PACKAGES:N-lang}
signature.asc
Description: PGP signature