Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ipcalc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-525-297/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ipcalc.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ipcalc-0.2.4-4.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ipcalc.spec'], chrootPath='/var/lib/mock/dist-oc8-build-525-297/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ipcalc.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z9YXFZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ipcalc-0.2.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ipcalc-0.2.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ipcalc-0.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'ipcalc-0.2.4 base' + /usr/bin/cat /builddir/build/SOURCES/0001-fix-segfault-in-env-without-libmaxmind.so.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-fix-segfault-in-env-without-libmaxmind.so.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-add-support-for-RFC3021.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0002-add-support-for-RFC3021.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6i7YO0 + umask 022 + cd /builddir/build/BUILD + cd ipcalc-0.2.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + USE_RUNTIME_LINKING=yes + USE_GEOIP=no + USE_MAXMIND=yes + LIBPATH=/usr/lib64 + make -j32 cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DUSE_MAXMIND -DUSE_RUNTIME_LINKING -DLIBPATH="\"/usr/lib64\"" -DVERSION="\"0.2.4\"" ipcalc.c ipcalc-geoip.c ipcalc-maxmind.c ipcalc-reverse.c ipcalc-utils.c netsplit.c -o ipcalc -ldl ipcalc.c: In function 'ipv6_net_to_type': ipcalc.c:802:23: warning: bitwise comparison always evaluates to false [-Wtautological-compare] if ((word1 & 0xfffe) == 0x2001 && word2 == 0) ^~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LwHFT1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 ++ dirname /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 + cd ipcalc-0.2.4 + mkdir -p /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/bin + install -p -m 755 ipcalc /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/bin/ + mkdir -p -m 755 /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/man/man1 + install -p -m 644 ipcalc.1 /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.2.4-4.oc8 --unique-debug-suffix -0.2.4-4.oc8.aarch64 --unique-debug-src-base ipcalc-0.2.4-4.oc8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ipcalc-0.2.4 extracting debug info from /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/bin/ipcalc /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 118 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.v9uSg0 + umask 022 + cd /builddir/build/BUILD + cd ipcalc-0.2.4 + make check ./ipcalc -bmnp 12.15.1.5 --class-prefix > out.tmp && cmp out.tmp tests/12.15.1.5 ./ipcalc -bmnp 129.15.31.5 --class-prefix > out.tmp && cmp out.tmp tests/129.15.31.5 ./ipcalc -bmnp 193.92.31.0 --class-prefix > out.tmp && cmp out.tmp tests/193.92.31.0 ./ipcalc -bmnp 192.168.1.5/31 > out.tmp && cmp out.tmp tests/192.168.1.5-31 ./ipcalc -bmnp 10.10.10.5/24 > out.tmp && cmp out.tmp tests/192.168.1.5-24 ./ipcalc -bmnp 10.100.4.1/30 > out.tmp && cmp out.tmp tests/192.168.1.5-30 ./ipcalc -bmnp 10.100.4.1/16 > out.tmp && cmp out.tmp tests/192.168.1.5-16 ./ipcalc -bmnp 10.10.10.10/8 > out.tmp && cmp out.tmp tests/192.168.1.5-8 ./ipcalc -S 18 10.10.10.10/16 > out.tmp && cmp out.tmp tests/split-10.10.10.0-16-18 ./ipcalc -S 24 10.10.10.0/16 > out.tmp && cmp out.tmp tests/split-10.10.10.0-16-24 ./ipcalc -S 26 192.168.5.45/24 > out.tmp && cmp out.tmp tests/split-192.168.5.45-24-26 ./ipcalc -S 29 192.168.5.0/24 > out.tmp && cmp out.tmp tests/split-192.168.5.0-24-29 ./ipcalc -S 31 192.168.5.0/24 > out.tmp && cmp out.tmp tests/split-192.168.5.0-24-31 ./ipcalc -S 32 192.168.5.0/24 > out.tmp && cmp out.tmp tests/split-192.168.5.0-24-32 ./ipcalc -S 64 2a03:2880:20:4f06:face::/56 > out.tmp && cmp out.tmp tests/split-2a03:2880:20:4f06:face::-56-64 ./ipcalc -S 128 fcfa:b4ca:f1d8:125b:dc00::/127 > out.tmp && cmp out.tmp tests/split-fcfa:b4ca:f1d8:125b:dc00::-127-128 ./ipcalc -S 120 fcfa:b4ca:f1d8:125b:dc00::/112 > out.tmp && cmp out.tmp tests/split-fcfa:b4ca:f1d8:125b:dc00::-112-120 ./ipcalc --no-decorate -S 18 10.10.10.10/16 > out.tmp && cmp out.tmp tests/nsplit-10.10.10.0-16-18 ./ipcalc --no-decorate -S 24 10.10.10.0/16 > out.tmp && cmp out.tmp tests/nsplit-10.10.10.0-16-24 ./ipcalc --no-decorate -S 26 192.168.5.45/24 > out.tmp && cmp out.tmp tests/nsplit-192.168.5.45-24-26 ./ipcalc --no-decorate -S 29 192.168.5.0/24 > out.tmp && cmp out.tmp tests/nsplit-192.168.5.0-24-29 ./ipcalc --no-decorate -S 31 192.168.5.0/24 > out.tmp && cmp out.tmp tests/nsplit-192.168.5.0-24-31 ./ipcalc --no-decorate -S 32 192.168.5.0/24 > out.tmp && cmp out.tmp tests/nsplit-192.168.5.0-24-32 ./ipcalc --no-decorate -S 64 2a03:2880:20:4f06:face::/56 > out.tmp && cmp out.tmp tests/nsplit-2a03:2880:20:4f06:face::-56-64 ./ipcalc --no-decorate -S 128 fcfa:b4ca:f1d8:125b:dc00::/127 > out.tmp && cmp out.tmp tests/nsplit-fcfa:b4ca:f1d8:125b:dc00::-127-128 ./ipcalc --no-decorate -S 120 fcfa:b4ca:f1d8:125b:dc00::/112 > out.tmp && cmp out.tmp tests/nsplit-fcfa:b4ca:f1d8:125b:dc00::-112-120 ./ipcalc --addrspace -bmnp 193.92.150.3/24 > out.tmp && cmp out.tmp tests/193.92.150.3-24 ./ipcalc --addrspace -bmnp fd95:6be5:0ae0:84a5::/64 > out.tmp && cmp out.tmp tests/fd95:6be5:0ae0:84a5::-64 ./ipcalc --addrspace -bmnp fd0b:a336:4e7d::/48 > out.tmp && cmp out.tmp tests/fd0b:a336:4e7d::-48 ./ipcalc -i 2a03:2880:20:4f06:face:b00c:0:1 > out.tmp && cmp out.tmp tests/i-2a03:2880:20:4f06:face:b00c:0:1 ./ipcalc -i fd0b:a336:4e7d::/48 > out.tmp && cmp out.tmp tests/i-fd0b:a336:4e7d::-48 test ""256"" = ""256"" test ""32"" = ""32"" ./ipcalc-tests Checking for ipcalc binary... Checking ./ipcalc --help... ok. Checking ./ipcalc -c 127.0.0.1... ok. Checking ./ipcalc -c -6 ::1... ok. Checking ./ipcalc -c ::1... ok. Checking ./ipcalc -c 192.168.1.1... ok. Checking ./ipcalc -c -6 2a01:198:200:300::2... ok. Checking ./ipcalc -c -6 2a01:198:200:300:0000:0000:0000:2... ok. Checking ./ipcalc -c -6 2a01:0198:0200:0300:0000:0000:0000:0002... ok. Checking ./ipcalc -c -6 ::1/128... ok. Checking ./ipcalc -c -6 fec0::1:0:0:c0a8:8002/64... ok. Checking ./ipcalc -c -6 gggg::... ok. Checking ./ipcalc -c -4 -6 2a01:198:200:300:0000:0000:0000:2... ok. Checking ./ipcalc -c -4 2a01:198:200:300:0000:0000:0000:2... ok. Checking ./ipcalc -c -4 -6 127.0.0.1... ok. Checking ./ipcalc -c -6 127.0.0.1... ok. Checking ./ipcalc -c ::1/999... ok. Checking ./ipcalc -m 192.168.1.1/-1... ok. Checking ./ipcalc -m 192.168.1.1/64... ok. Checking ./ipcalc -m 192.168.1.1/99999... ok. Checking ./ipcalc -b 192.168.1.1/24... ok. Checking ./ipcalc -b 192.168.1.1 255.255.255.0... ok. Checking ./ipcalc -m 192.168.1.1/24... ok. Checking ./ipcalc -p 192.168.1.1 255.255.255.0... ok. Checking ./ipcalc -p 192.168.1.1 255.255.255.255... ok. Checking ./ipcalc -p 192.168.1.1 0.0.0.0... ok. Checking ./ipcalc -p 172.16.59.222 255.255.252.0... ok. Checking ./ipcalc -m 172.16.59.222/22... ok. Checking ./ipcalc --class-prefix -m 192.168.1.1... ok. Checking ./ipcalc -m 192.168.1.1... ok. Checking ./ipcalc --class-prefix -m 10.1.2.3... ok. Checking ./ipcalc --class-prefix -m 129.22.4.3... ok. Checking ./ipcalc -n 192.168.1.1/32... ok. Checking ./ipcalc -n 192.168.1.1/0... ok. Checking ./ipcalc --reverse-dns 193.92.150.3/32... ok. Checking ./ipcalc --reverse-dns 193.92.150.3/26... ok. Checking ./ipcalc --reverse-dns 193.92.150.3/16... ok. Checking ./ipcalc --reverse-dns 193.92.150.3/12... ok. Checking ./ipcalc --reverse-dns 4321:0:1:2:3:4:567:89ab... ok. Checking ./ipcalc --reverse-dns 1::... ok. Checking ./ipcalc --reverse-dns ::1... ok. Checking ./ipcalc --reverse-dns 1234::4321/128... ok. Checking ./ipcalc --reverse-dns 1234::4321/124... ok. Checking ./ipcalc --reverse-dns 1234::4321/120... ok. 0 test(s) failed. + exit 0 Processing files: ipcalc-0.2.4-4.oc8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2JjqqZ + umask 022 + cd /builddir/build/BUILD + cd ipcalc-0.2.4 + DOCDIR=/builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/doc/ipcalc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/doc/ipcalc + cp -pr README.md /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/doc/ipcalc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gMywT1 + umask 022 + cd /builddir/build/BUILD + cd ipcalc-0.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/licenses/ipcalc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/licenses/ipcalc + cp -pr COPYING /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64/usr/share/licenses/ipcalc + exit 0 Provides: ipcalc = 0.2.4-4.oc8 ipcalc(aarch-64) = 0.2.4-4.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.17)(64bit) rtld(GNU_HASH) Conflicts: initscripts < 9.63 Obsoletes: ipcalculator < 0.41-20 Recommends: geolite2-city geolite2-country libmaxminddb Processing files: ipcalc-debugsource-0.2.4-4.oc8.aarch64 Provides: ipcalc-debugsource = 0.2.4-4.oc8 ipcalc-debugsource(aarch-64) = 0.2.4-4.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ipcalc-debuginfo-0.2.4-4.oc8.aarch64 Provides: debuginfo(build-id) = dd13a1909f33fa6044e7112811d43bfb9024c020 ipcalc-debuginfo = 0.2.4-4.oc8 ipcalc-debuginfo(aarch-64) = 0.2.4-4.oc8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ipcalc-debugsource(aarch-64) = 0.2.4-4.oc8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 Wrote: /builddir/build/RPMS/ipcalc-0.2.4-4.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/ipcalc-debugsource-0.2.4-4.oc8.aarch64.rpm Wrote: /builddir/build/RPMS/ipcalc-debuginfo-0.2.4-4.oc8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gz9hWX + umask 022 + cd /builddir/build/BUILD + cd ipcalc-0.2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ipcalc-0.2.4-4.oc8.aarch64 + exit 0 Child return code was: 0