Re: "make buildworld" fails

From: Boris Samorodov <bsam_at_passap.ru>
Date: Mon, 05 Aug 2013 20:26:02 +0400
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
Received on Mon Aug 05 2013 - 14:26:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC