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/plotnetcfg.spec'], chrootPath='/var/lib/mock/f29-build-8073-2102/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/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', '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/plotnetcfg-0.4.1-7.fc29.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/f29-build-8073-2102/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/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', '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.NzsGKr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/gzip -dc /builddir/build/SOURCES/plotnetcfg-0.4.1-4f5c452.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jA1aVr + 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' 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: netns.c: In function 'netns_proc_entry_set_name.isra.1': 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: snprintf(buf, sizeof(buf), "PID %s (%s)", spid, path); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, 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: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __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 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 BUILDSTDERR: handlers/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: if (!search_for_system && !entry->master && BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: !check_vport(iface->port->bridge->system->ifaces->link->ns, entry)) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vh2ups + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 'INSTALL=/usr/bin/install -p' install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/sbin/ install plotnetcfg /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/sbin/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/man/man8/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/man/man5/ install -m 644 plotnetcfg.8 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/man/man8/ install -m 644 plotnetcfg-json.5 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/man/man5/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.4.1-7.fc29 --unique-debug-suffix -0.4.1-7.fc29.riscv64 --unique-debug-src-base plotnetcfg-0.4.1-7.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 extracting debug info from /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/sbin/plotnetcfg /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 200 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: plotnetcfg-0.4.1-7.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uI38Xu + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + DOCDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.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-7.fc29.riscv64/usr/share/doc/plotnetcfg + cp -pr README /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/doc/plotnetcfg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XU3V1k + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + LICENSEDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.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-7.fc29.riscv64/usr/share/licenses/plotnetcfg + cp -pr COPYING /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64/usr/share/licenses/plotnetcfg + exit 0 Provides: plotnetcfg = 0.4.1-7.fc29 plotnetcfg(riscv-64) = 0.4.1-7.fc29 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-7.fc29.riscv64 Provides: plotnetcfg-debugsource = 0.4.1-7.fc29 plotnetcfg-debugsource(riscv-64) = 0.4.1-7.fc29 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-7.fc29.riscv64 Provides: debuginfo(build-id) = a0b68dab21d6ed7a95c63a7a790d436a58010a2b plotnetcfg-debuginfo = 0.4.1-7.fc29 plotnetcfg-debuginfo(riscv-64) = 0.4.1-7.fc29 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-7.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 Wrote: /builddir/build/RPMS/plotnetcfg-0.4.1-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/plotnetcfg-debugsource-0.4.1-7.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/plotnetcfg-debuginfo-0.4.1-7.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EyifY4 + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-7.fc29.riscv64 + exit 0 Child return code was: 0