If I set "GCC_DEFAULT=4.8" or "GCC_DEFAULT=4.9" in make.conf as specified in usr/ports/Mk/bsd.default-versions.mk then devel/kBuild fails to build. I have also tried the following line in make.conf: DEFAULT_VERSIONS= perl5=5.20 gcc=4.9 and DEFAULT_VERSIONS= perl5=5.20 gcc=4.8 The build fails with any of these combinations of make.conf. It appears that despite the line in make.conf gcc47 is still being built and used as the default gcc. When kBuild tries to compile it is looking for gcc49/gcc48 which does not exist. The make.conf line appears to correctly change the binary that software is built by, but fails to actually build the expected version of gcc. The devel/kBuild stops with the following error: kmk: gcc48: Command not found kmk: *** [/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o] Error 127 The failing command: @gcc48 -c -O2 -g -O3 -m64 -I/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib -I/wrkdirs/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,/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o.dep -Wp,-MT,/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o -Wp,-MP -o /wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/obj/kDep/kDep.o /wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/src/lib/kDep.c kmk: Leaving directory `/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998' gmake[1]: *** [/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998/out/freebsd.amd64/release/bootstrap/ts-stage2-build] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/kBuild/work/kBuild-0.1.9998' ./kBuild/env.sh: info: rc=2: gmake -f bootstrap.gmk *** Error code 2 Stop. make: stopped in /usr/ports/devel/kBuild
Over to maintainers.
gcc4.8 and gcc4.9 marked as deprecated (Unsupported by upstream). This is overcome by events.
A quick test shows this has been fixed.