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!
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!
FS#58575 - [linux-api-headers] uname and /usr/include/linux/version.h
Attached to Project:
Arch Linux
Opened by Sami Kerola (kerolasa) - Sunday, 13 May 2018, 11:05 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 13 May 2018, 14:40 GMT
Opened by Sami Kerola (kerolasa) - Sunday, 13 May 2018, 11:05 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 13 May 2018, 14:40 GMT
|
DetailsDescription:
* Linux run time version and system header do not agree what is the version number Additional info: * This has probably been the case since beginning of time. Steps to reproduce: Lets look what running kernel thinks is the kernel version. $ uname -r 4.16.8-1-ARCH Okay, how does that compare to version in header file. $ awk '/LINUX_VERSION_CODE/ {print rshift($3, 16), and(rshift($3, 8), 255), and($3, 255)}' /usr/include/linux/version.h 4 16 1 That's strange. Where did that file come from. $ pacman -Qo /usr/include/linux/version.h /usr/include/linux/version.h is owned by linux-api-headers 4.16.1-1 Oh I see. Maybe I am overly pedantic but perhaps linux/version.h should come from 'linux' package rather than 'linux-api-headers'. What do you think? |
This task depends upon
Feel free to close with status code of 'answerred' or something like that.