why does buildworld fail on stable/11 ?

Holger Kipp Holger.Kipp at alogis.com
Fri Jan 26 09:56:37 UTC 2018


Dear Scott,

Am 26.01.2018 um 09:07 schrieb Scott Bennett <bennett at sdf.org<mailto:bennett at 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 at 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/>



More information about the freebsd-stable mailing list