IBCXX_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 -flto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether /usr/bin/g++ accepts -g... yes checking for ranlib... /usr/bin/gcc-ranlib checking for as... /usr/bin/as checking for ar... /usr/bin/gcc-ar checking for strip... strip checking for windres... no checking for sb-conf... no checking for ve... no checking for X... no checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for -z relro option to ld... yes checking for --build-id option to ld... yes checking whether the linker supports Identical Code Folding... no checking whether removing dead symbols breaks debugging... yes checking for PIE support... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking whether 64-bits std::atomic requires -latomic... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether /usr/bin/gcc -std=gnu99 accepts -pthread... yes checking whether /usr/bin/gcc -std=gnu99 needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for pthread_getname_np... yes checking for clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for sincos in -lm... yes checking for __sincos in -lm... no checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... yes checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for localeconv... yes checking NSPR selection... posix-wrapper checking for gzread in -lz... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... none checking for readline in -lreadline... yes checking for posix_fadvise... yes checking for posix_fallocate... yes checking for malloc.h... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking whether malloc_usable_size definition can use const argument... no checking for valloc in malloc.h... yes checking for valloc in unistd.h... no checking for localeconv... (cached) yes updating cache ./config.cache creating ./config.data BUILDSTDERR: Creating config.status RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ZJWzhc (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ZJWzhc (%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/mozjs60.spec