Bug#1136775: nvidia-graphics-drivers-tesla-460: FTBFS: nvidia/nv-mmap.c:765:24: error: 'VMA_LOCK_OFFSET' undeclared (first use in this function); did you mean 'VGA_CRTC_OFFSET'?
Santiago Vila
sanvila at debian.org
Fri May 15 19:10:16 BST 2026
Package: src:nvidia-graphics-drivers-tesla-460
Version: 460.106.00-23
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202605/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:nvidia-graphics-drivers-tesla-460, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
# CC [M] nvidia/nv-p2p.o
x86_64-linux-gnu-gcc-15 -Wp,-MMD,nvidia/.nv-p2p.o.d -nost [too-long-redacted] idia/nv-p2p.o nvidia/nv-p2p.c
nvidia/nv-mmap.c: In function ânv_vma_enter_lockedâ:
nvidia/nv-mmap.c:765:24: error: âVMA_LOCK_OFFSETâ undeclared (first use in this function); did you mean âVGA_CRTC_OFFSETâ?
765 | NvU32 tgt_refcnt = VMA_LOCK_OFFSET;
| ^~~~~~~~~~~~~~~
| VGA_CRTC_OFFSET
nvidia/nv-mmap.c:765:24: note: each undeclared identifier is reported only once for each function it appears in
nvidia/nv-mmap.c: In function ânv_vma_start_writeâ:
nvidia/nv-mmap.c:817:9: error: too many arguments to function â__is_vma_write_lockedâ; expected 1, have 2
817 | if (__is_vma_write_locked(vma, &mm_lock_seq))
| ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
In file included from /usr/src/linux-headers-7.0.4+deb14-common/include/linux/mm.h:18,
from ././common/inc/nv-pgprot.h:17,
from ././common/inc/nv-linux.h:21,
from nvidia/nv-mmap.c:15:
/usr/src/linux-headers-7.0.4+deb14-common/include/linux/mmap_lock.h:282:20: note: declared here
282 | static inline bool __is_vma_write_locked(struct vm_area_struct *vma)
| ^~~~~~~~~~~~~~~~~~~~~
nvidia/nv-mmap.c:826:42: error: âVMA_LOCK_OFFSETâ undeclared (first use in this function); did you mean âVGA_CRTC_OFFSETâ?
826 | detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &vma->vm_refcnt);
| ^~~~~~~~~~~~~~~
| VGA_CRTC_OFFSET
make[8]: *** [/usr/src/linux-headers-7.0.4+deb14-common/scripts/Makefile.build:294: nvidia/nv-mmap.o] Error 1
make[8]: *** Waiting for unfinished jobs....
make[7]: *** [/usr/src/linux-headers-7.0.4+deb14-common/Makefile:2130: .] Error 2
make[6]: *** [/usr/src/linux-headers-7.0.4+deb14-common/Makefile:260: __sub-make] Error 2
make[6]: Leaving directory '/<<PKGBUILDDIR>>/kernel-source-tree'
make[5]: *** [Makefile:260: __sub-make] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-7.0.4+deb14-common'
make[4]: *** [Makefile:90: modules] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/kernel-source-tree'
make[3]: *** [debian/rules:318: override_dh_auto_test] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [debian/rules:225: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:225: install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:225: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
More information about the pkg-nvidia-devel
mailing list