Bug 110482

Summary: php-4.3.3-6.src.rpm with oci8 build errors
Product: [Fedora] Fedora Reporter: Richard D. Hamblett <rdhja>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1CC: nvassile
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 4.3.4-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-12-18 11:18:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix for mysql and oracle none

Description Richard D. Hamblett 2003-11-19 22:20:40 UTC
Description of problem:
When building php-4.3.3-6 from src.rpm with --define 'oracle 1' the 
files lists and stub .ini files for the oci8 subpackage are not
generated and the build stops with errors.  When I changed
"%{!?oracle:oci8}", in line 397 of the php.spec file, to "oci8" the
build worked OK.  I don't know enough sh scipting to fix it properly.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan Visser 2003-11-28 14:44:46 UTC
Created attachment 96237 [details]
fix for mysql and oracle 

This patch should fix the problem with files.mssql and files.oci8 not being
generated

Comment 2 Joe Orton 2003-11-28 14:56:18 UTC
Thanks for looking into this.  It looks like a simpler fix is to change:

%{!?oracle:oci8} %{!?mssql:mssql}

to

%{?oracle:oci8} %{?mssql:mssql}


Comment 3 Joe Orton 2003-12-01 11:23:46 UTC
I've integrated that change for 4.3.4-2 in Raw Hide, can you try it
out when it's available?

Comment 4 Joe Orton 2003-12-18 11:18:23 UTC
Please reopen if there are furhter problems with 4.3.4-2 or later. 
Thanks for the report and patch.

Comment 5 Joe Orton 2004-01-09 14:53:02 UTC
*** Bug 113189 has been marked as a duplicate of this bug. ***