dev-util/mock requires app-arch/rpm to be built with the python USE-flag Reproducible: Always Steps to Reproduce: 1. emerge dev-util/mock and app-arch/rpm without the python USE-flag 2. run mock --help Actual Results: Traceback (most recent call last): File "/usr/sbin/mock", line 64, in <module> import mock.backend File "/usr/lib64/python2.7/site-packages/mock/backend.py", line 25, in <module> import mock.util File "/usr/lib64/python2.7/site-packages/mock/util.py", line 13, in <module> import rpm ImportError: No module named rpm Expected Results: mock help should be shown
You are definitely correct. Even the description of what the package declares that it uses rpm to manage the images, though it is not listed in the list of dependencies. Though, unfortunately, this package is lacking a maintainer. Are you interested in becoming a proxied maintainer and taking over responsibility for maintaining the package? Check out https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers#What_it_takes_to_be_a_Proxied_Maintainer for more information about proxy maintenance.
Having looked at the package it is severely outdated. It lacks epel-6 and epel-7 configs so I can hardly imagine anyone using this package. Given the recent switch to dnf I expect it would be need to packaged along with its dependencies like libsolv. I'm afraid I lack the needed time to do so.
commit caa827e66bcd06155d0f1a9a823b5023b16c4551 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Sun Jul 24 15:16:19 2016 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Sun Jul 24 15:22:59 2016 dev-util/mock: Remove last-rited pkg