init__.py data.py dialog.py entry.py io.py ui.py util.py PBKDF2.py '/builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/lib64/python2.7/site-packages/revelation' Byte-compiling python modules... __init__.pydata.pydialog.pyentry.pyio.pyui.pyutil.pyPBKDF2.py Byte-compiling python modules (optimized versions) ... __init__.pydata.pydialog.pyentry.pyio.pyui.pyutil.pyPBKDF2.py sed \ -e "s|\@GCONFTOOL\@|/usr/bin/gconftool-2|" \ -e "s|\@PACKAGE\@|revelation|" \ -e "s|\@VERSION\@|0.4.14|" \ -e "s|\@datadir\@|/usr/share|" \ -e "s|\@pkgdatadir\@|/usr/share/revelation|" \ -e "s|\@pkgschemadir\@|/etc/gconf/schemas|" \ config.py.in > config.py /usr/bin/mkdir -p '/builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/lib64/python2.7/site-packages/revelation' /usr/bin/install -c -m 644 config.py '/builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/lib64/python2.7/site-packages/revelation' Byte-compiling python modules... config.py Byte-compiling python modules (optimized versions) ... config.py make[4]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src/lib' make[3]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src/lib' make[2]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src/lib' make[2]: Entering directory '/builddir/build/BUILD/revelation-0.4.14/src' make[3]: Entering directory '/builddir/build/BUILD/revelation-0.4.14/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/bin' /usr/bin/install -c revelation '/builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/bin' make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src' make[2]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src' make[1]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14/src' make[1]: Entering directory '/builddir/build/BUILD/revelation-0.4.14' make[2]: Entering directory '/builddir/build/BUILD/revelation-0.4.14' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14' make[1]: Leaving directory '/builddir/build/BUILD/revelation-0.4.14' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64 revelation + mkdir -p /builddir/build/BUILDROOT/revelation-0.4.14-20.fc30.riscv64/usr/share/appdata + cat + /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/revelation-0.4.14-20.fc30.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/revelation-0.4.14-20.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/bin/revelation: #!/usr/bin/python. Change it to python3 (or python2) explicitly. error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.uEEm2q (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.uEEm2q (%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/revelation.spec