Tendrl / commons

Common code usable by all Tendrl components
http://www.tendrl.org
GNU Lesser General Public License v2.1
4 stars 23 forks source link

Package tendrl-commons requires maps (missing dependency) #232

Closed dahorak closed 7 years ago

dahorak commented 7 years ago

Installation of tendrl-commons from Tendrl Copr repository fails on missing dependency:

# yum install tendrl-commons
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.hosting90.cz
 * epel: mirrors.nic.cz
 * extras: mirror.hosting90.cz
 * updates: mirror.hosting90.cz
Resolving Dependencies
--> Running transaction check
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: ansible >= 2.2 for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Processing Dependency: python-docutils for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Processing Dependency: python-psutil for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Processing Dependency: python-ruamel-yaml for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Processing Dependency: pytz for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Running transaction check
---> Package ansible.noarch 0:2.2.1.0-1.el7 will be installed
--> Processing Dependency: sshpass for package: ansible-2.2.1.0-1.el7.noarch
--> Processing Dependency: python-paramiko for package: ansible-2.2.1.0-1.el7.noarch
--> Processing Dependency: python-keyczar for package: ansible-2.2.1.0-1.el7.noarch
--> Processing Dependency: python-jinja2 for package: ansible-2.2.1.0-1.el7.noarch
--> Processing Dependency: python-httplib2 for package: ansible-2.2.1.0-1.el7.noarch
---> Package python-docutils.noarch 0:0.11-0.2.20130715svn7687.el7 will be installed
---> Package python-psutil.x86_64 0:2.2.1-1.el7 will be installed
---> Package python2-ruamel-yaml.x86_64 0:0.12.14-9.el7.centos will be installed
--> Processing Dependency: python2-ruamel-ordereddict for package: python2-ruamel-yaml-0.12.14-9.el7.centos.x86_64
--> Processing Dependency: python2-typing for package: python2-ruamel-yaml-0.12.14-9.el7.centos.x86_64
---> Package pytz.noarch 0:2012d-5.el7 will be installed
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Running transaction check
---> Package python-httplib2.noarch 0:0.7.7-3.el7 will be installed
---> Package python-jinja2.noarch 0:2.7.2-2.el7 will be installed
--> Processing Dependency: python-babel >= 0.8 for package: python-jinja2-2.7.2-2.el7.noarch
--> Processing Dependency: python-markupsafe for package: python-jinja2-2.7.2-2.el7.noarch
---> Package python-keyczar.noarch 0:0.71c-2.el7 will be installed
--> Processing Dependency: python-pyasn1 for package: python-keyczar-0.71c-2.el7.noarch
--> Processing Dependency: python-crypto for package: python-keyczar-0.71c-2.el7.noarch
---> Package python2-paramiko.noarch 0:1.16.1-2.el7 will be installed
--> Processing Dependency: python2-ecdsa for package: python2-paramiko-1.16.1-2.el7.noarch
---> Package python2-ruamel-ordereddict.x86_64 0:0.4.9-2.el7 will be installed
---> Package python2-typing.noarch 0:3.5.2.2-3.el7 will be installed
---> Package sshpass.x86_64 0:1.06-1.el7 will be installed
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Running transaction check
---> Package python-babel.noarch 0:0.9.6-8.el7 will be installed
---> Package python-markupsafe.x86_64 0:0.11-10.el7 will be installed
---> Package python2-crypto.x86_64 0:2.6.1-13.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-13.el7.x86_64
---> Package python2-ecdsa.noarch 0:0.13-4.el7 will be installed
---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-23.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-23.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-23.el7.x86_64
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Running transaction check
---> Package libtommath.x86_64 0:0.42.0-4.el7 will be installed
---> Package tendrl-commons.noarch 0:1.2.1-03_14_2017_13_49_16 will be installed
--> Processing Dependency: maps for package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch
--> Finished Dependency Resolution
Error: Package: tendrl-commons-1.2.1-03_14_2017_13_49_16.noarch (tendrl)
           Requires: maps
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
dahorak commented 7 years ago

Please be also aware, that the required packages should be named python-maps (not only maps) https://github.com/Tendrl/commons/issues/233 .

sankarshanmukhopadhyay commented 7 years ago

@TimothyAsir looks like we have a package dependency issue in the build - perhaps the SPEC needs updates.

TimothyAsir commented 7 years ago

@sankarshanmukhopadhyay My PR already merged. The next build will be having the updates.

dahorak commented 7 years ago

It seems to be fixed in following version:

# rpm -qa tendrl-commons python-maps
tendrl-commons-1.2.1-03_15_2017_15_21_27.noarch
python-maps-4.2.0-2.el7.centos.noarch