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/iptstate.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-289468-28080/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0b859ae1accd400c843719a0573587c8', '-D', '/home/lib/mock/dist-ocs23-base-build-289468-28080/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptstate.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/iptstate-2.2.7-6.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/iptstate.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-289468-28080/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=981gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '06114abea4d448e88701c1068fca58b0', '-D', '/home/lib/mock/dist-ocs23-base-build-289468-28080/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ndtzg74y:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptstate.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hslGu7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptstate-2.2.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/iptstate-2.2.7.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd iptstate-2.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/iptstate-2.1-man8.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.Mf7ggF + 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 iptstate-2.2.7 + /usr/bin/make -O -j32 V=1 VERBOSE=1 '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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' +------------------------------------------------------------+ | Welcome to IP Tables State by Phil Dibowitz | | | | PLEASE read the LICENSE and the README for important info. | | | | You may also wish to read the README for install info, | | the WISHLIST for upcoming features, BUGS for known bugs | | and info on bug reports, and the Changelog to find out | | what's new. | | | | Let's compile... | +------------------------------------------------------------+ g++ -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 iptstate.cc -o iptstate -lncurses -lnetfilter_conntrack All done. Do 'make install' as root and you should be set to go! iptstate.cc: In function 'WINDOW* start_curses(flags_t&)': iptstate.cc:609:7: warning: variable 'y' set but not used [-Wunused-but-set-variable] 609 | int y, x; | ^ iptstate.cc: In function 'void switch_scroll(flags_t&, WINDOW*&)': iptstate.cc:706:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] 706 | int x, y; | ^ iptstate.cc: In function 'void get_input(WINDOW*, std::string&, const std::string&, const flags_t&)': iptstate.cc:753:10: warning: variable 'y' set but not used [-Wunused-but-set-variable] 753 | int x, y; | ^ iptstate.cc: In function 'conntrack_hook(nf_conntrack_msg_type, nf_conntrack*, void*)': iptstate.cc:1080:31: warning: ':' directive output may be truncated writing 1 byte into a region of size between 0 and 5 [-Wformat-truncation=] 1080 | snprintf(ttlc, 11, "%3i:%02i:%02i", hours, minutes, seconds); | ^ iptstate.cc:1080:22: note: directive argument in the range [-59, 59] 1080 | snprintf(ttlc, 11, "%3i:%02i:%02i", hours, minutes, seconds); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/fstream:38, from iptstate.cc:49: In function 'snprintf', inlined from 'conntrack_hook(nf_conntrack_msg_type, nf_conntrack*, void*)' at iptstate.cc:1080:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 10 and 16 bytes into a destination of size 11 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HxkSyc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 + cd iptstate-2.2.7 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' PREFIX=/builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr /usr/bin/install -p -D --mode=755 iptstate /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/sbin/iptstate /usr/bin/install -p -D --mode=444 iptstate.8 /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/man/man8/iptstate.8 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.2.7-6.ocs23 --unique-debug-suffix -2.2.7-6.ocs23.loongarch64 --unique-debug-src-base iptstate-2.2.7-6.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iptstate-2.2.7 extracting debug info from /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/sbin/iptstate 159 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: iptstate-2.2.7-6.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZzeGKP + umask 022 + cd /builddir/build/BUILD + cd iptstate-2.2.7 + DOCDIR=/builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/doc/iptstate + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/doc/iptstate + cp -pr README.md /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/doc/iptstate + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AWHPbP + umask 022 + cd /builddir/build/BUILD + cd iptstate-2.2.7 + LICENSEDIR=/builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/licenses/iptstate + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/licenses/iptstate + cp -pr LICENSE /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64/usr/share/licenses/iptstate + RPM_EC=0 ++ jobs -p + exit 0 Provides: iptstate = 2.2.7-6.ocs23 iptstate(loongarch-64) = 2.2.7-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libncurses.so.6()(64bit) libnetfilter_conntrack.so.3()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: iptstate-debugsource-2.2.7-6.ocs23.loongarch64 Provides: iptstate-debugsource = 2.2.7-6.ocs23 iptstate-debugsource(loongarch-64) = 2.2.7-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iptstate-debuginfo-2.2.7-6.ocs23.loongarch64 Provides: debuginfo(build-id) = 664de7ccfdda305800271237b2d197b03e458308 iptstate-debuginfo = 2.2.7-6.ocs23 iptstate-debuginfo(loongarch-64) = 2.2.7-6.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptstate-debugsource(loongarch-64) = 2.2.7-6.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptstate-2.2.7-6.ocs23.loongarch64 Wrote: /builddir/build/RPMS/iptstate-debugsource-2.2.7-6.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iptstate-2.2.7-6.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iptstate-debuginfo-2.2.7-6.ocs23.loongarch64.rpm Child return code was: 0