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/pmdk.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-133187-47639/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.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/pmdk-1.6.1-1.0.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/pmdk.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-133187-47639/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=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.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.LHKFKl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pmdk-1.6.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pmdk-1.6.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pmdk-1.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/pmdk-use-platform-python.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-remove-specific-flag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-remove-specific-source.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zvmNLy + umask 022 + cd /builddir/build/BUILD + cd pmdk-1.6.1 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + NDCTL_ENABLE=y + make -j4 NORPATH=1 make -C src all make[1]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src' make -C libpmem make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' mkdir -p ../nondebug/libpmem mkdir -p ../nondebug/libpmem/.. cc -MD -c -o ../nondebug/libpmem/alloc.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/alloc.c cc -MD -c -o ../nondebug/libpmem/file.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/file.c cc -MD -c -o ../nondebug/libpmem/file_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/file_posix.c cc -MD -c -o ../nondebug/libpmem/fs_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/fs_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/alloc.o ../../src/../src/common/alloc.c cc -MD -c -o ../nondebug/libpmem/mmap.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/fs_posix.o ../../src/../src/common/fs_posix.c cc -MD -c -o ../nondebug/libpmem/mmap_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/file_posix.o ../../src/../src/common/file_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/file.o ../../src/../src/common/file.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/mmap_posix.o ../../src/../src/common/mmap_posix.c cc -MD -c -o ../nondebug/libpmem/os_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_posix.c cc -MD -c -o ../nondebug/libpmem/os_thread_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_thread_posix.c cc -MD -c -o ../nondebug/libpmem/os_deep_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_deep_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/mmap.o ../../src/../src/common/mmap.c cc -MD -c -o ../nondebug/libpmem/os_auto_flush_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_auto_flush_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_posix.o ../../src/../src/common/os_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_thread_posix.o ../../src/../src/common/os_thread_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_deep_linux.o ../../src/../src/common/os_deep_linux.c cc -MD -c -o ../nondebug/libpmem/out.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/out.c cc -MD -c -o ../nondebug/libpmem/util.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/util.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_auto_flush_linux.o ../../src/../src/common/os_auto_flush_linux.c cc -MD -c -o ../nondebug/libpmem/util_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC ../../src/../src/common/util_posix.c cc -MD -c -o ../nondebug/libpmem/libpmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/util_posix.o ../../src/../src/common/util_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/libpmem.o libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/out.o ../../src/../src/common/out.c cc -MD -c -o ../nondebug/libpmem/memops_generic.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC memops_generic.c cc -MD -c -o ../nondebug/libpmem/pmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC pmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/util.o ../../src/../src/common/util.c cc -MD -c -o ../nondebug/libpmem/pmem_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I. -I../include -I../common/ -fPIC pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/pmem_posix.o pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/memops_generic.o memops_generic.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/pmem.o pmem.c ld -o ../nondebug/libpmem/libpmem_unscoped.o -r ../nondebug/libpmem/alloc.o ../nondebug/libpmem/file.o ../nondebug/libpmem/file_posix.o ../nondebug/libpmem/fs_posix.o ../nondebug/libpmem/mmap.o ../nondebug/libpmem/mmap_posix.o ../nondebug/libpmem/os_posix.o ../nondebug/libpmem/os_thread_posix.o ../nondebug/libpmem/os_deep_linux.o ../nondebug/libpmem/os_auto_flush_linux.o ../nondebug/libpmem/out.o ../nondebug/libpmem/util.o ../nondebug/libpmem/util_posix.o ../nondebug/libpmem/libpmem.o ../nondebug/libpmem/memops_generic.o ../nondebug/libpmem/pmem.o ../nondebug/libpmem/pmem_posix.o cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings -Wl,--warn-common -L../nondebug/libpmem/.. -shared -Wl,--version-script=libpmem.link,-soname,libpmem.so.1 -o ../nondebug/libpmem/../libpmem.so.1.0.0 ../nondebug/libpmem/alloc.o ../nondebug/libpmem/file.o ../nondebug/libpmem/file_posix.o ../nondebug/libpmem/fs_posix.o ../nondebug/libpmem/mmap.o ../nondebug/libpmem/mmap_posix.o ../nondebug/libpmem/os_posix.o ../nondebug/libpmem/os_thread_posix.o ../nondebug/libpmem/os_deep_linux.o ../nondebug/libpmem/os_auto_flush_linux.o ../nondebug/libpmem/out.o ../nondebug/libpmem/util.o ../nondebug/libpmem/util_posix.o ../nondebug/libpmem/libpmem.o ../nondebug/libpmem/memops_generic.o ../nondebug/libpmem/pmem.o ../nondebug/libpmem/pmem_posix.o -pthread objcopy --localize-hidden `sed -n 's/^ *\([a-zA-Z0-9_]*\);$/-G \1/p' libpmem.link` ../nondebug/libpmem/libpmem_unscoped.o ../nondebug/libpmem/libpmem_all.o ar rv ../nondebug/libpmem/../libpmem.a ../nondebug/libpmem/libpmem_all.o ar: creating ../nondebug/libpmem/../libpmem.a a - ../nondebug/libpmem/libpmem_all.o ln -sf libpmem.so.1.0.0 ../nondebug/libpmem/../libpmem.so.1 ln -sf libpmem.so.1 ../nondebug/libpmem/../libpmem.so make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' make -C libpmem DEBUG=1 make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' mkdir -p ../debug/libpmem mkdir -p ../debug/libpmem/.. cc -MD -c -o ../debug/libpmem/alloc.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/alloc.c cc -MD -c -o ../debug/libpmem/file.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/file.c cc -MD -c -o ../debug/libpmem/file_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/file_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/alloc.o ../../src/../src/common/alloc.c cc -MD -c -o ../debug/libpmem/fs_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/fs_posix.c cc -MD -c -o ../debug/libpmem/mmap.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/file_posix.o ../../src/../src/common/file_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/file.o ../../src/../src/common/file.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/fs_posix.o ../../src/../src/common/fs_posix.c cc -MD -c -o ../debug/libpmem/mmap_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/mmap_posix.c cc -MD -c -o ../debug/libpmem/os_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/mmap.o ../../src/../src/common/mmap.c cc -MD -c -o ../debug/libpmem/os_thread_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_thread_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/mmap_posix.o ../../src/../src/common/mmap_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_posix.o ../../src/../src/common/os_posix.c cc -MD -c -o ../debug/libpmem/os_deep_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_deep_linux.c cc -MD -c -o ../debug/libpmem/os_auto_flush_linux.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/os_auto_flush_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_thread_posix.o ../../src/../src/common/os_thread_posix.c cc -MD -c -o ../debug/libpmem/out.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/out.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_auto_flush_linux.o ../../src/../src/common/os_auto_flush_linux.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/os_deep_linux.o ../../src/../src/common/os_deep_linux.c cc -MD -c -o ../debug/libpmem/util.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/util.c cc -MD -c -o ../debug/libpmem/util_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC ../../src/../src/common/util_posix.c cc -MD -c -o ../debug/libpmem/libpmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/out.o ../../src/../src/common/out.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/util_posix.o ../../src/../src/common/util_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/libpmem.o libpmem.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/util.o ../../src/../src/common/util.c cc -MD -c -o ../debug/libpmem/memops_generic.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC memops_generic.c cc -MD -c -o ../debug/libpmem/pmem.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC pmem.c cc -MD -c -o ../debug/libpmem/pmem_posix.o -O2 -g -std=gnu99 -fno-common -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -Wp,-U_FORTIFY_SOURCE -O0 -ggdb -DDEBUG -I. -I../include -I../common/ -fPIC pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/memops_generic.o memops_generic.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/pmem_posix.o pmem_posix.c ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/pmem.o pmem.c ld -o ../debug/libpmem/libpmem_unscoped.o -r ../debug/libpmem/alloc.o ../debug/libpmem/file.o ../debug/libpmem/file_posix.o ../debug/libpmem/fs_posix.o ../debug/libpmem/mmap.o ../debug/libpmem/mmap_posix.o ../debug/libpmem/os_posix.o ../debug/libpmem/os_thread_posix.o ../debug/libpmem/os_deep_linux.o ../debug/libpmem/os_auto_flush_linux.o ../debug/libpmem/out.o ../debug/libpmem/util.o ../debug/libpmem/util_posix.o ../debug/libpmem/libpmem.o ../debug/libpmem/memops_generic.o ../debug/libpmem/pmem.o ../debug/libpmem/pmem_posix.o cc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings -Wl,--warn-common -L../debug/libpmem/.. -shared -Wl,--version-script=libpmem.link,-soname,libpmem.so.1 -o ../debug/libpmem/../libpmem.so.1.0.0 ../debug/libpmem/alloc.o ../debug/libpmem/file.o ../debug/libpmem/file_posix.o ../debug/libpmem/fs_posix.o ../debug/libpmem/mmap.o ../debug/libpmem/mmap_posix.o ../debug/libpmem/os_posix.o ../debug/libpmem/os_thread_posix.o ../debug/libpmem/os_deep_linux.o ../debug/libpmem/os_auto_flush_linux.o ../debug/libpmem/out.o ../debug/libpmem/util.o ../debug/libpmem/util_posix.o ../debug/libpmem/libpmem.o ../debug/libpmem/memops_generic.o ../debug/libpmem/pmem.o ../debug/libpmem/pmem_posix.o -pthread objcopy --localize-hidden `sed -n 's/^ *\([a-zA-Z0-9_]*\);$/-G \1/p' libpmem.link` ../debug/libpmem/libpmem_unscoped.o ../debug/libpmem/libpmem_all.o ar rv ../debug/libpmem/../libpmem.a ../debug/libpmem/libpmem_all.o ar: creating ../debug/libpmem/../libpmem.a a - ../debug/libpmem/libpmem_all.o ln -sf libpmem.so.1.0.0 ../debug/libpmem/../libpmem.so.1 ln -sf libpmem.so.1 ../debug/libpmem/../libpmem.so make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/libpmem' make -C jemalloc -f Makefile.libvmem jemalloc EXTRA_CFLAGS=" -I/builddir/build/BUILD/pmdk-1.6.1/src/common" make[2]: Entering directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' cd /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc && \ autoconf mkdir -p ../nondebug/libvmem/jemalloc rm -f -f ../nondebug/libvmem/jemalloc/bin/jemalloc.sh ../nondebug/libvmem/jemalloc/config.stamp ../nondebug/libvmem/jemalloc/Makefile ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_typedefs.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_protos.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_macros.h ../nondebug/libvmem/jemalloc/include/jemalloc/jemalloc_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h ../nondebug/libvmem/jemalloc/include/jemalloc/internal/jemalloc_internal.h ../nondebug/libvmem/jemalloc/test/test.sh ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test_defs.h ../nondebug/libvmem/jemalloc/test/include/test/jemalloc_test.h ../nondebug/libvmem/jemalloc/doc/jemalloc.xml ../nondebug/libvmem/jemalloc/doc/html.xsl ../nondebug/libvmem/jemalloc/doc/manpages.xsl cd ../nondebug/libvmem/jemalloc && \ CFLAGS="-O2 -g -std=gnu99 -pthread -DSRCVERSION=\"1.6.1\" -DSDS_ENABLED -DNDCTL_GE_63 -I/builddir/build/BUILD/pmdk-1.6.1/src/common" LDFLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,--fatal-warnings"\ /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/configure --without-export --with-jemalloc-prefix=je_vmem_ --with-private-namespace=je_vmem_ --disable-xmalloc --disable-munmap --disable-bsd-malloc-hooks 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... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether compiler supports -I/builddir/build/BUILD/pmdk-1.6.1/src/common... yes checking how to run the C preprocessor... gcc -E 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 intmax_t... 8 checking build system type... /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/config.guess: unable to guess system type This script, last modified 2013-06-10, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/config.guess) is already up to date, please send the following data and any information you think might be pertinent to in order to provide the needed information to handle your system. config.guess timestamp = 2013-06-10 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 make[2]: *** [jemalloc.mk:102: ../nondebug/libvmem/jemalloc/bin/jemalloc.sh] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src/jemalloc' make[1]: Leaving directory '/builddir/build/BUILD/pmdk-1.6.1/src' make[1]: *** [Makefile:187: jemalloc] Error 2 make: *** [Makefile:82: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.zvmNLy (%build) Bad exit status from /var/tmp/rpm-tmp.zvmNLy (%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: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/pmdk.spec