+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/amprd.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.4Ij6Ys + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf amprd-2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/amprd-2.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd amprd-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (amprd-1.6-install-fix.patch):' Patch #0 (amprd-1.6-install-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .install-fix --fuzz=0 patching file Makefile + dos2unix minGlue.h dos2unix: converting file minGlue.h to Unix format... + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1RLukN + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + 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 -fpie' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now' 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 -fpie -c amprd.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 -fpie -c tunnel.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 -fpie -c minIni.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 -fpie -c list.c amprd.c: In function 'main': amprd.c:530:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tunnel->fd, eh, payload - 6); /* remainder of ip header */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ amprd.c:549:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tunnel->fd, eh , payload - 6); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fpie -c rip.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 -fpie -c encap.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 -fpie -c cache.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 -fpie -c route.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 -fpie -c callhome.c gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pie -z relro -z now -o amprd amprd.o tunnel.o minIni.o list.o rip.o encap.o cache.o route.o callhome.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Vvynxj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64 + cd amprd-2.1 + make -j4 DESTDIR=/builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64 install install -m 755 -p -d -D /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/var/lib/amprd install -m 644 -p -D amprd.conf.example /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/etc/amprd.conf install -m 755 -p -D amprd /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/sbin/amprd + install -Dpm 644 /builddir/build/SOURCES/amprd.service /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/lib/systemd/system/amprd.service + install -Dd /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/amprd + install -Dpm 644 -t /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/amprd startup_example.sh interfaces_example + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/amprd-2.1-3.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: amprd-2.1-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9LrD0V + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + DOCDIR=/builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/doc/amprd + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/doc/amprd + cp -pr COPYING /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/doc/amprd + cp -pr README /builddir/build/BUILDROOT/amprd-2.1-3.fc28.riscv64/usr/share/doc/amprd + exit 0 Provides: amprd = 2.1-3.fc28 amprd(riscv-64) = 2.1-3.fc28 config(amprd) = 2.1-3.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) 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/amprd-2.1-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/amprd-2.1-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/amprd-2.1-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.viqbuB + umask 022 + cd /builddir/build/BUILD + cd amprd-2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/amprd-2.1-3.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