I was testing an update to a package and the mock build worked just fine when doing builds on EL 7 and Fedora 22/23, but failed with the following error when trying to do a rawhide build:
~> mock -r fedora-rawhide-x86_64 --rebuild ~/rpmbuild/SRPMS/hgsubversion-1.8.4-1.el7.centos.src.rpm
INFO: mock.py version 1.2.13 starting (python version = 2.7.5)...
ERROR: invalid literal for float(): 7.2.1511
Traceback (most recent call last):
File "/usr/sbin/mock", line 833, in <module>
main()
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/sbin/mock", line 620, in main
buildroot = Buildroot(config_opts, uidManager, state, plugins)
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 55, in __init__
self.pkg_manager = PackageManager(config, self, plugins)
File "/usr/lib/python2.7/site-packages/mockbuild/package_manager.py", line 20, in PackageManager
version = float(version)
ValueError: invalid literal for float(): 7.2.1511
What can I do to help resolve this issue?~> mock -r fedora-rawhide-x86_64 --rebuild ~/rpmbuild/SRPMS/hgsubversion-1.8.4-1.el7.centos.src.rpm
INFO: mock.py version 1.2.13 starting (python version = 2.7.5)...
ERROR: invalid literal for float(): 7.2.1511
Traceback (most recent call last):
File "/usr/sbin/mock", line 833, in <module>
main()
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/sbin/mock", line 620, in main
buildroot = Buildroot(config_opts, uidManager, state, plugins)
File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 84, in trace
result = func(*args, **kw)
File "/usr/lib/python2.7/site-packages/mockbuild/buildroot.py", line 55, in __init__
self.pkg_manager = PackageManager(config, self, plugins)
File "/usr/lib/python2.7/site-packages/mockbuild/package_manager.py", line 20, in PackageManager
version = float(version)
ValueError: invalid literal for float(): 7.2.1511
-- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx