Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556058 - dev-util/mock requires app-arch/rpm[python]
Summary: dev-util/mock requires app-arch/rpm[python]
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 17:01 UTC by Ewoud Kohl van Wijngaarden
Modified: 2016-07-24 13:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ewoud Kohl van Wijngaarden 2015-07-27 17:01:04 UTC
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
Comment 1 Adam Feldman gentoo-dev 2015-07-30 22:42:09 UTC
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.
Comment 2 Ewoud Kohl van Wijngaarden 2015-08-18 12:02:52 UTC
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.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-07-24 13:25:07 UTC
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