Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/n2n.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1691737016.842715/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c22995db724240559a3b9ace84cf498a', '-D', '/var/lib/mock/centos+epel-7-x86_64-1691737016.842715/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --target x86_64 --nodeps /builddir/build/SPECS/n2n.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/n2n-2.8~1-3.el7.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/n2n.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1691737016.842715/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'bb05f55bbdad4fbb959f26fcacf6fbee', '-D', '/var/lib/mock/centos+epel-7-x86_64-1691737016.842715/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.m9tby49i:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --target x86_64 --nodeps /builddir/build/SPECS/n2n.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d948Ua + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf n2n-master + /usr/bin/gzip -dc /builddir/build/SOURCES/n2n-2.8~1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd n2n-master + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xDSKhv + umask 022 + cd /builddir/build/BUILD + cd n2n-master + make 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' -j2 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c n2n.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c n2n_keyfile.c n2n_keyfile.c: In function 'n2n_read_keyfile': n2n_keyfile.c:170:18: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( line, N2N_KEYFILE_LINESIZE, fp ); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c wire.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c minilzo.c wire.c: In function 'decode_sock': wire.c:235:9: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized] if( f & 0x8000 ) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c twofish.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c edge_utils.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c transform_null.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c transform_tf.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c transform_aes.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c tuntap_freebsd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c tuntap_netbsd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c tuntap_linux.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c tuntap_osx.c tuntap_linux.c: In function 'tuntap_open': tuntap_linux.c:104:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^ tuntap_linux.c:119:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DN2N_VERSION='"2.3.0"' -DN2N_OSNAME='"Linux"' -c version.c gzip -c edge.8 > edge.8.gz gzip -c supernode.1 > supernode.1.gz gzip -c n2n.7 > n2n.7.gz ar rcs libn2n.a n2n.o n2n_keyfile.o wire.o minilzo.o twofish.o edge_utils.o transform_null.o transform_tf.o transform_aes.o tuntap_freebsd.o tuntap_netbsd.o tuntap_linux.o tuntap_osx.o version.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic edge.c libn2n.a -o edge gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic sn.c libn2n.a -o supernode edge.c: In function 'main': edge.c:641:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); ^ edge.c:661:13: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(ec.userid, ec.userid); ^ edge.c:662:13: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid(ec.groupid, ec.groupid); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic example_edge_embed.c libn2n.a -o example_edge_embed gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic benchmark.c libn2n.a -o benchmark + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TVd9vS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 + cd n2n-master + rm -rf /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 + make 'INSTALL=install -p' install DESTDIR=/builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 echo "MANDIR=/builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man" MANDIR=/builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man mkdir -p /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/sbin /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man7 /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man8 install -p -m755 supernode /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/sbin/ install -p -m755 edge /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/sbin/ install -p -m644 edge.8.gz /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man8/ install -p -m644 supernode.1.gz /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man1/ install -p -m644 n2n.7.gz /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/man/man7/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/n2n-master extracting debug info from /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/sbin/edge extracting debug info from /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/sbin/supernode /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 891 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: n2n-2.8~1-3.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.buuOzg + umask 022 + cd /builddir/build/BUILD + cd n2n-master + DOCDIR=/builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + cp -pr COPYING /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + cp -pr README.md /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + cp -pr doc/HACKING /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + cp -pr doc/NEW_FEATURES.txt /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64/usr/share/doc/n2n-2.8~1 + exit 0 perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "C.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). Provides: n2n = 2.8~1-3.el7 n2n(x86-64) = 2.8~1-3.el7 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.14)(64bit) libc.so.6(GLIBC_2.15)(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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: n2n-debuginfo-2.8~1-3.el7.x86_64 Provides: n2n-debuginfo = 2.8~1-3.el7 n2n-debuginfo(x86-64) = 2.8~1-3.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 Wrote: /builddir/build/RPMS/n2n-2.8~1-3.el7.x86_64.rpm Wrote: /builddir/build/RPMS/n2n-debuginfo-2.8~1-3.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XMDiHr + umask 022 + cd /builddir/build/BUILD + cd n2n-master + /usr/bin/rm -rf /builddir/build/BUILDROOT/n2n-2.8~1-3.el7.x86_64 + exit 0 Child return code was: 0