Bug 185432 - dlm-kernel SRPM fails to build with "%define buildxen=1"
dlm-kernel SRPM fails to build with "%define buildxen=1"
Product: Fedora
Classification: Fedora
Component: dlm-kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Feist
Depends On:
  Show dependency treegraph
Reported: 2006-03-14 14:32 EST by Phillip Sorensen
Modified: 2008-02-26 18:00 EST (History)
0 users

See Also:
Fixed In Version: FC5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-02-26 18:00:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

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

  None (edit)
Description Phillip Sorensen 2006-03-14 14:32:36 EST
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

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

How reproducible:

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 14:32:36 EST
Created attachment 126118 [details]
Patched for spec file
Comment 2 Chris Feist 2006-03-14 18:35:37 EST
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.