#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'? #1136775
- Submitter:
- Santiago Vila
- Date:
- 2026-10-08 21:29:03 UTC
- Severity:
- normal
- Tags:
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 --------------------------------------------------------------------------------
We believe that the bug you reported is fixed in the latest version of
nvidia-graphics-drivers-tesla-460, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1136775@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated nvidia-graphics-drivers-tesla-460 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 08 Oct 2026 22:43:32 +0200
Source: nvidia-graphics-drivers-tesla-460
Architecture: source
Version: 460.106.00-24
Distribution: unstable
Urgency: medium
Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Closes: 1136775
Changes:
nvidia-graphics-drivers-tesla-460 (460.106.00-24) unstable; urgency=medium
.
* Backport drm_atomic_commit_struct_present changes from 580.173.02 and
strncpy changes from 580.178.04 to fix kernel module build for Linux 7.2.
* Backport is_vma_write_locked_has_mm_lock_seq_arg changes from 580.142 and
dma_fence_signal changes from 535.309.01 to fix kernel module build for
Linux 7.0. (Closes: #1136775)
Checksums-Sha1:
66dc7a48b52b90103da26b73c575192991c9485b 7792 nvidia-graphics-drivers-tesla-460_460.106.00-24.dsc
6256bef62af48c96ebe6d737c857adb9b68d4ac1 257664 nvidia-graphics-drivers-tesla-460_460.106.00-24.debian.tar.xz
b81b79c0f6887abe7e06fc96ff1c473ff1705cb1 7592 nvidia-graphics-drivers-tesla-460_460.106.00-24_source.buildinfo
Checksums-Sha256:
523e5055ebb0f460c5f87844f5b04c5d261e1fc02aa6f8b0cbe2ca1632cca309 7792 nvidia-graphics-drivers-tesla-460_460.106.00-24.dsc
73e41193e1f0809c8afd502af80fb7e6f18884e64c57bfa2fdd15b4dfa82c7fc 257664 nvidia-graphics-drivers-tesla-460_460.106.00-24.debian.tar.xz
e9458dd2c5aafa397506d9d5972a6e50176a642fcf3946c2f42117acf54475b3 7592 nvidia-graphics-drivers-tesla-460_460.106.00-24_source.buildinfo
Files:
ae0963302542cba53b01abd901ac3ff0 7792 non-free/libs optional nvidia-graphics-drivers-tesla-460_460.106.00-24.dsc
d3a9f33cba147da58dc33656531500f4 257664 non-free/libs optional nvidia-graphics-drivers-tesla-460_460.106.00-24.debian.tar.xz
ba1fb22753cbcedb2bd6e97b13acdbff 7592 non-free/libs optional nvidia-graphics-drivers-tesla-460_460.106.00-24_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCgAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmrIBUIQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCPZ5D/9G9Ao3IZI4QB4VPdWD8YnMeegEpIGwIf9S
+TrAni5UDo90m3CBylXjYcU+XjwbwWuDcaLcBSw3eJGOM7Jsqw5BLLoO/nZahOxd
OKo3/wGwbH3b9Ye9cLMpLJQ+f6lYpn8VGsB1wdch+Hw/8KIRb4EDpXMJsTae1HkI
yMwuJLXWCYaPeAnQf3k887kkgFKD0GdnoITeLBuJRnQ0SpFszgFPyPIrg8U9oW7v
x+rGIncg3slvI6kLw4b0oyNgkofrewEYaBGIqsqL6tabFizUThWxisZEBkclgu6s
Oj6gaPPVQdLqYscekCzKgLfMjxjH6hLE4yN0ySFI1/Vp8gXFx8cu5swZ+t1x21fm
DrKYIDo6pQgf+XrE/JJ9spfUMQblEBasVzZ+ISFZ1L4uxvu5QEw54Umio6FLtQ1D
X7U0mmadhpuTM7oCpVTuRNapEAYBElvWRqkH8l/z93aK8rc2wCdC/McPZ3oMrAQ5
i176j4+gDCOEJoeTjmaV+ECikHT/WJzU+bOR959Eian7zKDdslkTggIkUCEBjHe3
DPEqmeuj81iRGrIBpNa9qBtOW8ECmOcQSyMA1c/73jz/LhgmAyn4W8D9eCyiKmsU
oHSaXDMPx7Jh4pHNsCuS1y/xbTbA3tt3U3NQyS//DkyT/Q4AXuSnE7YHpcd6aGEH
d5//LZ1ZGw==
=8Pq7
-----END PGP SIGNATURE-----