+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tayga.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.ivtWxG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tayga-0.9.2 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tayga-0.9.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd tayga-0.9.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tayga-0.9.2_redhat_initscripts_and_systemd.patch):' Patch #0 (tayga-0.9.2_redhat_initscripts_and_systemd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file README.redhat patching file tayga.initrc.redhat patching file tayga.service patching file tayga.tmpfilesd.conf + echo 'Patch #1 (tayga-0.9.2_cflags_override.patch):' Patch #1 (tayga-0.9.2_cflags_override.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4HQnAZ + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + 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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/tayga-0.9.2' gcc -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -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 -g -Wall -c nat64.c gcc -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -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 -g -Wall -c addrmap.c gcc -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -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 -g -Wall -c dynamic.c gcc -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -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 -g -Wall -c tayga.c nat64.c: In function 'host_send_icmp4': nat64.c:119:6: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0) ^~~~~~ write tayga.c: In function 'main': tayga.c:391:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ tayga.c:438:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pidfd, addrbuf, strlen(addrbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tayga.c:463:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ tayga.c: In function 'signal_handler': tayga.c:167:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(signalfds[1], &signal, sizeof(signal)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addrmap.c: In function 'map_ip4_to_ip6': addrmap.c:444:5: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized] c = cache_insert(addr4, addr6, hash, hash_ip6(addr6)); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DTAYGA_CONF_PATH=\"/etc/tayga.conf\" -I. -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 -g -Wall -c conffile.c addrmap.c: In function 'map_ip6_to_ip4': addrmap.c:589:5: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized] c = cache_insert(addr4, addr6, hash_ip4(addr4), hash); ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -Wall -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tayga nat64.o addrmap.o dynamic.o tayga.o conffile.o make[1]: Leaving directory '/builddir/build/BUILD/tayga-0.9.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I3Hcaa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 + cd tayga-0.9.2 + rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 'INSTALL=install -p' make[1]: Entering directory '/builddir/build/BUILD/tayga-0.9.2' test -z "/etc" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc" install -p -m 644 tayga.conf.example '/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/sbin" install -p tayga '/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/sbin' test -z "/usr/share/man/man5" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/man/man5" install -p -m 644 tayga.conf.5 '/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/man/man5' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/man/man8" install -p -m 644 tayga.8 '/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/tayga-0.9.2' + echo /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc/tayga + mv /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc/tayga.conf.example /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc/tayga/default.conf + sed -i 's, /var/db/tayga, /var/lib/tayga/default,g;' /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/etc/tayga/default.conf + mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/var/lib/tayga + install -p -D -m 0644 tayga.service /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/lib/systemd/system/tayga@.service + install -p -D -m 0644 tayga.tmpfilesd.conf /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/lib/tmpfiles.d/tayga.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/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: tayga-0.9.2-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.op4RXU + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/doc/tayga + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/doc/tayga + cp -pr README /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/doc/tayga + cp -pr README.redhat /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/doc/tayga + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FtG0jc + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + LICENSEDIR=/builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/licenses/tayga + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/licenses/tayga + cp -pr COPYING /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64/usr/share/licenses/tayga + exit 0 Provides: config(tayga) = 0.9.2-7.fc28 tayga = 0.9.2-7.fc28 tayga(riscv-64) = 0.9.2-7.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): systemd 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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tayga-0.9.2-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/tayga-0.9.2-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/tayga-0.9.2-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a8u7Zv + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-7.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