+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/n2n.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cnJbZ1 + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd n2n-2.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZBjZ9N + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + make '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 ' -j4 gcc -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 -c n2n.c gcc -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 -c n2n_keyfile.c gcc -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 -c wire.c gcc -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 -c minilzo.c n2n_keyfile.c: In function 'n2n_read_keyfile': n2n.c: In function 'hex2byte': n2n.c:384:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[3]; ^~~ n2n_keyfile.c:157:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( line, N2N_KEYFILE_LINESIZE, fp ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ n2n.c: In function 'sock_to_cstr': n2n.c:417:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ 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 -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 -c twofish.c gcc -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 -c transform_null.c gcc -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 -c transform_tf.c gcc -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 -c transform_aes.c gcc -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 -c tuntap_freebsd.c gcc -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 -c tuntap_netbsd.c gcc -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 -c tuntap_linux.c gcc -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 -c tuntap_osx.c gcc -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 -DN2N_VERSION='"2.1.0"' -DN2N_OSNAME='"riscv64"' -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:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ tuntap_linux.c:114:3: 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 -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 edge.c n2n.a -lcrypto -o edge gcc -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 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:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid( 0 ); ^~~~~~~~~~~ edge.c:2256:9: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( userid, userid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:2257:9: 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.zviRSo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 + cd n2n-2.1.0 + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 + make 'INSTALL=install -p' install DESTDIR=/builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 echo "MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man" MANDIR=/builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/sbin /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man7 /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man8 install -p -m755 supernode /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/sbin/ install -p -m755 edge /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/sbin/ install -p -m644 edge.8.gz /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man8/ install -p -m644 supernode.1.gz /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man1/ install -p -m644 n2n_v2.7.gz /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/man/man7/ + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: n2n-2.1.0-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xOKwDU + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + DOCDIR=/builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/doc/n2n + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/doc/n2n + cp -pr COPYING /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/doc/n2n + cp -pr README /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/doc/n2n + cp -pr HACKING /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64/usr/share/doc/n2n + exit 0 Provides: n2n = 2.1.0-12.fc28 n2n(riscv-64) = 2.1.0-12.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcrypto.so.1.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/n2n-2.1.0-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/n2n-2.1.0-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3ytTvi + umask 022 + cd /builddir/build/BUILD + cd n2n-2.1.0 + rm -rf /builddir/build/BUILDROOT/n2n-2.1.0-12.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff