Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tayga.spec'], chrootPath='/var/lib/mock/f29-build-8090-2110/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tayga.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/tayga-0.9.2-8.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tayga.spec'], chrootPath='/var/lib/mock/f29-build-8090-2110/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tayga.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.goiulG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tayga-0.9.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tayga-0.9.2.tar.bz2 + /usr/bin/tar -xof - + 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.qIeDaC + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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-koji-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -c tayga.c BUILDSTDERR: nat64.c: In function 'host_send_icmp4': BUILDSTDERR: nat64.c:119:6: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] BUILDSTDERR: if (writev(gcfg->tun_fd, iov, data_len ? 2 : 1) < 0) BUILDSTDERR: ^~~~~~ BUILDSTDERR: write BUILDSTDERR: tayga.c: In function 'main': BUILDSTDERR: tayga.c:391:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir("/"); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: tayga.c:438:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(pidfd, addrbuf, strlen(addrbuf)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tayga.c:463:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir("/"); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: tayga.c: In function 'signal_handler': BUILDSTDERR: tayga.c:167:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(signalfds[1], &signal, sizeof(signal)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -c conffile.c BUILDSTDERR: addrmap.c: In function 'map_ip4_to_ip6': BUILDSTDERR: addrmap.c:444:7: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: c = cache_insert(addr4, addr6, hash, hash_ip6(addr6)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: addrmap.c: In function 'map_ip6_to_ip4': BUILDSTDERR: addrmap.c:589:7: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: c = cache_insert(addr4, addr6, hash_ip4(addr4), hash); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -g -Wall -Wl,-z,relro -Wl,-z,now -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.nQLru4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 + cd tayga-0.9.2 + rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.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-8.fc29.riscv64/etc" install -p -m 644 tayga.conf.example '/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/etc' test -z "/usr/sbin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/sbin" install -p tayga '/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/sbin' test -z "/usr/share/man/man5" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/man/man5" install -p -m 644 tayga.conf.5 '/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/man/man5' test -z "/usr/share/man/man8" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/man/man8" install -p -m 644 tayga.8 '/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/tayga-0.9.2' + echo /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/etc/tayga + mv /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/etc/tayga.conf.example /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/etc/tayga/default.conf + sed -i 's, /var/db/tayga, /var/lib/tayga/default,g;' /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/etc/tayga/default.conf + mkdir -p /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/var/lib/tayga + install -p -D -m 0644 tayga.service /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/lib/systemd/system/tayga@.service + install -p -D -m 0644 tayga.tmpfilesd.conf /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/lib/tmpfiles.d/tayga.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.9.2-8.fc29 --unique-debug-suffix -0.9.2-8.fc29.riscv64 --unique-debug-src-base tayga-0.9.2-8.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tayga-0.9.2 extracting debug info from /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/sbin/tayga /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 171 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: tayga-0.9.2-8.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wva2uN + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + DOCDIR=/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.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-8.fc29.riscv64/usr/share/doc/tayga + cp -pr README /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/doc/tayga + cp -pr README.redhat /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/doc/tayga + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BgNZEA + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + LICENSEDIR=/builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.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-8.fc29.riscv64/usr/share/licenses/tayga + cp -pr COPYING /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64/usr/share/licenses/tayga + exit 0 Provides: config(tayga) = 0.9.2-8.fc29 tayga = 0.9.2-8.fc29 tayga(riscv-64) = 0.9.2-8.fc29 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) Processing files: tayga-debugsource-0.9.2-8.fc29.riscv64 Provides: tayga-debugsource = 0.9.2-8.fc29 tayga-debugsource(riscv-64) = 0.9.2-8.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tayga-debuginfo-0.9.2-8.fc29.riscv64 Provides: debuginfo(build-id) = ea9183fe9c73b614c1c2c4b8b48d7fffa563f36d tayga-debuginfo = 0.9.2-8.fc29 tayga-debuginfo(riscv-64) = 0.9.2-8.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tayga-debugsource(riscv-64) = 0.9.2-8.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 Wrote: /builddir/build/RPMS/tayga-0.9.2-8.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tayga-debugsource-0.9.2-8.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tayga-debuginfo-0.9.2-8.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PWo9nB + umask 022 + cd /builddir/build/BUILD + cd tayga-0.9.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tayga-0.9.2-8.fc29.riscv64 + exit 0 Child return code was: 0