Bug 213209 - editors/vim A failure has been detected in another branch of the parallel make
Summary: editors/vim A failure has been detected in another branch of the parallel make
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-04 20:31 UTC by rpazo
Modified: 2016-10-04 20:47 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (adamw)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rpazo 2016-10-04 20:31:58 UTC
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
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2016-10-04 20:36:40 UTC
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?
Comment 2 rpazo 2016-10-04 20:40:09 UTC
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
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2016-10-04 20:43:41 UTC
> .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.
Comment 4 rpazo 2016-10-04 20:46:27 UTC
That did the trick. Thanks!
Comment 5 Adam Weinberger freebsd_committer freebsd_triage 2016-10-04 20:47:09 UTC
Glad to hear it. Have a good one.