While updating my ports, I encountered the following error. I tried to make clean, make deinstall and make rmconfig to re-install the package from scratchand I'm getting: if test -n "yes" -a -f po/Makefile; then cd po; /usr/bin/make prefix=/ram/usr/ports/editors/vim/work/stage/usr/local LOCALEDIR=/ram/usr/ports/editors/vim/work/stage/usr/local/share/vim/vim80/lang INSTALL_DATA=cp FILEMOD=644 install; fi A failure has been detected in another branch of the parallel make make[4]: stopped in /ram/usr/ports/editors/vim/work/vim-8.0.0021/src/po *** [install-languages] Error code 2 make[3]: stopped in /ram/usr/ports/editors/vim/work/vim-8.0.0021/src 2 errors make[3]: stopped in /ram/usr/ports/editors/vim/work/vim-8.0.0021/src *** [install] Error code 2 make[2]: stopped in /ram/usr/ports/editors/vim/work/vim-8.0.0021 1 error make[2]: stopped in /ram/usr/ports/editors/vim/work/vim-8.0.0021 *** Error code 2 Stop. make[1]: stopped in /usr/ports/editors/vim *** Error code 1 Stop. make: stopped in /usr/ports/editors/vim
After r423078, there shouldn't be any parallel jobs. Can you give some more info? Which version of FreeBSD, which branch are you on, what's in your /etc/make.conf, etc?
Sure thing. I am using ccache BTW FreeBSD: 10.3-RELEASE-p7 Arch: amd64 /usr/ports/editors/vim # cat distinfo TIMESTAMP = 1475511481 SHA256 (vim-vim-v8.0.0021_GH0.tar.gz) = 2442386694b620694ae79709a4fa15a8260fd095dfdca673b1ea2db3e2153800 SIZE (vim-vim-v8.0.0021_GH0.tar.gz) = 12928873 # cat /etc/make.conf DEFAULT_VERSIONS+=ssl=openssl .if !(make(*install) || make(package)) MAKE_ARGS+=-j5 .endif CC=clang CXX=clang++ CPP=clang-cpp WRKDIRPREFIX=/ram CCACHE_DIR=/var/tmp/ccache
> .if !(make(*install) || make(package)) > MAKE_ARGS+=-j5 > .endif That's where the problem is. It's overriding the MAKE_JOBS_UNSAFE. Try replacing that block with just: MAKE_JOBS_NUMBER= 5 Let me know if that fixes it for you.
That did the trick. Thanks!
Glad to hear it. Have a good one.