+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libnatpmp.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.JnTMhM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libnatpmp-20150609 + /usr/bin/gzip -dc /builddir/build/SOURCES/libnatpmp-20150609.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libnatpmp-20150609 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vp4T14 + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20150609 + /usr/bin/make -O -j4 'CFLAGS=-fPIC -Wall -DENABLE_STRNATPMPERR -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 ' 'EXTRA_LD=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 testgetgateway.o testgetgateway.c gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 getgateway.o getgateway.c gcc -o testgetgateway testgetgateway.o getgateway.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 natpmp.o natpmp.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from natpmp.c:32: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 natpmpc.o natpmpc.c ar crs libnatpmp.a natpmp.o getgateway.o gcc -shared -Wl,-soname,libnatpmp.so.1 -o libnatpmp.so natpmp.o getgateway.o -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -o natpmpc-static natpmpc.o libnatpmp.a -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -o natpmpc-shared natpmpc.o libnatpmp.so -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WEqbem + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 + cd libnatpmp-20150609 + make install 'INSTALL=install -p' PREFIX=/builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 INSTALLDIRLIB=/builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64 install -p -d /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/include install -p -m 644 natpmp.h /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/include install -p -d /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64 install -p -m 644 libnatpmp.a /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64 install -p -m 644 libnatpmp.so /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64/libnatpmp.so.1 install -p -d /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/bin install -p -m 755 natpmpc-shared /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/bin/natpmpc ln -s -f libnatpmp.so.1 /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64/libnatpmp.so + find /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 -name '*.a' -delete -print /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64/libnatpmp.a + find /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 -name '*.so' -exec chmod 755 '{}' ';' -print /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/lib64/libnatpmp.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: libnatpmp-20150609-5.fc28.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZvqBuZ + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20150609 + LICENSEDIR=/builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/licenses/libnatpmp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/licenses/libnatpmp + cp -pr LICENSE /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/licenses/libnatpmp + exit 0 Provides: libnatpmp = 20150609-5.fc28 libnatpmp(riscv-64) = 20150609-5.fc28 libnatpmp.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libnatpmp.so.1()(64bit) rtld(GNU_HASH) Processing files: libnatpmp-devel-20150609-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.04c2Vp + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20150609 + DOCDIR=/builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/doc/libnatpmp-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/doc/libnatpmp-devel + cp -pr Changelog.txt /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/doc/libnatpmp-devel + cp -pr README /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64/usr/share/doc/libnatpmp-devel + exit 0 Provides: libnatpmp-devel = 20150609-5.fc28 libnatpmp-devel(riscv-64) = 20150609-5.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libnatpmp.so.1()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/libnatpmp-20150609-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libnatpmp-20150609-5.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libnatpmp-devel-20150609-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JusFGA + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20150609 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libnatpmp-20150609-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff