Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs45.spec'], chrootPath='/var/lib/mock/f29-build-12790-5828/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mozjs45.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mozjs45-45.9.0-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs45.spec'], chrootPath='/var/lib/mock/f29-build-12790-5828/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mozjs45.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iFPnkZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-45.9.0esr/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-45.9.0esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-45.9.0esr/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-64bit-archs.patch):' Patch #0 (fix-64bit-archs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/js1_5/Array/regress-157652.js patching file tests/js1_5/Array/regress-330812.js patching file tests/js1_5/Regress/regress-422348.js + echo 'Patch #2 (mozbz-1143022+1277742.patch):' Patch #2 (mozbz-1143022+1277742.patch): + /usr/bin/patch --no-backup-if-mismatch -p3 --fuzz=0 patching file gc/Memory.cpp Hunk #1 succeeded at 433 (offset 3 lines). Hunk #2 succeeded at 483 (offset 3 lines). patching file jsapi-tests/testGCAllocator.cpp Patch #3 (fix-atomicoperatios.patch): + echo 'Patch #3 (fix-atomicoperatios.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file jit/AtomicOperations.h + pushd ../.. ~/build/BUILD/firefox-45.9.0esr ~/build/BUILD/firefox-45.9.0esr/js/src Patch #4 (functions-visibility.patch): + echo 'Patch #4 (functions-visibility.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file js/public/CharacterEncoding.h patching file js/src/jsalloc.h patching file js/src/vm/Runtime.h + popd ~/build/BUILD/firefox-45.9.0esr/js/src + sed -i 's|"-O2"|"-O2 -fPIC"|' configure + rm -rf ../../modules/zlib + head -n -1 ../../config/milestone.txt + echo 45.9.0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2K6S7K + umask 022 + cd /builddir/build/BUILD + cd firefox-45.9.0esr/js/src + export 'CFLAGS=-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + CFLAGS='-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export 'CXXFLAGS=-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + CXXFLAGS='-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + LINKFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export PYTHON=/usr/bin/python2 + PYTHON=/usr/bin/python2 + CFLAGS='-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export CFLAGS + CXXFLAGS='-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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./ctypes/libffi/config.sub BUILDSTDERR: ++ basename ./ctypes/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./ctypes/libffi/config.sub '/usr/lib/rpm/redhat/config.sub' -> './ctypes/libffi/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./ctypes/libffi/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./ctypes/libffi/config.guess BUILDSTDERR: ++ basename ./ctypes/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./ctypes/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './ctypes/libffi/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ctypes/libffi/ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-optimize --enable-pie --enable-posix-nspr-emulation --enable-readline --enable-release --enable-shared-js --enable-system-ffi --enable-xterm-updates --with-pthreads --without-system-icu --with-system-zlib --with-intl-api creating cache ./config.cache BUILDSTDERR: checking host system type... Invalid configuration `riscv64-koji-linux-gnu': machine `riscv64-koji' not recognized BUILDSTDERR: checking target system type... Invalid configuration `riscv64-koji-linux-gnu': machine `riscv64-koji' not recognized BUILDSTDERR: checking build system type... Invalid configuration `riscv64-koji-linux-gnu': machine `riscv64-koji' not recognized checking for gawk... gawk checking for perl5... no checking for perl... /usr/bin/perl checking for gcc... gcc checking whether the C compiler (gcc -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C++ compiler (c++ -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking for rustc... no checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for tar archiver... checking for gnutar... no checking for gtar... gtar gtar checking for minimum required perl version >= 5.006... 5.026002 checking for full perl installation... yes Using Python from environment variable $PYTHON Creating Python environment New python executable in /builddir/build/BUILD/firefox-45.9.0esr/js/src/_virtualenv/bin/python2 Also creating executable in /builddir/build/BUILD/firefox-45.9.0esr/js/src/_virtualenv/bin/python Installing setuptools, pip...done. running build_ext building 'psutil._psutil_linux' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/psutil gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_VERSION=311 -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_linux.o creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/psutil gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/psutil/_psutil_linux.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/psutil/_psutil_linux.so building 'psutil._psutil_posix' extension gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/psutil/_psutil_posix.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/psutil/_psutil_posix.so copying build/lib.linux-riscv64-2.7/psutil/_psutil_linux.so -> psutil copying build/lib.linux-riscv64-2.7/psutil/_psutil_posix.so -> psutil checking Python environment is Mozilla virtualenv... yes checking for doxygen... : checking for autoconf... : checking for xargs... /usr/bin/xargs checking for gmake... /usr/bin/gmake checking for X... no checking that static assertion macros used in autoconf tests work... yes 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 --build-id option to ld... yes checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C++ compiler supports -Wno-unused-local-typedef... no checking whether the C++ compiler supports -Wno-unused-local-typedef... (cached) no checking for 64-bit OS... yes checking whether the C++ compiler (c++ -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-rtti -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler... yes checking whether the linker supports Identical Code Folding... no checking whether removing dead symbols breaks debugging... no checking for PIE support... yes checking for ANSI C header files... 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 for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for gcc c++0x headers bug without rtti... no 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 sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... no checking for io.h... no checking for cpuid.h... no checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes 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 gcc accepts -pthread... yes checking whether gcc 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 clock_gettime(CLOCK_MONOTONIC)... checking for sin in -lm... yes checking for __sincos in -lm... no checking for log2... yes checking for log1p... yes checking for expm1... yes checking for sqrt1pm1... no checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for cbrt... yes checking for wcrtomb... yes checking for mbrtowc... yes 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 whether the C++ "using" keyword resolves ambiguity... yes checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for __attribute__((always_inline))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking NSPR selection... posix-wrapper checking for gzread in -lz... yes checking for pkg-config... /usr/bin/pkg-config checking for libffi >= 3.0.9... yes checking MOZ_FFI_CFLAGS... checking MOZ_FFI_LIBS... -lffi checking for valid optimization flags... yes ------ config.log ------ BUILDSTDERR: configure: error: --enable-jemalloc not supported on configure:12283: checking for C++ dynamic_cast to void* configure:12307: c++ -o conftest -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -lpthread -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.C -lm -ldl 1>&5 configure:12340: checking for __thread keyword for TLS variables configure:12352: c++ -o conftest -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -lpthread -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -fPIC -shared -Wl,-z,defs -Wl,--gc-sections conftest.C -lm -ldl 1>&5 configure:12390: checking for __attribute__((always_inline)) configure:12402: c++ -c -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pthread conftest.C 1>&5 configure:12426: checking for LC_MESSAGES configure:12438: gcc -c -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -fno-math-errno -pthread conftest.c 1>&5 configure: In function 'main': configure:12434:5: warning: unused variable 'category' [-Wunused-variable] int category = LC_MESSAGES; ^~~~~~~~ configure:12464: checking for localeconv configure:12496: gcc -o conftest -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -fno-math-errno -pthread -lpthread -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lm -ldl 1>&5 configure:12688: checking NSPR selection configure:13003: checking for gzread in -lz configure:13022: gcc -o conftest -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -fno-math-errno -pthread -lpthread -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lz -lm -ldl 1>&5 configure:13057: gcc -c -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -fno-math-errno -pthread conftest.c 1>&5 configure:13208: checking for pkg-config configure:13252: checking for libffi >= 3.0.9 configure:13259: checking MOZ_FFI_CFLAGS configure:13264: checking MOZ_FFI_LIBS configure:13430: checking for valid optimization flags configure:13441: gcc -c -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 -fno-tree-vrp -fno-strict-aliasing -fno-delete-null-pointer-checks -std=gnu99 -fgnu89-inline -ffunction-sections -fdata-sections -fno-math-errno -pthread -O conftest.c 1>&5 configure: error: --enable-jemalloc not supported on RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.2K6S7K (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.2K6S7K (%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/mozjs45.spec