FS#49889 - [namcap] Recognize /usr/src as a standard directory
Attached to Project:
Arch Linux
Opened by Andrey Vihrov (andreyv) - Wednesday, 29 June 2016, 16:31 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 06 December 2016, 15:13 GMT
Opened by Andrey Vihrov (andreyv) - Wednesday, 29 June 2016, 16:31 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 06 December 2016, 15:13 GMT
|
Details
Description:
Please consider adding /usr/src to the list of known directories. It is used for kernel module sources, e.g., DKMS-based packages (https://www.archlinux.org/packages/?q=-dkms). Also it can contain vendor-shipped binary ELF files (as in nvidia-dkms). See also: https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support#namcap_output Additional info: * namcap 3.2.7-1 Steps to reproduce: > namcap nvidia-dkms-367.27-1-x86_64.pkg.tar.xz nvidia-dkms W: File (usr/src/) exists in a non-standard directory. … nvidia-dkms E: ELF file ('usr/src/nvidia-367.27/nvidia/nv-kernel.o_binary') outside of a valid path. |
This task depends upon
But you are still going to get errors from namcap after I fix this bug. Because it is for "source code reference" any binary files such as nv-kernel.o_binary will generate an error.