+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/psad.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.nrDC1J + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/4D6644A9DA036904BDA2CB90E6C9E3350D3E7410.gpg /builddir/build/SOURCES/psad-2.4.3.tar.bz2.asc /builddir/build/SOURCES/psad-2.4.3.tar.bz2 gpgv: Signature made Sat Dec 19 21:12:21 2015 UTC gpgv: using DSA key E6C9E3350D3E7410 gpgv: Good signature from "Michael Rash (Signing key for cipherdyne.org projects) " + cd /builddir/build/BUILD + rm -rf psad-2.4.3 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/psad-2.4.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd psad-2.4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (psad-fedora.patch):' Patch #0 (psad-fedora.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .f --fuzz=0 patching file Makefile patching file psad.conf + rm -r deps/Bit-Vector deps/Carp-Clan deps/Date-Calc deps/IPTables-ChainMgr deps/IPTables-Parse deps/NetAddr-IP deps/Storable deps/Unix-Syslog deps/whois + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZP2hAH + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.3 + make 'OPTS=-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 ' -j4 /usr/bin/gcc -Wall -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 kmsgsd.c psad_funcs.c strlcpy.c strlcat.c -o kmsgsd /usr/bin/gcc -Wall -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 psadwatchd.c psad_funcs.c strlcpy.c strlcat.c -o psadwatchd psadwatchd.c: In function 'exec_binary': psadwatchd.c:393:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] && index != '\0' && *index != '\n') { ^~ psadwatchd.c:393:24: note: did you mean to dereference the pointer? && index != '\0' && *index != '\n') { ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.sjXWSI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 + cd psad-2.4.3 + install -dm755 /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/sbin /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/etc/psad + install -pm755 -t /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/sbin kmsgsd psad psadwatchd + install -Dpm755 fwcheck_psad.pl /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/sbin/fwcheck_psad + install -Dpm755 nf2csv /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/bin/nf2csv + install -Dpm644 logrotate.psad /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/etc/logrotate.d/psad + install -pm644 -t /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/etc/psad auto_dl icmp_types icmp6_types ip_options pf.os posf protocols psad.conf signatures snort_rule_dl + install -pm644 -t /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/man/man8 fwcheck_psad.8 kmsgsd.8 psad.8 psadwatchd.8 + install -pm644 -t /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/man/man1 nf2csv.1 + cp -pr deps/snort_rules /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/etc/psad + install -Dpm644 /builddir/build/SOURCES/psad.service /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/lib/systemd/system/psad.service + install -Dpm644 /builddir/build/SOURCES/psad-tmpfiles.conf /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/lib/tmpfiles.d/psad.conf + install -dm700 /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/var/lib/psad /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/var/log/psad /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/var/run/psad + touch /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/var/lib/psad/psadfifo + touch /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/var/run/psad/psad.cmd + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/psad-2.4.3-6.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: psad-2.4.3-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ff0SPJ + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.3 + DOCDIR=/builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr BENCHMARK /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr FW_HELP /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr FW_EXAMPLE_RULES /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr README /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr README.SYSLOG /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + cp -pr SCAN_LOG /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/doc/psad + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PfKx9z + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.3 + LICENSEDIR=/builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/licenses/psad + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/licenses/psad + cp -pr LICENSE /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64/usr/share/licenses/psad + exit 0 Provides: config(psad) = 2.4.3-6.fc28 psad = 2.4.3-6.fc28 psad(riscv-64) = 2.4.3-6.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 /usr/sbin/semodule Requires(preun): /bin/sh Requires(postun): /bin/sh /usr/sbin/semodule Requires: /usr/bin/perl 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) perl(Data::Dumper) perl(File::Copy) perl(File::Path) perl(Getopt::Long) perl(IO::Handle) perl(IO::Select) perl(IO::Socket) perl(POSIX) perl(Socket) perl(strict) rtld(GNU_HASH) Recommends: /bin/mail /usr/bin/whois /usr/sbin/sendmail Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/psad-2.4.3-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/psad-2.4.3-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Gb0fLA + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/psad-2.4.3-6.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff