Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 577460

Summary: sys-kernel/linux-headers-4.1 should exists, as sys-kernel/vanilla-sources-4.1.XXX is Long Term Support version.
Product: Gentoo Linux Reporter: Yuriy Dmitriev <it>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED INVALID    
Severity: normal CC: alex_y_xu, hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yuriy Dmitriev 2016-03-15 09:52:57 UTC
Today sys-kernel/linux-headers-4.1 go out from Portage tree. I think, this is incorrect, as sys-kernel/vanilla-sources-4.1.XXX declared as Long Term Support version.
Comment 1 Alex Xu (Hello71) 2016-03-18 01:29:47 UTC
no, linux headers are complicated and have to do with libc.

linux-headers are deliberately separate from sources.
Comment 2 SpanKY gentoo-dev 2016-03-18 04:42:40 UTC
most likely in regards to my use of "LTS" in the commit message when i purged some.  meh.
Comment 3 SpanKY gentoo-dev 2016-04-12 08:06:08 UTC
*** Bug 579684 has been marked as a duplicate of this bug. ***
Comment 4 Tomáš Mózes 2016-04-13 15:31:25 UTC
I greatly admire your knowledge/skills Mike. However some users (including me) don't have that knowledge - would it be possible to write up a wiki page regarding this? 

For example:
https://sourceware.org/glibc/wiki/FAQ#What_version_of_the_Linux_kernel_headers_should_be_used.3F
http://linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html
https://sourceware.org/ml/libc-help/2014-11/msg00010.html

To sum it up, it says that you *should* use the latest linux-headers and it does not matter they do not match your kernel version. For example, if you have kernel 4.1, you should use the latest headers (let's say 4.5) because when you upgrade your kernel to 4.5, you will not have to recompile glibc.

However what about the other users for linux-headers?
Comment 5 Tomáš Mózes 2016-04-13 16:06:19 UTC
Please correct what is wrong at:
https://wiki.gentoo.org/index.php?title=Linux-headers

Thank you!