Re: rpmbuild kernel.spec error

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

 





On 3/12/06, Justin Conover <justin.conover@xxxxxxxxx> wrote:


On 3/12/06, Justin Conover < justin.conover@xxxxxxxxx> wrote:
This is from 2041.src.rpm

$ rpmbuild -bp kernel-2.6.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39530
+ umask 022
+ cd /home/justin/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ '[' '!' -d kernel-2.6.15/vanilla ']'
+ cd kernel-2.6.15
+ '[' -d linux-2.6.15.x86_64 ']'
+ mv linux-2.6.15.x86_64 deleteme
+ rm -rf deleteme
+ '[' -d xen ']'
+ cp -rl vanilla linux-2.6.15.x86_64
+ cp -rl xen-vanilla xen
cp: cannot stat `xen-vanilla': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.39530 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.39530 (%prep)

$ pwd
/home/justin/rpmbuild/BUILD/kernel-2.6.15

$ ls
linux-2.6.15  linux-2.6.15.x86_64  vanilla

$ mkdir xen-vanilla

spec now starts to build, so there is a mkdir xen-vanilla or something along those lines missing

After that, it breaks on a patch

+ patch -p1 -s
1 out of 4 hunks FAILED -- saving rejects to file arch/i386/kernel/sysenter.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.35125 (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.35125 (%prep)


  rpmbuild -bp --target=x86_64 kernel-2.6.spec


# Exec-shield.
#Patch810: linux-2.6-execshield.patch
#Patch814: linux-2.6-execshield-fixes.patch

# Exec shield
#%patch810 -p1
# Final small execshield fixes.
#%patch814 -p1


Builds fine with out those, but I assume we want the exec shield stuff ;)



-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]