1 (edited by hgp-it 2016-01-25 19:02:52)

Topic: Failed dependencies php-pecl-xslcache PHP7

Hello,

I have a new CentOS7 VM which I'm just installing all my required packages for.

I have installed the PHP7 Remi repo (with the EPEL repo) but have hit a wall with dependencies trying to install 'php-pecl-xslcache':

[root@vm-h002474-c7m2 yum.repos.d]# yum install php-pecl-xslcache
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repo.bigstepcloud.com
 * epel: mirror0.babylon.network
 * extras: mirrors.vooservers.com
 * remi-php70: rpms.remirepo.net
 * remi-safe: rpms.remirepo.net
 * updates: mirrors.clouvider.net
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-xslcache.x86_64 0:0.7.2-4.el7.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Running transaction check
---> Package php-pear.noarch 1:1.10.1-1.el7.remi will be installed
--> Processing Dependency: php-posix for package: 1:php-pear-1.10.1-1.el7.remi.noarch
---> Package php-pecl-xslcache.x86_64 0:0.7.2-4.el7.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Running transaction check
---> Package php-pecl-xslcache.x86_64 0:0.7.2-4.el7.remi.5.4 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64
---> Package php-process.x86_64 0:7.0.2-1.el7.remi will be installed
--> Finished Dependency Resolution
Error: Package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64 (remi-safe)
           Requires: php(api) = 20100412-64
           Installed: php-common-7.0.2-1.el7.remi.x86_64 (@remi-php70)
               php(api) = 20151012-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php(api) = 20100412-64
           Available: php-common-7.0.1-1.el7.remi.x86_64 (remi-php70)
               php(api) = 20151012-64
Error: Package: php-pecl-xslcache-0.7.2-4.el7.remi.5.4.x86_64 (remi-safe)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-7.0.2-1.el7.remi.x86_64 (@remi-php70)
               php(zend-abi) = 20151012-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (base)
               php(zend-abi) = 20100525-64
           Available: php-common-7.0.1-1.el7.remi.x86_64 (remi-php70)
               php(zend-abi) = 20151012-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@vm-h002474-c7m2 yum.repos.d]#

My repolist output:

[root@vm-h002474-c7m2 yum.repos.d]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: repo.bigstepcloud.com
 * epel: mirror0.babylon.network
 * extras: mirrors.vooservers.com
 * remi-php70: rpms.remirepo.net
 * remi-safe: rpms.remirepo.net
 * updates: mirrors.clouvider.net
repo id                                                                 repo name                                                                                                            status
base/7/x86_64                                                           CentOS-7 - Base                                                                                                      9,007
epel/x86_64                                                             Extra Packages for Enterprise Linux 7 - x86_64                                                                       9,292
extras/7/x86_64                                                         CentOS-7 - Extras                                                                                                      191
mariadb                                                                 MariaDB                                                                                                                 11
remi-php70                                                              Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64                                                          209
remi-safe                                                               Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                                             717
updates/7/x86_64                                                        CentOS-7 - Updates                                                                                                     502
repolist: 19,929
[root@vm-h002474-c7m2 yum.repos.d]#

Please help!

Where can I source this dependency from?

P.S. I did not have this problem when installing PHP7 (from Remi repos) on CentOS 6.7.

Thank you!

Elliot

Re: Failed dependencies php-pecl-xslcache PHP7

See http://blog.remirepo.net/pages/PECL-ext … RPM-status

This extension is not yet compatible with PHP 7, so you cannot install it (whatever distro you are using)

> P.S. I did not have this problem when installing PHP7 (from Remi repos) on CentOS 6.7.

It think you have no broken dependency (because of the PHP-5.4 version available in remi-safe), but you can't have install it

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Failed dependencies php-pecl-xslcache PHP7

Hi Remi,

Thank you very much. This is odd as I am trying to install the PHP7 pre-requisites for Magento 2.0.1. Magento confirm that it's PHP7 compatible so naturally I would expect the required modules to be available!

I will take it to Magento and see what they say.

Thank you!

Elliot