ug info from /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib64/libqpidmessaging.so.2.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib64/libqmf2.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib64/libqmf2.so.1.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 28 CRC32s, 0 CRC32s did match. BUILDSTDERR: 17053 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/qpid-cpp-1.38.0-5.fc30.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib/python2.7/site-packages/qpidtoollibs/disp.py: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/libexec/qpid-qls-analyze: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/bin/qmf-gen: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/Address.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/Version.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/PipeHandle.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/posix/FileSysDir.cpp is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/posix/LockFile.cpp is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/posix/PipeHandle.cpp is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/posix/Time.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/posix/SystemInfo.cpp is executable but has empty or no shebang, removing executable bit BUILDSTDERR: *** WARNING: ./usr/src/debug/qpid-cpp-1.38.0-5.fc30.riscv64/src/qpid/sys/FileSysDir.h is executable but has empty or no shebang, removing executable bit BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.00sTSs (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.00sTSs (%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/qpid-cpp.spec