+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/noip.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.bQwfR6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf noip-2.1.9-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/noip-duc-linux.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd noip-2.1.9-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (noip.patch):' Patch #0 (noip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file noip2.c Hunk #1 succeeded at 239 (offset 7 lines). patching file redhat.noip.sh + sed -i 's|@OPTFLAGS@|-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 |g;s|@SBINDIR@|/builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/sbin|g;s|@SYSCONFDIR@|/builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/etc|g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CGV01X + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + 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 -Dlinux -DPREFIX=\"/usr/local\" noip2.c -o noip2 noip2.c: In function 'dynamic_update': noip2.c:1592:6: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, x, is_group, retval, response; ^ noip2.c: In function 'domains': noip2.c:1823:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x; ^ noip2.c: In function 'hosts': noip2.c:1835:20: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, z; ^ noip2.c: In function 'main': noip2.c:595:10: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(nobody->pw_gid); ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:596:10: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(nobody->pw_gid); ^~~~~~~~~~~~~~~~~~~~~~~ noip2.c:597:17: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(nobody->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~ noip2.c:598:17: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(nobody->pw_uid); ^~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'save_IP': noip2.c:838:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(config_fd, my_instance->Last_IP_Addr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ strlen(my_instance->Last_IP_Addr) + 1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_one_config': noip2.c:1270:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, cfg, size); ^~~~~~~~~~~~~~~~~~~ noip2.c:1276:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, req, size); ^~~~~~~~~~~~~~~~~~~ noip2.c:1281:13: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, expth, size); ^~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'dump_buffer': noip2.c:1585:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buffer, x); ^~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'yesno': noip2.c:1974:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(0, answer, 1); ^~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_credentials': noip2.c:2273:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'get_device_name': noip2.c:2457:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c: In function 'autoconf': noip2.c:2578:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2590:6: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(supplied_executable, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2596:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(answer, LINELEN, stdin); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ noip2.c:2598:3: warning: ignoring return value of 'realpath', declared with attribute warn_unused_result [-Wunused-result] realpath(answer, buffer); ^~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.d7fZQF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64 + cd noip-2.1.9-1 + install -D -p -m 755 noip2 /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64//usr/sbin/noip2 + mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64//etc + touch /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64//etc/no-ip2.conf + install -Dm644 /builddir/build/SOURCES/noip.service /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/lib/systemd/system/noip.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/noip-2.1.9-24.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: noip-2.1.9-24.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CaAIyy + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + DOCDIR=/builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/share/doc/noip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/share/doc/noip + cp -pr COPYING /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/share/doc/noip + cp -pr README.FIRST /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64/usr/share/doc/noip + exit 0 Provides: config(noip) = 2.1.9-24.fc28 noip = 2.1.9-24.fc28 noip(riscv-64) = 2.1.9-24.fc28 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(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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/noip-2.1.9-24.fc28.riscv64 Wrote: /builddir/build/SRPMS/noip-2.1.9-24.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/noip-2.1.9-24.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BiGC2i + umask 022 + cd /builddir/build/BUILD + cd noip-2.1.9-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/noip-2.1.9-24.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