Bug 91333 - php src rpm rebuild with oracle causes package error for openssl.so
Summary: php src rpm rebuild with oracle causes package error for openssl.so
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: php
Version: 9
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard:
: 97316 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-21 15:17 UTC by Stephen Lawrence Jr.
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-06-12 21:48:18 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.