| Summary: | Bad definition of php_* macro | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Remi Collet <rcollet> | ||||
| Component: | php | Assignee: | Remi Collet <rcollet> | ||||
| Status: | CLOSED ERRATA | QA Contact: | David Jež <djez> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rh-php70 | CC: | djez, jorton, kanderso | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | 2.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rh-php70-php-7.0.10-2.el7 rh-php70-php-7.0.10-2.el6 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-11-15 10:06:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 1216391 [details]
macros.patch
Trivial patch fixing this issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2730.html |
In /usr/lib/rpm/macros.d/macros.rh-php70-config (from metapackage) %scl_package_override() %{expand: %{?php70___pear:%global __pear %php70___pear} %{?php70___pecl:%global __pecl %php70___pecl} %{?php70___php:%global __php %php70___php} %global pear_metadir %php70_pear_metadir %global pear_xmldir %php70_pear_xmldir %global pecl_xmldir %php70_pecl_xmldir %global php_core_api %php70_php_core_api %global php_zend_api %php70_php_zend_api %global php_pdo_api %php70_php_pdo_api %global php_version %php70_php_version %global php_extdir %php70_php_extdir %global php_inidir %php70_php_inidir %global php_incldir %php70_php_incldir } This is ok. But in /usr/lib/rpm/macros.d/macros.rh-php70-php # # Interface versions exposed by PHP: # %php56_php_core_api 20151012-64 %php56_php_zend_api 20151012-64 %php56_php_pdo_api 20150127-64 %php56_php_version 7.0.10 %php56_php_extdir /opt/rh/rh-php70/root/usr/lib64/php/modules %php56_php_inidir /etc/opt/rh/rh-php70/php.d %php56_php_incldir /opt/rh/rh-php70/root/usr/include/php %php56___php /opt/rh/rh-php70/root/usr/bin/php This is obviously wrong, thus %php_* macro are not (or badly) defined at buildtime, thus build of additional extensions is impossible.