+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ramond.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.08RzxZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ramond + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ramond-0.5.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd ramond + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ramond-0.5-Respect-CFLAGS-and-LDFLAGS.patch):' Patch #0 (ramond-0.5-Respect-CFLAGS-and-LDFLAGS.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cflags --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RrKZWH + umask 022 + cd /builddir/build/BUILD + cd ramond + 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 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' /usr/bin/gcc -c src/main.c -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 `apr-1-config --includes --cppflags --cflags` `xml2-config --cflags` /usr/bin/gcc -c src/xmlparser.c -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 `apr-1-config --includes --cppflags --cflags` `xml2-config --cflags` /usr/bin/gcc -c src/log.c -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 `apr-1-config --includes --cppflags --cflags` `xml2-config --cflags` src/xmlparser.c: In function 'extractRulePrefix': src/xmlparser.c:178:4: warning: implicit declaration of function 'LOG' [-Wimplicit-function-declaration] LOG( RAMOND_CRITICAL "Failed " ^~~ src/xmlparser.c: In function 'extractRuleMac': src/xmlparser.c:298:7: warning: unused variable 'this_mac_p' [-Wunused-variable] u08 *this_mac_p = &(this_mac.cell[0]); ^~~~~~~~~~ src/xmlparser.c:296:8: warning: unused variable 'mac_string_p' [-Wunused-variable] char *mac_string_p = NULL; ^~~~~~~~~~~~ src/xmlparser.c: In function 'extractMacList': src/xmlparser.c:433:24: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if(!strcmp("entry", this_entry->name)) ^~~~~~~~~~ In file included from src/xmlparser.h:3:0, from src/xmlparser.c:1: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'const xmlChar * {aka const unsigned char *}' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ src/xmlparser.c:444:6: warning: pointer targets in passing argument 1 of 'extractMacAddress' differ in signedness [-Wpointer-sign] xmlNodeGetContent(this_entry), ^~~~~~~~~~~~~~~~~ src/xmlparser.c:201:5: note: expected 'char *' but argument is of type 'xmlChar * {aka unsigned char *}' u08 extractMacAddress(char *mac_string, apr_hash_t **table, apr_pool_t *pool) ^~~~~~~~~~~~~~~~~ src/main.c: In function 'rafixd_recvRa': src/main.c:164:4: warning: implicit declaration of function 'LOG' [-Wimplicit-function-declaration] LOG( RAMOND_CRITICAL "! socket recvmsg error: '%s'\n", ^~~ src/main.c: In function 'executeActions': src/main.c:570:3: warning: null argument where non-null required (argument 2) [-Wnonnull] setenv("PREFIX", NULL, 1); ^~~~~~ src/main.c:571:3: warning: null argument where non-null required (argument 2) [-Wnonnull] setenv("PREFIX_LEN", NULL, 1); ^~~~~~ /usr/bin/gcc log.o xmlparser.o main.o -o ramond -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld `pcap-config --libs` `apr-1-config --link-ld --libs ` `xml2-config --libs` + sed -e '/All Routers Mac List/,/<\/ramond>/ c ' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.38omcI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64 + cd ramond + install -d /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/sbin + install -m 0755 -t /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/sbin ramond + install -d /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/etc + install -m 0644 -t /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/etc ramond.conf + install -d /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/lib/systemd/system + install -m 0644 -t /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/lib/systemd/system /builddir/build/SOURCES/ramond.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/ramond-0.5-5.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: ramond-0.5-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZaXXwM + umask 022 + cd /builddir/build/BUILD + cd ramond + DOCDIR=/builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr CHANGELOG /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr LICENSE /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr README /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr THANKS /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr demo.pl /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + cp -pr ramond.conf.dtd ramond.conf.example /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64/usr/share/doc/ramond + exit 0 Provides: config(ramond) = 0.5-5.fc28 ramond = 0.5-5.fc28 ramond(riscv-64) = 0.5-5.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) libapr-1.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ramond-0.5-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/ramond-0.5-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ramond-0.5-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7eyxx9 + umask 022 + cd /builddir/build/BUILD + cd ramond + /usr/bin/rm -rf /builddir/build/BUILDROOT/ramond-0.5-5.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