+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/checkdns.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.aYauzy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkdns-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkdns-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkdns-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (checkdns-0.5.config_location.patch):' Patch #0 (checkdns-0.5.config_location.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .config_location --fuzz=0 patching file main.c + mv Makefile Makefile.dist + mv Makefile.Linux Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rjbplZ + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.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 ' + export CFLAGS + make -j4 gcc -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 loadconfig.o loadconfig.c gcc -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 langcfg.o langcfg.c gcc -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 html.o html.c gcc -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 dns.o dns.c html.c: In function 'html_output_start': html.c:61:34: warning: unknown conversion type character '"' in format [-Wformat=] fprintf(fd, "\n"); ^~ html.c: In function 'write_html': html.c:115:49: warning: embedded '\0' in format [-Wformat-contains-nul] snprintf(htmlfile, MIDBUFSIZE - 1, "%s/%s.html\0", html_output_dir, type); ^~ html.c:117:48: warning: embedded '\0' in format [-Wformat-contains-nul] snprintf(htmlfile, MIDBUFSIZE - 1, "%s%s.html\0", html_output_dir, type); ^~ In file included from html.c:11:0: html.c: At top level: main.h:31:13: warning: 'check_startup_variable' declared 'static' but never defined [-Wunused-function] static void check_startup_variable(); ^~~~~~~~~~~~~~~~~~~~~~ main.h:32:13: warning: 'version' declared 'static' but never defined [-Wunused-function] static void version(); ^~~~~~~ main.h:33:13: warning: 'usage' declared 'static' but never defined [-Wunused-function] static void usage(); ^~~~~ dns.c: In function 'add_to_list': dns.c:37:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] (void) strncpy(new_drec->name, domain, TINYBUFSIZE-1); ^~~~~~~ dns.c:37:9: warning: incompatible implicit declaration of built-in function 'strncpy' dns.c:37:9: note: include '' or provide a declaration of 'strncpy' dns.c:40:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] bzero(new_drec->mx1, TINYBUFSIZE-1); ^~~~~ dns.c:40:3: warning: incompatible implicit declaration of built-in function 'bzero' dns.c:48:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(name_server1_extra) > 0 && strlen(name_server2_extra) > 0) ^~~~~~ dns.c:48:6: warning: incompatible implicit declaration of built-in function 'strlen' dns.c:48:6: note: include '' or provide a declaration of 'strlen' dns.c:51:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (strcmp(new_drec->ns1, "") == 0 && strcmp(new_drec->ns2, "") == 0) { ^~~~~~ dns.c:54:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (strcmp(new_drec->ns1, name_server1) == 0 && strcmp(new_drec->ns2, name_server2) == 0 || strcmp(new_drec->ns1, name_server2) == 0 && strcmp(new_drec->ns2, name_server1) == 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:57:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] } else if (extdns != 0 && strcmp(new_drec->ns1, name_server1_extra) == 0 && strcmp(new_drec->ns2, name_server2_extra) == 0 || extdns != 0 && strcmp(new_drec->ns1, name_server2_extra) == 0 && strcmp(new_drec->ns2, name_server1_extra) == 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:67:4: warning: incompatible implicit declaration of built-in function 'bzero' bzero(new_drec->www, TINYBUFSIZE-1); ^~~~~ dns.c: In function 'get_www_ip': dns.c:97:9: warning: incompatible implicit declaration of built-in function 'strncpy' (void) strncpy(www, inet_ntoa(*((struct in_addr *)host->h_addr)), TINYBUFSIZE-1); ^~~~~~~ dns.c:97:9: note: include '' or provide a declaration of 'strncpy' dns.c: In function 'get_dns_record': dns.c:126:2: warning: incompatible implicit declaration of built-in function 'bzero' bzero(rec1, TINYBUFSIZE-1); ^~~~~ dns.c:225:12: warning: incompatible implicit declaration of built-in function 'strncpy' (void) strncpy(rec1, buf, TINYBUFSIZE-1); ^~~~~~~ dns.c:225:12: note: include '' or provide a declaration of 'strncpy' dns.c:227:12: warning: incompatible implicit declaration of built-in function 'strncpy' (void) strncpy(rec2, buf, TINYBUFSIZE-1); ^~~~~~~ dns.c:227:12: note: include '' or provide a declaration of 'strncpy' dns.c:120:17: warning: variable 'pref' set but not used [-Wunused-but-set-variable] unsigned short pref, type; ^~~~ dns.c:118:27: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] int ret = 0, rd_len = 0, ttl, n = 0; ^~~ dns.c: In function 'copy_drec': dns.c:238:9: warning: incompatible implicit declaration of built-in function 'strncpy' (void) strncpy(dest_drec->name, src_drec->name, TINYBUFSIZE-1); ^~~~~~~ dns.c:238:9: note: include '' or provide a declaration of 'strncpy' In file included from dns.c:18:0: dns.c: At top level: main.h:31:13: warning: 'check_startup_variable' declared 'static' but never defined [-Wunused-function] static void check_startup_variable(); ^~~~~~~~~~~~~~~~~~~~~~ main.h:32:13: warning: 'version' declared 'static' but never defined [-Wunused-function] static void version(); ^~~~~~~ main.h:33:13: warning: 'usage' declared 'static' but never defined [-Wunused-function] static void usage(); ^~~~~ gcc -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 tools.o tools.c gcc -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 main.o main.c gcc -o checkdns loadconfig.o langcfg.o html.o dns.o tools.o main.o -lresolv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1mPKZ0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 + cd checkdns-0.5 + install -D -p checkdns /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//usr/sbin/checkdns + install -d /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//etc + sed -e /html_output_dir/s@usr/local/apache/htdocs@var/www/html@ -e /lang_file/s@local/@@ checkdns.conf-dist + install -D -p -m 0640 /builddir/build/SOURCES/checkdns.cron /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//etc/cron.d/checkdns + install -D -p -m 0644 checkdns.css /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//var/www/html/checkdns/checkdns.css + install -d /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//usr/share/checkdns + cp -rp lang /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64//usr/share/checkdns + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/checkdns-0.5-22.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: checkdns-0.5-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.B8XXoc + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.5 + DOCDIR=/builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr AUTHORS /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr ChangeLog /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr COPYING /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr INSTALL /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr LICENSE /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr README /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr THANKS /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + cp -pr TODO /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64/usr/share/doc/checkdns + exit 0 Provides: checkdns = 0.5-22.fc28 checkdns(riscv-64) = 0.5-22.fc28 config(checkdns) = 0.5-22.fc28 Requires(interp): /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: 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) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/checkdns-0.5-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/checkdns-0.5-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wPyITA + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/checkdns-0.5-22.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff