- Package:
- nvidia-driver
- Source:
- nvidia-driver
- Submitter:
- Paul R. Tagliamonte
- Date:
- 2026-09-20 03:11:03 UTC
- Severity:
- normal
After an update to gcc-16 nvidia-current (and nvidia-tesla-550) FTBFS with:
nvidia/os-interface.c:24:10: fatal error: string.h: No such file or directory
24 | #include <string.h>
| ^~~~~~~~~~
Curiously, adding an import doesn't work, I suspect due to the
nostdinc flag being passed. There's likely some sort of real fix.
conftest.sh looks like it could be one such place but I didn't want to
muck around too much.
Paul
retitle 1148494 nvidia-graphics-drivers-tesla: dkms ftbfs due to kernel dropping strncpy for strscpy retitle 1148493 nvidia-driver: dkms ftbfs due to kernel dropping strncpy for strscpy thanks https://www.phoronix.com/news/Linux-7.2-Drops-strncpy I'll give this a whirl when I get some free cycles; but fixing the first failing call to strncpy to strscpy (along with some minor cleanup due to the api difference) moved the build along. Shouldn't be too bad. Not a header issue. Paul