Issues installing module using Ansible
I am trying to setup my server using Ansible. Installation of module ea-php71-php-bz2 is failing with message
ea-php71-php-common-7.1.2-1.1.2.cpanel.x86_64 providing ea-php71-php-bz2 is already installed
But ea-php71-php-common does not provide the shared library for bz2
Because of this, I am unable to install bz2 and calendar extensions using sensible. But if I use yum to install the packages, it is being installed correctly.
$ yum whatprovides ea-php71-php-calendar
...
ea-php71-php-calendar-7.1.2-1.1.2.cpanel.x86_64 : A module for PHP applications that need date/time calculations
Repo : @EA4
ea-php71-php-common-7.1.2-1.1.2.cpanel.x86_64 : Common files for PHP
Repo : @EA4
Matched from:
Provides : ea-php71-php-calendar = 7.1.2-1.1.2.cpanelBut ea-php71-php-common does not provide the shared library for bz2
$ rpm -ql ea-php71-php-common
/opt/cpanel/ea-php71/root/etc/php.d
/opt/cpanel/ea-php71/root/etc/php.d/20-ctype.ini
/opt/cpanel/ea-php71/root/etc/php.d/20-json.ini
/opt/cpanel/ea-php71/root/etc/php.d/20-phar.ini
/opt/cpanel/ea-php71/root/etc/php.d/20-tokenizer.ini
/opt/cpanel/ea-php71/root/etc/php.ini
/opt/cpanel/ea-php71/root/usr/lib64/php
/opt/cpanel/ea-php71/root/usr/lib64/php/modules
/opt/cpanel/ea-php71/root/usr/lib64/php/modules/ctype.so
/opt/cpanel/ea-php71/root/usr/lib64/php/modules/json.so
/opt/cpanel/ea-php71/root/usr/lib64/php/modules/phar.so
/opt/cpanel/ea-php71/root/usr/lib64/php/modules/tokenizer.so
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/CODING_STANDARDS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/CREDITS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/EXTENSIONS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/LICENSE
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/NEWS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.EXT_SKEL
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.GIT-RULES
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.MAILINGLIST_RULES
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.NEW-OUTPUT-API
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.PARAMETER_PARSING_API
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.REDIST.BINS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.RELEASE_PROCESS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.SELF-CONTAINED-EXTENSIONS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.STREAMS
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.SUBMITTING_PATCH
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.TESTING
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.TESTING2
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.UNIX-BUILD-SYSTEM
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.WIN32-BUILD-SYSTEM
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.input_filter
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.md
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/README.namespaces
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/TSRM_LICENSE
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/ZEND_CHANGES
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/ZEND_LICENSE
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/libmagic_LICENSE
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/phar_LICENSE
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/php.ini-development
/opt/cpanel/ea-php71/root/usr/share/doc/ea-php71-php-common-7.1.2/php.ini-production
/opt/cpanel/ea-php71/root/usr/share/php
/opt/cpanel/ea-php71/root/usr/var/libBecause of this, I am unable to install bz2 and calendar extensions using sensible. But if I use yum to install the packages, it is being installed correctly.
-
Howdy, Yep, i'm seeing this as well. It appears we tell our common package to provide all the shared modules it builds (bz2 being one of them), but I'm not seeing any loaders or INI configs to tell it to do the right thing. I'm testing this a bit on my side. I'll update you in a bit with my findings. Thanks for the report! 0 -
I removed the Provides for BZ2 under our php-common package, and I got a dedicated package for bz2 with: jperkins64 :: rpmbuild/RPMS/x86_64 # rpm2cpio ea-php71-php-bz2-7.1.2-1.el6.cpanel.x86_64.rpm | cpio -idmv 1 ? ./opt/cpanel/ea-php71/root/etc/php.d/20-bz2.ini ./opt/cpanel/ea-php71/root/usr/lib64/php/modules/bz2.so
I'm looking in this a bit more to see why our common package isn't providing this module0 -
Hi, I opened case EA-6008 to have bz2 and the calendar extension split out from the php-common packages. I'll try to get this released as quickly as I can. Thanks for the report! 0
Please sign in to leave a comment.
Comments
3 comments