[Php-devel] PHP 5.5.20+ or 30+
Mcgrath, Trent
TRENT.MCGRATH at NEXWEB.ORG
Tue Dec 29 12:30:43 PST 2015
Hello
For future reference I commented out Patch/patch 1 and 20 from the spec file and it now works.
Thank You,
Trent McGrath
-----Original Message-----
From: Mcgrath, Trent
Sent: Sunday, December 27, 2015 5:03 PM
To: php-devel at oss.oracle.com
Cc: Mcgrath, Trent
Subject: PHP 5.5.20+ or 30+
Hello:
I am able to generate the PHP RPM using the spec file for PHP 5.5.10 and 5.5.11. However using the any 20 or the latest 30 version I get: the below.
I have spent a lot time trying to figure it out. Any ideas? I have been updating php54 this way for years for from the project:
https://oss.oracle.com/projects/php/
===
rpmbuild]# QA_RPATHS=$[ 0x0001|0x0010|0x0002 ] rpmbuild -ba SPECS/php55.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.StrvWC
+ umask 022
+ cd /u3/root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /u3/root/rpmbuild/BUILD
+ rm -rf php-5.5.26
+ /bin/tar -xf -
+ /usr/bin/bzip2 -dc /u3/root/rpmbuild/SOURCES/php-5.5.26.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd php-5.5.26
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #1 (php-5.5.4-ini.patch):'
Patch #1 (php-5.5.4-ini.patch):
+ /usr/bin/patch -p1 -b --suffix .phpini --fuzz=0 /bin/cat
+ /u3/root/rpmbuild/SOURCES/php-5.5.4-ini.patch
patching file php.ini-production
Hunk #1 succeeded at 289 (offset -8 lines).
Hunk #2 FAILED at 584.
Hunk #3 succeeded at 714 (offset -11 lines).
Hunk #4 succeeded at 834 (offset -11 lines).
Hunk #5 succeeded at 844 (offset -11 lines).
Hunk #6 succeeded at 953 (offset -11 lines).
Hunk #7 succeeded at 1445 (offset -36 lines).
Hunk #8 succeeded at 1641 (offset -36 lines).
1 out of 8 hunks FAILED -- saving rejects to file php.ini-production.rej
error: Bad exit status from /var/tmp/rpm-tmp.StrvWC (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.StrvWC (%prep) ====
rpmbuild]# cat BUILD/php-5.5.26/php.ini-production.rej
--- php.ini-production 2013-09-25 11:45:40.535253500 -0700
+++ php.ini-production 2013-09-25 11:45:11.558596018 -0700
@@ -584,11 +584,6 @@
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
-;windows.show_crt_warning
-; Default value: 0
-; Development value: 0
-; Production value: 0
-
;;;;;;;;;;;;;;;;;
; Data Handling ;
;;;;;;;;;;;;;;;;;
Thank You,
Trent McGrath
******************************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or agency to whom they are addressed.
If you have received this email in error please notify the Navy
Exchange Service Command e-mail administrator. This footnote
also confirms that this email message has been scanned for the
presence of computer viruses.
Thank You!
******************************************************************************
More information about the Php-devel
mailing list