+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ip-sentinel.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.xXmWU7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ip-sentinel-0.12 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ip-sentinel-0.12.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ip-sentinel-0.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ip-sentinel-0.12-pidfile.patch):' Patch #0 (ip-sentinel-0.12-pidfile.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pidfile --fuzz=0 patching file src/arguments.c + echo 'Patch #1 (ip-sentinel-0.12-glibc.patch):' Patch #1 (ip-sentinel-0.12-glibc.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file src/compat.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IXEXFU + umask 022 + cd /builddir/build/BUILD + cd ip-sentinel-0.12 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-release --with-initrddir=/etc/rc.d/init.d --with-username=ip-sentinel --disable-dietlibc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking whether gcc and cc understand -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether gcc is a C99 compiler... yes checking for cvs2cl... no checking for rcs2log... no checking for sed... /usr/bin/sed checking for cat... /usr/bin/cat checking for cp... /usr/bin/cp checking for grep... /usr/bin/grep checking for egrep... /usr/bin/egrep checking for chmod... /usr/bin/chmod checking for chown... /usr/bin/chown checking for touch... /usr/bin/touch checking for sh... /usr/bin/sh checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for diff... /usr/bin/diff checking for mv... /usr/bin/mv checking for ln... /usr/bin/ln checking for dirname... /usr/bin/dirname checking for mkdir... /usr/bin/mkdir checking whether chown understands the --references option... yes checking whether chmod understands the --references option... yes checking whether to enable release-mode... yes checking for tr... /usr/bin/tr checking for echo... /usr/bin/echo checking whether to enable developing... no checking whether to enable dietlibc... no (forced) checking whether the C-compiler accepts -Werror -W... yes checking whether gcc accepts -Wall... yes checking whether gcc accepts -W... yes checking whether gcc accepts -Wno-unused-function... yes checking whether gcc accepts -std=c99... yes checking whether gcc accepts -Wno-unreachable-code... yes checking for initrddir... /etc/rc.d/init.d checking for configfile... ips.cfg checking for username... ip-sentinel checking whether gcc is modern... yes checking whether type in_addr_t is known... yes checking whether strdupa is declared... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating ip-sentinel.spec config.status: creating config.h config.status: executing depfiles commands + make -j4 all Making clean in src Making clean in . Making all in . Making all in src ip-sentinel.c:233:1: warning: always_inline function might not be inlinable [-Wattributes] generateJobFromIntruder(struct Worker *worker, ^~~~~~~~~~~~~~~~~~~~~~~ ip-sentinel.c:177:1: warning: always_inline function might not be inlinable [-Wattributes] generateJobToIntruder(struct Worker *worker, ^~~~~~~~~~~~~~~~~~~~~ ip-sentinel.c:59:1: warning: always_inline function might not be inlinable [-Wattributes] adjustUserGroup(struct Arguments *arguments, uid_t *uid, gid_t *gid) ^~~~~~~~~~~~~~~ blacklist.c: In function 'BlackList_parseNetMask': blacklist.c:217:13: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (*start=='\0' || (*endptr!='\0' && *endptr!=' ' && ^~ blacklist.c:217:7: note: did you mean to dereference the pointer? if (*start=='\0' || (*endptr!='\0' && *endptr!=' ' && ^ blacklist.c: In function 'BlackList_expandLine': blacklist.c:510:19: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] char *buf, *ptr, *i; ^~~ At top level: blacklist.c:620:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_updateInternal(BlackList *lst, int fd) ^~~~~~~~~~~~~~~~~~~~~~~~ blacklist.c:470:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_iterateRange(BlackList *lst, ^~~~~~~~~~~~~~~~~~~~~~ blacklist.c:441:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_iterateList(BlackList *lst, ^~~~~~~~~~~~~~~~~~~~~ blacklist.c:275:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_parseLine(BlackList *lst, char *start, char const *end, size_t line_nr) ^~~~~~~~~~~~~~~~~~~ blacklist.c:210:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_parseNetMask(struct in_addr * const result, char **start, ^~~~~~~~~~~~~~~~~~~~~~ blacklist.c:193:1: warning: always_inline function might not be inlinable [-Wattributes] BlackList_setDefaultMac(BlackList const *lst, struct ether_addr *addr) ^~~~~~~~~~~~~~~~~~~~~~~ prioqueue.c:154:1: warning: always_inline function might not be inlinable [-Wattributes] PriorityQueue_insertInternal(struct PriorityQueue *q, void const *key) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ether.c:28:19: warning: 'allow_leading_zeros' defined but not used [-Wunused-const-variable=] static bool const allow_leading_zeros = true; ^~~~~~~~~~~~~~~~~~~ worker.c:320:1: warning: always_inline function might not be inlinable [-Wattributes] Worker_scheduleNewJob(struct Worker *worker, struct PriorityQueue *queue, time_t now) ^~~~~~~~~~~~~~~~~~~~~ worker.c:258:1: warning: always_inline function might not be inlinable [-Wattributes] Worker_printJob(struct Worker const *worker, ^~~~~~~~~~~~~~~ worker.c:138:1: warning: always_inline function might not be inlinable [-Wattributes] Worker_fillPacket(struct Worker const *worker, ^~~~~~~~~~~~~~~~~ make all-recursive make[1]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12' Making all in . make[2]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12' make[2]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12' Making all in src make[2]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12/src' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12/src' make[1]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mjYdJT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 + cd ip-sentinel-0.12 + rm -rf /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 + make DESTDIR=/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 install install-contrib Making install in . make[1]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12' make[2]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man8" || mkdir -p -- "/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/man/man8" /usr/bin/install -c -m 644 './doc/ip-sentinel.8' '/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/man/man8/ip-sentinel.8' make[2]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12' make[1]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12' Making install in src make[1]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12/src' make[2]: Entering directory '/builddir/build/BUILD/ip-sentinel-0.12/src' test -z "/usr/sbin" || mkdir -p -- "/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/sbin" /usr/bin/install -c 'ip-sentinel' '/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/sbin/ip-sentinel' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12/src' make[1]: Leaving directory '/builddir/build/BUILD/ip-sentinel-0.12/src' /builddir/build/BUILD/ip-sentinel-0.12/install-sh -d /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64{/etc/rc.d/init.d,/etc/sysconfig,/etc/minit/services/ip-sentinel} /usr/bin/install -c contrib/ip-sentinel.init /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/rc.d/init.d/ip-sentinel /usr/bin/install -c -m 644 contrib/ip-sentinel.sysconfig /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/sysconfig/ip-sentinel ln -s /usr/sbin/ip-sentinel /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/minit/services/ip-sentinel/run /usr/bin/install -c -m 644 contrib/ip-sentinel.params /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/minit/services/ip-sentinel/params touch /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/minit/services/ip-sentinel/respawn chmod 0644 /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/minit/services/ip-sentinel/respawn + install -m750 -d /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/var/lib/ip-sentinel + rm -rf /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/minit/ + rm -rf /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/etc/rc.d/init.d/ip-sentinel + install -Dpm 755 /builddir/build/SOURCES/ip-sentinel.service /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/lib/systemd/system/ip-sentinel.service + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.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 *** WARNING: ./usr/lib/systemd/system/ip-sentinel.service is executable but has empty or no shebang, removing executable bit Processing files: ip-sentinel-0.12-1913.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mjQBoP + umask 022 + cd /builddir/build/BUILD + cd ip-sentinel-0.12 + DOCDIR=/builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr AUTHORS /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr COPYING /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr ChangeLog /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr NEWS /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr README /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + cp -pr THANKS /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64/usr/share/doc/ip-sentinel + exit 0 Provides: group(ip-sentinel) = 1 ip-sentinel = 0.12-1913.fc28 ip-sentinel(riscv-64) = 0.12-1913.fc28 ip-sentinel-minit = 0.12-1913.fc28 ip-sentinel-sysvinit = 0.12-1913.fc28 ip-sentinel-upstart = 0.12-1913.fc28 user(ip-sentinel) = 1 Requires(interp): /bin/sh /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(pre): /bin/sh shadow-utils 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) rtld(GNU_HASH) Obsoletes: ip-sentinel-minit < 0.12-1913.fc28 ip-sentinel-sysvinit < 0.12-1913.fc28 ip-sentinel-upstart < 0.12-1913.fc28 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.fc28.riscv64 Wrote: /builddir/build/SRPMS/ip-sentinel-0.12-1913.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ip-sentinel-0.12-1913.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.A3wKLQ + umask 022 + cd /builddir/build/BUILD + cd ip-sentinel-0.12 + rm -rf /builddir/build/BUILDROOT/ip-sentinel-0.12-1913.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