Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pdf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683338609.764460/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 x86_64 --nodeps /builddir/build/SPECS/python-pdf.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pdf-2020.11.12-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pdf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683338609.764460/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 x86_64 --nodeps /builddir/build/SPECS/python-pdf.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-pdf-2020.11.12-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-pdf.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683338609.764460/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 x86_64 --nodeps /builddir/build/SPECS/python-pdf.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KnXroQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pdf-2020.11.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/pdf-2020.11.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pdf-2020.11.12 + /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.L7itwu + umask 022 + cd /builddir/build/BUILD + cd pdf-2020.11.12 + 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 -m64 -mtune=generic -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' Defaulting to user installation because normal site-packages is not writeable Collecting nltk WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/a6/0a/0d20d2c0f16be91b9fa32a77b76c60f9baf6eba419e5ef5deca17af9c582/nltk-3.8.1-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)')': /packages/a6/0a/0d20d2c0f16be91b9fa32a77b76c60f9baf6eba419e5ef5deca17af9c582/nltk-3.8.1-py3-none-any.whl Downloading nltk-3.8.1-py3-none-any.whl (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 17.3 kB/s eta 0:00:00 Collecting click (from nltk) Downloading click-8.1.3-py3-none-any.whl (96 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 16.4 kB/s eta 0:00:00 Collecting joblib (from nltk) Downloading joblib-1.2.0-py3-none-any.whl (297 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 298.0/298.0 kB 20.1 kB/s eta 0:00:00 Collecting regex>=2021.8.3 (from nltk) Downloading regex-2023.5.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (769 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 769.0/769.0 kB 14.7 kB/s eta 0:00:00 Collecting tqdm (from nltk) Downloading tqdm-4.65.0-py3-none-any.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 14.7 kB/s eta 0:00:00 Installing collected packages: tqdm, regex, joblib, click, nltk Successfully installed click-8.1.3 joblib-1.2.0 nltk-3.8.1 regex-2023.5.5 tqdm-4.65.0 running build running build_py creating build creating build/lib creating build/lib/pdf copying pdf/Pdf.py -> build/lib/pdf copying pdf/convert_pdf_to_xml.py -> build/lib/pdf copying pdf/__init__.py -> build/lib/pdf copying pdf/convert_pdf_to_html.py -> build/lib/pdf copying pdf/extract_text.py -> build/lib/pdf creating build/lib/pdf/string copying pdf/string/is_short_text.py -> build/lib/pdf/string copying pdf/string/strip_non_alphanumeric_from_beginning.py -> build/lib/pdf/string copying pdf/string/ends_with_punctuation.py -> build/lib/pdf/string copying pdf/string/__init__.py -> build/lib/pdf/string copying pdf/string/get_numeric_ratio.py -> build/lib/pdf/string copying pdf/string/get_alphabetic_ratio.py -> build/lib/pdf/string copying pdf/string/get_words.py -> build/lib/pdf/string copying pdf/string/get_alphabetic.py -> build/lib/pdf/string copying pdf/string/is_capitalized.py -> build/lib/pdf/string creating build/lib/pdf/exceptions copying pdf/exceptions/__init__.py -> build/lib/pdf/exceptions creating build/lib/pdf/tag copying pdf/tag/is_break.py -> build/lib/pdf/tag copying pdf/tag/is_tag_title.py -> build/lib/pdf/tag copying pdf/tag/get_font_size.py -> build/lib/pdf/tag copying pdf/tag/get_text.py -> build/lib/pdf/tag copying pdf/tag/get_children.py -> build/lib/pdf/tag copying pdf/tag/get_border.py -> build/lib/pdf/tag copying pdf/tag/__init__.py -> build/lib/pdf/tag copying pdf/tag/get_raw_text.py -> build/lib/pdf/tag copying pdf/tag/previous_tag_might_be_title.py -> build/lib/pdf/tag + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3tYbAk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pdf-2020.11.12-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pdf-2020.11.12-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pdf-2020.11.12-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pdf-2020.11.12-1.x86_64 + cd pdf-2020.11.12 + 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 -m64 -mtune=generic -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-pdf-2020.11.12-1.x86_64 [nltk_data] Downloading package punkt to /builddir/nltk_data... [nltk_data] Unzipping tokenizers/punkt.zip. [nltk_data] Error with downloaded zip file [nltk_data] Downloading package words to /builddir/nltk_data...