Build is broken on head again, unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_vfsops.c -o pefs_vfsops.o cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../ -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.pefs_vnops.o -MTpefs_vnops.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 /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_vnops.c -o pefs_vnops.o /wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2018-11-26/sys/modules/pefs/../../fs/pefs/pefs_vnops.c:2899:49: error: too many arguments to function call, expected 2, have 3 error = priv_check_cred(cred, PRIV_VFS_ADMIN, 0); ~~~~~~~~~~~~~~~ ^ /usr/src/sys/sys/priv.h:535:1: note: 'priv_check_cred' declared here int priv_check_cred(struct ucred *cred, int priv); ^ 1 error generated. *** Error code 1
Created attachment 200617 [details] Update to 2018-12-29 Ports patch fixing the issue attached.
The error is fixed in ports r487095.