Date: Fri, 26 Jan 2018 09:52:50 +0000 From: Holger Kipp <Holger.Kipp@alogis.com> To: Scott Bennett <bennett@sdf.org> Cc: Ian Lepore <ian@freebsd.org>, "dim@FreeBSD.org" <dim@FreeBSD.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>, "tech-lists@zyxst.net" <tech-lists@zyxst.net> Subject: Re: why does buildworld fail on stable/11 ? Message-ID: <054FD748-B28B-4573-BF50-2E77D8C3C793@alogis.com> In-Reply-To: <201801260804.w0Q84t2f018882@sdf.org> References: <201801240851.w0O8pnDl008705@sdf.org> <0A86F03E-DB69-4DD0-B67B-E9BFBE3DC739@FreeBSD.org> <1516811808.42536.173.camel@freebsd.org> <201801250625.w0P6Pukm014218@sdf.org> <1516893199.42536.223.camel@freebsd.org> <201801260804.w0Q84t2f018882@sdf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Dear Scott,
Am 26.01.2018 um 09:07 schrieb Scott Bennett <bennett@sdf.org<mailto:bennett@sdf.org>>:
cd /usr/src; PATH=/sbin:/bin:/usr/sbin:/usr/bin MAKE_CMD=make /usr/obj/usr/src/make.amd64/bmake -m /usr/src/share/mk -f Makefile.inc1 TARGET=amd64 TARGET_ARCH=amd64 MK_META_MODE=no cleandir
bmake: illegal argument to d option -- p
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
[-d flags] [-E variable] [-f makefile] [-I directory]
[-j max_jobs] [-m directory] [-V variable]
[variable=value] [target ...]
*** Error code 2
Stop.
make: stopped in /usr/src
hellas# exit
exit
Script done on Fri Jan 26 01:33:18 2018
Scott Bennett, Comm. ASMELG, CFIAG
This sound similar to an issue with make in 2013:
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.
Can you check if you have an older version of make in your makepath and delete / rename it?
Best regards,
Holger
Diplom-Mathematiker
Holger Kipp
Senior Consultant [When logistics needs SAP competence] <https://www.alogis.com/>
Fon: +49 30 436 58 114
Fax: +49 30 436 58 214
Mobil:?+49 178 36 58 114
alogis AG
Alt-Moabit 90 B
10559 Berlin
holger.kipp@alogis.com www.alogis.com<http://www.alogis.com/>
alogis AG
Sitz/Registergericht: Berlin/AG Charlottenburg, HRB 71484
Vorstand: Arne Friedrichs, Joern Samuelson
Aufsichtsratsvorsitzender: Dirk Nedderhoff
[Spenden statt schenken mit alogis!]<https://www.alogis.com/unternehmen/soziales-engagement/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?054FD748-B28B-4573-BF50-2E77D8C3C793>
