edhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fflush.o fflush.c gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fpurge.o fpurge.c gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o freadahead.o freadahead.c gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fseek.o fseek.c gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o fseeko.o fseeko.c BUILDSTDERR: freadahead.c: In function 'freadahead': BUILDSTDERR: freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." BUILDSTDERR: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." BUILDSTDERR: ^~~~~ BUILDSTDERR: freadahead.c:94:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: } BUILDSTDERR: ^ BUILDSTDERR: make[4]: *** [Makefile:6604: freadahead.o] Error 1 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... 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: ^~~~~ make[4]: Leaving directory '/builddir/build/BUILD/gnulib-fad631e/build-tests/gllib' BUILDSTDERR: make[4]: *** [Makefile:6604: fseeko.o] Error 1 BUILDSTDERR: make[3]: *** [Makefile:6621: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/gnulib-fad631e/build-tests/gllib' BUILDSTDERR: make[2]: *** [Makefile:4545: all] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/gnulib-fad631e/build-tests/gllib' make[1]: Leaving directory '/builddir/build/BUILD/gnulib-fad631e/build-tests' BUILDSTDERR: make[1]: *** [Makefile:1772: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:1713: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.lxq7Xg (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.lxq7Xg (%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/gnulib.spec