View Single Post
  #1  
Old 1st December 2008, 07:54
jegavelan jegavelan is offline
Junior Member
 
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error To Harden PHP5 With Suhosin On CentOS 5.0

I am getting this error when i try To Harden PHP5 With Suhosin On CentOS 5.0

rpmbuild -ba php.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.41518
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf php-5.1.6
+ /bin/gzip -dc /usr/src/redhat/SOURCES/php-5.1.6.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-5.1.6
++ /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 .
+ echo 'Patch #0 (php-5.1.6-suhosin.patch):'
Patch #0 (php-5.1.6-suhosin.patch):
+ patch -p1 -b --suffix .suhosin -s
+ echo 'Patch #1 (php-5.1.4-gnusrc.patch):'
Patch #1 (php-5.1.4-gnusrc.patch):
+ patch -p1 -b --suffix .gnusrc -s
+ echo 'Patch #2 (php-5.1.4-warnings.patch):'
Patch #2 (php-5.1.4-warnings.patch):
+ patch -p1 -b --suffix .warnings -s
+ echo 'Patch #5 (php-4.3.3-install.patch):'
Patch #5 (php-4.3.3-install.patch):
+ patch -p1 -b --suffix .install -s
+ echo 'Patch #6 (php-5.0.4-norpath.patch):'
Patch #6 (php-5.0.4-norpath.patch):
+ patch -p1 -b --suffix .norpath -s
+ echo 'Patch #7 (php-4.3.2-libtool15.patch):'
Patch #7 (php-4.3.2-libtool15.patch):
+ patch -p1 -b --suffix .libtool15 -s
+ echo 'Patch #13 (php-5.0.2-phpize64.patch):'
Patch #13 (php-5.0.2-phpize64.patch):
+ patch -p1 -b --suffix .phpize64 -s
+ echo 'Patch #14 (php-5.1.6-ecalloc.patch):'
Patch #14 (php-5.1.6-ecalloc.patch):
+ patch -p1 -b --suffix .ecalloc -s
1 out of 2 hunks FAILED -- saving rejects to file Zend/zend_alloc.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.41518 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.41518 (%prep)
Reply With Quote
Sponsored Links