+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ratools.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.R0jtpv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ratools-0.6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ratools-0.6.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ratools-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lwV8CU + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + 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 ' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 -C src/ make: Entering directory '/builddir/build/BUILD/ratools-0.6.2/src' gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 library.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 log.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 module.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 multicast.c library.c: In function 'rat_lib_bytes_to_str': library.c:463:16: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const char const *sfx[] = { ^~~~~ gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 packetset.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 ra.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_mtu.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_sll.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_pi.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_rdnss.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_exp.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 opt_cpuri.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 rad.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 ractl.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 racomplete-ractl.o racomplete-ractl.c rad.c: In function 'rat_db_add_opt': rad.c:249:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (cur = db->db_opt; cur->opt_next; cur = cur->opt_next); ^~~ rad.c:250:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' cur->opt_next = opt; ^~~ mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ../bin/racomplete-ractl library.o log.o module.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o racomplete-ractl.o mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ../bin/ractl library.o log.o module.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o opt_cpuri.o ractl.o mkdir -p "../bash-completion.d" ../bin/racomplete-ractl > ../bash-completion.d/ractl.sh mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ../bin/rad library.o log.o module.o multicast.o packetset.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o opt_cpuri.o rad.o make: Leaving directory '/builddir/build/BUILD/ratools-0.6.2/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.t0o22v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64 + cd ratools-0.6.2 + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/bin + install -pm 0755 bin/rad /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/bin/rad + install -pm 0755 bin/ractl /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/bin/ractl + mkdir -p '/builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/etc/bash_completion.d/*' + install -pm 0644 bash-completion.d/ractl.sh /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/etc/bash_completion.d/ractl + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/man/man8 + install -pm 0644 man/ractl.8 man/rad.8 /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/lib/systemd/system + install -pm 0644 systemd/ratools-rad.service /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/lib/systemd/system/ratools-rad.service + install -pm 0644 systemd/ratools-rad.socket /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/lib/systemd/system/ratools-rad.socket + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/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: ratools-0.6.2-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DIKtLM + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/doc/ratools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/doc/ratools + cp -pr README.md /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/doc/ratools + cp -pr example.conf /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/doc/ratools + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FoBCmA + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/licenses/ratools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/licenses/ratools + cp -pr LICENSE /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64/usr/share/licenses/ratools + exit 0 Provides: config(ratools) = 0.6.2-4.fc28 ratools = 0.6.2-4.fc28 ratools(riscv-64) = 0.6.2-4.fc28 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratools-0.6.2-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/ratools-0.6.2-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ratools-0.6.2-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QtzmFm + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-4.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