[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 469] New: Building kernel-source rpm for SRC.RPM fails



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=469

           Summary: Building kernel-source rpm for SRC.RPM fails
           Product: Xen
           Version: 3.0.0
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unspecified
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: joost@xxxxxxxxx


I use Fedora Core 4 (FC4) when I try to build a kernel-source RPM it fails.
After I change the xen.spec file to have buildsource enabled, I run: rpmbuild
-ba xen.spec

It seems that it appends the wrong versions to the mk.linux-2.6.... file
(3_7.1_fc4 is not available).
++++++

When it runs is fails with the following:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.38573
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf xen-3.0.0-7
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/xen-3.0.0-7.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xen-3.0.0-7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.28813
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd xen-3.0.0-7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.28813
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd xen-3.0.0-7
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/xen-3.0.0-7.1_fc4-root
+ mkdir -p /var/tmp/xen-3.0.0-7.1_fc4-root/usr/src/linux-2.6.12.6-xen3_7.1_fc4
+ chmod -R a+r CHANGESET COPYING Config.mk Makefile README buildconfigs docs
extras install.sh linux-2.6-xen-sparse patches tools xen
+ /usr/bin/make linux-2.6-xen3_7.1_fc4-clean
/usr/bin/make -f buildconfigs/mk.linux-2.6-xen3_7.1_fc4 clean
make[1]: Entering directory `/usr/src/redhat/BUILD/xen-3.0.0-7'
make[1]: buildconfigs/mk.linux-2.6-xen3_7.1_fc4: No such file or directory
make[1]: *** No rule to make target `buildconfigs/mk.linux-2.6-xen3_7.1_fc4'.  
Stop.
make[1]: Leaving directory `/usr/src/redhat/BUILD/xen-3.0.0-7'
make: *** [linux-2.6-xen3_7.1_fc4-clean] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.28813 (%install)

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.