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/amprd.spec'], chrootPath='/var/lib/mock/f29-build-10602-4793/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/amprd.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/amprd-2.1-4.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/amprd.spec'], chrootPath='/var/lib/mock/f29-build-10602-4793/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/amprd.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.F1pjuv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf amprd-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/amprd-2.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd amprd-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (amprd-1.6-install-fix.patch):' Patch #0 (amprd-1.6-install-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install-fix --fuzz=0 patching file Makefile + dos2unix minGlue.h BUILDSTDERR: dos2unix: converting file minGlue.h to Unix format... + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dO7PSO + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + make -j4 '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 -fpie' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now' 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 -fpie -c amprd.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c tunnel.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c minIni.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c list.c BUILDSTDERR: amprd.c: In function 'main': BUILDSTDERR: amprd.c:530:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(tunnel->fd, eh, payload - 6); /* remainder of ip header */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: amprd.c:549:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(tunnel->fd, eh , payload - 6); 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 -fpie -c rip.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c encap.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c cache.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c route.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fpie -c callhome.c gcc -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now -o amprd amprd.o tunnel.o minIni.o list.o rip.o encap.o cache.o route.o callhome.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oJv7Z3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 + cd amprd-2.1 + make -j4 DESTDIR=/builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 install install -m 755 -p -d -D /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/var/lib/amprd install -m 644 -p -D amprd.conf.example /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/etc/amprd.conf install -m 755 -p -D amprd /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/sbin/amprd + install -Dpm 644 /builddir/build/SOURCES/amprd.service /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/lib/systemd/system/amprd.service + install -Dd /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/amprd + install -Dpm 644 -t /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/amprd startup_example.sh interfaces_example + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1-4.fc29 --unique-debug-suffix -2.1-4.fc29.riscv64 --unique-debug-src-base amprd-2.1-4.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/amprd-2.1 extracting debug info from /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/sbin/amprd /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 163 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/amprd-2.1-4.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: amprd-2.1-4.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ikOdil + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + DOCDIR=/builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/doc/amprd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/doc/amprd + cp -pr COPYING /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/doc/amprd + cp -pr README /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64/usr/share/doc/amprd + exit 0 Provides: amprd = 2.1-4.fc29 amprd(riscv-64) = 2.1-4.fc29 config(amprd) = 2.1-4.fc29 Requires(interp): /bin/sh /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): /bin/sh 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: amprd-debugsource-2.1-4.fc29.riscv64 Provides: amprd-debugsource = 2.1-4.fc29 amprd-debugsource(riscv-64) = 2.1-4.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: amprd-debuginfo-2.1-4.fc29.riscv64 Provides: amprd-debuginfo = 2.1-4.fc29 amprd-debuginfo(riscv-64) = 2.1-4.fc29 debuginfo(build-id) = ddc96db765a100728727ceb852f88c3ec8a61858 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: amprd-debugsource(riscv-64) = 2.1-4.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 Wrote: /builddir/build/RPMS/amprd-2.1-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/amprd-debugsource-2.1-4.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/amprd-debuginfo-2.1-4.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2hjxKG + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/amprd-2.1-4.fc29.riscv64 + exit 0 Child return code was: 0