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/qperf.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-139607-51944/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/qperf.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/qperf-0.4.11-2.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/qperf.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-139607-51944/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/qperf.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.gly19k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf qperf-0.4.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.4.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd qperf-0.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WrqKgl + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.11 + export 'CFLAGS=-O2 -g -fno-strict-aliasing' + CFLAGS='-O2 -g -fno-strict-aliasing' + ./autogen.sh + for f in NEWS README ChangeLog + '[' -e NEWS ']' + touch NEWS + for f in NEWS README ChangeLog + '[' -e README ']' + for f in NEWS README ChangeLog + '[' -e ChangeLog ']' + touch ChangeLog + aclocal + automake --foreign --add-missing --copy configure.ac:3: installing './compile' configure.ac:2: installing './install-sh' configure.ac:2: installing './missing' src/Makefile.am: installing './depcomp' + autoconf + CFLAGS='-O2 -g -fno-strict-aliasing' + 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 + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for loongarch64-Anolis-linux-gcc... no 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 gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for ibv_open_device in -libverbs... yes checking for ibv_open_xrc_domain in -libverbs... no checking for rdma_create_id in -lrdmacm... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating qperf.spec config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.11/src' gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o qperf.o qperf.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o socket.o socket.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o rds.o rds.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o rdma.o rdma.c gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o support.o support.c qperf.c: In function 'get_conf': qperf.c:1656:45: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 64 [-Wformat-truncation=] snprintf(conf->os, sizeof(conf->os), "%s %s", utsname.sysname, ^ qperf.c:1656:5: note: 'snprintf' output between 2 and 130 bytes into a destination of size 64 snprintf(conf->os, sizeof(conf->os), "%s %s", utsname.sysname, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utsname.release); ~~~~~~~~~~~~~~~~ qperf.c:1757:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1 and 64 [-Wformat-truncation=] snprintf(conf->cpu, sizeof(conf->cpu), "%s%s%s", count, cpu, speed); ^~ ~~~ qperf.c:1757:5: note: 'snprintf' output between 1 and 1150 bytes into a destination of size 64 snprintf(conf->cpu, sizeof(conf->cpu), "%s%s%s", count, cpu, speed); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncopy', inlined from 'get_conf' at qperf.c:1655:5: qperf.c:2864:5: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] strncpy(d, s, n); ^~~~~~~~~~~~~~~~ ./mkhelp RDMA ./mkman >qperf.1 In function 'cm_event_name.part.3.constprop', inlined from 'cm_event_name' at rdma.c:1972:1, inlined from 'cm_expect_event' at rdma.c:1960:9: rdma.c:1979:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(data, rdma_event_str(event), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'cm_event_name.part.3.constprop', inlined from 'cm_event_name' at rdma.c:1972:1, inlined from 'cm_expect_event' at rdma.c:1960:9: rdma.c:1979:5: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] strncpy(data, rdma_event_str(event), size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"qperf\" -DPACKAGE_TARNAME=\"qperf\" -DPACKAGE_VERSION=\"0.4.10\" -DPACKAGE_STRING=\"qperf\ 0.4.10\" -DPACKAGE_BUGREPORT=\"general@lists.openfabrics.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"qperf\" -DVERSION=\"0.4.10\" -DHAVE_LIBRDMACM=1 -I. -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -c -o help.o help.c gcc -Wall -O -DRDMA -O2 -g -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o qperf qperf.o socket.o rds.o rdma.o support.o help.o -libverbs -lrdmacm make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11/src' make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.11' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gsdY0J + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 + cd qperf-0.4.11 + make DESTDIR=/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 install Making install in src make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.11/src' make[2]: Entering directory '/builddir/build/BUILD/qperf-0.4.11/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/bin' /usr/bin/install -c qperf '/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/share/man/man1' /usr/bin/install -c -m 644 qperf.1 '/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11/src' make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11/src' make[1]: Entering directory '/builddir/build/BUILD/qperf-0.4.11' make[2]: Entering directory '/builddir/build/BUILD/qperf-0.4.11' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11' make[1]: Leaving directory '/builddir/build/BUILD/qperf-0.4.11' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4.11-2.an8 --unique-debug-suffix -0.4.11-2.an8.loongarch64 --unique-debug-src-base qperf-0.4.11-2.an8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/qperf-0.4.11 extracting debug info from /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/bin/qperf /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 505 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: qperf-0.4.11-2.an8.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1m4eIH + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.11 + LICENSEDIR=/builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/share/licenses/qperf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/share/licenses/qperf + cp -pr COPYING /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64/usr/share/licenses/qperf + exit 0 Provides: qperf = 0.4.11-2.an8 qperf(loongarch-64) = 0.4.11-2.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) Processing files: qperf-debugsource-0.4.11-2.an8.loongarch64 Provides: qperf-debugsource = 0.4.11-2.an8 qperf-debugsource(loongarch-64) = 0.4.11-2.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: qperf-debuginfo-0.4.11-2.an8.loongarch64 Provides: debuginfo(build-id) = aabf4bcc19fc4debcc897eac2994339b9c0e8cfe qperf-debuginfo = 0.4.11-2.an8 qperf-debuginfo(loongarch-64) = 0.4.11-2.an8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: qperf-debugsource(loongarch-64) = 0.4.11-2.an8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 Wrote: /builddir/build/RPMS/qperf-0.4.11-2.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/qperf-debugsource-0.4.11-2.an8.loongarch64.rpm Wrote: /builddir/build/RPMS/qperf-debuginfo-0.4.11-2.an8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.q24iQP + umask 022 + cd /builddir/build/BUILD + cd qperf-0.4.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/qperf-0.4.11-2.an8.loongarch64 + exit 0 Child return code was: 0