Bug 185432 - dlm-kernel SRPM fails to build with "%define buildxen=1"
Summary: dlm-kernel SRPM fails to build with "%define buildxen=1"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dlm-kernel
Version: rawhide
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Chris Feist
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-14 19:32 UTC by Phillip Sorensen
Modified: 2008-02-26 23:00 UTC (History)
0 users

Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-26 23:00:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patched for spec file (1.67 KB, patch)
2006-03-14 19:32 UTC, Phillip Sorensen
no flags Details | Diff

Description Phillip Sorensen 2006-03-14 19:32:36 UTC
Description of problem:

To try clustering and xen together I needed to rebuild the dlm-kernel package
to get the kernel modules for xen0 and xenU kernels.  They are not currently
built.

Version-Release number of selected component (if applicable):
dlm-kernel-2.5.15.1-0.FC5.11

How reproducible:
Always

Steps to Reproduce:
1. Install needed packages: kernel, kernel-devel, cman-kernheaders, and
cman-kernel for up, smp, xen0, xenU
2. rpmbuild -bb --target=i686 dlm-kernel.spec
  
Actual results:
Build fails

Expected results:
RPMS for up, smp, xen0, and xenU kernels

Additional info:

Like Bugzilla #185430, this is related to the new Xen kernel patches that have
Xen as a variation of arch/i386.  The ARCH=xen part of the command causes the
problem.  Removing it make thing work.  I am attaching a patch for the spec
file.  The build dependencies will need to be fixed for buildxen=1.

NOTE:  I have not tried but GFS-kernel and gnbd-kernel may have the same problem.

Comment 1 Phillip Sorensen 2006-03-14 19:32:36 UTC
Created attachment 126118 [details]
Patched for spec file

Comment 2 Chris Feist 2006-03-14 23:35:37 UTC
This should be fixed in the latest GFS/CS packages which now include xen. 
(built for kernel version 2.6.15-1.2054_FC5).


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