Date: Mon, 05 Aug 2013 20:26:02 +0400 From: Boris Samorodov <bsam@passap.ru> To: freebsd-current@freebsd.org Subject: Re: "make buildworld" fails Message-ID: <51FFD21A.3050602@passap.ru> In-Reply-To: <20991.50656.38794.827648@jerusalem.litteratus.org> References: <CAG=rPVdz40%2Bc2XH_oqqoDhrFcHru10BsirFtBzL5nfpNhq4Gww@mail.gmail.com> <20991.50656.38794.827648@jerusalem.litteratus.org>
next in thread | previous in thread | raw e-mail | index | archive | help
05.08.2013 19:33, Robert Huff пишет: > cd /usr/src; PATH=/sbin:/bin:/usr/sbin:/usr/bin `test -x /usr/obj/usr/src/make.amd64/bmake && echo /usr/obj/usr/src/make.amd64/bmake || echo make` -m /usr/src/share/mk -f Makefile.inc1 TARGET=amd64 TARGET_ARCH=amd64 buildworld > usage: bmake [-BeikNnqrstWwX] > [-C directory] [-D variable] [-d flags] [-f makefile] > [-I directory] [-J private] [-j max_jobs] [-m directory] [-T file] > [-V variable] [variable=value] [target ...] > *** [buildworld] Error code 2 This note from /usr/src/UPDATING may be relevant: ----- 20130613: Some people report the following error after the switch to bmake: make: illegal option -- J usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable] ... *** [buildworld] Error code 2 this likely due to an old instance of make in ${MAKEPATH} (${MAKEOBJDIRPREFIX}${.CURDIR}/make.${MACHINE}) which src/Makefile will use that blindly, if it exists, so if you see the above error: rm -rf `make -V MAKEPATH` should resolve it. ----- -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51FFD21A.3050602>