Bug#1114234: nvidia-graphics-drivers-legacy-340xx: FTBFS: nv_stdarg.h:36:13: fatal error: stdarg.h: No such file or directory

Andreas Beckmann anbe at debian.org
Tue Sep 16 14:36:20 BST 2025


Control: tag -1 moreinfo unreproducible

On 9/5/25 20:21, Santiago Vila wrote:
> Package: src:nvidia-graphics-drivers-legacy-340xx
> Version: 340.108-25

> # CC [M]  nv.o
>     x86_64-linux-gnu-gcc-14 -Wp,-MMD,./.nv.o.d -nostdinc -I/u [too-long-redacted] E=kmod_nvidia -c -o nv.o nv.c

> In file included from os-interface.h:27,
>                   from nv.c:12:
> nv_stdarg.h:36:13: fatal error: stdarg.h: No such file or directory
>     36 |    #include <stdarg.h>
>        |             ^~~~~~~~~~
> compilation terminated.
> make[8]: *** [/usr/src/linux-headers-6.16.3+deb14-common/scripts/Makefile.build:292: nv.o] Error 1

I cannot reproduce this issue. Never had any problems with stdarg.h. 
Just tried again with 6.16.7+deb14-amd64
There is another issue that makes the build fail later (when calling 
objtool), I'll upload -26 later today, working around this bug. Perhaps 
you could try again once the new version is in the archive.

Andreas



More information about the pkg-nvidia-devel mailing list