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-135885-50212/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-135885-50212/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.depCiD + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch.patch + /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 + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-support-for-loongarch-in-config.guess.patch + /usr/bin/cat /builddir/build/SOURCES/0001-add-loongarch-LG_QUANTUM.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hNTV0y + 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 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 ../../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_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 ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../nondebug/libpmem/os_posix.o ../../src/../src/common/os_posix.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_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/out.o ../../src/../src/common/out.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/util.o ../../src/../src/common/util.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 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 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 ../../src/../utils/check-os.sh ../../src/../utils/os-banned ../debug/libpmem/alloc.o ../../src/../src/common/alloc.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 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.o ../../src/../src/common/mmap.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 ../../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/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 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/libpmem.o libpmem.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/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 Cwd.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) 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[2]: *** [jemalloc.mk:110: /builddir/build/BUILD/pmdk-1.6.1/src/jemalloc/configure] Error 1 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.hNTV0y (%build) Bad exit status from /var/tmp/rpm-tmp.hNTV0y (%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