Re: drm-66-kmod build fail during main-n290014-7a48c3fd3e6e -> main-n290042-9f0432041b8f

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Mon, 12 Oct 2026 17:15:31 UTC
Am 12.10.26 um 17:21 schrieb A FreeBSD User:
> Am Tage des Herren Sun, 11 Oct 2026 22:07:36 +0100
> Nuno Teixeira <eduardo@freebsd.org> schrieb:
> 
>> Hello,
>>
>> 37:
>>> /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:33:10: fatal
>>> error: 'opt_linuxkpi.h' file not found
>>>     33 | #include "opt_linuxkpi.h"
>>>        |          ^~~~~~~~~~~~~~~~
>>
>>
>> I've reported today at
>> https://lists.freebsd.org/archives/dev-commits-src-all/2026-October/082012.html
>>
>> Cheers,
>>
> 
> Ups. I did also for port graphics/drm-612-kmod a few minutes ago. The header file in question
> is simply not in the most recent source tree ... very strange ;-)

That happens to me, too. I can no longer compile the drm-kmods on the 
very latest CURRENT version.

As far as I can tell, there have recently been two commits[1][2] in the 
base repository that contain changes, including some to opt_linuxkpi.h:

[1] 
https://freshbsd.org/freebsd/src/commit/bbfd52dcbeb7b6e540220b3b24b664df6d200200
[2] 
https://freshbsd.org/freebsd/src/commit/9820afb99e6fdc471cb820f321530c52ed2c31ac

Regards,
Rainer


> Kind regards,
> 
> oh
>