scv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7230: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for utime.h... yes checking for sys/resource.h... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for alarm... yes checking for working mktime... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for strdup... yes checking for strpbrk... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking for utime... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether __SUNPRO_C is declared... no checking for visibility hidden compiler flag... -fvisibility=hidden checking whether linker supports --allow-multiple-definition flag... yes checking for inline keyword... __inline__ checking whether compiler supports noreturn attribute... yes checking whether enable xmlwriter (for opf support)... yes checking whether compile with libxml2... yes checking for xml2-config... xml2-config checking for libxml/xmlwriter.h... yes checking whether enable encryption... yes checking whether enable debugging... no checking whether enable alloc debugging... no checking whether link tools against static libmobi... no checking whether compile with zlib... yes checking for zlib.h... yes ./configure: line 14298: syntax error near unexpected token `newline' ./configure: line 14298: ` ''' error: Bad exit status from /var/tmp/rpm-tmp.NqX9TT (%build) Bad exit status from /var/tmp/rpm-tmp.NqX9TT (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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/libmobi.spec