When trying to install devel/kBuild, I am getting the following error : kmk: Entering directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998' kBuild: Pass - Build Programs kBuild: Pass - Libraries kBuild: Compiling kDep - /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c kBuild: Compiling kUtil - /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/crc32.c cc1: error: to generate dependencies you must specify either -M or -MM kmk: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o] Error 1 The failing command: @gcc -c -O2 -g -O3 -m64 -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/glob -I/usr/local/include -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1 -DKBUILD_VERSION_PATCH=9998 -DKBUILD_OS_FREEBSD -DKBUILD_ARCH_AMD64 -DNDEBUG -Wp,-MD,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o.dep -Wp,-MT,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o -Wp,-MP -o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kUtil/crc32.o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/crc32.c kmk: *** Waiting for unfinished jobs.... cc1: error: to generate dependencies you must specify either -M or -MM kmk: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o] Error 1 The failing command: @gcc -c -O2 -g -O3 -m64 -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib -I/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/kmk/glob -I/usr/local/include -DKBUILD_VERSION_MAJOR=0 -DKBUILD_VERSION_MINOR=1 -DKBUILD_VERSION_PATCH=9998 -DKBUILD_OS_FREEBSD -DKBUILD_ARCH_AMD64 -DNDEBUG -Wp,-MD,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o.dep -Wp,-MT,/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o -Wp,-MP -o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o /usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c kmk: Leaving directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998' kmk: Entering directory `/usr/ports/devel/kBuild/work/kBuild-0.1.9998' kmk: *** Exiting with status 2 gmake: *** [/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build] Error 2 ./kBuild/env.sh: info: rc=2: gmake -f bootstrap.gmk *** Error code 2
Responsible Changed From-To: freebsd-bugs->freebsd-ports-bugs ports PR.
Responsible Changed From-To: freebsd-ports-bugs->vbox Over to maintainer (via the GNATS Auto Assign Tool)
Try installing 1. textproc/flex <http://www.freshports.org/textproc/flex/> 2. devel/gmake <http://www.freshports.org/devel/gmake/> 3. devel/automake <http://www.freshports.org/devel/automake/> 4. devel/autoconf <http://www.freshports.org/devel/autoconf/> -- DE SV2QLO geo_stef George Stefanidis
The reinstallation of the above ports does not resolve the error. How can I pass the âM or âMM to cc1? PS: Ports and World are all up to date ...........
Hello. Do you have ccache installed? Deinstallation of ccache fixed the same problem for me.
Are you using ccache? I had the same issue. After I've disabled ccache the port built just fine. Emanuel
Since there was no activity on this PR for almost a year and I've tested the kBuild-0.1.9998_3 on all supported systems (9.3, 10.2 11-C, i386 and amd64) I am closing it.