y '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath' Making all in gl make[4]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' GEN alloca.h GEN arg-nonnull.h GEN c++defs.h GEN unused-parameter.h GEN warn-on-use.h GEN sys/types.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/stat.h GEN sys/time.h GEN time.h GEN unistd.h GEN wchar.h make all-recursive make[5]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' Making all in tests make[6]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' GEN c++defs.h GEN arg-nonnull.h GEN unused-parameter.h GEN warn-on-use.h GEN dirent.h GEN inttypes.h GEN fcntl.h make all-recursive make[7]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' Making all in . make[8]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' make[8]: Nothing to be done for 'all-am'. make[8]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' make[7]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' make[6]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl/tests' make[6]: Entering directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' CC base32.lo CC c-ctype.lo CC hmac-sha1.lo CC hmac-sha256.lo CC hmac-sha512.lo CC sha1.lo CC sha256.lo CC sha512.lo CC dirname-lgpl.lo CC basename-lgpl.lo CC stripslash.lo CC fd-hook.lo CC freading.lo CC malloca.lo CC memxor.lo CC u64.lo CC unistd.lo CC xsize.lo CC asnprintf.lo CC fclose.lo CC fflush.lo CC fpurge.lo CC fseek.lo CC fseeko.lo CC gc-gnulib.lo CC printf-args.lo BUILDSTDERR: fseeko.c: In function 'rpl_fseeko': BUILDSTDERR: fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." BUILDSTDERR: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." BUILDSTDERR: ^~~~~ BUILDSTDERR: make[6]: *** [Makefile:1398: fseeko.lo] Error 1 BUILDSTDERR: make[6]: *** Waiting for unfinished jobs.... make[6]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' BUILDSTDERR: make[5]: *** [Makefile:1413: all-recursive] Error 1 make[5]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' make[4]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath/gl' BUILDSTDERR: make[4]: *** [Makefile:1259: all] Error 2 BUILDSTDERR: make[3]: *** [Makefile:1401: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath' make[2]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1/liboath' BUILDSTDERR: make[2]: *** [Makefile:1207: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:400: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/oath-toolkit-2.6.1' BUILDSTDERR: make: *** [Makefile:356: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.i0V4ZP (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.i0V4ZP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/oath-toolkit.spec