linux-kernel-header has files with size 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-kernel-
I am currently running ubuntu feisty.t The packages linux-headers-
xxx@pcvisor:
8193
xxx@pcvisor:
399
xxx@pcvisor:
2817
xxx@pcvisor:
2648
A small example:
xxx@pcvisor:
-rw-r--r-- 1 root root 0 2007-06-07 19:47 linux-headers-
-rw-r--r-- 1 root root 0 2007-06-07 19:47 linux-headers-
-rw-r--r-- 1 root root 0 2007-06-07 19:47 linux-headers-
the same executed on a vanilla 2.6.20 kernel from kernel.org:
xxx@pcvisor:
1
Is there any good reason for zero sizes header files?
Changed in linux-kernel-headers (Ubuntu): | |
status: | Incomplete → Confirmed |
affects: | linux-kernel-headers (Ubuntu) → linux (Ubuntu) |
Also seen in Ubuntu 8.04 (Hardy):
$ uname -a 2.6.24- 19-generic/ -type f | wc -l 2.6.24- 19-generic/ -type f -size 0 | wc -l
Linux nexus 2.6.24-19-generic #1 SMP Wed Jun 4 15:10:52 UTC 2008 x86_64 GNU/Linux
$ find linux-headers-
2612
$ find linux-headers-
2555
$ find linux-headers- 2.6.24- 19 -type f | wc -l 2.6.24- 19 -type f -size 0 | wc -l
8264
$ find linux-headers-
0
What's odder still is that files which are listed in the -generic kernel headers don't exist in the other tree. For instance
$ find /usr/src -iname iforce.h linux-headers- 2.6.24- 17-generic/ include/ config/ joystick/ iforce. h linux-headers- 2.6.24- 19-generic/ include/ config/ joystick/ iforce. h 2.6.24- 19 2.6.24- 17 linux-headers- 2.6.24- 19-generic 2.6.24- 17-generic rpm
/usr/src/
/usr/src/
$ ls
linux linux-headers-
linux-headers-
linux-headers-