===> Configuring for nvidia-driver-340-340.107 ===> Building for nvidia-driver-340-340.107 ===> src (all) make: "/usr/src/sys/conf/kmod.mk" line 474: Could not find bsd.clang-analyze.mk make: Fatal errors encountered -- cannot continue make: stopped in /usr/obj/usr/src/sys/MACMINI/usr/ports/x11/nvidia-driver-340/work/NVIDIA-FreeBSD-x86_64-340.107/src *** Error code 1
The file does exist:
-rw-r--r-- 1 root wheel 3132 10 Aug 19:56 /usr/src/share/mk/bsd.clang-analyze.mk
I'm running 10.4-STABLE r331401M. Attempting to upgrade to 11.2-STABLE. Buildworld finishes successfully. Buildkernel itself finishes successfully, but when it comes to rebuild the nvidia driver I get the above error (being built as part of buildkernel due to /etc/make.conf "PORTS_MODULES+=x11/nvidia-driver-340").
I've deleted /usr/src and /usr/obj and re-checked out 11.2-STABLE source and rebuilt 11.2-STABLE. No change.
Obviously I don't want to upgrade until I can successfully build the nvidia driver for X.