+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-markupsafe.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.a4NCfr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MarkupSafe-0.23 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/MarkupSafe-0.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MarkupSafe-0.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28 + cp -a . /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28 + 2to3 --write --nobackups /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28 RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/setup.py RefactoringTool: Refactored /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/__init__.py RefactoringTool: Refactored /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_compat.py RefactoringTool: No changes to /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_constants.py RefactoringTool: No changes to /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_native.py RefactoringTool: Refactored /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/tests.py RefactoringTool: Files that were modified: RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/setup.py RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/__init__.py RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_compat.py RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_constants.py RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_native.py RefactoringTool: /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/tests.py --- /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/__init__.py (original) +++ /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/__init__.py (refactored) @@ -12,7 +12,7 @@ import string from collections import Mapping from markupsafe._compat import text_type, string_types, int_types, \ - unichr, iteritems, PY2 + chr, iteritems, PY2 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent'] @@ -67,7 +67,7 @@ """ __slots__ = () - def __new__(cls, base=u'', encoding=None, errors='strict'): + def __new__(cls, base='', encoding=None, errors='strict'): if hasattr(base, '__html__'): base = base.__html__() if encoding is None: @@ -107,7 +107,7 @@ ) def join(self, seq): - return self.__class__(text_type.join(self, map(self.escape, seq))) + return self.__class__(text_type.join(self, list(map(self.escape, seq)))) join.__doc__ = text_type.join.__doc__ def split(self, *args, **kwargs): @@ -134,15 +134,15 @@ def handle_match(m): name = m.group(1) if name in HTML_ENTITIES: - return unichr(HTML_ENTITIES[name]) + return chr(HTML_ENTITIES[name]) try: if name[:2] in ('#x', '#X'): - return unichr(int(name[2:], 16)) + return chr(int(name[2:], 16)) elif name.startswith('#'): - return unichr(int(name[1:])) + return chr(int(name[1:])) except ValueError: pass - return u'' + return '' return _entity_re.sub(handle_match, text_type(self)) def striptags(self): @@ -153,7 +153,7 @@ >>> Markup("Main » About").striptags() u'Main \xbb About' """ - stripped = u' '.join(_striptags_re.sub('', self).split()) + stripped = ' '.join(_striptags_re.sub('', self).split()) return Markup(stripped).unescape() @classmethod --- /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_compat.py (original) +++ /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/_compat.py (refactored) @@ -15,12 +15,12 @@ if not PY2: text_type = str string_types = (str,) - unichr = chr + chr = chr int_types = (int,) + iteritems = lambda x: iter(list(x.items())) +else: + text_type = str + string_types = (str, str) + chr = chr + int_types = (int, int) iteritems = lambda x: iter(x.items()) -else: - text_type = unicode - string_types = (str, unicode) - unichr = unichr - int_types = (int, long) - iteritems = lambda x: x.iteritems() --- /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/tests.py (original) +++ /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28/markupsafe/tests.py (refactored) @@ -49,16 +49,16 @@ self.assertEqual(Markup('%s:%s') % ( '', '', - ), Markup(u'<foo>:<bar>')) + ), Markup('<foo>:<bar>')) def test_dict_interpol(self): self.assertEqual(Markup('%(foo)s') % { 'foo': '', - }, Markup(u'<foo>')) + }, Markup('<foo>')) self.assertEqual(Markup('%(foo)s:%(bar)s') % { 'foo': '', 'bar': '', - }, Markup(u'<foo>:<bar>')) + }, Markup('<foo>:<bar>')) def test_escaping(self): # escaping and unescaping @@ -128,7 +128,7 @@ def test_escape_silent(self): assert escape_silent(None) == Markup() assert escape(None) == Markup(None) - assert escape_silent('') == Markup(u'<foo>') + assert escape_silent('') == Markup('<foo>') def test_splitting(self): self.assertEqual(Markup('a b').split(), [ @@ -156,8 +156,8 @@ for item in range(1000): escape("foo") escape("") - escape(u"foo") - escape(u"") + escape("foo") + escape("") counts.add(len(gc.get_objects())) assert len(counts) == 1, 'ouch, c extension seems to leak objects' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.am6Azc + umask 022 + cd /builddir/build/BUILD + cd MarkupSafe-0.23 + 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 running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/markupsafe copying markupsafe/tests.py -> build/lib.linux-riscv64-2.7/markupsafe copying markupsafe/_compat.py -> build/lib.linux-riscv64-2.7/markupsafe copying markupsafe/_constants.py -> build/lib.linux-riscv64-2.7/markupsafe copying markupsafe/__init__.py -> build/lib.linux-riscv64-2.7/markupsafe copying markupsafe/_native.py -> build/lib.linux-riscv64-2.7/markupsafe running egg_info writing MarkupSafe.egg-info/PKG-INFO writing top-level names to MarkupSafe.egg-info/top_level.txt writing dependency_links to MarkupSafe.egg-info/dependency_links.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' copying markupsafe/_speedups.c -> build/lib.linux-riscv64-2.7/markupsafe running build_ext building 'markupsafe._speedups' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/markupsafe 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 markupsafe/_speedups.c -o build/temp.linux-riscv64-2.7/markupsafe/_speedups.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/markupsafe/_speedups.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/markupsafe/_speedups.so + pushd /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28 ~/build/BUILD/python3-python-markupsafe-0.23-10.fc28 ~/build/BUILD/MarkupSafe-0.23 + 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 creating build/lib.linux-riscv64-3.6/markupsafe copying markupsafe/tests.py -> build/lib.linux-riscv64-3.6/markupsafe copying markupsafe/_compat.py -> build/lib.linux-riscv64-3.6/markupsafe copying markupsafe/_constants.py -> build/lib.linux-riscv64-3.6/markupsafe copying markupsafe/__init__.py -> build/lib.linux-riscv64-3.6/markupsafe copying markupsafe/_native.py -> build/lib.linux-riscv64-3.6/markupsafe running egg_info writing MarkupSafe.egg-info/PKG-INFO writing dependency_links to MarkupSafe.egg-info/dependency_links.txt writing top-level names to MarkupSafe.egg-info/top_level.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' copying markupsafe/_speedups.c -> build/lib.linux-riscv64-3.6/markupsafe running build_ext building 'markupsafe._speedups' extension creating build/temp.linux-riscv64-3.6 creating build/temp.linux-riscv64-3.6/markupsafe 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 markupsafe/_speedups.c -o build/temp.linux-riscv64-3.6/markupsafe/_speedups.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/markupsafe/_speedups.o -L/usr/lib64 -lpython3.6m -o build/lib.linux-riscv64-3.6/markupsafe/_speedups.cpython-36m-riscv64-linux-gnu.so + popd ~/build/BUILD/MarkupSafe-0.23 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mrXqSc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 + cd MarkupSafe-0.23 + rm -rf /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-markupsafe-0.23-10.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-markupsafe-0.23-10.fc28.riscv64 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/tests.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/_compat.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/_speedups.c -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/_constants.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/_speedups.so -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/__init__.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe copying build/lib.linux-riscv64-2.7/markupsafe/_native.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe/tests.py to tests.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe/_compat.py to _compat.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe/_constants.py to _constants.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/markupsafe/_native.py to _native.pyc writing byte-compilation script '/tmp/tmp_DPb1_.py' /usr/bin/python -O /tmp/tmp_DPb1_.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/tmp_DPb1_.py running install_egg_info running egg_info writing MarkupSafe.egg-info/PKG-INFO writing top-level names to MarkupSafe.egg-info/top_level.txt writing dependency_links to MarkupSafe.egg-info/dependency_links.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' Copying MarkupSafe.egg-info to /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python2.7/site-packages/MarkupSafe-0.23-py2.7.egg-info running install_scripts + rm /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64//usr/lib64/python2.7/site-packages/markupsafe/_speedups.c + pushd /builddir/build/BUILD/python3-python-markupsafe-0.23-10.fc28 ~/build/BUILD/python3-python-markupsafe-0.23-10.fc28 ~/build/BUILD/MarkupSafe-0.23 + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/tests.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/_compat.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/_speedups.c -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/_constants.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/__init__.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/_native.py -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe copying build/lib.linux-riscv64-3.6/markupsafe/_speedups.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe/tests.py to tests.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe/_compat.py to _compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe/_constants.py to _constants.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/markupsafe/_native.py to _native.cpython-36.pyc writing byte-compilation script '/tmp/tmpq738wvkv.py' /usr/bin/python3 /tmp/tmpq738wvkv.py removing /tmp/tmpq738wvkv.py running install_egg_info running egg_info writing MarkupSafe.egg-info/PKG-INFO writing dependency_links to MarkupSafe.egg-info/dependency_links.txt writing top-level names to MarkupSafe.egg-info/top_level.txt reading manifest file 'MarkupSafe.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'MarkupSafe.egg-info/SOURCES.txt' Copying MarkupSafe.egg-info to /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6/site-packages/MarkupSafe-0.23-py3.6.egg-info running install_scripts + rm /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64//usr/lib64/python3.6/site-packages/markupsafe/_speedups.c + popd ~/build/BUILD/MarkupSafe-0.23 + /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-markupsafe-0.23-10.fc28.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-markupsafe-0.23-10.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-markupsafe-0.23-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rCGbZq + umask 022 + cd /builddir/build/BUILD + cd MarkupSafe-0.23 + DOCDIR=/builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python-markupsafe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python-markupsafe + cp -pr AUTHORS /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python-markupsafe + cp -pr LICENSE /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python-markupsafe + cp -pr README.rst /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python-markupsafe + exit 0 Provides: python-markupsafe = 0.23-10.fc28 python-markupsafe(riscv-64) = 0.23-10.fc28 python2.7dist(markupsafe) = 0.23 python2dist(markupsafe) = 0.23 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: 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) Processing files: python3-markupsafe-0.23-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vstixw + umask 022 + cd /builddir/build/BUILD + cd MarkupSafe-0.23 + DOCDIR=/builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python3-markupsafe + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python3-markupsafe + cp -pr AUTHORS /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python3-markupsafe + cp -pr LICENSE /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python3-markupsafe + cp -pr README.rst /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64/usr/share/doc/python3-markupsafe + exit 0 Provides: python3-markupsafe = 0.23-10.fc28 python3-markupsafe(riscv-64) = 0.23-10.fc28 python3.6dist(markupsafe) = 0.23 python3dist(markupsafe) = 0.23 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: 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/python-markupsafe-0.23-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-markupsafe-0.23-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-markupsafe-0.23-10.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/python3-markupsafe-0.23-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7kZQZo + umask 022 + cd /builddir/build/BUILD + cd MarkupSafe-0.23 + rm -rf /builddir/build/BUILDROOT/python-markupsafe-0.23-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff