Re: graphics/drm-61-kmod fails to build on STABLE-14/amd64

Tomoaki AOKI <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Organization Junchoon corps
Message-ID <[email protected]>
On Thu, 30 Apr 2026 01:36:53 +0000
"Jonathan Chen" <[email protected]> wrote:

> Hi,
> 
> The most recent update to graphics/drm-61-kmod (on 29 Apr 2026) results in a build failure on STABLE-14/amd64:
> 
> --- dma-buf-kmod.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> *** [dma-buf-kmod.o] Error code 1
> 
> make[1]: stopped making "all" in /construction/xports/graphics/drm-61-kmod/work/drm-kmod-drm_v6.1.128_9/dmabuf
> --- dma-fence-array.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
> --- dma-fence-chain.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
> --- dma-fence-unwrap.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
> --- dma-fence-array.o ---
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- dma-fence-unwrap.o ---
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- dma-fence-chain.o ---
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- dma-fence.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- dma-buf.o ---
> <built-in>:1:10: fatal error: '/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h' file not found
>     1 | #include "/usr/src/sys/compat/linuxkpi/common/include/linux/compiler_types.h"
>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> --- dma-fence-unwrap.o ---
> 1 error generated.
> 
> --
> Jonathan Chen <[email protected]>

See Bug 294875. This wouldn't be specific with graphics/drm-61-kmod,
but also with graphics/drm-66-kmod.
And 15.0 (including stable/15 before commit
34c13c5ee2b15b928fd9125784c969553a64e390) should be affected, too.
Currently I don't have fix to propose for this.

Intentionally ignoring 13.*, as it reaches to its EoL today.

Regards.

-- 
Tomoaki AOKI    <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.