Fedora 22:错误:build立docker时没有名为'_rpmb'的模块

我正在尝试使用mock / scm集成在Fedora 22上构builddocker。 我在这里得到的错误是:

DEBUG: Preparing SCM sources ERROR: No module named '_rpmb' Traceback (most recent call last): File "/usr/sbin/mock", line 829, in <module> main() File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 650, in main run_command(options, args, config_opts, commands, buildroot, state) File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/sbin/mock", line 663, in run_command (options.sources, options.spec) = scmWorker.prepare_sources() File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/scm.py", line 134, in prepare_sources rpm_spec = ts.parseSpec(self.spec) File "/usr/lib64/python3.4/site-packages/rpm/transaction.py", line 40, in parseSpec import _rpmb ImportError: No module named '_rpmb' 

现在,我的系统上有可用的rpmb:

 [root@localhost peeyush]# sudo find / -name "*rpmb*" /usr/lib64/librpmbuild.so.3 /usr/lib64/librpmbuild.so /usr/lib64/librpmbuild.so.3.3.1 /usr/lib64/python2.7/site-packages/rpm/_rpmb.so /usr/lib64/python3.4/site-packages/rpm/_rpmb.cpython-34m.so 

虽然模拟与系统上安装的模块没有任何关系,但是我可以看到,对于chroot env,获得rpmb是可能的。 任何人都可以告诉我为什么我得到这个错误? 任何指针将不胜感激。

这纯粹是一个RPM错误。 请参阅: https : //bugzilla.redhat.com/show_bug.cgi?id = 1236493