INFO: Tried 1 times - following pkgs could not be successfully built:
ERROR: type object 'FileDownloader' has no attribute 'backmap'
Traceback (most recent call last):
File "/usr/libexec/mock/mock", line 1095, in <module>
exitStatus = main()
^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
result = func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/usr/libexec/mock/mock", line 852, in main
result = run_command(options, args, config_opts, commands, buildroot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
result = func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/usr/libexec/mock/mock", line 896, in run_command
result = commands.chain(args, options, buildroot)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
result = func(*args, **kw)
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/backend.py", line 530, in chain
msg = FileDownloader.original_name(pkg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/mockbuild/file_downloader.py", line 83, in original_name
if not cls.backmap:
^^^^^^^^^^^
AttributeError: type object 'FileDownloader' has no attribute 'backmap'
Short description of the problem
When a
mock --chain --recurse
fails to built at least one package, it is unable to print a list of failed packages and displays ERROR instead.Output of
rpm -q mock
mock-5.5-1.fc39.noarch
Steps to reproduce issue
mock -r fedora-39-x86_64 --chain --recurse --localrepo=/tmp/localrepo some.src.rpm.tofail
Any additional notes
Output of `mock --debug-config`