Analyse following RPM build log snippet. Describe contents accurately, without speculation or suggestions for resolution.            
Your analysis must be as concise as possible, while keeping relevant information intact.
Snippet: 
ModuleNotFoundError: No module named 'mailcap'
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.6Zl7m0 (%check)
    Bad exit status from /var/tmp/rpm-tmp.6Zl7m0 (%check)
Python complains about a missing module: mailcap