+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libpagemap.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.k0ZJF7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpagemap-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpagemap-0.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.h1CqwL + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + cd libpagemap-0.0.1 + make '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 ' 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 -fPIC -c libpagemap.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 -shared -Wl,-soname,libpagemap.so.0 -o libpagemap.so.0.0.0 libpagemap.o -lc ln -s libpagemap.so.0.0.0 libpagemap.so.0 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 pgmap.c pgmap.c: In function 'make_header': pgmap.c:268:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (p) ^~ pgmap.c:270:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!start) ^~ 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 -o pgmap pgmap.o libpagemap.so.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fRP6jO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 + cd libpagemap-0.0.1 + rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 + cd libpagemap-0.0.1 + make install DESTDIR=/builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 install -Dp libpagemap.so.0.0.0 /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/lib64/libpagemap.so.0.0.0 cd /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/lib64 && ln -s libpagemap.so.0.0.0 libpagemap.so.0 && ln -s libpagemap.so.0.0.0 libpagemap.so && cd - /builddir/build/BUILD/libpagemap-0.0.1/libpagemap-0.0.1 install -Dp pgmap /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/bin/pgmap install -Dp pgmap.1 /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/man/man1/pgmap.1 install -Dp -m 0644 libpagemap.h /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/include/libpagemap.h + install -D -p -m 755 pagemapdata.py /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64//usr/lib/python2.7/site-packages/pagemapdata.py + /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 Bytecompiling .py files below /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: mangling shebang in ./usr/lib/python2.7/site-packages/pagemapdata.py from #!/usr/bin/env python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: libpagemap-0.0.1-22.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iGsfYS + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + DOCDIR=/builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/doc/libpagemap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/contrib/ /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/README /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/doc/libpagemap + cp -pr libpagemap-0.0.1/COPYING /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64/usr/share/doc/libpagemap + exit 0 Provides: libpagemap = 0.0.1-22.fc28 libpagemap(riscv-64) = 0.0.1-22.fc28 libpagemap.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: /usr/bin/python2 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) libpagemap.so.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Processing files: libpagemap-devel-0.0.1-22.fc28.riscv64 Provides: libpagemap-devel = 0.0.1-22.fc28 libpagemap-devel(riscv-64) = 0.0.1-22.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libpagemap.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpagemap-0.0.1-22.fc28.riscv64 Wrote: /builddir/build/SRPMS/libpagemap-0.0.1-22.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libpagemap-0.0.1-22.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libpagemap-devel-0.0.1-22.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AWTaK2 + umask 022 + cd /builddir/build/BUILD + cd libpagemap-0.0.1 + rm -rf /builddir/build/BUILDROOT/libpagemap-0.0.1-22.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