+ 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.bNQrhz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-utmp-0.8.2 + /usr/bin/mkdir -p python-utmp-0.8.2 + cd python-utmp-0.8.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-utmp_0.8.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/utmpaccessmodule.so/utmpaccess.so/g python-utmp/Makefile.common + mv python-utmp python3 + cp -a python3 python2 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fmGvo3 + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + pushd python2 ~/build/BUILD/python-utmp-0.8.2/python2 ~/build/BUILD/python-utmp-0.8.2 + 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 utmpaccess.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); ^ + popd ~/build/BUILD/python-utmp-0.8.2 + pushd python3 ~/build/BUILD/python-utmp-0.8.2/python3 ~/build/BUILD/python-utmp-0.8.2 + 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=3.6 PYTHONINCLUDE=/usr/include/python3.6m/ gcc -g -Wall -I/usr/include/python3.6m/ -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/python3.6m/ -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 utmpaccess.so ./makeconst.sh -g -Wall -I/usr/include/python3.6m/ -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); ^ + popd ~/build/BUILD/python-utmp-0.8.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VExJve + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64 + cd python-utmp-0.8.2 + pushd python2 ~/build/BUILD/python-utmp-0.8.2/python2 ~/build/BUILD/python-utmp-0.8.2 + make PYTHONDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python2.7/site-packages/ PYTHONVER=2.7 install mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python2.7/site-packages/ cp -f utmpaccess.so utmp.py UTMPCONST.py /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python2.7/site-packages/ + rm -f COPYING + install -D -p -m644 debian/copyright COPYING + popd ~/build/BUILD/python-utmp-0.8.2 + pushd python3 ~/build/BUILD/python-utmp-0.8.2/python3 ~/build/BUILD/python-utmp-0.8.2 + make PYTHONDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python3.6/site-packages/ PYTHONVER=3.6 install mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python3.6/site-packages/ cp -f utmpaccess.so utmp.py UTMPCONST.py /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64//usr/lib64/python3.6/site-packages/ + rm -f COPYING + install -D -p -m644 debian/copyright COPYING + popd ~/build/BUILD/python-utmp-0.8.2 + /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.8.2-3.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-utmp-0.8.2-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mndZFp + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + DOCDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python2-utmp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python2-utmp + cp -pr python2/README /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python2-utmp + cp -pr python2/TODO /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python2-utmp + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BjzBLY + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python2-utmp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python2-utmp + cp -pr python2/COPYING /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python2-utmp + exit 0 Provides: python-utmp = 0.8.2-3.fc28 python-utmp(riscv-64) = 0.8.2-3.fc28 python2-utmp = 0.8.2-3.fc28 python2-utmp(riscv-64) = 0.8.2-3.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) Obsoletes: python-utmp < 0.8.2-3.fc28 Processing files: python3-utmp-0.8.2-3.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uOVsBw + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + DOCDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python3-utmp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python3-utmp + cp -pr python3/README /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python3-utmp + cp -pr python3/TODO /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/doc/python3-utmp + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vPMm6q + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python3-utmp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python3-utmp + cp -pr python3/COPYING /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64/usr/share/licenses/python3-utmp + exit 0 Provides: python3-utmp = 0.8.2-3.fc28 python3-utmp(riscv-64) = 0.8.2-3.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) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-utmp-0.8.2-3.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-utmp-0.8.2-3.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python2-utmp-0.8.2-3.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-utmp-0.8.2-3.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Lc3sR0 + umask 022 + cd /builddir/build/BUILD + cd python-utmp-0.8.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-utmp-0.8.2-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