+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/python-scandir.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
warning: bogus date in %changelog: Tue Jan 20 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.2-3
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4xVaxc
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf scandir-1.3
+ /usr/bin/gzip -dc /builddir/build/SOURCES/scandir-1.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd scandir-1.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -rf /builddir/build/BUILD/python3-python-scandir-1.3-5.fc28
+ cp -a . /builddir/build/BUILD/python3-python-scandir-1.3-5.fc28
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yiX6N4
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ 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
running build
running build_py
creating build
creating build/lib.linux-riscv64-2.7
copying scandir.py -> build/lib.linux-riscv64-2.7
running build_ext
building '_scandir' extension
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 _scandir.c -o build/temp.linux-riscv64-2.7/_scandir.o
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/_scandir.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/_scandir.so
+ pushd /builddir/build/BUILD/python3-python-scandir-1.3-5.fc28
~/build/BUILD/python3-python-scandir-1.3-5.fc28 ~/build/BUILD/scandir-1.3
+ 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
running build
running build_py
creating build
creating build/lib.linux-riscv64-3.6
copying scandir.py -> build/lib.linux-riscv64-3.6
running build_ext
building '_scandir' 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 _scandir.c -o build/temp.linux-riscv64-3.6/_scandir.o
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/_scandir.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-riscv64-3.6/_scandir.cpython-36m-riscv64-linux-gnu.so
+ popd
~/build/BUILD/scandir-1.3
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gxwL7a
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64
+ cd scandir-1.3
+ /usr/bin/python2 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64
running install
running install_lib
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7/site-packages
copying build/lib.linux-riscv64-2.7/scandir.py -> /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7/site-packages
copying build/lib.linux-riscv64-2.7/_scandir.so -> /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7/site-packages
byte-compiling /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7/site-packages/scandir.py to scandir.pyc
running install_egg_info
Writing /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7/site-packages/scandir-1.3-py2.7.egg-info
+ pushd /builddir/build/BUILD/python3-python-scandir-1.3-5.fc28
~/build/BUILD/python3-python-scandir-1.3-5.fc28 ~/build/BUILD/scandir-1.3
+ /usr/bin/python3 setup.py install --skip-build --root /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64
running install
running install_lib
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6
creating /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6/site-packages
copying build/lib.linux-riscv64-3.6/_scandir.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6/site-packages
copying build/lib.linux-riscv64-3.6/scandir.py -> /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6/site-packages
byte-compiling /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6/site-packages/scandir.py to scandir.cpython-36.pyc
running install_egg_info
Writing /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/lib64/python3.6/site-packages/scandir-1.3-py3.6.egg-info
+ popd
~/build/BUILD/scandir-1.3
+ /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-scandir-1.3-5.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7
Bytecompiling .py files below /builddir/build/BUILDROOT/python-scandir-1.3-5.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-scandir-1.3-5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.10ts2e
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ DOCDIR=/builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python2-scandir
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python2-scandir
+ cp -pr README.rst /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python2-scandir
+ cp -pr test /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python2-scandir
+ cp -pr benchmark.py /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python2-scandir
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EwatOO
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ LICENSEDIR=/builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python2-scandir
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python2-scandir
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python2-scandir
+ exit 0
warning: File listed twice: /usr/lib/.build-id/59/95edffcfc614b91cd546e9c7279a9ed2373ead
warning: File listed twice: /usr/lib64/python2.7/site-packages/_scandir.so
Provides: python-scandir = 1.3-5.fc28 python-scandir(riscv-64) = 1.3-5.fc28 python2-scandir = 1.3-5.fc28 python2-scandir(riscv-64) = 1.3-5.fc28 python2.7dist(scandir) = 1.3 python2dist(scandir) = 1.3
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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH)
Obsoletes: python-scandir < 1.3-5.fc28
Processing files: python3-scandir-1.3-5.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n8R6kj
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ DOCDIR=/builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python3-scandir
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python3-scandir
+ cp -pr README.rst /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python3-scandir
+ cp -pr test /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python3-scandir
+ cp -pr benchmark.py /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/doc/python3-scandir
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.umxW3o
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ LICENSEDIR=/builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python3-scandir
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python3-scandir
+ cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-scandir-1.3-5.fc28.riscv64/usr/share/licenses/python3-scandir
+ exit 0
warning: File listed twice: /usr/lib/.build-id/af/8645233aebef0ba2f9b1e93804fd4de25d75b3
warning: File listed twice: /usr/lib64/python3.6/site-packages/_scandir.cpython-36m-riscv64-linux-gnu.so
Provides: python3-scandir = 1.3-5.fc28 python3-scandir(riscv-64) = 1.3-5.fc28 python3.6dist(scandir) = 1.3 python3dist(scandir) = 1.3
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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(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/python-scandir-1.3-5.fc28.riscv64
Wrote: /builddir/build/SRPMS/python-scandir-1.3-5.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/python2-scandir-1.3-5.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/python3-scandir-1.3-5.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hmFXO9
+ umask 022
+ cd /builddir/build/BUILD
+ cd scandir-1.3
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/python-scandir-1.3-5.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