The port fails to build for me using poudriere on 15.1 stable amd64 with the following build output with the error: --- drm_panic.o --- --- drm_syncobj.o --- /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:729:2: error: call to undeclared function 'CLASS'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 729 | CLASS(fd, f)(fd); | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:729:12: error: use of undeclared identifier 'f' 729 | CLASS(fd, f)(fd); | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:732:6: error: call to undeclared function 'fd_empty'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 732 | if (fd_empty(f)) | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:732:6: note: did you mean 'mc_empty'? /usr/src/sys/sys/mbuf.h:1728:1: note: 'mc_empty' declared here 1728 | mc_empty(struct mchain *mc) | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:732:15: error: use of undeclared identifier 'f' 732 | if (fd_empty(f)) | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:735:14: error: use of undeclared identifier 'f' 735 | if (fd_file(f)->f_op != &drm_syncobj_file_fops) | ^ /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drivers/gpu/drm/drm_syncobj.c:739:20: error: use of undeclared identifier 'f' 739 | syncobj = fd_file(f)->private_data; | ^ 6 errors generated. *** [drm_syncobj.o] Error code 1 make[1]: stopped making "all" in /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drm make[1]: 1 error make[1]: stopped making "all" in /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1/drm make: stopped making "all" in /wrkdirs/usr/ports/graphics/drm-612-kmod/work/drm-kmod-drm_v6.12.110_1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped making "build" in /usr/ports/graphics/drm-612-kmod =>> Cleaning up wrkdir ===> Cleaning for drm-612-kmod-6.12.110.1501503_3 build of graphics/drm-612-kmod | drm-612-kmod-6.12.110.1501503_3 ended at 2026-10-12T10:31:35-04:00 build time: 00:00:08 times end [shell] (user/sys/real): 0m0.018s 0m0.020s 0m8.000s times end [child] (user/sys/real): 0m4.500s 0m2.953s 0m8.000s !!! build failure encountered !!!
Closing this bug as I am not experiencing this issue anymore.