Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/amprd.spec'], chrootPath='/var/lib/mock/f31-build-52765-27735/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1556755200 Wrote: /builddir/build/SRPMS/amprd-3.0-1.fc31.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/f31-build-52765-27735/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1556755200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aWsGmx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf amprd-3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/amprd-3.0.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd amprd-3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (amprd-3.0-install-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install-fix --fuzz=0 + dos2unix minGlue.h BUILDSTDERR: dos2unix: converting file minGlue.h to Unix format... + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (amprd-3.0-install-fix.patch): patching file Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8nUoGx + umask 022 + cd /builddir/build/BUILD + cd amprd-3.0 + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now' BUILDSTDERR: amprd.c: In function 'main': BUILDSTDERR: amprd.c:540:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 540 | write(tunnel->fd, eh, payload - 6); /* remainder of ip header */ BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: amprd.c:563:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 563 | write(tunnel->fd, eh , payload - 6); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from tunnel.c:33: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'open_tun' at tunnel.c:112:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'open_tun' at tunnel.c:155:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'open_tun' at tunnel.c:166:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'init_tun' at tunnel.c:410:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 21 bytes from a string of length 255 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 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,--as-needed -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.r8mfhv + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 + cd amprd-3.0 + make -j4 DESTDIR=/builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 install + install -Dpm 644 /builddir/build/SOURCES/amprd.service /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/lib/systemd/system/amprd.service + install -Dd /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/amprd + install -Dpm 644 -t /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/amprd startup_example.sh interfaces_example + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.0-1.fc31 --unique-debug-suffix -3.0-1.fc31.riscv64 --unique-debug-src-base amprd-3.0-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/amprd-3.0 BUILDSTDERR: 169 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs install -m 755 -p -d -D /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/var/lib/amprd install -m 644 -p -D amprd.conf.example /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/etc/amprd.conf install -m 755 -p -D amprd /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/sbin/amprd explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/sbin/amprd extracting debug info from /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/sbin/amprd original debug info size: 216kB, size after compression: 196kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: amprd-3.0-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nNUXDx + umask 022 + cd /builddir/build/BUILD + cd amprd-3.0 + DOCDIR=/builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/doc/amprd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/doc/amprd + cp -pr COPYING /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/doc/amprd + cp -pr README /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64/usr/share/doc/amprd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: amprd = 3.0-1.fc31 amprd(riscv-64) = 3.0-1.fc31 config(amprd) = 3.0-1.fc31 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-3.0-1.fc31.riscv64 Provides: amprd-debugsource = 3.0-1.fc31 amprd-debugsource(riscv-64) = 3.0-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: amprd-debuginfo-3.0-1.fc31.riscv64 Provides: amprd-debuginfo = 3.0-1.fc31 amprd-debuginfo(riscv-64) = 3.0-1.fc31 debuginfo(build-id) = 7580ad6409c291104d8ccafd2c6701c78ee67d91 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: amprd-debugsource(riscv-64) = 3.0-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 Wrote: /builddir/build/RPMS/amprd-3.0-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/amprd-debugsource-3.0-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/amprd-debuginfo-3.0-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4vaZ2v + umask 022 + cd /builddir/build/BUILD + cd amprd-3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/amprd-3.0-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0