+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/batctl.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.t2dHDn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf batctl-2017.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/batctl-2017.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd batctl-2017.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gcjo6d + umask 022 + cd /builddir/build/BUILD + cd batctl-2017.4 + 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 -I/usr/include/libnl3' V=s 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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o bat-hosts.o bat-hosts.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o debugfs.o debugfs.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o debug.o debug.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o functions.o functions.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o genl.o genl.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o hash.o hash.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o icmp_helper.o icmp_helper.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o interface.o interface.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o ioctl.o ioctl.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o main.o main.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 -I/usr/include/libnl3 -D_GNU_SOURCE -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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o ping.o ping.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o sys.o sys.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o tcpdump.o tcpdump.c sys.c: In function 'handle_loglevel': sys.c:193:31: warning: '%i' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] snprintf(str, sizeof(str), "%i", log_level); ^~ sys.c:193:30: note: directive argument in the range [0, 2147483647] snprintf(str, sizeof(str), "%i", log_level); ^~~~ In file included from /usr/include/stdio.h:862:0, from sys.c:24: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o tp_meter.o tp_meter.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o traceroute.o traceroute.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 -I/usr/include/libnl3 -D_GNU_SOURCE -c -o translate.o translate.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 -I/usr/include/libnl3 bat-hosts.o debugfs.o debug.o functions.o genl.o hash.o icmp_helper.o interface.o ioctl.o main.o netlink.o ping.o sys.o tcpdump.o tp_meter.o traceroute.o translate.o -lm -lrt -lnl-3 -lnl-genl-3 -lnl-3 -o batctl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QetShe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 + cd batctl-2017.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr install mkdir -p /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/sbin mkdir -p /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/man/man8 /usr/bin/install -p -m 0755 batctl /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/sbin /usr/bin/install -p -m 0644 man/batctl.8 /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/man/man8 make: Nothing to be done for 'install'. + /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: batctl-2017.4-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eihe8g + umask 022 + cd /builddir/build/BUILD + cd batctl-2017.4 + DOCDIR=/builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/doc/batctl + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/doc/batctl + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/doc/batctl + cp -pr README.rst /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/doc/batctl + cp -pr bat-hosts.sample /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64/usr/share/doc/batctl + exit 0 Provides: batctl = 2017.4-1.fc28 batctl(riscv-64) = 2017.4-1.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) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) librt.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/batctl-2017.4-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/batctl-2017.4-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JlLAJ3 + umask 022 + cd /builddir/build/BUILD + cd batctl-2017.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/batctl-2017.4-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff