Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ampr-ripd.spec'], chrootPath='/var/lib/mock/f33-build-132443-41196/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ampr-ripd.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=1580169600 Wrote: /builddir/build/SRPMS/ampr-ripd-2.3-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ampr-ripd.spec'], chrootPath='/var/lib/mock/f33-build-132443-41196/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ampr-ripd.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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CA7yYg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ampr-ripd-2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ampr-ripd-2.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ampr-ripd-2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ampr-ripd-2.1.1-install-fix.patch):' Patch #0 (ampr-ripd-2.1.1-install-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install-fix --fuzz=0 patching file Makefile Patch #1 (ampr-ripd-2.1.1-examples-noshebang.patch): + echo 'Patch #1 (ampr-ripd-2.1.1-examples-noshebang.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .examples-noshebang --fuzz=0 patching file examples/ampr-run.sh patching file examples/find_pass.sh Patch #2 (ampr-ripd-2.3-pidfile.patch): + echo 'Patch #2 (ampr-ripd-2.3-pidfile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pidfile --fuzz=0 patching file ampr-ripd.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rPeQwg + umask 022 + cd /builddir/build/BUILD + cd ampr-ripd-2.3 + 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' 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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now -o ampr-ripd ampr-ripd.c In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1114:5: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'address' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:1040:49: note: 'address' declared here 1040 | uint32_t route_func(rt_actions action, uint32_t address, uint32_t netmask, uint32_t nexthop) | ~~~~~~~~~^~~~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1114:5: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'address' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:1040:49: note: 'address' declared here 1040 | uint32_t route_func(rt_actions action, uint32_t address, uint32_t netmask, uint32_t nexthop) | ~~~~~~~~~^~~~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1139:6: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'gateway' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:263:10: note: 'gateway' declared here 263 | uint32_t gateway = 0; | ^~~~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1140:6: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'gwdev' with type 'unsigned int' [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:264:14: note: 'gwdev' declared here 264 | unsigned int gwdev = 0; | ^~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1123:6: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'nexthop' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:1040:85: note: 'nexthop' declared here 1040 | uint32_t route_func(rt_actions action, uint32_t address, uint32_t netmask, uint32_t nexthop) | ~~~~~~~~~^~~~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1124:6: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'tunidx' with type 'unsigned int' [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:239:14: note: 'tunidx' declared here 239 | unsigned int tunidx = 0; | ^~~~~~ In file included from /usr/include/string.h:495, from ampr-ripd.c:117: In function 'memcpy', inlined from 'addattr_len' at ampr-ripd.c:944:5, inlined from 'route_func' at ampr-ripd.c:1128:3: /usr/include/bits/string_fortified.h:34:10: warning: '__builtin_memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'rmetric' with type 'uint32_t' {aka 'unsigned int'} [-Warray-bounds] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ampr-ripd.c: In function 'route_func': ampr-ripd.c:247:10: note: 'rmetric' declared here 247 | uint32_t rmetric = 0; | ^~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qxpdOf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 + cd ampr-ripd-2.3 + make -j4 DESTDIR=/builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 install install -m 755 -p -D -d /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/var/lib/ampr-ripd install -m 755 -p -D ampr-ripd /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/sbin/ampr-ripd install -m 644 -p -D ampr-ripd.1 /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/man/man1/ampr-ripd.1 + install -Dpm 644 /builddir/build/SOURCES/ampr-ripd.service /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/lib/systemd/system/ampr-ripd.service + install -Dd /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/ampr-ripd/examples + install -Dpm 644 -t /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/ampr-ripd/examples examples/ampr-run.sh examples/find_pass.sh examples/interfaces + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3-6.fc33 --unique-debug-suffix -2.3-6.fc33.riscv64 --unique-debug-src-base ampr-ripd-2.3-6.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ampr-ripd-2.3 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/sbin/ampr-ripd extracting debug info from /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/sbin/ampr-ripd original debug info size: 128kB, size after compression: 128kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 102 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ampr-ripd-2.3-6.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CbYTre + umask 022 + cd /builddir/build/BUILD + cd ampr-ripd-2.3 + DOCDIR=/builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/doc/ampr-ripd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/doc/ampr-ripd + cp -pr COPYING /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/doc/ampr-ripd + cp -pr manual.txt /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64/usr/share/doc/ampr-ripd + RPM_EC=0 ++ jobs -p + exit 0 Provides: ampr-ripd = 2.3-6.fc33 ampr-ripd(riscv-64) = 2.3-6.fc33 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: ampr-ripd-debugsource-2.3-6.fc33.riscv64 Provides: ampr-ripd-debugsource = 2.3-6.fc33 ampr-ripd-debugsource(riscv-64) = 2.3-6.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ampr-ripd-debuginfo-2.3-6.fc33.riscv64 Provides: ampr-ripd-debuginfo = 2.3-6.fc33 ampr-ripd-debuginfo(riscv-64) = 2.3-6.fc33 debuginfo(build-id) = 4c424bb957c81df577312c007e1de62a3556a621 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ampr-ripd-debugsource(riscv-64) = 2.3-6.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 Wrote: /builddir/build/RPMS/ampr-ripd-2.3-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ampr-ripd-debugsource-2.3-6.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ampr-ripd-debuginfo-2.3-6.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Dih4mf + umask 022 + cd /builddir/build/BUILD + cd ampr-ripd-2.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ampr-ripd-2.3-6.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0