Description of problem: When I try to compile php-4.3.4-1.1 with Oracle oci8 plugin, the build fails at the packaging step. If I modify the spec file, at line 402 from: for mod in pgsql mysql odbc imap ldap snmp domxml xmlrpc %{!? oracle:oci8} %{!?mssql:mssql}; do to this: for mod in pgsql mysql odbc imap ldap snmp domxml xmlrpc oci8 %{!? mssql:mssql}; do Then the build finishes ok. I don't think that "fix" would be correct for builds without the oracle module. I am not sure how to fix this properly. Version-Release number of selected component (if applicable): php- 4.3.4-1.1 How reproducible: every time Steps to Reproduce: 1. Instal Oracle client & libraries 2. Build php from srource rpm with oracle oci8 support Actual results: RPM build errors: Could not open %files file /usr/src/redhat/BUILD/php- 4.3.4/files.oci8: No such file or directory Expected results: With "fix" described above: Wrote: /usr/src/redhat/RPMS/i386/php-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-devel-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-imap-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-ldap-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-mysql-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-pgsql-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-odbc-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-oci8-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-snmp-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-domxml-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-xmlrpc-4.3.4-1.1.i386.rpm Wrote: /usr/src/redhat/RPMS/i386/php-debuginfo-4.3.4-1.1.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.45052 + umask 022 + cd /usr/src/redhat/BUILD + cd php-4.3.4 + '[' /var/tmp/php-root '!=' / ']' + rm -rf /var/tmp/php-root + rm files.domxml files.imap files.ldap files.mysql files.oci8 files.odbc files.pgsql files.snmp files.xmlrpc + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.45052 + umask 022 + cd /usr/src/redhat/BUILD + rm -rf php-4.3.4 + exit 0
Please try 4.3.4-2 or later from Raw Hide. *** This bug has been marked as a duplicate of 110482 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.