+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/plotnetcfg.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.r70ahq + 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.thg56S + 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 ' 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -c -o handlers/bridge.o handlers/bridge.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 -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 -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 -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 -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 -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 -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 -c -o main.o main.c handlers/openvswitch.c: In function 'link_iface_search': handlers/openvswitch.c:457:43: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!search_for_system && !entry->master && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ !check_vport(iface->port->bridge->system->ifaces->link->ns, entry)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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.9JvEYQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 'INSTALL=/usr/bin/install -p' install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/sbin/ install plotnetcfg /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/sbin/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/man/man8/ install -d /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/man/man5/ install -m 644 plotnetcfg.8 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/man/man8/ install -m 644 plotnetcfg-json.5 /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/man/man5/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.489Iil + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + DOCDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.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-6.fc28.riscv64/usr/share/doc/plotnetcfg + cp -pr README /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/doc/plotnetcfg + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pzoXqc + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + LICENSEDIR=/builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.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-6.fc28.riscv64/usr/share/licenses/plotnetcfg + cp -pr COPYING /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64/usr/share/licenses/plotnetcfg + exit 0 Provides: plotnetcfg = 0.4.1-6.fc28 plotnetcfg(riscv-64) = 0.4.1-6.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/plotnetcfg-0.4.1-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/plotnetcfg-0.4.1-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.k8CMzw + umask 022 + cd /builddir/build/BUILD + cd plotnetcfg-4f5c45238ef77e5d6b88bc403432bd59de7efde9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/plotnetcfg-0.4.1-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff