+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pysendfile.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.hWzptg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysendfile-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pysendfile-2.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pysendfile-2.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.lwyHFo + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + 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 ' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_ext building 'sendfile' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -I/usr/include/python2.7 -c sendfilemodule.c -o build/temp.linux-riscv64-2.7/sendfilemodule.o sendfilemodule.c:315:28: warning: '_state' defined but not used [-Wunused-variable] static struct module_state _state; ^~~~~~ creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-2.7/sendfilemodule.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/sendfile.so + sleep 1 + 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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_ext building 'sendfile' extension creating build/temp.linux-riscv64-3.6 gcc -pthread -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -I/usr/include/python3.6m -c sendfilemodule.c -o build/temp.linux-riscv64-3.6/sendfilemodule.o creating build/lib.linux-riscv64-3.6 gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -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 build/temp.linux-riscv64-3.6/sendfilemodule.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-riscv64-3.6/sendfile.cpython-36m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.30oGsn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 + cd pysendfile-2.0.1 + 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 ' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/sendfile.so -> /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python2.7/site-packages writing byte-compilation script '/tmp/tmpAD8Qpr.py' /usr/bin/python2 -O /tmp/tmpAD8Qpr.py removing /tmp/tmpAD8Qpr.py running install_egg_info running egg_info writing pysendfile.egg-info/PKG-INFO writing top-level names to pysendfile.egg-info/top_level.txt writing dependency_links to pysendfile.egg-info/dependency_links.txt reading manifest file 'pysendfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pysendfile.egg-info/SOURCES.txt' Copying pysendfile.egg-info to /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python2.7/site-packages/pysendfile-2.0.1-py2.7.egg-info running install_scripts + 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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python3.6/site-packages copying build/lib.linux-riscv64-3.6/sendfile.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python3.6/site-packages writing byte-compilation script '/tmp/tmpb9pffqo2.py' /usr/bin/python3 /tmp/tmpb9pffqo2.py removing /tmp/tmpb9pffqo2.py running install_egg_info running egg_info writing pysendfile.egg-info/PKG-INFO writing dependency_links to pysendfile.egg-info/dependency_links.txt writing top-level names to pysendfile.egg-info/top_level.txt reading manifest file 'pysendfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pysendfile.egg-info/SOURCES.txt' Copying pysendfile.egg-info to /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python3.6/site-packages/pysendfile-2.0.1-py3.6.egg-info running install_scripts + /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/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-pysendfile-2.0.1-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.j23HKc + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python2-pysendfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python2-pysendfile + cp -pr README.rst /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python2-pysendfile + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jnDPsj + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python2-pysendfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python2-pysendfile + cp -pr LICENSE /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python2-pysendfile + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: pysendfile = 2.0.1-8.fc28 python-pysendfile = 2.0.1-8.fc28 python-pysendfile(riscv-64) = 2.0.1-8.fc28 python2-pysendfile = 2.0.1-8.fc28 python2-pysendfile(riscv-64) = 2.0.1-8.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: pysendfile < 2.0.1-1 python-pysendfile < 2.0.1-8.fc28 Processing files: python3-pysendfile-2.0.1-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ivgf3d + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python3-pysendfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python3-pysendfile + cp -pr README.rst /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/doc/python3-pysendfile + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w9oAri + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python3-pysendfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python3-pysendfile + cp -pr LICENSE /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64/usr/share/licenses/python3-pysendfile + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python3-pysendfile = 2.0.1-8.fc28 python3-pysendfile(riscv-64) = 2.0.1-8.fc28 python3.6dist(pysendfile) = 2.0.1 python3dist(pysendfile) = 2.0.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pysendfile-2.0.1-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/pysendfile-2.0.1-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python2-pysendfile-2.0.1-8.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-pysendfile-2.0.1-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.r83HQG + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pysendfile-2.0.1-8.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