Bug 91333

Summary: php src rpm rebuild with oracle causes package error for openssl.so
Product: [Retired] Red Hat Linux Reporter: Stephen Lawrence Jr. <redhat>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-06-12 21:48:18 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:

Description Stephen Lawrence Jr. 2003-05-21 15:17:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020607

Description of problem:
When I execute the command:

rpmbuild -ba --define 'oracle 1' php.spec

I get the following error:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/php-root
error: Installed (but unpackaged) file(s) found:
   /usr/lib/php4/openssl.so


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/php4/openssl.so

If I build the src without oracle, it works.

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


How reproducible:
Always

Steps to Reproduce:
1.install php-src file
2.execute 'rpmbuild -ba --define 'oracle 1' php.spec'

    

Actual Results:  src build failed

Expected Results:  build should create php binary rpms

Additional info:

Comment 1 Joe Orton 2003-06-02 09:38:45 UTC
I don't see why enabling oracle support should cause that error, but we don't
support PHP with the Oracle extension enabled, so there's not a lot we can do to
help.

You could try adding --without-openssl to see if that helps.

Comment 2 Joe Orton 2003-06-12 21:26:24 UTC
*** Bug 97316 has been marked as a duplicate of this bug. ***

Comment 3 Stephen Lawrence Jr. 2003-06-12 21:36:56 UTC
After executing the following command (as per rpm.org)I was able to build the
RPMS, but was "warned" about the openssl issue instead of failing:

echo "%_unpackaged_files_terminate_build 0" >> /etc/rpm/macros

Will try again with --without-ssl

Comment 4 Joe Orton 2003-06-12 21:48:18 UTC
Actually, I'd expect that both those routes would lead to a PHP installation
which lacked OpenSSL support.  From looking at the configure script I have
absolutely no idea why this would happen: have you tried reporting this bug
upstream, if you can reproduce it with a stock tarball? ("when I enabled oci8 I
get openssl as a shared module")

We still won't fix this, so I'm going to reclose this bug.  If you can find out
how to fix this problem, please reopen this bug and we'll be look at integrating
the necessary changes, otherwise, please leave this closed.

Comment 5 Stephen Lawrence Jr. 2003-06-12 21:57:11 UTC
--without-ssl did not produce any warnings.