Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686472013.634129/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cnocr-2.2.2.3-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686472013.634129/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-cnocr-2.2.2.3-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-aarch64-1686472013.634129/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AjYh4A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cnocr-2.2.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/cnocr-2.2.2.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cnocr-2.2.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.axo8yi + umask 022 + cd /builddir/build/BUILD + cd cnocr-2.2.2.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/cnocr copying cnocr/cli.py -> build/lib/cnocr copying cnocr/trainer.py -> build/lib/cnocr copying cnocr/serve.py -> build/lib/cnocr copying cnocr/utils.py -> build/lib/cnocr copying cnocr/cn_ocr.py -> build/lib/cnocr copying cnocr/line_split.py -> build/lib/cnocr copying cnocr/__version__.py -> build/lib/cnocr copying cnocr/dataset.py -> build/lib/cnocr copying cnocr/app.py -> build/lib/cnocr copying cnocr/recognizer.py -> build/lib/cnocr copying cnocr/consts.py -> build/lib/cnocr copying cnocr/clf_cli.py -> build/lib/cnocr copying cnocr/lr_scheduler.py -> build/lib/cnocr copying cnocr/__init__.py -> build/lib/cnocr creating build/lib/cnocr/classification copying cnocr/classification/image_classifier.py -> build/lib/cnocr/classification copying cnocr/classification/dataset.py -> build/lib/cnocr/classification copying cnocr/classification/__init__.py -> build/lib/cnocr/classification creating build/lib/cnocr/models copying cnocr/models/densenet.py -> build/lib/cnocr/models copying cnocr/models/mobilenet.py -> build/lib/cnocr/models copying cnocr/models/ocr_model.py -> build/lib/cnocr/models copying cnocr/models/ctc.py -> build/lib/cnocr/models copying cnocr/models/__init__.py -> build/lib/cnocr/models creating build/lib/cnocr/ppocr copying cnocr/ppocr/utility.py -> build/lib/cnocr/ppocr copying cnocr/ppocr/pp_recognizer.py -> build/lib/cnocr/ppocr copying cnocr/ppocr/consts.py -> build/lib/cnocr/ppocr copying cnocr/ppocr/__init__.py -> build/lib/cnocr/ppocr creating build/lib/cnocr/data_utils copying cnocr/data_utils/utils.py -> build/lib/cnocr/data_utils copying cnocr/data_utils/aug.py -> build/lib/cnocr/data_utils copying cnocr/data_utils/block_shuffle.py -> build/lib/cnocr/data_utils copying cnocr/data_utils/__init__.py -> build/lib/cnocr/data_utils creating build/lib/cnocr/ppocr/postprocess copying cnocr/ppocr/postprocess/rec_postprocess.py -> build/lib/cnocr/ppocr/postprocess copying cnocr/ppocr/postprocess/__init__.py -> build/lib/cnocr/ppocr/postprocess creating build/lib/cnocr/ppocr/utils copying cnocr/ppocr/utils/__init__.py -> build/lib/cnocr/ppocr/utils running egg_info writing cnocr.egg-info/PKG-INFO writing dependency_links to cnocr.egg-info/dependency_links.txt writing entry points to cnocr.egg-info/entry_points.txt writing requirements to cnocr.egg-info/requires.txt writing top-level names to cnocr.egg-info/top_level.txt reading manifest file 'cnocr.egg-info/SOURCES.txt' writing manifest file 'cnocr.egg-info/SOURCES.txt' copying cnocr/label_cn.txt -> build/lib/cnocr copying cnocr/ppocr/utils/chinese_cht_dict.txt -> build/lib/cnocr/ppocr/utils copying cnocr/ppocr/utils/en_dict.txt -> build/lib/cnocr/ppocr/utils copying cnocr/ppocr/utils/ppocr_keys_v1.txt -> build/lib/cnocr/ppocr/utils + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xELyab + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 + cd cnocr-2.2.2.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/cli.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/trainer.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/serve.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/utils.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/cn_ocr.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/line_split.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/label_cn.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification copying build/lib/cnocr/classification/image_classifier.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification copying build/lib/cnocr/classification/dataset.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification copying build/lib/cnocr/classification/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification copying build/lib/cnocr/__version__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/dataset.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/models/densenet.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/models/mobilenet.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/models/ocr_model.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/models/ctc.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/models/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models copying build/lib/cnocr/app.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/recognizer.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/consts.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/clf_cli.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr copying build/lib/cnocr/lr_scheduler.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/postprocess copying build/lib/cnocr/ppocr/postprocess/rec_postprocess.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/postprocess copying build/lib/cnocr/ppocr/postprocess/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/postprocess creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils copying build/lib/cnocr/ppocr/utils/en_dict.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils copying build/lib/cnocr/ppocr/utils/chinese_cht_dict.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils copying build/lib/cnocr/ppocr/utils/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils copying build/lib/cnocr/ppocr/utils/ppocr_keys_v1.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils copying build/lib/cnocr/ppocr/utility.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr copying build/lib/cnocr/ppocr/pp_recognizer.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr copying build/lib/cnocr/ppocr/consts.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr copying build/lib/cnocr/ppocr/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr copying build/lib/cnocr/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr creating /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils copying build/lib/cnocr/data_utils/utils.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils copying build/lib/cnocr/data_utils/aug.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils copying build/lib/cnocr/data_utils/block_shuffle.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils copying build/lib/cnocr/data_utils/__init__.py -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/cli.py to cli.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/trainer.py to trainer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/serve.py to serve.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/utils.py to utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/cn_ocr.py to cn_ocr.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/line_split.py to line_split.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification/image_classifier.py to image_classifier.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification/dataset.py to dataset.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/classification/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/__version__.py to __version__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/dataset.py to dataset.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models/densenet.py to densenet.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models/mobilenet.py to mobilenet.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models/ocr_model.py to ocr_model.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models/ctc.py to ctc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/models/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/app.py to app.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/recognizer.py to recognizer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/consts.py to consts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/clf_cli.py to clf_cli.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/lr_scheduler.py to lr_scheduler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/postprocess/rec_postprocess.py to rec_postprocess.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/postprocess/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utils/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/utility.py to utility.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/pp_recognizer.py to pp_recognizer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/consts.py to consts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/ppocr/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils/utils.py to utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils/aug.py to aug.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils/block_shuffle.py to block_shuffle.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr/data_utils/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpnofuj_gx.py' /usr/bin/python3 /tmp/tmpnofuj_gx.py removing /tmp/tmpnofuj_gx.py running install_data copying cnocr/label_cn.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/ copying cnocr/ppocr/utils/ppocr_keys_v1.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/ copying cnocr/ppocr/utils/en_dict.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/ copying cnocr/ppocr/utils/chinese_cht_dict.txt -> /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/ running install_egg_info running egg_info writing cnocr.egg-info/PKG-INFO writing dependency_links to cnocr.egg-info/dependency_links.txt writing entry points to cnocr.egg-info/entry_points.txt writing requirements to cnocr.egg-info/requires.txt writing top-level names to cnocr.egg-info/top_level.txt reading manifest file 'cnocr.egg-info/SOURCES.txt' writing manifest file 'cnocr.egg-info/SOURCES.txt' Copying cnocr.egg-info to /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9/site-packages/cnocr-2.2.2.3-py3.9.egg-info running install_scripts Installing cnocr script to /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/bin Installing cnocr-clf script to /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/bin + install -d -m755 /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64//usr/share/doc/python-cnocr + '[' -d doc ']' ~/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 ~/build/BUILD/cnocr-2.2.2.3 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '"/%h/%f"\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + find usr/bin -type f -printf '"/%h/%f"\n' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/cnocr-2.2.2.3 + mv /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/filelist.lst . + mv /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.2.2.3-1 --unique-debug-suffix -2.2.2.3-1.aarch64 --unique-debug-src-base python-cnocr-2.2.2.3-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/cnocr-2.2.2.3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink Processing files: python3-cnocr-2.2.2.3-1.noarch Provides: python-cnocr python3-cnocr = 2.2.2.3-1 python3.9dist(cnocr) = 2.2.2.3 python3dist(cnocr) = 2.2.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: /usr/bin/python3 python(abi) = 3.9 python3.9dist(click) python3.9dist(cnstd) >= 1.2 python3.9dist(numpy) python3.9dist(onnx) python3.9dist(onnxruntime) python3.9dist(pillow) >= 5.3 python3.9dist(pytorch-lightning) >= 1.6 python3.9dist(setuptools) python3.9dist(torch) >= 1.8 python3.9dist(torchmetrics) python3.9dist(torchvision) >= 0.9 python3.9dist(tqdm) Processing files: python-cnocr-help-2.2.2.3-1.noarch warning: Empty %files file /builddir/build/BUILD/cnocr-2.2.2.3/doclist.lst Provides: python-cnocr-help = 2.2.2.3-1 python3-cnocr-doc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cnocr-2.2.2.3-1.aarch64 error: Installed (but unpackaged) file(s) found: /usr/chinese_cht_dict.txt /usr/en_dict.txt /usr/label_cn.txt /usr/ppocr_keys_v1.txt Empty %files file /builddir/build/BUILD/cnocr-2.2.2.3/doclist.lst Installed (but unpackaged) file(s) found: /usr/chinese_cht_dict.txt /usr/en_dict.txt /usr/label_cn.txt /usr/ppocr_keys_v1.txt RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-cnocr.spec