.riscv64/usr/lib64/python2.7/site-packages/libpytrademgen/ + rm -f /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/pytrademgen /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen_drawBookingArrivals + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.00.2-19.fc30 --unique-debug-suffix -1.00.2-19.fc30.riscv64 --unique-debug-src-base trademgen-1.00.2-19.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/trademgen-1.00.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/lib64/python2.7/site-packages/libpytrademgen/libpytrademgen.so.1.00.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen_with_db extracting debug info from /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/lib64/python2.7/site-packages/libpytrademgen/libpytrademgen.so.1.00.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen_generateDemand extracting debug info from /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen extracting debug info from /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen_with_db extracting debug info from /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/bin/trademgen_generateDemand explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/lib64/libtrademgen.so.1.00.2 extracting debug info from /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/lib64/libtrademgen.so.1.00.2 /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. BUILDSTDERR: 717 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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/trademgen-1.00.2-19.fc30.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/trademgen-1.00.2-19.fc30.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/trademgen-config from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/trademgen_extractBookingRequests from /bin/bash to #!/usr/bin/bash BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib64/python2.7/site-packages/libpytrademgen/trademgen_drawBookingArrivals: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. BUILDSTDERR: *** ERROR: ambiguous python shebang in /usr/lib64/python2.7/site-packages/libpytrademgen/pytrademgen: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lFzbFf (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lFzbFf (%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/trademgen.spec