+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/python-utmp.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.8MFFPr
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf python-utmp-0.7
+ /usr/bin/gzip -dc /builddir/build/SOURCES/python-utmp_0.7.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd python-utmp-0.7
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yknC1n
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-utmp-0.7
+ make -f Makefile.glibc 'DEFINES= 		-D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT 		-D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER 		-D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT 		-D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE 		-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 ' PYTHONVER=2.7
gcc  -g -Wall -I/usr/include/python2.7/ -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT 		-D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER 		-D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT 		-D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE 		-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 utmpaccessmodule.c 
gcc  -g -Wall -I/usr/include/python2.7/ -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT 		-D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER 		-D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT 		-D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE 		-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 -shared utmpaccessmodule.o -o utmpaccessmodule.so
./makeconst.sh -g -Wall -I/usr/include/python2.7/ -D_HAVE_UT_SESSION -D_HAVE_UT_ADDR_V6 -D_HAVE_UT_EXIT 		-D_HAVE_UT_HOST -D_HAVE_UT_ID -D_HAVE_UT_TV -D_HAVE_UT_USER 		-D_HAVE_UTMPNAME -D_HAVE_SETUTENT -D_HAVE_GETUTENT -D_HAVE_ENDUTENT 		-D_HAVE_GETUTID -D_HAVE_GETUTLINE -D_HAVE_PUTUTLINE 		-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 
makeconst.c: In function 'main':
makeconst.c:28:18: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
     PRL(UT_IDSIZE);
                  ^
makeconst.c:6:24: note: in definition of macro 'PRL'
 #define PRL(s) printf(#s" = %i\n", s);
                        ^
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.S4uaT3
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64
+ cd python-utmp-0.7
+ rm -rf /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64
+ make PYTHONDIR=/builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64//usr/lib/python2.7/site-packages/ PYTHONVER=2.7 install
mkdir -p /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64//usr/lib/python2.7/site-packages/
cp -f utmpaccessmodule.so utmp.py UTMPCONST.py /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64//usr/lib/python2.7/site-packages/
+ rm -f COPYING
+ install -D -p -m644 debian/copyright COPYING
+ /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/python-utmp-0.7-15.fc28.riscv64/usr/lib/python2.7 using /usr/bin/python2.7
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: python-utmp-0.7-15.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hqldJz
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-utmp-0.7
+ DOCDIR=/builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64/usr/share/doc/python-utmp
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64/usr/share/doc/python-utmp
+ cp -pr COPYING /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64/usr/share/doc/python-utmp
+ cp -pr README /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64/usr/share/doc/python-utmp
+ cp -pr TODO /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64/usr/share/doc/python-utmp
+ exit 0
Provides: python-utmp = 0.7-15.fc28 python-utmp(riscv-64) = 0.7-15.fc28
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: 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) python(abi) = 2.7 rtld(GNU_HASH)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-utmp-0.7-15.fc28.riscv64
Wrote: /builddir/build/SRPMS/python-utmp-0.7-15.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/python-utmp-0.7-15.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eDesMw
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-utmp-0.7
+ rm -rf /builddir/build/BUILDROOT/python-utmp-0.7-15.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