| Summary: | sys-kernel/linux26-headers doesn't include a linux/version.h file | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sophie Hamilton <gentoo-bugs> |
| Component: | [OLD] Core system | Assignee: | SpanKY <vapier> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | major | CC: | kernel, scorpiusf |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | version.h | ||
|
Description
Sophie Hamilton
2005-03-16 04:09:54 UTC
Changing priority to major as thinking about it, putting a 'Core System' bug in with a 'blocker' priorityp robably carries more weight than I intended. We don't use linux26-headers anymore, please confirm that the issue exists with linux-headers When I tried it before, it didn't emerge. I can't remember the error now, but I think the error was probably something to do with the fact that I have KBUILD_OUTPUT set all the time when root. In the end, what I did to gete round the problem in the bug was to untar the linux archive manually and compile a very small kernel so that the include/linux/version.h file was generated. I then copied that to /usr/include/linux and erased the source tree as I had no further use for it. I'll attach the version.h that was generated after this post. I realise now that linux26-headers isn't being used, but as the available documentation still refers to linux26-headers, would it be possible to generate the version.h file in the ebuild and install it? It could save some headaches. Besides, the 2.6 versions of linux-headers are in package.mask. Created attachment 53626 [details]
version.h
The generated version.h after compiling a kernel from the linux-2.6.8.1.tar.bz2
source tree.
I 'm afraid that I must confim the problem, ans it is not just version.h that is missing but other header files as well. @Daniel Drake: linux-headers with version higher than 2.4* are either hardmasked or ~arch masked in portage, while linux26-headers is still a valid stable package. Nevertheless, I tried to merge linux-headers-26* anyway, and it wouldn't even complete the emerge. This is serious bug that needs to be resolved, all new Gentoo installations that sync portage early, will be broken until this is fixed. After some more testing today I was able to install linux-headers-2.6.8.1-r2 successfully. It seems to dislike KBUILD_OUTPUT though. I was only able to install the headers after I removed KBUILD_OUTPUT support from my kernel. I recommend more testing to the devs. Thanks for confirming my suspicions, Costas. I would have tried it myself, but at the time I just wanted to get things up as soon as possible. Good to hear that it's definitely related to KBUILD_OUTPUT though. |