Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-289383-64957/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5a5d58a221434f589fc617557d611f4d', '-D', '/var/lib/mock/dist-an8.8-build-289383-64957/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/redis-6.2.7-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-289383-64957/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=986gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9718014b874a4f52aca76d8024447fcb', '-D', '/var/lib/mock/dist-an8.8-build-289383-64957/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MD9emu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf redis-6.2.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-doc-8d4bf9b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-6.2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-6.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf redis-6.2.7 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/redis-6.2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd redis-6.2.7 + /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.mmoO6g + umask 022 + cd /builddir/build/BUILD + cd redis-6.2.7 + make -j4 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.7-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.7/src' cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -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.7/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.7/deps' (cd modules && make clean) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.7/src/modules' rm -rf *.xo *.so make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/src/modules' (cd ../tests/modules && make clean) make[2]: Entering directory '/builddir/build/BUILD/redis-6.2.7/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.7/tests/modules' (rm -f .make-*) echo STD=-pedantic -DREDIS_STATIC='' -std=c11 >> .make-settings echo WARN=-Wall -W -Wno-missing-field-initializers >> .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 -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.7/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 linenoise MAKE hiredis cd linenoise && make cd hiredis && make static USE_SSL=1 MAKE lua 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" MAKE hdr_histogram make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.7/deps/hiredis' make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.7/deps/linenoise' cc -Wall -Os -O2 -g -fPIC -c linenoise.c cd hdr_histogram && make make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.7/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 make[3]: Entering directory '/builddir/build/BUILD/redis-6.2.7/deps/hdr_histogram' cc -Wall -Os -O2 -g -fPIC -c hdr_histogram.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 -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 make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/deps/hdr_histogram' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lcode.o lcode.c MAKE jemalloc 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]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/deps/linenoise' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldebug.o ldebug.c checking for xsltproc... false checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... 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 ldo.o ldo.c yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb sds.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 ldump.o ldump.c no checking whether compiler supports -std=gnu11... yes checking whether compiler supports -Wall... yes checking whether compiler supports -Wshorten-64-to-32... no checking whether compiler supports -Wsign-compare... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wno-format-zero-length... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lfunc.o lfunc.c yes checking whether compiler supports -pipe... yes checking whether compiler supports -g3... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lgc.o lgc.c yes checking how to run the C preprocessor... gcc -E cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o llex.o llex.c 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... yes checking whether libstdc++ linkage is compilable... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lmem.o lmem.c 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 grep that handles long lines and -e... cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb async.c /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... 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 cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstate.o lstate.c yes checking for sys/types.h... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstring.o lstring.c yes checking for sys/stat.h... yes checking for stdlib.h... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltable.o ltable.c yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes cc -std=c99 -pedantic -c -O3 -fPIC -O2 -g -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb read.c checking for stdint.h... yes checking for unistd.h... yes cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltm.o ltm.c checking whether byte ordering is bigendian... 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 no checking size of void *... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lzio.o lzio.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 -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 strbuf.o strbuf.c 8 checking size of int... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o fpconv.o fpconv.c 4 checking size of long... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lauxlib.o lauxlib.c ar rcs libhiredis.a alloc.o net.o hiredis.o sds.o async.o read.o sockcompat.o ar rcs libhiredis_ssl.a ssl.o make[3]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/deps/hiredis' cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lbaselib.o lbaselib.c 8 checking size of long long... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ldblib.o ldblib.c 8 checking size of intmax_t... 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 cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o loslib.o loslib.c 8 checking build system type... cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o ltablib.o ltablib.c 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-6.5.an8.loongarch64 uname -s = Linux uname -v = #1 SMP Thu Sep 29 08:10:24 UTC 2022 /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-6.5.an8.loongarch64 UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Thu Sep 29 08:10:24 UTC 2022 configure: error: cannot guess build type; you must specify one cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lstrlib.o lstrlib.c make[2]: *** [Makefile:91: jemalloc] Error 1 make[2]: *** Waiting for unfinished jobs.... 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 cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_cjson.o lua_cjson.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua_struct.o lua_struct.c 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 cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o lua.o lua.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o luac.o luac.c cc -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP -O2 -g -fPIC -c -o print.o print.c 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 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.7/deps/lua/src' make[2]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/deps' make[1]: [Makefile:328: persist-settings] Error 2 (ignored) cc -pedantic -DREDIS_STATIC='' -std=c11 -Wall -W -Wno-missing-field-initializers -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 -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 -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 -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 In file included from quicklist.c:33: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: quicklist.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 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 In file included from ae.c:46: zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:376: ae.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/redis-6.2.7/src' make: *** [Makefile:6: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.mmoO6g (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mmoO6g (%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 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/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: # /usr/bin/systemd-nspawn -q -M 9718014b874a4f52aca76d8024447fcb -D /var/lib/mock/dist-an8.8-build-289383-64957/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.yvvhqw7m:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/redis.spec