Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-453903-73608/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/redis-6.2.19-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-453903-73608/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.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': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.R7bisI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redis-6.2.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-doc-8d4bf9b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-6.2.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-6.2.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf redis-6.2.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-6.2.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-6.2.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv ../redis-doc-8d4bf9bc476829a84a055c049be72634d6e938df doc + echo 'Patch #1 (0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch):' Patch #1 (0001-1st-man-pageis-for-redis-cli-redis-benchmark-redis-c.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/man1/redis-benchmark.1 patching file man/man1/redis-check-aof.1 patching file man/man1/redis-check-rdb.1 patching file man/man1/redis-cli.1 patching file man/man1/redis-server.1 patching file man/man5/redis.conf.5 Patch #3 (redis-config.patch): + echo 'Patch #3 (redis-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rev --fuzz=0 patching file src/config.c + mv deps/lua/COPYRIGHT COPYRIGHT-lua + mv deps/jemalloc/COPYING COPYING-jemalloc + mv deps/hiredis/COPYING COPYING-hiredis + sed -i -e 's|^logfile .*$|logfile /var/log/redis/redis.log|g' redis.conf + sed -i -e 's|^logfile .*$|logfile /var/log/redis/sentinel.log|g' sentinel.conf + sed -i -e 's|^dir .*$|dir /var/lib/redis|g' redis.conf ++ sed -n -e 's/#define REDISMODULE_APIVER_[0-9][0-9]* //p' src/redismodule.h + api=1 + test 1 '!=' 1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QO1Yhd + umask 022 + cd /builddir/build/BUILD + cd redis-6.2.19 + make -j16 DEBUG= V=echo 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS+=-O2 -g -fPIC' 'INSTALL=install -p' PREFIX=/builddir/build/BUILDROOT/redis-6.2.19-1.an8.loongarch64/usr BUILD_WITH_SYSTEMD=yes BUILD_TLS=yes all cd src && make all make[1]: Entering directory '/builddir/build/BUILD/redis-6.2.19/src' cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MM *.c > Makefile.dep 2> /dev/null || true rm -rf redis-server redis-sentinel redis-cli redis-benchmark redis-check-rdb redis-check-aof *.o *.gcda *.gcno *.gcov redis.info lcov-html Makefile.dep rm -f adlist.d quicklist.d ae.d anet.d dict.d server.d sds.d zmalloc.d lzf_c.d lzf_d.d pqsort.d zipmap.d sha1.d ziplist.d release.d networking.d util.d object.d db.d replication.d rdb.d t_string.d t_list.d t_set.d t_zset.d t_hash.d config.d aof.d pubsub.d multi.d debug.d sort.d intset.d syncio.d cluster.d crc16.d endianconv.d slowlog.d scripting.d bio.d rio.d rand.d memtest.d crcspeed.d crc64.d bitops.d sentinel.d notify.d setproctitle.d blocked.d hyperloglog.d latency.d sparkline.d redis-check-rdb.d redis-check-aof.d geo.d lazyfree.d module.d evict.d expire.d geohash.d geohash_helper.d childinfo.d defrag.d siphash.d rax.d t_stream.d listpack.d localtime.d lolwut.d lolwut5.d lolwut6.d acl.d gopher.d tracking.d connection.d tls.d sha256.d timeout.d setcpuaffinity.d monotonic.d mt19937-64.d anet.d adlist.d dict.d redis-cli.d zmalloc.d release.d ae.d crcspeed.d crc64.d siphash.d crc16.d monotonic.d cli_common.d mt19937-64.d ae.d anet.d redis-benchmark.d adlist.d dict.d zmalloc.d release.d crcspeed.d crc64.d siphash.d crc16.d monotonic.d cli_common.d mt19937-64.d (cd ../deps && make distclean) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps' (cd hiredis && make clean) > /dev/null || true (cd linenoise && make clean) > /dev/null || true (cd lua && make clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true (cd hdr_histogram && make clean) > /dev/null || true (rm -f .make-*) make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps' (cd modules && make clean) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.19/src/modules' rm -rf *.xo *.so make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/src/modules' (cd ../tests/modules && make clean) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.19/tests/modules' rm -f commandfilter.so basics.so testrdb.so fork.so infotest.so propagate.so misc.so hooks.so blockonkeys.so blockonbackground.so scan.so datatype.so auth.so keyspace_events.so blockedclient.so getkeys.so test_lazyfree.so timer.so defragtest.so hash.so zset.so stream.so commandfilter.xo basics.xo testrdb.xo fork.xo infotest.xo propagate.xo misc.xo hooks.xo blockonkeys.xo blockonbackground.xo scan.xo datatype.xo auth.xo keyspace_events.xo blockedclient.xo getkeys.xo test_lazyfree.xo timer.xo defragtest.xo hash.xo zset.xo stream.xo make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/tests/modules' (rm -f .make-*) echo STD=-pedantic -DREDIS_STATIC='' -std=c11 >> .make-settings echo WARN=-Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes >> .make-settings echo OPT=-O2 >> .make-settings echo MALLOC=jemalloc >> .make-settings echo BUILD_TLS=yes >> .make-settings echo USE_SYSTEMD= >> .make-settings echo CFLAGS=-O2 -g -fPIC >> .make-settings echo LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >> .make-settings echo REDIS_CFLAGS= >> .make-settings echo REDIS_LDFLAGS= >> .make-settings echo PREV_FINAL_CFLAGS=-pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL >> .make-settings echo PREV_FINAL_LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic >> .make-settings (cd ../deps && make hiredis linenoise lua hdr_histogram jemalloc) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps' (cd hiredis && make clean) > /dev/null || true (cd linenoise && make clean) > /dev/null || true (cd lua && make clean) > /dev/null || true (cd jemalloc && [ -f Makefile ] && make distclean) > /dev/null || true (cd hdr_histogram && make clean) > /dev/null || true (rm -f .make-*) (echo "-O2 -g -fPIC" > .make-cflags) (echo "-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" > .make-ldflags) MAKE hiredis MAKE linenoise MAKE lua MAKE hdr_histogram MAKE jemalloc cd hiredis && make static USE_SSL=1 cd linenoise && make cd lua/src && make all CFLAGS="-O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC" MYLDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" AR="ar rc" cd hdr_histogram && make cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ CFLAGS="-std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops -O2 -g -fPIC" LDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps/hiredis' make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps/linenoise' cc -Wall -Os -O2 -g -fPIC -c linenoise.c make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps/hdr_histogram' cc -Wall -Os -O2 -g -fPIC -c hdr_histogram.c make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.19/deps/lua/src' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lapi.o lapi.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lcode.o lcode.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldebug.o ldebug.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldo.o ldo.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb alloc.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldump.o ldump.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb net.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb hiredis.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sds.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb async.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lfunc.o lfunc.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb read.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sockcompat.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lgc.o lgc.c cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb ssl.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o llex.o llex.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lmem.o lmem.c checking for xsltproc... false checking for gcc... gcc checking whether the C compiler works... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lobject.o lobject.c yes checking for C compiler default output file name... a.out checking for suffix of executables... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lopcodes.o lopcodes.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lparser.o lparser.c ar rcs libhiredis_ssl.a ssl.o cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstate.o lstate.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstring.o lstring.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltable.o ltable.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltm.o ltm.c checking whether we are cross compiling... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lundump.o lundump.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lvm.o lvm.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lzio.o lzio.c no checking for suffix of object files... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o strbuf.o strbuf.c make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps/hdr_histogram' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o fpconv.o fpconv.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lauxlib.o lauxlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lbaselib.o lbaselib.c make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps/linenoise' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldblib.o ldblib.c o checking whether we are using the GNU C compiler... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o liolib.o liolib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lmathlib.o lmathlib.c yes checking whether gcc accepts -g... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o loslib.o loslib.c yes checking for gcc option to accept ISO C89... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltablib.o ltablib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstrlib.o lstrlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o loadlib.o loadlib.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o linit.o linit.c none needed checking whether compiler is cray... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_cjson.o lua_cjson.c no checking whether compiler supports -std=gnu11... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_struct.o lua_struct.c yes checking whether compiler supports -Wall... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_cmsgpack.o lua_cmsgpack.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_bit.o lua_bit.c yes checking whether compiler supports -Wshorten-64-to-32... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua.o lua.c no cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o luac.o luac.c checking whether compiler supports -Wsign-compare... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o print.o print.c ar rcs libhiredis.a alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps/hiredis' yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wno-format-zero-length... yes checking whether compiler supports -pipe... yes checking whether compiler supports -g3... yes checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ supports C++14 features by default... yes checking whether compiler supports -Wall... yes checking whether compiler supports -g3... ar rc liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o strbuf.o fpconv.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o lua_cjson.o lua_struct.o lua_cmsgpack.o lua_bit.o # DLL needs all object files ranlib liblua.a yes checking whether libstdc++ linkage is compilable... cc -o lua -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld lua.o liblua.a -lm cc -o luac -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld luac.o print.o liblua.a -lm make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps/lua/src' yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking size of void *... 8 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of intmax_t... 8 checking build system type... build-aux/config.guess: unable to guess system type This script (version 2016-10-02), has failed to recognize the operating system you are using. If your script is old, overwrite config.guess and config.sub with the latest versions from: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If build-aux/config.guess has already been updated, send the following data and any information you think might be pertinent to config-patches@gnu.org to provide the necessary information to handle your system. config.guess timestamp = 2016-10-02 uname -m = loongarch64 uname -r = 4.19.190-7.9.an8.loongarch64 uname -s = Linux uname -v = #1 SMP Mon Apr 8 18:02:28 CST 2024 /usr/bin/uname -p = loongarch64 /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = loongarch64 UNAME_RELEASE = 4.19.190-7.9.an8.loongarch64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Mon Apr 8 18:02:28 CST 2024 configure: error: cannot guess build type; you must specify one make[2]: *** [Makefile:98: jemalloc] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/deps' make[1]: [Makefile:328: persist-settings] Error 2 (ignored) cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o adlist.o -c adlist.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o quicklist.o -c quicklist.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o ae.o -c ae.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o anet.o -c anet.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o dict.o -c dict.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o server.o -c server.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o sds.o -c sds.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o zmalloc.o -c zmalloc.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o lzf_c.o -c lzf_c.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o lzf_d.o -c lzf_d.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o pqsort.o -c pqsort.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o zipmap.o -c zipmap.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o sha1.o -c sha1.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o ziplist.o -c ziplist.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o release.o -c release.c cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes -O2 -O2 -g -fPIC -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram -DHAVE_LIBSYSTEMD -DUSE_JEMALLOC -I../deps/jemalloc/include -DUSE_OPENSSL -MMD -o networking.o -c networking.c In file included from quicklist.c:33: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from adlist.c:34: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: adlist.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:376: quicklist.o] Error 1 In file included from zipmap.c:80: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: zipmap.o] Error 1 In file included from sdsalloc.h:42, from sds.c:40: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: sds.o] Error 1 In file included from ziplist.c:188: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: ziplist.o] Error 1 In file included from dict.c:47: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: dict.o] Error 1 In file included from ae.c:46: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from zmalloc.c:48: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:376: ae.o] Error 1 compilation terminated. make[1]: *** [Makefile:376: zmalloc.o] Error 1 In file included from server.h:65, from server.c:30: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: server.o] Error 1 In file included from server.h:65, from networking.c:30: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: networking.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/redis-6.2.19/src' make: *** [Makefile:6: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.QO1Yhd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QO1Yhd (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, 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 --noclean --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec