On CURRENT >= r335873 compilation of several ports started failing, including emulators/virtualbox-ose-kmod (5.2.12 as well as 5.2.14) with the error shown below. On poudriere jails prior to r335873, compilation runs smooth. [...] cc -O2 -pipe -fno-strict-aliasing -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Iinclude -I. -Ir0drv -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.logformat.o -MTlogformat.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c /usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv/common/log/logformat.c -o logformat.o --- SUPDrvSem.o --- In file included from SUPDrvSem.c:33: --- SUPDrvGip.o --- In file included from SUPDrvGip.c:33: ./SUPDrvInternal.h:495:5: error: type name requires a specifier or qualifier PVM pSessionVM; ^ /usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM' #define PVM (PRI_MIN_KERN + 4)
Created attachment 194978 [details] Crude patch This patch fixes the problem, although it's a rather crude one.
Created attachment 195000 [details] SVN diff based on K Staring's patch Thanks. It seems to solve the problem however crude it may be :) Here it is in a nicer form that's appliable with svn patch.
This should be fixed by r474458.
*** Bug 229845 has been marked as a duplicate of this bug. ***