+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-Levenshtein.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.AA6Mbd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-Levenshtein-0.10.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/python-Levenshtein-0.10.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-Levenshtein-0.10.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/genextdoc.py . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e8eqq8 + umask 022 + cd /builddir/build/BUILD + cd python-Levenshtein-0.10.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/python -c 'import setuptools; execfile("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 running build running build_ext building 'Levenshtein' 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 Levenshtein.c -o build/temp.linux-riscv64-2.7/Levenshtein.o Levenshtein.c: In function 'levenshtein_common': Levenshtein.c:673:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:674:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'hamming_py': Levenshtein.c:758:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:759:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'jaro_py': Levenshtein.c:802:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:803:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'jaro_winkler_py': Levenshtein.c:852:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:853:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'median_common': Levenshtein.c:954:43: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] result = PyString_FromStringAndSize(medstr, len); ^~~~~~ In file included from /usr/include/python2.7/Python.h:94:0, from Levenshtein.c:99: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'lev_byte * {aka unsigned char *}' PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c: In function 'median_improve_common': /usr/include/python2.7/stringobject.h:91:32: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define PyString_AS_STRING(op) (((PyStringObject *)(op))->ob_sval) ^ Levenshtein.c:1033:19: note: in expansion of macro 'PyString_AS_STRING' lev_byte *s = PyString_AS_STRING(arg1); ^~~~~~~~~~~~~~~~~~ Levenshtein.c:1039:43: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] result = PyString_FromStringAndSize(medstr, len); ^~~~~~ In file included from /usr/include/python2.7/Python.h:94:0, from Levenshtein.c:99: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'lev_byte * {aka unsigned char *}' PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c: In function 'extract_weightlist': Levenshtein.c:1079:29: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] "%s got %i strings but %i weights", ~^ %li Levenshtein.c:1079:44: warning: format '%i' expects argument of type 'int', but argument 5 has type 'Py_ssize_t {aka long int}' [-Wformat=] "%s got %i strings but %i weights", ~^ %li Levenshtein.c:1094:35: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] "%s weight #%i is not a Number", name, i); ~^ %li Levenshtein.c:1103:35: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] "%s weight #%i is negative", name, i); ~^ %li Levenshtein.c: In function 'extract_stringlist': Levenshtein.c:1163:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] strings[0] = PyString_AS_STRING(first); ^ Levenshtein.c:1172:33: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] "%s item #%i is not a String", name, i); ~^ %li Levenshtein.c:1175:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] strings[i] = PyString_AS_STRING(item); ^ Levenshtein.c:1208:33: warning: format '%i' expects argument of type 'int', but argument 4 has type 'size_t {aka long unsigned int}' [-Wformat=] "%s item #%i is not a Unicode", name, i); ~^ %li Levenshtein.c: In function 'editops_py': Levenshtein.c:1592:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:1593:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'opcodes_py': Levenshtein.c:1710:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:1711:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c: In function 'apply_edit_py': Levenshtein.c:1805:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string1 = PyString_AS_STRING(arg1); ^ Levenshtein.c:1806:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] string2 = PyString_AS_STRING(arg2); ^ Levenshtein.c:1820:43: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] result = PyString_FromStringAndSize(s, len); ^ In file included from /usr/include/python2.7/Python.h:94:0, from Levenshtein.c:99: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'lev_byte * {aka unsigned char *}' PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c:1836:43: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] result = PyString_FromStringAndSize(s, len); ^ In file included from /usr/include/python2.7/Python.h:94:0, from Levenshtein.c:99: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'lev_byte * {aka unsigned char *}' PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c: In function 'initLevenshtein': Levenshtein.c:2026:13: warning: variable 'module' set but not used [-Wunused-but-set-variable] PyObject *module; ^~~~~~ At top level: Levenshtein.c:6633:1: warning: 'lev_opcodes_total_cost' defined but not used [-Wunused-function] lev_opcodes_total_cost(size_t nb, ^~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c:6588:1: warning: 'lev_editops_normalize' defined but not used [-Wunused-function] lev_editops_normalize(size_t n, ^~~~~~~~~~~~~~~~~~~~~ Levenshtein.c:6563:1: warning: 'lev_editops_total_cost' defined but not used [-Wunused-function] lev_editops_total_cost(size_t n, ^~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c:2483:1: warning: 'lev_u_edit_distance_sod' defined but not used [-Wunused-function] lev_u_edit_distance_sod(size_t len, const lev_wchar *string, ^~~~~~~~~~~~~~~~~~~~~~~ Levenshtein.c:2304:1: warning: 'lev_edit_distance_sod' defined but not used [-Wunused-function] lev_edit_distance_sod(size_t len, const lev_byte *string, ^~~~~~~~~~~~~~~~~~~~~ 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/Levenshtein.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/Levenshtein.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oBeMf4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 + cd python-Levenshtein-0.10.1 + rm -rf /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 + /usr/bin/python -c 'import setuptools; execfile("setup.py")' install --skip-build --root /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-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 running install running install_lib creating /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 creating /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/Levenshtein.so -> /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/lib64/python2.7/site-packages running install_egg_info running egg_info creating python_Levenshtein.egg-info writing python_Levenshtein.egg-info/PKG-INFO writing top-level names to python_Levenshtein.egg-info/top_level.txt writing dependency_links to python_Levenshtein.egg-info/dependency_links.txt writing manifest file 'python_Levenshtein.egg-info/SOURCES.txt' reading manifest file 'python_Levenshtein.egg-info/SOURCES.txt' writing manifest file 'python_Levenshtein.egg-info/SOURCES.txt' Copying python_Levenshtein.egg-info to /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/lib64/python2.7/site-packages/python_Levenshtein-0.10.1-py2.7.egg-info running install_scripts + PYTHONPATH=:/builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64//usr/lib64/python2.7/site-packages + /usr/bin/python genextdoc.py Levenshtein 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 Levenshtein.html + /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-Levenshtein-0.10.1-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-Levenshtein-0.10.1-23.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RJRjSW + umask 022 + cd /builddir/build/BUILD + cd python-Levenshtein-0.10.1 + DOCDIR=/builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + cp -pr README /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + cp -pr COPYING /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + cp -pr NEWS /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + cp -pr StringMatcher.py /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + cp -pr Levenshtein.html /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64/usr/share/doc/python-Levenshtein + exit 0 Provides: python-Levenshtein = 0.10.1-23.fc28 python-Levenshtein(riscv-64) = 0.10.1-23.fc28 python2.7dist(python-levenshtein) = 0.10.1 python2dist(python-levenshtein) = 0.10.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) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-Levenshtein-0.10.1-23.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-Levenshtein-0.10.1-23.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TtLteX + umask 022 + cd /builddir/build/BUILD + cd python-Levenshtein-0.10.1 + rm -rf /builddir/build/BUILDROOT/python-Levenshtein-0.10.1-23.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