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/ipvsadm.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187707-12842/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ipvsadm.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/ipvsadm-1.31-4.ocs23.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/ipvsadm.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187707-12842/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/ipvsadm.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.m51U5e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipvsadm-1.31 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ipvsadm-1.31.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ipvsadm-1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-ipvsadm-use-CFLAGS-and-LDFLAGS-environment-variables.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.94c3TU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ipvsadm-1.31 + make make -C libipvs make[1]: Entering directory '/builddir/build/BUILD/ipvsadm-1.31/libipvs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL -I/usr/include/libnl3 -DHAVE_NET_IP_VS_H -c -o libipvs.o libipvs.c libipvs.c: In function 'ipvs_get_daemon': libipvs.c:1283:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 1283 | strncpy(u[i].mcast_ifn, dmk[i].mcast_ifn, | ^ libipvs.c:1283:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -Wall -Wunused -Wstrict-prototypes -g -fPIC -DLIBIPVS_USE_NL -I/usr/include/libnl3 -DHAVE_NET_IP_VS_H -c -o ip_vs_nl_policy.o ip_vs_nl_policy.c ar rv libipvs.a libipvs.o ip_vs_nl_policy.o ar: creating libipvs.a a - libipvs.o a - ip_vs_nl_policy.o gcc -shared -Wl,-soname,libipvs.so -o libipvs.so libipvs.o ip_vs_nl_policy.o make[1]: Leaving directory '/builddir/build/BUILD/ipvsadm-1.31/libipvs' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -DVERSION=\"1.31\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo|ovf|mh"\" -DPE_LIST=\""sip"\" -DHAVE_NET_IP_VS_H -c -o ipvsadm.o ipvsadm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -DVERSION=\"1.31\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo|ovf|mh"\" -DPE_LIST=\""sip"\" -DHAVE_NET_IP_VS_H -c -o config_stream.o config_stream.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -DVERSION=\"1.31\" -DSCHEDULERS=\""rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo|ovf|mh"\" -DPE_LIST=\""sip"\" -DHAVE_NET_IP_VS_H -c -o dynamic_array.o dynamic_array.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wunused -Wstrict-prototypes -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o ipvsadm ipvsadm.o config_stream.o dynamic_array.o libipvs/libipvs.a -lpopt -lnl-genl-3 -lnl-3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.29CBSo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64 + cd ipvsadm-1.31 + make install BUILD_ROOT=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr SBIN=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin MANDIR=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man MAN=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 INIT=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/rc.d/init.d make -C libipvs make[1]: Entering directory '/builddir/build/BUILD/ipvsadm-1.31/libipvs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/ipvsadm-1.31/libipvs' if [ ! -d /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin; fi install -m 0755 ipvsadm /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin install -m 0755 ipvsadm-save /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin install -m 0755 ipvsadm-restore /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin [ -d /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 ] || mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 install -m 0644 ipvsadm.8 /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 install -m 0644 ipvsadm-save.8 /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 install -m 0644 ipvsadm-restore.8 /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/man/man8 [ -d /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/rc.d/init.d ] || mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/rc.d/init.d install -m 0755 ipvsadm.sh /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/rc.d/init.d/ipvsadm + rm -f /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/rc.d/init.d/ipvsadm + install -p -D -m 0644 /builddir/build/SOURCES/ipvsadm.service /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/lib/systemd/system/ipvsadm.service + install -p -D -m 0600 /builddir/build/SOURCES/ipvsadm-config /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/etc/sysconfig/ipvsadm-config + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.31-4.ocs23 --unique-debug-suffix -1.31-4.ocs23.loongarch64 --unique-debug-src-base ipvsadm-1.31-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/ipvsadm-1.31 extracting debug info from /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/sbin/ipvsadm 285 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/sbin/ipvsadm-save from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/sbin/ipvsadm-restore from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ipvsadm-1.31-4.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pPS5u5 + umask 022 + cd /builddir/build/BUILD + cd ipvsadm-1.31 + DOCDIR=/builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/doc/ipvsadm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/doc/ipvsadm + cp -pr MAINTAINERS /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/doc/ipvsadm + cp -pr README /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64/usr/share/doc/ipvsadm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ipvsadm) = 1.31-4.ocs23 ipvsadm = 1.31-4.ocs23 ipvsadm(loongarch-64) = 1.31-4.ocs23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) rtld(GNU_HASH) Processing files: ipvsadm-debugsource-1.31-4.ocs23.loongarch64 Provides: ipvsadm-debugsource = 1.31-4.ocs23 ipvsadm-debugsource(loongarch-64) = 1.31-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ipvsadm-debuginfo-1.31-4.ocs23.loongarch64 Provides: debuginfo(build-id) = e32e1eef0665718476ca140aed24d19be80b1656 ipvsadm-debuginfo = 1.31-4.ocs23 ipvsadm-debuginfo(loongarch-64) = 1.31-4.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipvsadm-debugsource(loongarch-64) = 1.31-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipvsadm-1.31-4.ocs23.loongarch64 Wrote: /builddir/build/RPMS/ipvsadm-1.31-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ipvsadm-debugsource-1.31-4.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/ipvsadm-debuginfo-1.31-4.ocs23.loongarch64.rpm Child return code was: 0