On Sun, 27 Jul 2025 11:51:28 +0100
Nuno Teixeira <[email protected]> wrote:

> Hello,
> 
> I'm at 1500051 on both world and poudriere jail. nvidia-driver was build on
> this jail as I'm using it on my system.
> 
> I'm getting build errors from it today.
> Anyone have same issue? Maybe some dependency causing trouble?
> 
> ```
> --- nvidia_subr.o ---
> nvidia_subr.c:1456:15: error: use of undeclared identifier 'kva_layout'
>  1456 |     if (va >= kva_layout.dmap_low && va < kva_layout.dmap_high)
>       |               ^
> nvidia_subr.c:1456:43: error: use of undeclared identifier 'kva_layout'
>  1456 |     if (va >= kva_layout.dmap_low && va < kva_layout.dmap_high)
>       |                                           ^
> 2 errors generated.
> ```
> 
> Thanks,
> 
> -- 
> Nuno Teixeira
> FreeBSD UNIX:  <[email protected]>   Web:  https://FreeBSD.org

Is your src tree up to date?
There is around 10 days of broken window, as __FreeBSD_version was not
bumped at the moment until the offending commit was done after
1500051. And bump for the commit was done after the fix landed
on ports tree.

  
https://cgit.freebsd.org/ports/commit/x11/nvidia-driver?id=9302fb05a0c6599bbe8963ff5201fd3b99994535

See the comments in the diff.

FYI: Corresponding bump was done at
  
https://cgit.freebsd.org/src/commit/?id=ff2dc0bca3728448284d757ca983d023da7279b5

I've noticed this but the patch in review (already accepted before
this bump was done) landed before I update patch to narrow down broken
window.

This kind of bumps should be better done just next to breaking commits.
See discussion between kib@ and me in the linked PR of the commits.

Regards.

-- 
Tomoaki AOKI    <[email protected]>

Reply via email to