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/plotnetcfg.spec'], chrootPath='/var/lib/mock/f31-build-49081-27217/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/plotnetcfg.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=1549065600 Wrote: /builddir/build/SRPMS/plotnetcfg-0.4.1-10.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/plotnetcfg.spec'], chrootPath='/var/lib/mock/f31-build-49081-27217/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/plotnetcfg.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9bFumw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/plotnetcfg-0.4.1-4f5c452.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.t4keiu + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + 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' BUILDSTDERR: netns.c: In function 'netns_proc_entry_set_name.isra.0': BUILDSTDERR: netns.c:130:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] BUILDSTDERR: 130 | snprintf(buf, sizeof(buf), "PID %s (%s)", spid, path); BUILDSTDERR: | ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from netns.c:23: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 8 or more bytes (assuming 4103) into a destination of size 4096 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -c -o args.o args.c cc -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 -c -o ethtool.o ethtool.c cc -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 -c -o frontend.o frontend.c cc -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 -c -o handler.o handler.c cc -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 -c -o if.o if.c cc -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 -c -o label.o label.c echo "#define VERSION \"`git describe 2> /dev/null || cat version`\"" > version.h cc -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 -c -o match.o match.c cc -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 -c -o netlink.o netlink.c cc -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 -c -o netns.o netns.c cc -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 -c -o tunnel.o tunnel.c cc -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 -c -o utils.o utils.c cc -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 -c -o handlers/bridge.o handlers/bridge.c BUILDSTDERR: cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIhandlers/openvswitch.c: In function 'link_iface_search': BUILDSTDERR: handlers/openvswitch.c:457:43: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 457 | if (!search_for_system && !entry->master && BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: 458 | !check_vport(iface->port->bridge->system->ifaces->link->ns, entry)) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 FY_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 -c -o handlers/master.o handlers/master.c cc -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 -c -o handlers/openvswitch.o handlers/openvswitch.c cc -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 -c -o handlers/veth.o handlers/veth.c cc -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 -c -o handlers/vlan.o handlers/vlan.c cc -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 -c -o frontends/dot.o frontends/dot.c cc -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 -c -o frontends/json.o frontends/json.c cc -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 -c -o main.o main.c gcc -o plotnetcfg args.o ethtool.o frontend.o handler.o if.o label.o main.o match.o netlink.o netns.o tunnel.o utils.o handlers/bridge.o handlers/master.o handlers/openvswitch.o handlers/veth.o handlers/vlan.o frontends/dot.o frontends/json.o -ljansson Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wk0nlx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4.1-10.fc31 --unique-debug-suffix -0.4.1-10.fc31.riscv64 --unique-debug-src-base plotnetcfg-0.4.1-10.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 BUILDSTDERR: 200 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 -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/sbin/ install plotnetcfg /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/sbin/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/man/man8/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/man/man5/ install -m 644 plotnetcfg.8 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/man/man8/ install -m 644 plotnetcfg-json.5 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/man/man5/ explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/sbin/plotnetcfg extracting debug info from /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/sbin/plotnetcfg original debug info size: 260kB, size after compression: 232kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: plotnetcfg-0.4.1-10.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OCN9bw + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + DOCDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/doc/plotnetcfg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/doc/plotnetcfg + cp -pr README /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/doc/plotnetcfg + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.38XFxu + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + LICENSEDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/licenses/plotnetcfg + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/licenses/plotnetcfg + cp -pr COPYING /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64/usr/share/licenses/plotnetcfg + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: plotnetcfg = 0.4.1-10.fc31 plotnetcfg(riscv-64) = 0.4.1-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libjansson.so.4()(64bit) rtld(GNU_HASH) Processing files: plotnetcfg-debugsource-0.4.1-10.fc31.riscv64 Provides: plotnetcfg-debugsource = 0.4.1-10.fc31 plotnetcfg-debugsource(riscv-64) = 0.4.1-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: plotnetcfg-debuginfo-0.4.1-10.fc31.riscv64 Provides: debuginfo(build-id) = 017b3fc3c53ce97696ad1c99c2d6b6b4e0630102 plotnetcfg-debuginfo = 0.4.1-10.fc31 plotnetcfg-debuginfo(riscv-64) = 0.4.1-10.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: plotnetcfg-debugsource(riscv-64) = 0.4.1-10.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 Wrote: /builddir/build/RPMS/plotnetcfg-0.4.1-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/plotnetcfg-debugsource-0.4.1-10.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/plotnetcfg-debuginfo-0.4.1-10.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.J7bF8u + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-10.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0