Bug 180198 - build headers are incomplete
Summary: build headers are incomplete
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel-xen
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stephen Tweedie
QA Contact: Brian Brock
URL:
Whiteboard:
: 181338 (view as bug list)
Depends On:
Blocks: 179599
TreeView+ depends on / blocked
 
Reported: 2006-02-06 18:57 UTC by Bill Nottingham
Modified: 2014-03-17 02:58 UTC (History)
4 users (show)

Fixed In Version: 2.6.15-1.2027_FC5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-03-07 17:47:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix to include xen directory in kernel-xen-*-devel packages (546 bytes, patch)
2006-02-17 12:45 UTC, Jos Vos
no flags Details | Diff

Description Bill Nottingham 2006-02-06 18:57:07 UTC
Description of problem:



  CC [M]  /root/unionfs-1.1.2/subr.o
In file included from include/asm/page.h:71,
                 from include/asm/thread_info.h:14,
                 from include/linux/thread_info.h:21,
                 from include/linux/preempt.h:10,
                 from include/linux/spinlock.h:50,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from /root/unionfs-1.1.2/unionfs.h:8,
                 from /root/unionfs-1.1.2/subr.c:22:
include/asm-i386/mach-xen/mach_page.h:10:31: error: xen/interface/xen.h: No such
file or directory
include/asm-i386/mach-xen/mach_page.h:11:30: error: xen/foreign_page.h: No such
file or directory

Version-Release number of selected component (if applicable):

# rpm -q kernel-xen-hypervisor-devel
kernel-xen-hypervisor-devel-2.6.15-1.40_FC5

How reproducible:

Every time

Steps to Reproduce:
1. Attempt to build unionfs.
2.
3. Profit!

Comment 1 Bill Nottingham 2006-02-13 16:30:51 UTC
*** Bug 181338 has been marked as a duplicate of this bug. ***

Comment 2 Nathan G. Grennan 2006-02-17 03:15:05 UTC
The file xen/gnttab.h also seems to be missing.

Comment 3 Jos Vos 2006-02-17 12:45:38 UTC
Created attachment 124814 [details]
Fix to include xen directory in kernel-xen-*-devel packages

The attached small patch adds the include/xen directory and it works for me.
Maybe too much files are included now (but at least it's better than too few
;-)).

The pactch is for kernel-2.6.spec for 2.6.15-1.1948_FC5.

Comment 4 Stephen Tweedie 2006-02-24 22:25:34 UTC
NB. need to make sure it's in both hypervisor and guest -devel rpms.

Comment 5 Jos Vos 2006-05-02 11:22:05 UTC
I would think that my patch (checking if "$Flavour" contains "hypervisor" or
"guest") does not work anymore (although it's still in the .2096 spec file),
since  the flavours are renamed back to "xen0" and "xenU".  But at first sight
the generated packages do still contain the xen include files.  Wondering why...
 Anyway, the kernel spec file can at least be cleaned up now...

Comment 6 Jos Vos 2006-05-02 12:29:00 UTC
Oops... sorry, my previous comment seems to be not true.  I looked at an older
spec file with my own patch added.


Note You need to log in before you can comment on or make changes to this bug.