c30.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: /usr/share/lmod/lmod/init/bash: line 15: __lmod_vx: unbound variable BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/rsyncinfo: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/rsyncusers: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/null-rsync: #!/usr/bin/python. Change it to python3 (or python2) explicitly. mangling shebang in /usr/bin/geoip-lite-update from /bin/bash to #!/usr/bin/bash BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/create_timestamp: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/mirrorprobe: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/bdecode: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/testmirror.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/core.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/asn.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/files.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/mirrorlists.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/exports.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/conf.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib64/python2.7/site-packages/mb/hashes.py: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/util.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/crawl.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/conn.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib64/python2.7/site-packages/mb/mberr.py: #!/usr/bin/python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/geoip.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/filelist.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/lib64/python2.7/site-packages/mb/dbmaint.py is executable but has empty or no shebang, removing executable bit BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.rC5bbg (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.rC5bbg (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mirrorbrain.spec