DF-2702 / fix_build_excerpt.txt
fix build — in-guest patched kernel build (DF-2702 fix validation)
guest: DragonFly dfbsd 6.5-DEVELOPMENT #0 -> reset with-src -> patch -p1 < /tmp/fix.diff
"Patching file sys/kern/uipc_socket.c using Plan A... Hunk #1 succeeded at 1420. PATCHED"
build: cd /usr/src && make -j6 nativekernel KERNCONF=X86_64_GENERIC && make installkernel KERNCONF=X86_64_GENERIC
(background nohup, ~7 min; log /tmp/kbuild.log, lost at reboot — excerpt from live polling:)
[...]
--- nexus.o ---
cc -c -O2 -pipe -Wall ... -std=gnu11 -g -nostdinc -I. ... -D_KERNEL ... -Werror
/usr/src/sys/platform/pc64/x86_64/nexus.c
[...]
install -o root -g wheel -m 555 if_oce.ko /boot/kernel
INSTALL_DONE
result kernel (post-reboot uname):
DragonFly dfbsd 6.5-DEVELOPMENT #1: Mon Aug 31 02:02:55 UTC 2026
root@dfbsd:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
(no build errors; -Werror clean)