Bug 185430 - cman-kernel SRPM fails to build with "%define buildxen=1"
cman-kernel SRPM fails to build with "%define buildxen=1"
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: cman-kernel (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Feist
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-14 14:22 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:
Environment:
Last Closed: 2008-02-26 18:00:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Phillip Sorensen 2006-03-14 14:22:25 EST
Description of problem:

To try clustering and xen together I needed to rebuild the cman-kernel package
to get the kernel modules for xen0 and xenU kernels.  They are not currently
built (bugzilla #177772).

The rebuild faild with a missing Makefile in the kernel-devel tree.


Version-Release number of selected component (if applicable):
cman-kernel-2.6.15.1-0.FC5.13

How reproducible:
Always

Steps to Reproduce:
1. download and install cman-kernel-2.6.15.1-0.FC5.13.src.rpm
2. download and install xen0 and xenU kernel and kernel-devel packages
3. rpmbuild -bb --target=i686 cman-kernel.spec
  
Actual results:
Build fails

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

Additional Information:

It appears that this problem is caused by moving to the Xen kernel tree that
includes Xen as a variant type of i386 instead of a new ARCH.  When I removed
the ARCH=xen statments from the spec file everything build as expected.  I am
attaching the diff between my working spec and the original.  (The dependencies
also need updating is buildxen is enabled)
Comment 1 Phillip Sorensen 2006-03-14 14:22:25 EST
Created attachment 126116 [details]
Patched spec file
Comment 2 Phillip Sorensen 2006-03-14 14:35:18 EST
Just for peoples info, I also have filed bugzilla #185432 for the same problem
for dlm-kernel.  It may also apply to GFS-kernel and gnbd-kernel
Comment 3 Chris Feist 2006-03-22 18:16:50 EST
Should be fixed in the cman-kernel which was released with FC5.

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