Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/n2n.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1708/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/n2n.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} warning: Could not canonicalize hostname: i-00018432 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/n2n-2.1.0-1.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/n2n.spec'], False, '/var/lib/mock/epel-7-x86_64-mockbuilder-1708/root/', None, 0, True, False, 500, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/n2n.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'CCACHE_UMASK': '002'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9mnDOe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf n2n-2.1.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/n2n-2.1.0.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd n2n-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DNo8Lc + exit 0 + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + 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' -j3 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 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 n2n_keyfile.c: In function 'n2n_read_keyfile': n2n_keyfile.c:157: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 minilzo.c n2n.c: In function 'hex2byte': n2n.c:384:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[3]; ^ n2n.c: In function 'sock_to_cstr': n2n.c:417:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ 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 wire.c: In function 'decode_sock': wire.c:219: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 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 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.1.0"' -DN2N_OSNAME='"x86_64"' -c version.c gzip -c edge.8 > edge.8.gz gzip -c supernode.1 > supernode.1.gz gzip -c n2n_v2.7 > n2n_v2.7.gz tuntap_linux.c: In function 'tuntap_get_address': tuntap_linux.c:140:13: warning: variable 'nread' set but not used [-Wunused-but-set-variable] ssize_t nread=0; ^ tuntap_linux.c: In function 'tuntap_open': tuntap_linux.c:99:13: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^ tuntap_linux.c:114:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^ ar rcs n2n.a n2n.o n2n_keyfile.o wire.o minilzo.o twofish.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 n2n.a -lcrypto -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 n2n.a -o supernode edge.c: In function 'send_register': edge.c:559:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] ssize_t sent; ^ edge.c: In function 'send_register_super': edge.c:594:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] ssize_t sent; ^ edge.c: In function 'send_register_ack': edge.c:636:13: warning: variable 'sent' set but not used [-Wunused-but-set-variable] ssize_t sent; ^ edge.c: In function 'send_PACKET': edge.c:1138:13: warning: variable 's' set but not used [-Wunused-but-set-variable] ssize_t s; ^ edge.c: In function 'readFromMgmtSocket': edge.c:1424:25: warning: variable 'sendlen' set but not used [-Wunused-but-set-variable] ssize_t sendlen; ^ edge.c: In function 'main': edge.c:2232:11: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid( 0 ); ^ edge.c:2256:17: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( userid, userid ); ^ edge.c:2257:17: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( groupid, groupid ); ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BCZWbe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 + cd n2n-2.1.0 + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 + make 'INSTALL=install -p' install DESTDIR=/builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 echo "MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man" MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/sbin /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man/man7 /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man/man8 install -p -m755 supernode /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/sbin/ install -p -m755 edge /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/sbin/ install -p -m644 edge.8.gz /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man/man8/ install -p -m644 supernode.1.gz /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/man/man1/ install -p -m644 n2n_v2.7.gz /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.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-2.1.0 extracting debug info from /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/sbin/edge extracting debug info from /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/sbin/supernode /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 746 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.1.0-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vc9cPi + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/doc/n2n-2.1.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/doc/n2n-2.1.0 + cp -pr COPYING /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/doc/n2n-2.1.0 + cp -pr README /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/doc/n2n-2.1.0 + cp -pr HACKING /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64/usr/share/doc/n2n-2.1.0 + exit 0 Provides: n2n = 2.1.0-1.el7.centos n2n(x86-64) = 2.1.0-1.el7.centos 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) libcrypto.so.10()(64bit) rtld(GNU_HASH) Processing files: n2n-debuginfo-2.1.0-1.el7.centos.x86_64 Provides: n2n-debuginfo = 2.1.0-1.el7.centos n2n-debuginfo(x86-64) = 2.1.0-1.el7.centos 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.1.0-1.el7.centos.x86_64 warning: Could not canonicalize hostname: i-00018432 Wrote: /builddir/build/RPMS/n2n-2.1.0-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/n2n-debuginfo-2.1.0-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hr9JVx + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->