I have a machine that's currently on r349807, and I'm trying to update it to r352847. The build is done on a separate machine, and I use NFS to mount /usr/src and /usr/obj to complete the installation process. This machine I'm updating has the latest graphics/drm-current-kmod installed (4.16.g20190927). When I run `make installkernel', I get the following error: [...] ===> zlib (install) install -T release -o root -g wheel -m 555 zlib.ko /boot/kernel/ install -T debug -o root -g wheel -m 555 zlib.ko.debug /usr/lib/debug/boot/kernel/ kldxref /boot/kernel ===> drm-current-kmod (install) ===> drm-current-kmod/linuxkpi (install) install -T release -o root -g wheel -m 555 linuxkpi_gplv2.ko /boot/kernel/ install: linuxkpi_gplv2.ko: No such file or directory *** Error code 71 Stop. make[4]: stopped in /usr/local/sys/modules/drm-current-kmod/linuxkpi *** Error code 1 Stop. make[3]: stopped in /usr/local/sys/modules/drm-current-kmod *** Error code 1
Hi! As I understand it, the basic issue is that drm-current-kmod isn't available on the host where you build your system, but when installing it it is picked up and installkernel tries to install the object files which aren't there. We're still discussing what the best solution to this issue is, in the meantime, it is possible to override the build of out of tree kernel modules, by setting WITHOUT_LOCAL_MODULES=yes in either /etc/make.conf or the environment before doing buildkernel and installkernel.
No news from reporter, closing.