https://bugzilla.redhat.com/show_bug.cgi?id=977208
--- Comment #21 from Renich Bon Ciric <renich(a)woralelandia.com> ---
(In reply to Roman Mohr from comment #20)
Created attachment 773914 [details]
Patch to run most of the non-db-dependent unit tests
Apply in combination with attachment 773907 [details]
Thank you, Roman, for your hard work and collaboration.
The thing is that I may be formating the patch wrongly. Here's what I did:
- manually changed the SPEC file
- got the contents of your patch and put them in a file called
php-phalcon-phpunit.patch
Here's what I got:
Patch #0 (php-phalcon-phpunit.patch):
+ /usr/bin/cat /builddir/build/SOURCES/php-phalcon-phpunit.patch
+ /usr/bin/patch -p0 --fuzz=0
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- unit-tests/phpunit.xml.orig 2013-07-15 22:43:31.311938857 +0200
|+++ unit-tests/phpunit.xml.orig 2013-07-15 22:44:08.794605062 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
3 out of 3 hunks ignored
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.V3GSMX (%prep)
Bad exit status from /var/tmp/rpm-tmp.V3GSMX (%prep)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/php-phalcon.spec']
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line
70, in trace
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 359, in do
raise mockbuild.exception.Error, ("Command failed. See logs for output.\n #
%s" % (command,), child.returncode)
Error: Command failed. See logs for output.
# ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64
--nodeps
builddir/build/SPECS/php-phalcon.spec']
LEAVE do --> EXCEPTION RAISED
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=LgGbzvkg3K&a=cc_unsubscribe