ctory fails as it should... guessing yes checking for ptrdiff_t... (cached) yes checking for ptrdiff_t... (cached) yes checking for stdint.h... (cached) yes checking for underline in external names... no checking for an assembler syntax supported by this package... no checking for library containing strerror... none required checking for an ANSI C-conforming const... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking return type of signal handlers... void checking for size_t... (cached) yes checking for off_t... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating tests/Makefile config.status: creating lib/config.h config.status: executing depfiles commands + make GEN version.c GEN version.h make all-recursive make[1]: Entering directory '/builddir/build/BUILD/gzip-1.9' Making all in lib make[2]: Entering directory '/builddir/build/BUILD/gzip-1.9/lib' GEN alloca.h GEN dirent.h GEN fcntl.h GEN limits.h GEN math.h GEN stdio.h GEN stdlib.h GEN string.h GEN sys/stat.h GEN sys/time.h GEN sys/types.h GEN time.h GEN unistd.h GEN wchar.h make all-am make[3]: Entering directory '/builddir/build/BUILD/gzip-1.9/lib' CC cloexec.o CC opendir-safer.o CC dirname-lgpl.o CC basename-lgpl.o CC stripslash.o CC exitfail.o CC creat-safer.o CC open-safer.o CC fd-hook.o CC fd-safer-flag.o CC dup-safer-flag.o CC filenamecat-lgpl.o CC freading.o CC getprogname.o CC gettime.o CC glthread/lock.o CC malloca.o CC math.o CC openat-die.o CC openat-safer.o CC printf-frexp.o CC printf-frexpl.o CC save-cwd.o CC savedir.o CC stat-time.o CC statat.o CC glthread/threadlib.o CC timespec.o CC unistd.o CC dup-safer.o CC fd-safer.o CC pipe-safer.o CC utimens.o CC xmalloc.o CC xalloc-die.o CC xsize.o CC yesno.o CC asnprintf.o CC chdir-long.o CC fclose.o CC fcntl.o CC fflush.o CC fprintf.o CC fpurge.o CC fseek.o CC fseeko.o 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[3]: *** [Makefile:1780: fseeko.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/gzip-1.9/lib' make[2]: Leaving directory '/builddir/build/BUILD/gzip-1.9/lib' BUILDSTDERR: make[2]: *** [Makefile:1580: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:1746: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/gzip-1.9' BUILDSTDERR: make: *** [Makefile:1527: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.7dpUFA (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.7dpUFA (%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/gzip.spec