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/psad.spec'], chrootPath='/var/lib/mock/f29-build-15613-7383/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'}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/psad.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/psad-2.4.5-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/psad.spec'], chrootPath='/var/lib/mock/f29-build-15613-7383/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'}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/psad.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'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uKRsOE + umask 022 + cd /builddir/build/BUILD + gpgv2 --keyring /builddir/build/SOURCES/4D6644A9DA036904BDA2CB90E6C9E3350D3E7410.gpg /builddir/build/SOURCES/psad-2.4.5.tar.bz2.asc /builddir/build/SOURCES/psad-2.4.5.tar.bz2 BUILDSTDERR: gpgv: Signature made Wed Jun 14 02:34:52 2017 UTC BUILDSTDERR: gpgv: using DSA key 4D6644A9DA036904BDA2CB90E6C9E3350D3E7410 BUILDSTDERR: gpgv: Good signature from "Michael Rash (Signing key for cipherdyne.org projects) " + cd /builddir/build/BUILD + rm -rf psad-2.4.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/psad-2.4.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd psad-2.4.5 + /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 init-scripts/systemd/psad.service 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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.371mgk + exit 0 + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.5 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection psadwatchd.c psad_funcs.c strlcpy.c strlcat.c -o psadwatchd BUILDSTDERR: psadwatchd.c: In function 'exec_binary': BUILDSTDERR: psadwatchd.c:393:30: warning: comparison between pointer and zero character constant [-Wpointer-compare] BUILDSTDERR: && index != '\0' && *index != '\n') { BUILDSTDERR: ^~ BUILDSTDERR: psadwatchd.c:393:24: note: did you mean to dereference the pointer? BUILDSTDERR: && index != '\0' && *index != '\n') { BUILDSTDERR: ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iWPCo8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 + cd psad-2.4.5 + install -dm755 /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/man/man8 /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/sbin /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/etc/psad + install -pm755 -t /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/sbin kmsgsd psad psadwatchd + install -Dpm755 fwcheck_psad.pl /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/sbin/fwcheck_psad + install -Dpm755 nf2csv /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/bin/nf2csv + install -Dpm644 misc/logrotate.psad /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/etc/logrotate.d/psad + install -pm644 -t /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.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.5-1.fc29.riscv64/usr/share/man/man8 doc/fwcheck_psad.8 doc/kmsgsd.8 doc/psad.8 doc/psadwatchd.8 + install -pm644 -t /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/man/man1 doc/nf2csv.1 + cp -pr deps/snort_rules /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/etc/psad + install -Dpm644 init-scripts/systemd/psad.service /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/lib/systemd/system/psad.service + install -Dpm644 /builddir/build/SOURCES/psad-tmpfiles.conf /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/lib/tmpfiles.d/psad.conf + install -dm700 /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/var/lib/psad /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/var/log/psad /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/var/run/psad + touch /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/var/lib/psad/psadfifo + touch /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/var/run/psad/psad.cmd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4.5-1.fc29 --unique-debug-suffix -2.4.5-1.fc29.riscv64 --unique-debug-src-base psad-2.4.5-1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/psad-2.4.5 extracting debug info from /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/sbin/kmsgsd extracting debug info from /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/sbin/psadwatchd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 123 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/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: psad-2.4.5-1.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zPz8OE + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.5 + DOCDIR=/builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr doc/BENCHMARK /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr ChangeLog /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr CREDITS /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr doc/FW_EXAMPLE_RULES /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr README.md /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr doc/README.SYSLOG /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + cp -pr doc/SCAN_LOG /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/doc/psad + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.U2ImGf + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.5 + LICENSEDIR=/builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/licenses/psad + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/licenses/psad + cp -pr LICENSE /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64/usr/share/licenses/psad + exit 0 Provides: config(psad) = 2.4.5-1.fc29 psad = 2.4.5-1.fc29 psad(riscv-64) = 2.4.5-1.fc29 Requires(interp): /bin/sh /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 policycoreutils >= 2.4 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 Processing files: psad-debugsource-2.4.5-1.fc29.riscv64 Provides: psad-debugsource = 2.4.5-1.fc29 psad-debugsource(riscv-64) = 2.4.5-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: psad-debuginfo-2.4.5-1.fc29.riscv64 Provides: debuginfo(build-id) = 7d4f68b7f116cf90dbb97c9235c810a7a2d45731 debuginfo(build-id) = a2dd97e4089541f9cb7e8807f2a94411bc8523db psad-debuginfo = 2.4.5-1.fc29 psad-debuginfo(riscv-64) = 2.4.5-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: psad-debugsource(riscv-64) = 2.4.5-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 Wrote: /builddir/build/RPMS/psad-2.4.5-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/psad-debugsource-2.4.5-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/psad-debuginfo-2.4.5-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NK6xO4 + umask 022 + cd /builddir/build/BUILD + cd psad-2.4.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/psad-2.4.5-1.fc29.riscv64 + exit 0 Child return code was: 0