Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ipvsadm.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/ipvsadm-1.31-6.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ipvsadm.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.q7BR9V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipvsadm-1.31 + /usr/bin/gzip -dc /builddir/build/SOURCES/ipvsadm-1.31.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipvsadm-1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0003-ipvsadm-use-CFLAGS-and-LDFLAGS-environment-variables.patch): + echo 'Patch #0 (0003-ipvsadm-use-CFLAGS-and-LDFLAGS-environment-variables.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file libipvs/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jczt0v + umask 022 + cd /builddir/build/BUILD + cd ipvsadm-1.31 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 In file included from /usr/include/string.h:519, from libipvs.c:17: In function 'strncpy', inlined from 'ipvs_get_daemon' at libipvs.c:1283:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 15 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:95:10: 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wunused -Wstrict-prototypes -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.CarmJe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 + cd ipvsadm-1.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/rc.d/init.d + /usr/bin/make install BUILD_ROOT=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr SBIN=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin MANDIR=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man MAN=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 INIT=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/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-6.el9.x86_64/usr/sbin ]; then mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin; fi install -m 0755 ipvsadm /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin install -m 0755 ipvsadm-save /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin install -m 0755 ipvsadm-restore /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin [ -d /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 ] || mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 install -m 0644 ipvsadm.8 /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 install -m 0644 ipvsadm-save.8 /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 install -m 0644 ipvsadm-restore.8 /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/man/man8 [ -d /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/rc.d/init.d ] || mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/rc.d/init.d install -m 0755 ipvsadm.sh /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/rc.d/init.d/ipvsadm + /usr/bin/rm -f /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/rc.d/init.d/ipvsadm + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/ipvsadm.service /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/lib/systemd/system/ipvsadm.service + /usr/bin/install -p -D -m 0600 /builddir/build/SOURCES/ipvsadm-config /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/etc/sysconfig/ipvsadm-config + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.31-6.el9 --unique-debug-suffix -1.31-6.el9.x86_64 --unique-debug-src-base ipvsadm-1.31-6.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ipvsadm-1.31 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin/ipvsadm extracting debug info from /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/sbin/ipvsadm original debug info size: 184kB, size after compression: 176kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 285 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/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 Processing files: ipvsadm-1.31-6.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O4vQV3 + umask 022 + cd /builddir/build/BUILD + cd ipvsadm-1.31 + DOCDIR=/builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/doc/ipvsadm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/doc/ipvsadm + cp -pr MAINTAINERS /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/doc/ipvsadm + cp -pr README /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64/usr/share/doc/ipvsadm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ipvsadm) = 1.31-6.el9 ipvsadm = 1.31-6.el9 ipvsadm(x86-64) = 1.31-6.el9 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 libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(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-6.el9.x86_64 Provides: ipvsadm-debugsource = 1.31-6.el9 ipvsadm-debugsource(x86-64) = 1.31-6.el9 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-6.el9.x86_64 Provides: debuginfo(build-id) = 943b727777ba3b3783a655e948d813fe818ce978 ipvsadm-debuginfo = 1.31-6.el9 ipvsadm-debuginfo(x86-64) = 1.31-6.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipvsadm-debugsource(x86-64) = 1.31-6.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 Wrote: /builddir/build/RPMS/ipvsadm-1.31-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ipvsadm-debuginfo-1.31-6.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ipvsadm-debugsource-1.31-6.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.cTcneR + umask 022 + cd /builddir/build/BUILD + cd ipvsadm-1.31 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipvsadm-1.31-6.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0