[From nobody Sun Oct 25 23:11:05 2026
Received: (at submit) by bugs.debian.org; 15 May 2026 18:10:23 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.5 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 150; neutral, 162; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--forky, 0.000-+--HTo:N*Debian,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:57506)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wNwzP-00H7Ct-2U
 for submit@bugs.debian.org; Fri, 15 May 2026 18:10:23 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wNwzO-006ulJ-0P
 for submit@bugs.debian.org; Fri, 15 May 2026 18:10:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=6rbuMFnx0SwF3kfKqju5H9c2UuYrAz4Wi2qhYKN7RB4=; b=N1kXA7iubgR/C/hqCIGgpLGmcS
 NAvRk6HPGV4VktON75zMWS6HkCkhlBkjnikpHaINKoIqAN7k7zOHqdYDoRK8cJGQrtME8qIkuUjT1
 psrYvZyGN6WyuIP10pymveoyWVhr6uQgCfPsCIUxxh1OUXY04jalUrMP8c1mN21GYceG5/mkCAY62
 sUbFMCxpOOOC1Oq3XUiFYAPfKYWrWhKKePLEB1jBgBu3kqEk1SGBUnlsg3GyqFSW3vgBJTa5U6TOJ
 9KOa4rw5GN8uEG5GWhqrNJ9XFV/nl9U5/u0hyfp0cnCE/Bdaqoj5GnZvx2hoYNwmnxrQKQkXUQGg9
 QFCLbxsA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wNwzM-005yFI-1i
 for submit@bugs.debian.org; Fri, 15 May 2026 18:10:20 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: nvidia-graphics-drivers-tesla-535: FTBFS: nvidia/nv-mmap.c:811:24:
 error: 'VMA_LOCK_OFFSET' undeclared (first use in this function);
 did you mean 'VGA_CRTC_OFFSET'?
X-Debbugs-Cc: sanvila@debian.org
Message-Id: &lt;E1wNwzM-005yFI-1i@paradis.debian.org&gt;
Date: Fri, 15 May 2026 18:10:20 +0000
Delivered-To: submit@bugs.debian.org
X-CrossAssassin-Score: 2

Package: src:nvidia-graphics-drivers-tesla-535
Version: 535.274.02-2
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-535, 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:811:24: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
  811 |     NvU32 tgt_refcnt = VMA_LOCK_OFFSET;
      |                        ^~~~~~~~~~~~~~~
      |                        VGA_CRTC_OFFSET
nvidia/nv-mmap.c:811: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:863:9: error: too many arguments to function ‘__is_vma_write_locked’; expected 1, have 2
  863 |     if (__is_vma_write_locked(vma, &amp;mm_lock_seq))
      |         ^~~~~~~~~~~~~~~~~~~~~      ~~~~~~~~~~~~
In file included from /usr/src/linux-headers-7.0.4+deb14-common/arch/x86/include/asm/uaccess.h:12,
                 from /usr/src/linux-headers-7.0.4+deb14-common/include/linux/uaccess.h:13,
                 from /usr/src/linux-headers-7.0.4+deb14-common/include/linux/sched/task.h:13,
                 from /usr/src/linux-headers-7.0.4+deb14-common/include/linux/sched/signal.h:9,
                 from ././common/inc/nv-lock.h:35,
                 from ././common/inc/nv-linux.h:32,
                 from nvidia/nv-mmap.c:27:
/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:872:42: error: ‘VMA_LOCK_OFFSET’ undeclared (first use in this function); did you mean ‘VGA_CRTC_OFFSET’?
  872 |         detached = refcount_sub_and_test(VMA_LOCK_OFFSET, &amp;vma-&gt;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 '/&lt;&lt;PKGBUILDDIR&gt;&gt;/test-module-build'
make[5]: *** [Makefile:260: __sub-make] Error 2
make[5]: Leaving directory '/usr/src/linux-headers-7.0.4+deb14-common'
make[4]: *** [Makefile:137: modules] Error 2
make[4]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;/test-module-build'
make[3]: *** [debian/rules:320: override_dh_auto_test] Error 2
make[3]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make[2]: *** [debian/rules:222: build] Error 2
make[2]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make[1]: *** [debian/rules:222: install] Error 2
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;'
make: *** [debian/rules:222: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]