Red Hat Bugzilla – Bug 91333
php src rpm rebuild with oracle causes package error for openssl.so
Last modified: 2007-04-18 12:53:53 EDT
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:
RPM build errors:
Installed (but unpackaged) file(s) found:
If I build the src without oracle, it works.
Version-Release number of selected component (if applicable):
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
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
You could try adding --without-openssl to see if that helps.
*** Bug 97316 has been marked as a duplicate of this bug. ***
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
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.
--without-ssl did not produce any warnings.