Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#79248 - Error on modules compilation

Attached to Project: Arch Linux
Opened by Nicholas (Chawoosh) - Sunday, 30 July 2023, 05:34 GMT
Last edited by Toolybird (Toolybird) - Sunday, 30 July 2023, 06:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Error on modules compilation

Additional info:
* nvidia/470.63.01

Steps to reproduce:

Standard update process and compilation by

dkms install --no-depmod nvidia/470.63.01 -k 6.4.7-arch1-1

gives many errors like this:
....
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-p2p.o] Error 1
In file included from /var/lib/dkms/nvidia/470.63.01/build/common/inc/nv-linux.h:15,
from /var/lib/dkms/nvidia/470.63.01/build/common/inc/nv-pci.h:15,
from /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-pci.c:13:
/var/lib/dkms/nvidia/470.63.01/build/common/inc/nv.h:22:12: fatal error: stddef.h: No such file or directory
22 | #include <stddef.h> // NULL
| ^~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-pci.o] Error 1
In file included from /var/lib/dkms/nvidia/470.63.01/build/nvidia/nv-i2c.c:15:
/var/lib/dkms/nvidia/470.63.01/build/common/inc/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory
27 | #include <stdarg.h>
| ^~~~~~~~~~


This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 30 July 2023, 06:00 GMT
Reason for closing:  Not a bug
Comment by Toolybird (Toolybird) - Sunday, 30 July 2023, 06:00 GMT
nvidia/470.63.01 is from 2021! The 470 series became the legacy branch and was dropped to the AUR around then. Please try [1] and also note that AUR pkgs are not supported here.

[1] https://aur.archlinux.org/packages/nvidia-470xx-dkms

Loading...