hecking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking whether NLS is requested... no checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking whether to enable maintainer-specific portions of Makefiles... no checking for riscv64-redhat-linux-gnu-ranlib... (cached) ranlib checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether string.h and strings.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for sbrk... yes checking for utimes... yes checking for setmode... no checking for getc_unlocked... yes checking for strcoll... yes checking for setlocale... yes checking for mkstemp... yes checking for mkdtemp... yes checking for mbstate_t... yes checking for library containing frexp... none required checking for LC_MESSAGES... yes checking for time_t in time.h... yes checking for time_t in sys/types.h... yes checking for a known getopt prototype in unistd.h... yes checking for utime.h... yes checking whether environ is declared... yes checking whether fprintf is declared... yes checking whether getc_unlocked is declared... yes checking whether getenv is declared... yes checking whether sbrk is declared... yes checking whether snprintf is declared... yes checking whether stpcpy is declared... yes checking whether strnlen is declared... yes checking whether strstr is declared... yes checking whether vsnprintf is declared... yes checking for library containing zlibVersion... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); BUILDSTDERR: *** BFD does not support target riscv64-redhat-linux-gnu. BUILDSTDERR: *** Look in bfd/config.bfd for supported targets. make[2]: Leaving directory '/builddir/build/BUILD/sdcc/support/sdbinutils' BUILDSTDERR: make[2]: *** [Makefile:3118: configure-binutils] Error 1 BUILDSTDERR: make[1]: *** [Makefile:833: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/sdcc/support/sdbinutils' RPM build errors: BUILDSTDERR: make: *** [Makefile:147: sdcc-sdbinutils] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iV9UZS (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iV9UZS (%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/sdcc.spec