Created attachment 361317 [details]
The patch that does not apply cleanly
Description of problem:
qspice-0.3.0-39.el5.src.rpm does not recompile, because patch #10, qspice-0.3.0-add-log-proc-to-CoreInterface.patch fails 2 hunks:
DEBUG: Patch #10 (qspice-0.3.0-add-log-proc-to-CoreInterface.patch):
DEBUG: + /bin/cat /builddir/build/SOURCES/qspice-0.3.0-add-log-proc-to-CoreInterface.patch
DEBUG: + /usr/bin/patch -s -p1 -b --suffix .add-log-proc-to-CoreInterface --fuzz=0
DEBUG: 1 out of 2 hunks FAILED -- saving rejects to file libspice/snd_worker.c.rej
DEBUG: 1 out of 6 hunks FAILED -- saving rejects to file libspice/vd_interface.h.rej
DEBUG: RPM build errors:
DEBUG: error: Bad exit status from /var/tmp/rpm-tmp.1eQfgd (%prep)
DEBUG: Bad exit status from /var/tmp/rpm-tmp.1eQfgd (%prep)
DEBUG: Child returncode was: 1
Version-Release number of selected component (if applicable):
mock -v -r epel-5-i386 rebuild qspice-0.3.0-39.el5.src.rpm, or rpmbuild --rebuild qspice-0.3.0-39.el5.src.rpm
Steps to Reproduce:
1. Download source rpm
2. Attempt rebuild
Failed applying patch #10
Attempting to recompile the stack for Fedora 11, so that it can be submitted for review to, and finally inclusion in, Fedora
Created attachment 361318 [details]
Rejected hunk on libspice/snd_worker.c
Attached failed hunk #1
Created attachment 361320 [details]
Rejected hunk on libspice/vd_interface.h
Attached rejected hunk #2
If you remove "--fuzz=0" from the "patch" command it works. Also works with "--fuzz=1".
Note that qspice is only supported for Red Hat Enterprise Linux 5.4 x86_64, so the build may fail for i386 or for 5.3
On the next release we'll be using a new tar file and patches on top of it should apply cleanly.
I was trying to get the package in Fedora, so could you point me to the upstream location?
There is no upstream yet.