+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/python-kaa-imlib2.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.prNycX
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf kaa-imlib2-0.2.3
+ /usr/bin/gzip -dc /builddir/build/SOURCES/kaa-imlib2-0.2.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kaa-imlib2-0.2.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (kaa-imlib2-nomd5.patch):'
Patch #0 (kaa-imlib2-nomd5.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nomd5 --fuzz=0
patching file src/__init__.py
+ cp -pr AUTHORS AUTHORS.not-utf8
+ iconv -f ISO_8859-1 -t UTF8 AUTHORS.not-utf8
+ touch -r AUTHORS.not-utf8 AUTHORS
+ rm AUTHORS.not-utf8
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G8bp28
+ umask 022
+ cd /builddir/build/BUILD
+ cd kaa-imlib2-0.2.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/python setup.py build
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
POSIX shared memory enabled
running build
running build_py
creating build
creating build/lib.linux-riscv64-2.7
creating build/lib.linux-riscv64-2.7/kaa
creating build/lib.linux-riscv64-2.7/kaa/imlib2
copying src/version.py -> build/lib.linux-riscv64-2.7/kaa/imlib2
copying src/image.py -> build/lib.linux-riscv64-2.7/kaa/imlib2
copying src/__init__.py -> build/lib.linux-riscv64-2.7/kaa/imlib2
copying src/font.py -> build/lib.linux-riscv64-2.7/kaa/imlib2
running build_ext
building 'kaa.imlib2._Imlib2module' extension
creating build/temp.linux-riscv64-2.7
creating build/temp.linux-riscv64-2.7/src
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 src/imlib2.c -o build/temp.linux-riscv64-2.7/src/imlib2.o -Wall
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 src/image.c -o build/temp.linux-riscv64-2.7/src/image.o -Wall
src/image.c: In function 'Image_PyObject__getattr':
src/image.c:819:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         value = (void *)imlib_image_get_width();
                 ^
src/image.c:821:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         value = (void *)imlib_image_get_height();
                 ^
src/image.c:823:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         value = (void *)((int)imlib_image_has_alpha());
                 ^
src/image.c:825:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
         value = (void *)(imlib_image_get_width() * 4);
                 ^
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 src/font.c -o build/temp.linux-riscv64-2.7/src/font.o -Wall
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 src/rawformats.c -o build/temp.linux-riscv64-2.7/src/rawformats.o -Wall
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/src/imlib2.o build/temp.linux-riscv64-2.7/src/image.o build/temp.linux-riscv64-2.7/src/font.o build/temp.linux-riscv64-2.7/src/rawformats.o -L/usr/lib64 -lpng -lrt -lImlib2 -lpython2.7 -o build/lib.linux-riscv64-2.7/kaa/imlib2/_Imlib2module.so
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QWYtXO
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
+ cd kaa-imlib2-0.2.3
+ rm -rf /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
+ /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
POSIX shared memory enabled
running install
running install_lib
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa
creating /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
copying build/lib.linux-riscv64-2.7/kaa/imlib2/_Imlib2module.so -> /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
copying build/lib.linux-riscv64-2.7/kaa/imlib2/version.py -> /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
copying build/lib.linux-riscv64-2.7/kaa/imlib2/image.py -> /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
copying build/lib.linux-riscv64-2.7/kaa/imlib2/__init__.py -> /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
copying build/lib.linux-riscv64-2.7/kaa/imlib2/font.py -> /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2
byte-compiling /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2/version.py to version.pyc
byte-compiling /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2/image.py to image.pyc
byte-compiling /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa/imlib2/font.py to font.pyc
writing byte-compilation script '/tmp/tmpSOitBe.py'
/usr/bin/python -O /tmp/tmpSOitBe.py
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out
removing /tmp/tmpSOitBe.py
running install_egg_info
Writing /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/lib64/python2.7/site-packages/kaa_imlib2-0.2.3-py2.7.egg-info
+ find /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64 -name '*.py'
+ xargs chmod 0644
+ /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-kaa-imlib2-0.2.3-23.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: python-kaa-imlib2-0.2.3-23.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mz1UFJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd kaa-imlib2-0.2.3
+ DOCDIR=/builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ cp -pr AUTHORS /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ cp -pr COPYING /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ cp -pr NEWS /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ cp -pr README /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ cp -pr TODO /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.fc28.riscv64/usr/share/doc/python-kaa-imlib2
+ exit 0
Provides: python-kaa-imlib2 = 0.2.3-23.fc28 python-kaa-imlib2(riscv-64) = 0.2.3-23.fc28 python2.7dist(kaa-imlib2) = 0.2.3 python2dist(kaa-imlib2) = 0.2.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) libImlib2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpng16.so.16()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) librt.so.1()(64bit) librt.so.1(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-kaa-imlib2-0.2.3-23.fc28.riscv64
Wrote: /builddir/build/SRPMS/python-kaa-imlib2-0.2.3-23.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/python-kaa-imlib2-0.2.3-23.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WJdlyJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd kaa-imlib2-0.2.3
+ rm -rf /builddir/build/BUILDROOT/python-kaa-imlib2-0.2.3-23.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