Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1679202354.004660/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ad57729c249c46fabd808ca3bfad1186', '-D', '/var/lib/mock/fedora-38-x86_64-1679202354.004660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679184000 Wrote: /builddir/build/SRPMS/ocrmypdf-14.0.4-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1679202354.004660/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0439597fbf7b4682bfac0d1a26b05681', '-D', '/var/lib/mock/fedora-38-x86_64-1679202354.004660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679184000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AhQoCw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocrmypdf-14.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocrmypdf-14.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocrmypdf-14.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Remove-unnecessary-dependencies.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf src/ocrmypdf.egg-info + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__init__.py + touch -r src/ocrmypdf/__init__.py src/ocrmypdf/__init__.py.new + mv src/ocrmypdf/__init__.py.new src/ocrmypdf/__init__.py + chmod -x src/ocrmypdf/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__main__.py + touch -r src/ocrmypdf/__main__.py src/ocrmypdf/__main__.py.new + mv src/ocrmypdf/__main__.py.new src/ocrmypdf/__main__.py + chmod -x src/ocrmypdf/__main__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_concurrent.py + touch -r src/ocrmypdf/_concurrent.py src/ocrmypdf/_concurrent.py.new + mv src/ocrmypdf/_concurrent.py.new src/ocrmypdf/_concurrent.py + chmod -x src/ocrmypdf/_concurrent.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_graft.py + touch -r src/ocrmypdf/_graft.py src/ocrmypdf/_graft.py.new + mv src/ocrmypdf/_graft.py.new src/ocrmypdf/_graft.py + chmod -x src/ocrmypdf/_graft.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_jobcontext.py + touch -r src/ocrmypdf/_jobcontext.py src/ocrmypdf/_jobcontext.py.new + mv src/ocrmypdf/_jobcontext.py.new src/ocrmypdf/_jobcontext.py + chmod -x src/ocrmypdf/_jobcontext.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_logging.py + touch -r src/ocrmypdf/_logging.py src/ocrmypdf/_logging.py.new + mv src/ocrmypdf/_logging.py.new src/ocrmypdf/_logging.py + chmod -x src/ocrmypdf/_logging.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_pipeline.py + touch -r src/ocrmypdf/_pipeline.py src/ocrmypdf/_pipeline.py.new + mv src/ocrmypdf/_pipeline.py.new src/ocrmypdf/_pipeline.py + chmod -x src/ocrmypdf/_pipeline.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_plugin_manager.py + touch -r src/ocrmypdf/_plugin_manager.py src/ocrmypdf/_plugin_manager.py.new + mv src/ocrmypdf/_plugin_manager.py.new src/ocrmypdf/_plugin_manager.py + chmod -x src/ocrmypdf/_plugin_manager.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_sync.py + touch -r src/ocrmypdf/_sync.py src/ocrmypdf/_sync.py.new + mv src/ocrmypdf/_sync.py.new src/ocrmypdf/_sync.py + chmod -x src/ocrmypdf/_sync.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_validation.py + touch -r src/ocrmypdf/_validation.py src/ocrmypdf/_validation.py.new + mv src/ocrmypdf/_validation.py.new src/ocrmypdf/_validation.py + chmod -x src/ocrmypdf/_validation.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_version.py + touch -r src/ocrmypdf/_version.py src/ocrmypdf/_version.py.new + mv src/ocrmypdf/_version.py.new src/ocrmypdf/_version.py + chmod -x src/ocrmypdf/_version.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/api.py + touch -r src/ocrmypdf/api.py src/ocrmypdf/api.py.new + mv src/ocrmypdf/api.py.new src/ocrmypdf/api.py + chmod -x src/ocrmypdf/api.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/cli.py + touch -r src/ocrmypdf/cli.py src/ocrmypdf/cli.py.new + mv src/ocrmypdf/cli.py.new src/ocrmypdf/cli.py + chmod -x src/ocrmypdf/cli.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/exceptions.py + touch -r src/ocrmypdf/exceptions.py src/ocrmypdf/exceptions.py.new + mv src/ocrmypdf/exceptions.py.new src/ocrmypdf/exceptions.py + chmod -x src/ocrmypdf/exceptions.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/helpers.py + touch -r src/ocrmypdf/helpers.py src/ocrmypdf/helpers.py.new + mv src/ocrmypdf/helpers.py.new src/ocrmypdf/helpers.py + chmod -x src/ocrmypdf/helpers.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/hocrtransform.py + touch -r src/ocrmypdf/hocrtransform.py src/ocrmypdf/hocrtransform.py.new + mv src/ocrmypdf/hocrtransform.py.new src/ocrmypdf/hocrtransform.py + chmod -x src/ocrmypdf/hocrtransform.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/optimize.py + touch -r src/ocrmypdf/optimize.py src/ocrmypdf/optimize.py.new + mv src/ocrmypdf/optimize.py.new src/ocrmypdf/optimize.py + chmod -x src/ocrmypdf/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfa.py + touch -r src/ocrmypdf/pdfa.py src/ocrmypdf/pdfa.py.new + mv src/ocrmypdf/pdfa.py.new src/ocrmypdf/pdfa.py + chmod -x src/ocrmypdf/pdfa.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pluginspec.py + touch -r src/ocrmypdf/pluginspec.py src/ocrmypdf/pluginspec.py.new + mv src/ocrmypdf/pluginspec.py.new src/ocrmypdf/pluginspec.py + chmod -x src/ocrmypdf/pluginspec.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/quality.py + touch -r src/ocrmypdf/quality.py src/ocrmypdf/quality.py.new + mv src/ocrmypdf/quality.py.new src/ocrmypdf/quality.py + chmod -x src/ocrmypdf/quality.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/__init__.py + touch -r src/ocrmypdf/_exec/__init__.py src/ocrmypdf/_exec/__init__.py.new + mv src/ocrmypdf/_exec/__init__.py.new src/ocrmypdf/_exec/__init__.py + chmod -x src/ocrmypdf/_exec/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/ghostscript.py + touch -r src/ocrmypdf/_exec/ghostscript.py src/ocrmypdf/_exec/ghostscript.py.new + mv src/ocrmypdf/_exec/ghostscript.py.new src/ocrmypdf/_exec/ghostscript.py + chmod -x src/ocrmypdf/_exec/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/jbig2enc.py + touch -r src/ocrmypdf/_exec/jbig2enc.py src/ocrmypdf/_exec/jbig2enc.py.new + mv src/ocrmypdf/_exec/jbig2enc.py.new src/ocrmypdf/_exec/jbig2enc.py + chmod -x src/ocrmypdf/_exec/jbig2enc.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/pngquant.py + touch -r src/ocrmypdf/_exec/pngquant.py src/ocrmypdf/_exec/pngquant.py.new + mv src/ocrmypdf/_exec/pngquant.py.new src/ocrmypdf/_exec/pngquant.py + chmod -x src/ocrmypdf/_exec/pngquant.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/tesseract.py + touch -r src/ocrmypdf/_exec/tesseract.py src/ocrmypdf/_exec/tesseract.py.new + mv src/ocrmypdf/_exec/tesseract.py.new src/ocrmypdf/_exec/tesseract.py + chmod -x src/ocrmypdf/_exec/tesseract.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/unpaper.py + touch -r src/ocrmypdf/_exec/unpaper.py src/ocrmypdf/_exec/unpaper.py.new + mv src/ocrmypdf/_exec/unpaper.py.new src/ocrmypdf/_exec/unpaper.py + chmod -x src/ocrmypdf/_exec/unpaper.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/__init__.py + touch -r src/ocrmypdf/builtin_plugins/__init__.py src/ocrmypdf/builtin_plugins/__init__.py.new + mv src/ocrmypdf/builtin_plugins/__init__.py.new src/ocrmypdf/builtin_plugins/__init__.py + chmod -x src/ocrmypdf/builtin_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/concurrency.py + touch -r src/ocrmypdf/builtin_plugins/concurrency.py src/ocrmypdf/builtin_plugins/concurrency.py.new + mv src/ocrmypdf/builtin_plugins/concurrency.py.new src/ocrmypdf/builtin_plugins/concurrency.py + chmod -x src/ocrmypdf/builtin_plugins/concurrency.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/default_filters.py + touch -r src/ocrmypdf/builtin_plugins/default_filters.py src/ocrmypdf/builtin_plugins/default_filters.py.new + mv src/ocrmypdf/builtin_plugins/default_filters.py.new src/ocrmypdf/builtin_plugins/default_filters.py + chmod -x src/ocrmypdf/builtin_plugins/default_filters.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/ghostscript.py + touch -r src/ocrmypdf/builtin_plugins/ghostscript.py src/ocrmypdf/builtin_plugins/ghostscript.py.new + mv src/ocrmypdf/builtin_plugins/ghostscript.py.new src/ocrmypdf/builtin_plugins/ghostscript.py + chmod -x src/ocrmypdf/builtin_plugins/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/optimize.py + touch -r src/ocrmypdf/builtin_plugins/optimize.py src/ocrmypdf/builtin_plugins/optimize.py.new + mv src/ocrmypdf/builtin_plugins/optimize.py.new src/ocrmypdf/builtin_plugins/optimize.py + chmod -x src/ocrmypdf/builtin_plugins/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/tesseract_ocr.py + touch -r src/ocrmypdf/builtin_plugins/tesseract_ocr.py src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new + mv src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new src/ocrmypdf/builtin_plugins/tesseract_ocr.py + chmod -x src/ocrmypdf/builtin_plugins/tesseract_ocr.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/data/__init__.py + touch -r src/ocrmypdf/data/__init__.py src/ocrmypdf/data/__init__.py.new + mv src/ocrmypdf/data/__init__.py.new src/ocrmypdf/data/__init__.py + chmod -x src/ocrmypdf/data/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/__init__.py + touch -r src/ocrmypdf/extra_plugins/__init__.py src/ocrmypdf/extra_plugins/__init__.py.new + mv src/ocrmypdf/extra_plugins/__init__.py.new src/ocrmypdf/extra_plugins/__init__.py + chmod -x src/ocrmypdf/extra_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/semfree.py + touch -r src/ocrmypdf/extra_plugins/semfree.py src/ocrmypdf/extra_plugins/semfree.py.new + mv src/ocrmypdf/extra_plugins/semfree.py.new src/ocrmypdf/extra_plugins/semfree.py + chmod -x src/ocrmypdf/extra_plugins/semfree.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/__init__.py + touch -r src/ocrmypdf/pdfinfo/__init__.py src/ocrmypdf/pdfinfo/__init__.py.new + mv src/ocrmypdf/pdfinfo/__init__.py.new src/ocrmypdf/pdfinfo/__init__.py + chmod -x src/ocrmypdf/pdfinfo/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/info.py + touch -r src/ocrmypdf/pdfinfo/info.py src/ocrmypdf/pdfinfo/info.py.new + mv src/ocrmypdf/pdfinfo/info.py.new src/ocrmypdf/pdfinfo/info.py + chmod -x src/ocrmypdf/pdfinfo/info.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/layout.py + touch -r src/ocrmypdf/pdfinfo/layout.py src/ocrmypdf/pdfinfo/layout.py.new + mv src/ocrmypdf/pdfinfo/layout.py.new src/ocrmypdf/pdfinfo/layout.py + chmod -x src/ocrmypdf/pdfinfo/layout.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/__init__.py + touch -r src/ocrmypdf/subprocess/__init__.py src/ocrmypdf/subprocess/__init__.py.new + mv src/ocrmypdf/subprocess/__init__.py.new src/ocrmypdf/subprocess/__init__.py + chmod -x src/ocrmypdf/subprocess/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/_windows.py + touch -r src/ocrmypdf/subprocess/_windows.py src/ocrmypdf/subprocess/_windows.py.new + mv src/ocrmypdf/subprocess/_windows.py.new src/ocrmypdf/subprocess/_windows.py + chmod -x src/ocrmypdf/subprocess/_windows.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.l1SQAw + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyproject-wheeldir -r -x docs -x test Handling setuptools >= 61 from build-system.requires Requirement not satisfied: setuptools >= 61 Handling setuptools_scm[toml] >= 7.0.5 from build-system.requires Requirement not satisfied: setuptools_scm[toml] >= 7.0.5 Handling wheel from build-system.requires Requirement not satisfied: wheel Exiting dependency generation pass: build backend + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/ocrmypdf-14.0.4-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1679202354.004660/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55eb03bf2f5f4c828b0d1812b7f8d812', '-D', '/var/lib/mock/fedora-38-x86_64-1679202354.004660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679184000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZK5Jru + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocrmypdf-14.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocrmypdf-14.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocrmypdf-14.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Remove-unnecessary-dependencies.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf src/ocrmypdf.egg-info + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__init__.py + touch -r src/ocrmypdf/__init__.py src/ocrmypdf/__init__.py.new + mv src/ocrmypdf/__init__.py.new src/ocrmypdf/__init__.py + chmod -x src/ocrmypdf/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__main__.py + touch -r src/ocrmypdf/__main__.py src/ocrmypdf/__main__.py.new + mv src/ocrmypdf/__main__.py.new src/ocrmypdf/__main__.py + chmod -x src/ocrmypdf/__main__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_concurrent.py + touch -r src/ocrmypdf/_concurrent.py src/ocrmypdf/_concurrent.py.new + mv src/ocrmypdf/_concurrent.py.new src/ocrmypdf/_concurrent.py + chmod -x src/ocrmypdf/_concurrent.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_graft.py + touch -r src/ocrmypdf/_graft.py src/ocrmypdf/_graft.py.new + mv src/ocrmypdf/_graft.py.new src/ocrmypdf/_graft.py + chmod -x src/ocrmypdf/_graft.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_jobcontext.py + touch -r src/ocrmypdf/_jobcontext.py src/ocrmypdf/_jobcontext.py.new + mv src/ocrmypdf/_jobcontext.py.new src/ocrmypdf/_jobcontext.py + chmod -x src/ocrmypdf/_jobcontext.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_logging.py + touch -r src/ocrmypdf/_logging.py src/ocrmypdf/_logging.py.new + mv src/ocrmypdf/_logging.py.new src/ocrmypdf/_logging.py + chmod -x src/ocrmypdf/_logging.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_pipeline.py + touch -r src/ocrmypdf/_pipeline.py src/ocrmypdf/_pipeline.py.new + mv src/ocrmypdf/_pipeline.py.new src/ocrmypdf/_pipeline.py + chmod -x src/ocrmypdf/_pipeline.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_plugin_manager.py + touch -r src/ocrmypdf/_plugin_manager.py src/ocrmypdf/_plugin_manager.py.new + mv src/ocrmypdf/_plugin_manager.py.new src/ocrmypdf/_plugin_manager.py + chmod -x src/ocrmypdf/_plugin_manager.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_sync.py + touch -r src/ocrmypdf/_sync.py src/ocrmypdf/_sync.py.new + mv src/ocrmypdf/_sync.py.new src/ocrmypdf/_sync.py + chmod -x src/ocrmypdf/_sync.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_validation.py + touch -r src/ocrmypdf/_validation.py src/ocrmypdf/_validation.py.new + mv src/ocrmypdf/_validation.py.new src/ocrmypdf/_validation.py + chmod -x src/ocrmypdf/_validation.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_version.py + touch -r src/ocrmypdf/_version.py src/ocrmypdf/_version.py.new + mv src/ocrmypdf/_version.py.new src/ocrmypdf/_version.py + chmod -x src/ocrmypdf/_version.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/api.py + touch -r src/ocrmypdf/api.py src/ocrmypdf/api.py.new + mv src/ocrmypdf/api.py.new src/ocrmypdf/api.py + chmod -x src/ocrmypdf/api.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/cli.py + touch -r src/ocrmypdf/cli.py src/ocrmypdf/cli.py.new + mv src/ocrmypdf/cli.py.new src/ocrmypdf/cli.py + chmod -x src/ocrmypdf/cli.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/exceptions.py + touch -r src/ocrmypdf/exceptions.py src/ocrmypdf/exceptions.py.new + mv src/ocrmypdf/exceptions.py.new src/ocrmypdf/exceptions.py + chmod -x src/ocrmypdf/exceptions.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/helpers.py + touch -r src/ocrmypdf/helpers.py src/ocrmypdf/helpers.py.new + mv src/ocrmypdf/helpers.py.new src/ocrmypdf/helpers.py + chmod -x src/ocrmypdf/helpers.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/hocrtransform.py + touch -r src/ocrmypdf/hocrtransform.py src/ocrmypdf/hocrtransform.py.new + mv src/ocrmypdf/hocrtransform.py.new src/ocrmypdf/hocrtransform.py + chmod -x src/ocrmypdf/hocrtransform.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/optimize.py + touch -r src/ocrmypdf/optimize.py src/ocrmypdf/optimize.py.new + mv src/ocrmypdf/optimize.py.new src/ocrmypdf/optimize.py + chmod -x src/ocrmypdf/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfa.py + touch -r src/ocrmypdf/pdfa.py src/ocrmypdf/pdfa.py.new + mv src/ocrmypdf/pdfa.py.new src/ocrmypdf/pdfa.py + chmod -x src/ocrmypdf/pdfa.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pluginspec.py + touch -r src/ocrmypdf/pluginspec.py src/ocrmypdf/pluginspec.py.new + mv src/ocrmypdf/pluginspec.py.new src/ocrmypdf/pluginspec.py + chmod -x src/ocrmypdf/pluginspec.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/quality.py + touch -r src/ocrmypdf/quality.py src/ocrmypdf/quality.py.new + mv src/ocrmypdf/quality.py.new src/ocrmypdf/quality.py + chmod -x src/ocrmypdf/quality.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/__init__.py + touch -r src/ocrmypdf/_exec/__init__.py src/ocrmypdf/_exec/__init__.py.new + mv src/ocrmypdf/_exec/__init__.py.new src/ocrmypdf/_exec/__init__.py + chmod -x src/ocrmypdf/_exec/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/ghostscript.py + touch -r src/ocrmypdf/_exec/ghostscript.py src/ocrmypdf/_exec/ghostscript.py.new + mv src/ocrmypdf/_exec/ghostscript.py.new src/ocrmypdf/_exec/ghostscript.py + chmod -x src/ocrmypdf/_exec/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/jbig2enc.py + touch -r src/ocrmypdf/_exec/jbig2enc.py src/ocrmypdf/_exec/jbig2enc.py.new + mv src/ocrmypdf/_exec/jbig2enc.py.new src/ocrmypdf/_exec/jbig2enc.py + chmod -x src/ocrmypdf/_exec/jbig2enc.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/pngquant.py + touch -r src/ocrmypdf/_exec/pngquant.py src/ocrmypdf/_exec/pngquant.py.new + mv src/ocrmypdf/_exec/pngquant.py.new src/ocrmypdf/_exec/pngquant.py + chmod -x src/ocrmypdf/_exec/pngquant.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/tesseract.py + touch -r src/ocrmypdf/_exec/tesseract.py src/ocrmypdf/_exec/tesseract.py.new + mv src/ocrmypdf/_exec/tesseract.py.new src/ocrmypdf/_exec/tesseract.py + chmod -x src/ocrmypdf/_exec/tesseract.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/unpaper.py + touch -r src/ocrmypdf/_exec/unpaper.py src/ocrmypdf/_exec/unpaper.py.new + mv src/ocrmypdf/_exec/unpaper.py.new src/ocrmypdf/_exec/unpaper.py + chmod -x src/ocrmypdf/_exec/unpaper.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/__init__.py + touch -r src/ocrmypdf/builtin_plugins/__init__.py src/ocrmypdf/builtin_plugins/__init__.py.new + mv src/ocrmypdf/builtin_plugins/__init__.py.new src/ocrmypdf/builtin_plugins/__init__.py + chmod -x src/ocrmypdf/builtin_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/concurrency.py + touch -r src/ocrmypdf/builtin_plugins/concurrency.py src/ocrmypdf/builtin_plugins/concurrency.py.new + mv src/ocrmypdf/builtin_plugins/concurrency.py.new src/ocrmypdf/builtin_plugins/concurrency.py + chmod -x src/ocrmypdf/builtin_plugins/concurrency.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/default_filters.py + touch -r src/ocrmypdf/builtin_plugins/default_filters.py src/ocrmypdf/builtin_plugins/default_filters.py.new + mv src/ocrmypdf/builtin_plugins/default_filters.py.new src/ocrmypdf/builtin_plugins/default_filters.py + chmod -x src/ocrmypdf/builtin_plugins/default_filters.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/ghostscript.py + touch -r src/ocrmypdf/builtin_plugins/ghostscript.py src/ocrmypdf/builtin_plugins/ghostscript.py.new + mv src/ocrmypdf/builtin_plugins/ghostscript.py.new src/ocrmypdf/builtin_plugins/ghostscript.py + chmod -x src/ocrmypdf/builtin_plugins/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/optimize.py + touch -r src/ocrmypdf/builtin_plugins/optimize.py src/ocrmypdf/builtin_plugins/optimize.py.new + mv src/ocrmypdf/builtin_plugins/optimize.py.new src/ocrmypdf/builtin_plugins/optimize.py + chmod -x src/ocrmypdf/builtin_plugins/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/tesseract_ocr.py + touch -r src/ocrmypdf/builtin_plugins/tesseract_ocr.py src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new + mv src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new src/ocrmypdf/builtin_plugins/tesseract_ocr.py + chmod -x src/ocrmypdf/builtin_plugins/tesseract_ocr.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/data/__init__.py + touch -r src/ocrmypdf/data/__init__.py src/ocrmypdf/data/__init__.py.new + mv src/ocrmypdf/data/__init__.py.new src/ocrmypdf/data/__init__.py + chmod -x src/ocrmypdf/data/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/__init__.py + touch -r src/ocrmypdf/extra_plugins/__init__.py src/ocrmypdf/extra_plugins/__init__.py.new + mv src/ocrmypdf/extra_plugins/__init__.py.new src/ocrmypdf/extra_plugins/__init__.py + chmod -x src/ocrmypdf/extra_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/semfree.py + touch -r src/ocrmypdf/extra_plugins/semfree.py src/ocrmypdf/extra_plugins/semfree.py.new + mv src/ocrmypdf/extra_plugins/semfree.py.new src/ocrmypdf/extra_plugins/semfree.py + chmod -x src/ocrmypdf/extra_plugins/semfree.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/__init__.py + touch -r src/ocrmypdf/pdfinfo/__init__.py src/ocrmypdf/pdfinfo/__init__.py.new + mv src/ocrmypdf/pdfinfo/__init__.py.new src/ocrmypdf/pdfinfo/__init__.py + chmod -x src/ocrmypdf/pdfinfo/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/info.py + touch -r src/ocrmypdf/pdfinfo/info.py src/ocrmypdf/pdfinfo/info.py.new + mv src/ocrmypdf/pdfinfo/info.py.new src/ocrmypdf/pdfinfo/info.py + chmod -x src/ocrmypdf/pdfinfo/info.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/layout.py + touch -r src/ocrmypdf/pdfinfo/layout.py src/ocrmypdf/pdfinfo/layout.py.new + mv src/ocrmypdf/pdfinfo/layout.py.new src/ocrmypdf/pdfinfo/layout.py + chmod -x src/ocrmypdf/pdfinfo/layout.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/__init__.py + touch -r src/ocrmypdf/subprocess/__init__.py src/ocrmypdf/subprocess/__init__.py.new + mv src/ocrmypdf/subprocess/__init__.py.new src/ocrmypdf/subprocess/__init__.py + chmod -x src/ocrmypdf/subprocess/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/_windows.py + touch -r src/ocrmypdf/subprocess/_windows.py src/ocrmypdf/subprocess/_windows.py.new + mv src/ocrmypdf/subprocess/_windows.py.new src/ocrmypdf/subprocess/_windows.py + chmod -x src/ocrmypdf/subprocess/_windows.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.oW8qFb + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyproject-wheeldir -r -x docs -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 65.5.1) Handling setuptools_scm[toml] >= 7.0.5 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7.0.5 (installed: setuptools_scm 7.1.0) (extras are currently not checked) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running egg_info HOOK STDOUT: creating src/ocrmypdf.egg-info HOOK STDOUT: writing src/ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/ocrmypdf.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running dist_info HOOK STDOUT: creating ocrmypdf.egg-info HOOK STDOUT: writing ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to ocrmypdf.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/ocrmypdf-14.0.4/ocrmypdf-14.0.4.dist-info' Handling Pillow (>=8.2.0) from hook generated metadata: Requires-Dist Requirement not satisfied: Pillow (>=8.2.0) Handling coloredlogs (>=14.0) from hook generated metadata: Requires-Dist Requirement not satisfied: coloredlogs (>=14.0) Handling deprecation (>=2.1.0) from hook generated metadata: Requires-Dist Requirement not satisfied: deprecation (>=2.1.0) Handling img2pdf (>=0.3.0) from hook generated metadata: Requires-Dist Requirement not satisfied: img2pdf (>=0.3.0) Handling packaging (>=20) from hook generated metadata: Requires-Dist Requirement satisfied: packaging (>=20) (installed: packaging 23.0) Handling pdfminer.six (>=20201018) from hook generated metadata: Requires-Dist Requirement not satisfied: pdfminer.six (>=20201018) Handling pikepdf (>=5.0.1) from hook generated metadata: Requires-Dist Requirement not satisfied: pikepdf (>=5.0.1) Handling pluggy (>=0.13.0) from hook generated metadata: Requires-Dist Requirement not satisfied: pluggy (>=0.13.0) Handling reportlab (>=3.5.66) from hook generated metadata: Requires-Dist Requirement not satisfied: reportlab (>=3.5.66) Handling tqdm (>=4) from hook generated metadata: Requires-Dist Requirement not satisfied: tqdm (>=4) Handling typing-extensions (>=4) ; python_version < "3.10" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing-extensions (>=4) ; python_version < "3.10" Handling importlib-resources (>=5) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: importlib-resources (>=5) ; python_version < "3.9" Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement not satisfied: sphinx ; extra == 'docs' Handling sphinx-issues ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement not satisfied: sphinx-issues ; extra == 'docs' Handling sphinx-rtd-theme ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement not satisfied: sphinx-rtd-theme ; extra == 'docs' Handling PyMuPDF (==1.19.1) ; extra == 'extended_test' from hook generated metadata: Requires-Dist Ignoring alien requirement: PyMuPDF (==1.19.1) ; extra == 'extended_test' Handling pytest (>=6.0.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest (>=6.0.0) ; extra == 'test' Handling pytest-xdist (>=2.2.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-xdist (>=2.2.0) ; extra == 'test' Handling python-xmp-toolkit (==2.0.1) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement not satisfied: python-xmp-toolkit (==2.0.1) ; extra == 'test' Handling watchdog (>=1.0.2) ; extra == 'watcher' from hook generated metadata: Requires-Dist Ignoring alien requirement: watchdog (>=1.0.2) ; extra == 'watcher' Handling Flask (>=1) ; extra == 'webservice' from hook generated metadata: Requires-Dist Ignoring alien requirement: Flask (>=1) ; extra == 'webservice' + rm -rfv ocrmypdf-14.0.4.dist-info/ removed 'ocrmypdf-14.0.4.dist-info/LICENSE' removed 'ocrmypdf-14.0.4.dist-info/METADATA' removed 'ocrmypdf-14.0.4.dist-info/entry_points.txt' removed 'ocrmypdf-14.0.4.dist-info/top_level.txt' removed directory 'ocrmypdf-14.0.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/ocrmypdf-14.0.4-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1679202354.004660/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0bf4066a89b648e281ac907265f55ebc', '-D', '/var/lib/mock/fedora-38-x86_64-1679202354.004660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679184000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CuZUNN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ocrmypdf-14.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ocrmypdf-14.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ocrmypdf-14.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Remove-unnecessary-dependencies.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf src/ocrmypdf.egg-info + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__init__.py + touch -r src/ocrmypdf/__init__.py src/ocrmypdf/__init__.py.new + mv src/ocrmypdf/__init__.py.new src/ocrmypdf/__init__.py + chmod -x src/ocrmypdf/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/__main__.py + touch -r src/ocrmypdf/__main__.py src/ocrmypdf/__main__.py.new + mv src/ocrmypdf/__main__.py.new src/ocrmypdf/__main__.py + chmod -x src/ocrmypdf/__main__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_concurrent.py + touch -r src/ocrmypdf/_concurrent.py src/ocrmypdf/_concurrent.py.new + mv src/ocrmypdf/_concurrent.py.new src/ocrmypdf/_concurrent.py + chmod -x src/ocrmypdf/_concurrent.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_graft.py + touch -r src/ocrmypdf/_graft.py src/ocrmypdf/_graft.py.new + mv src/ocrmypdf/_graft.py.new src/ocrmypdf/_graft.py + chmod -x src/ocrmypdf/_graft.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_jobcontext.py + touch -r src/ocrmypdf/_jobcontext.py src/ocrmypdf/_jobcontext.py.new + mv src/ocrmypdf/_jobcontext.py.new src/ocrmypdf/_jobcontext.py + chmod -x src/ocrmypdf/_jobcontext.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_logging.py + touch -r src/ocrmypdf/_logging.py src/ocrmypdf/_logging.py.new + mv src/ocrmypdf/_logging.py.new src/ocrmypdf/_logging.py + chmod -x src/ocrmypdf/_logging.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_pipeline.py + touch -r src/ocrmypdf/_pipeline.py src/ocrmypdf/_pipeline.py.new + mv src/ocrmypdf/_pipeline.py.new src/ocrmypdf/_pipeline.py + chmod -x src/ocrmypdf/_pipeline.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_plugin_manager.py + touch -r src/ocrmypdf/_plugin_manager.py src/ocrmypdf/_plugin_manager.py.new + mv src/ocrmypdf/_plugin_manager.py.new src/ocrmypdf/_plugin_manager.py + chmod -x src/ocrmypdf/_plugin_manager.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_sync.py + touch -r src/ocrmypdf/_sync.py src/ocrmypdf/_sync.py.new + mv src/ocrmypdf/_sync.py.new src/ocrmypdf/_sync.py + chmod -x src/ocrmypdf/_sync.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_validation.py + touch -r src/ocrmypdf/_validation.py src/ocrmypdf/_validation.py.new + mv src/ocrmypdf/_validation.py.new src/ocrmypdf/_validation.py + chmod -x src/ocrmypdf/_validation.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_version.py + touch -r src/ocrmypdf/_version.py src/ocrmypdf/_version.py.new + mv src/ocrmypdf/_version.py.new src/ocrmypdf/_version.py + chmod -x src/ocrmypdf/_version.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/api.py + touch -r src/ocrmypdf/api.py src/ocrmypdf/api.py.new + mv src/ocrmypdf/api.py.new src/ocrmypdf/api.py + chmod -x src/ocrmypdf/api.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/cli.py + touch -r src/ocrmypdf/cli.py src/ocrmypdf/cli.py.new + mv src/ocrmypdf/cli.py.new src/ocrmypdf/cli.py + chmod -x src/ocrmypdf/cli.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/exceptions.py + touch -r src/ocrmypdf/exceptions.py src/ocrmypdf/exceptions.py.new + mv src/ocrmypdf/exceptions.py.new src/ocrmypdf/exceptions.py + chmod -x src/ocrmypdf/exceptions.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/helpers.py + touch -r src/ocrmypdf/helpers.py src/ocrmypdf/helpers.py.new + mv src/ocrmypdf/helpers.py.new src/ocrmypdf/helpers.py + chmod -x src/ocrmypdf/helpers.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/hocrtransform.py + touch -r src/ocrmypdf/hocrtransform.py src/ocrmypdf/hocrtransform.py.new + mv src/ocrmypdf/hocrtransform.py.new src/ocrmypdf/hocrtransform.py + chmod -x src/ocrmypdf/hocrtransform.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/optimize.py + touch -r src/ocrmypdf/optimize.py src/ocrmypdf/optimize.py.new + mv src/ocrmypdf/optimize.py.new src/ocrmypdf/optimize.py + chmod -x src/ocrmypdf/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfa.py + touch -r src/ocrmypdf/pdfa.py src/ocrmypdf/pdfa.py.new + mv src/ocrmypdf/pdfa.py.new src/ocrmypdf/pdfa.py + chmod -x src/ocrmypdf/pdfa.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pluginspec.py + touch -r src/ocrmypdf/pluginspec.py src/ocrmypdf/pluginspec.py.new + mv src/ocrmypdf/pluginspec.py.new src/ocrmypdf/pluginspec.py + chmod -x src/ocrmypdf/pluginspec.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/quality.py + touch -r src/ocrmypdf/quality.py src/ocrmypdf/quality.py.new + mv src/ocrmypdf/quality.py.new src/ocrmypdf/quality.py + chmod -x src/ocrmypdf/quality.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/__init__.py + touch -r src/ocrmypdf/_exec/__init__.py src/ocrmypdf/_exec/__init__.py.new + mv src/ocrmypdf/_exec/__init__.py.new src/ocrmypdf/_exec/__init__.py + chmod -x src/ocrmypdf/_exec/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/ghostscript.py + touch -r src/ocrmypdf/_exec/ghostscript.py src/ocrmypdf/_exec/ghostscript.py.new + mv src/ocrmypdf/_exec/ghostscript.py.new src/ocrmypdf/_exec/ghostscript.py + chmod -x src/ocrmypdf/_exec/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/jbig2enc.py + touch -r src/ocrmypdf/_exec/jbig2enc.py src/ocrmypdf/_exec/jbig2enc.py.new + mv src/ocrmypdf/_exec/jbig2enc.py.new src/ocrmypdf/_exec/jbig2enc.py + chmod -x src/ocrmypdf/_exec/jbig2enc.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/pngquant.py + touch -r src/ocrmypdf/_exec/pngquant.py src/ocrmypdf/_exec/pngquant.py.new + mv src/ocrmypdf/_exec/pngquant.py.new src/ocrmypdf/_exec/pngquant.py + chmod -x src/ocrmypdf/_exec/pngquant.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/tesseract.py + touch -r src/ocrmypdf/_exec/tesseract.py src/ocrmypdf/_exec/tesseract.py.new + mv src/ocrmypdf/_exec/tesseract.py.new src/ocrmypdf/_exec/tesseract.py + chmod -x src/ocrmypdf/_exec/tesseract.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/_exec/unpaper.py + touch -r src/ocrmypdf/_exec/unpaper.py src/ocrmypdf/_exec/unpaper.py.new + mv src/ocrmypdf/_exec/unpaper.py.new src/ocrmypdf/_exec/unpaper.py + chmod -x src/ocrmypdf/_exec/unpaper.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/__init__.py + touch -r src/ocrmypdf/builtin_plugins/__init__.py src/ocrmypdf/builtin_plugins/__init__.py.new + mv src/ocrmypdf/builtin_plugins/__init__.py.new src/ocrmypdf/builtin_plugins/__init__.py + chmod -x src/ocrmypdf/builtin_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/concurrency.py + touch -r src/ocrmypdf/builtin_plugins/concurrency.py src/ocrmypdf/builtin_plugins/concurrency.py.new + mv src/ocrmypdf/builtin_plugins/concurrency.py.new src/ocrmypdf/builtin_plugins/concurrency.py + chmod -x src/ocrmypdf/builtin_plugins/concurrency.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/default_filters.py + touch -r src/ocrmypdf/builtin_plugins/default_filters.py src/ocrmypdf/builtin_plugins/default_filters.py.new + mv src/ocrmypdf/builtin_plugins/default_filters.py.new src/ocrmypdf/builtin_plugins/default_filters.py + chmod -x src/ocrmypdf/builtin_plugins/default_filters.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/ghostscript.py + touch -r src/ocrmypdf/builtin_plugins/ghostscript.py src/ocrmypdf/builtin_plugins/ghostscript.py.new + mv src/ocrmypdf/builtin_plugins/ghostscript.py.new src/ocrmypdf/builtin_plugins/ghostscript.py + chmod -x src/ocrmypdf/builtin_plugins/ghostscript.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/optimize.py + touch -r src/ocrmypdf/builtin_plugins/optimize.py src/ocrmypdf/builtin_plugins/optimize.py.new + mv src/ocrmypdf/builtin_plugins/optimize.py.new src/ocrmypdf/builtin_plugins/optimize.py + chmod -x src/ocrmypdf/builtin_plugins/optimize.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/builtin_plugins/tesseract_ocr.py + touch -r src/ocrmypdf/builtin_plugins/tesseract_ocr.py src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new + mv src/ocrmypdf/builtin_plugins/tesseract_ocr.py.new src/ocrmypdf/builtin_plugins/tesseract_ocr.py + chmod -x src/ocrmypdf/builtin_plugins/tesseract_ocr.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/data/__init__.py + touch -r src/ocrmypdf/data/__init__.py src/ocrmypdf/data/__init__.py.new + mv src/ocrmypdf/data/__init__.py.new src/ocrmypdf/data/__init__.py + chmod -x src/ocrmypdf/data/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/__init__.py + touch -r src/ocrmypdf/extra_plugins/__init__.py src/ocrmypdf/extra_plugins/__init__.py.new + mv src/ocrmypdf/extra_plugins/__init__.py.new src/ocrmypdf/extra_plugins/__init__.py + chmod -x src/ocrmypdf/extra_plugins/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/extra_plugins/semfree.py + touch -r src/ocrmypdf/extra_plugins/semfree.py src/ocrmypdf/extra_plugins/semfree.py.new + mv src/ocrmypdf/extra_plugins/semfree.py.new src/ocrmypdf/extra_plugins/semfree.py + chmod -x src/ocrmypdf/extra_plugins/semfree.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/__init__.py + touch -r src/ocrmypdf/pdfinfo/__init__.py src/ocrmypdf/pdfinfo/__init__.py.new + mv src/ocrmypdf/pdfinfo/__init__.py.new src/ocrmypdf/pdfinfo/__init__.py + chmod -x src/ocrmypdf/pdfinfo/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/info.py + touch -r src/ocrmypdf/pdfinfo/info.py src/ocrmypdf/pdfinfo/info.py.new + mv src/ocrmypdf/pdfinfo/info.py.new src/ocrmypdf/pdfinfo/info.py + chmod -x src/ocrmypdf/pdfinfo/info.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/pdfinfo/layout.py + touch -r src/ocrmypdf/pdfinfo/layout.py src/ocrmypdf/pdfinfo/layout.py.new + mv src/ocrmypdf/pdfinfo/layout.py.new src/ocrmypdf/pdfinfo/layout.py + chmod -x src/ocrmypdf/pdfinfo/layout.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/__init__.py + touch -r src/ocrmypdf/subprocess/__init__.py src/ocrmypdf/subprocess/__init__.py.new + mv src/ocrmypdf/subprocess/__init__.py.new src/ocrmypdf/subprocess/__init__.py + chmod -x src/ocrmypdf/subprocess/__init__.py + for f in src/ocrmypdf/*.py src/ocrmypdf/*/*.py + sed -e '1{\@^#!/usr/bin/env python@d}' src/ocrmypdf/subprocess/_windows.py + touch -r src/ocrmypdf/subprocess/_windows.py src/ocrmypdf/subprocess/_windows.py.new + mv src/ocrmypdf/subprocess/_windows.py.new src/ocrmypdf/subprocess/_windows.py + chmod -x src/ocrmypdf/subprocess/_windows.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.gi1sTF + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyproject-wheeldir -r -x docs -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 65.5.1) Handling setuptools_scm[toml] >= 7.0.5 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7.0.5 (installed: setuptools_scm 7.1.0) (extras are currently not checked) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running egg_info HOOK STDOUT: creating src/ocrmypdf.egg-info HOOK STDOUT: writing src/ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/ocrmypdf.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running dist_info HOOK STDOUT: creating ocrmypdf.egg-info HOOK STDOUT: writing ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to ocrmypdf.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/ocrmypdf-14.0.4/ocrmypdf-14.0.4.dist-info' Handling Pillow (>=8.2.0) from hook generated metadata: Requires-Dist Requirement satisfied: Pillow (>=8.2.0) (installed: Pillow 9.4.0) Handling coloredlogs (>=14.0) from hook generated metadata: Requires-Dist Requirement satisfied: coloredlogs (>=14.0) (installed: coloredlogs 15.0.1) Handling deprecation (>=2.1.0) from hook generated metadata: Requires-Dist Requirement satisfied: deprecation (>=2.1.0) (installed: deprecation 2.1.0) Handling img2pdf (>=0.3.0) from hook generated metadata: Requires-Dist Requirement satisfied: img2pdf (>=0.3.0) (installed: img2pdf 0.4.4) Handling packaging (>=20) from hook generated metadata: Requires-Dist Requirement satisfied: packaging (>=20) (installed: packaging 23.0) Handling pdfminer.six (>=20201018) from hook generated metadata: Requires-Dist Requirement satisfied: pdfminer.six (>=20201018) (installed: pdfminer.six 20221105) Handling pikepdf (>=5.0.1) from hook generated metadata: Requires-Dist Requirement satisfied: pikepdf (>=5.0.1) (installed: pikepdf 7.1.1) Handling pluggy (>=0.13.0) from hook generated metadata: Requires-Dist Requirement satisfied: pluggy (>=0.13.0) (installed: pluggy 1.0.0) Handling reportlab (>=3.5.66) from hook generated metadata: Requires-Dist Requirement satisfied: reportlab (>=3.5.66) (installed: reportlab 3.6.12) Handling tqdm (>=4) from hook generated metadata: Requires-Dist Requirement satisfied: tqdm (>=4) (installed: tqdm 4.65.0) Handling typing-extensions (>=4) ; python_version < "3.10" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing-extensions (>=4) ; python_version < "3.10" Handling importlib-resources (>=5) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: importlib-resources (>=5) ; python_version < "3.9" Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx ; extra == 'docs' (installed: sphinx 5.3.0) Handling sphinx-issues ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx-issues ; extra == 'docs' (installed: sphinx-issues 3.0.1) Handling sphinx-rtd-theme ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx-rtd-theme ; extra == 'docs' (installed: sphinx-rtd-theme 1.1.1) Handling PyMuPDF (==1.19.1) ; extra == 'extended_test' from hook generated metadata: Requires-Dist Ignoring alien requirement: PyMuPDF (==1.19.1) ; extra == 'extended_test' Handling pytest (>=6.0.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest (>=6.0.0) ; extra == 'test' (installed: pytest 7.2.1) Handling pytest-xdist (>=2.2.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-xdist (>=2.2.0) ; extra == 'test' (installed: pytest-xdist 3.1.0) Handling python-xmp-toolkit (==2.0.1) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: python-xmp-toolkit (==2.0.1) ; extra == 'test' (installed: python-xmp-toolkit 2.0.1) Handling watchdog (>=1.0.2) ; extra == 'watcher' from hook generated metadata: Requires-Dist Ignoring alien requirement: watchdog (>=1.0.2) ; extra == 'watcher' Handling Flask (>=1) ; extra == 'webservice' from hook generated metadata: Requires-Dist Ignoring alien requirement: Flask (>=1) ; extra == 'webservice' + rm -rfv ocrmypdf-14.0.4.dist-info/ removed 'ocrmypdf-14.0.4.dist-info/LICENSE' removed 'ocrmypdf-14.0.4.dist-info/METADATA' removed 'ocrmypdf-14.0.4.dist-info/entry_points.txt' removed 'ocrmypdf-14.0.4.dist-info/top_level.txt' removed directory 'ocrmypdf-14.0.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/ocrmypdf-14.0.4-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.spec'], chrootPath='/var/lib/mock/fedora-38-x86_64-1679202354.004660/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6d0beaad7e784366b53d30495b67d1be', '-D', '/var/lib/mock/fedora-38-x86_64-1679202354.004660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7wjfhrog:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/ocrmypdf.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1679184000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.R3LXWa + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/pyproject-wheeldir -r -x docs -x test Handling setuptools >= 61 from build-system.requires Requirement satisfied: setuptools >= 61 (installed: setuptools 65.5.1) Handling setuptools_scm[toml] >= 7.0.5 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7.0.5 (installed: setuptools_scm 7.1.0) (extras are currently not checked) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running egg_info HOOK STDOUT: writing src/ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to src/ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to src/ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to src/ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to src/ocrmypdf.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.38.4) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) HOOK STDOUT: running dist_info HOOK STDOUT: writing ocrmypdf.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to ocrmypdf.egg-info/dependency_links.txt HOOK STDOUT: writing entry points to ocrmypdf.egg-info/entry_points.txt HOOK STDOUT: writing requirements to ocrmypdf.egg-info/requires.txt HOOK STDOUT: writing top-level names to ocrmypdf.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'ocrmypdf.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/ocrmypdf-14.0.4/ocrmypdf-14.0.4.dist-info' Handling Pillow (>=8.2.0) from hook generated metadata: Requires-Dist Requirement satisfied: Pillow (>=8.2.0) (installed: Pillow 9.4.0) Handling coloredlogs (>=14.0) from hook generated metadata: Requires-Dist Requirement satisfied: coloredlogs (>=14.0) (installed: coloredlogs 15.0.1) Handling deprecation (>=2.1.0) from hook generated metadata: Requires-Dist Requirement satisfied: deprecation (>=2.1.0) (installed: deprecation 2.1.0) Handling img2pdf (>=0.3.0) from hook generated metadata: Requires-Dist Requirement satisfied: img2pdf (>=0.3.0) (installed: img2pdf 0.4.4) Handling packaging (>=20) from hook generated metadata: Requires-Dist Requirement satisfied: packaging (>=20) (installed: packaging 23.0) Handling pdfminer.six (>=20201018) from hook generated metadata: Requires-Dist Requirement satisfied: pdfminer.six (>=20201018) (installed: pdfminer.six 20221105) Handling pikepdf (>=5.0.1) from hook generated metadata: Requires-Dist Requirement satisfied: pikepdf (>=5.0.1) (installed: pikepdf 7.1.1) Handling pluggy (>=0.13.0) from hook generated metadata: Requires-Dist Requirement satisfied: pluggy (>=0.13.0) (installed: pluggy 1.0.0) Handling reportlab (>=3.5.66) from hook generated metadata: Requires-Dist Requirement satisfied: reportlab (>=3.5.66) (installed: reportlab 3.6.12) Handling tqdm (>=4) from hook generated metadata: Requires-Dist Requirement satisfied: tqdm (>=4) (installed: tqdm 4.65.0) Handling typing-extensions (>=4) ; python_version < "3.10" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing-extensions (>=4) ; python_version < "3.10" Handling importlib-resources (>=5) ; python_version < "3.9" from hook generated metadata: Requires-Dist Ignoring alien requirement: importlib-resources (>=5) ; python_version < "3.9" Handling sphinx ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx ; extra == 'docs' (installed: sphinx 5.3.0) Handling sphinx-issues ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx-issues ; extra == 'docs' (installed: sphinx-issues 3.0.1) Handling sphinx-rtd-theme ; extra == 'docs' from hook generated metadata: Requires-Dist Requirement satisfied: sphinx-rtd-theme ; extra == 'docs' (installed: sphinx-rtd-theme 1.1.1) Handling PyMuPDF (==1.19.1) ; extra == 'extended_test' from hook generated metadata: Requires-Dist Ignoring alien requirement: PyMuPDF (==1.19.1) ; extra == 'extended_test' Handling pytest (>=6.0.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest (>=6.0.0) ; extra == 'test' (installed: pytest 7.2.1) Handling pytest-xdist (>=2.2.0) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: pytest-xdist (>=2.2.0) ; extra == 'test' (installed: pytest-xdist 3.1.0) Handling python-xmp-toolkit (==2.0.1) ; extra == 'test' from hook generated metadata: Requires-Dist Requirement satisfied: python-xmp-toolkit (==2.0.1) ; extra == 'test' (installed: python-xmp-toolkit 2.0.1) Handling watchdog (>=1.0.2) ; extra == 'watcher' from hook generated metadata: Requires-Dist Ignoring alien requirement: watchdog (>=1.0.2) ; extra == 'watcher' Handling Flask (>=1) ; extra == 'webservice' from hook generated metadata: Requires-Dist Ignoring alien requirement: Flask (>=1) ; extra == 'webservice' + rm -rfv ocrmypdf-14.0.4.dist-info/ removed 'ocrmypdf-14.0.4.dist-info/LICENSE' removed 'ocrmypdf-14.0.4.dist-info/METADATA' removed 'ocrmypdf-14.0.4.dist-info/top_level.txt' removed 'ocrmypdf-14.0.4.dist-info/entry_points.txt' removed directory 'ocrmypdf-14.0.4.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AEMm8i + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocrmypdf-14.0.4 + mkdir -p /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + TMPDIR=/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/ocrmypdf-14.0.4/pyproject-wheeldir Processing /builddir/build/BUILD/ocrmypdf-14.0.4 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) running dist_info creating /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info writing /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-modern-metadata-f6arwudo/ocrmypdf-14.0.4.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: ocrmypdf Building wheel for ocrmypdf (pyproject.toml): started Running command Building wheel for ocrmypdf (pyproject.toml) /usr/lib/python3.11/site-packages/setuptools_scm/git.py:295: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: unexported git archival found warnings.warn("unexported git archival found") /usr/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:108: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*. warnings.warn(msg, _BetaConfiguration) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/ocrmypdf copying src/ocrmypdf/quality.py -> build/lib/ocrmypdf copying src/ocrmypdf/pluginspec.py -> build/lib/ocrmypdf copying src/ocrmypdf/pdfa.py -> build/lib/ocrmypdf copying src/ocrmypdf/optimize.py -> build/lib/ocrmypdf copying src/ocrmypdf/hocrtransform.py -> build/lib/ocrmypdf copying src/ocrmypdf/helpers.py -> build/lib/ocrmypdf copying src/ocrmypdf/exceptions.py -> build/lib/ocrmypdf copying src/ocrmypdf/cli.py -> build/lib/ocrmypdf copying src/ocrmypdf/api.py -> build/lib/ocrmypdf copying src/ocrmypdf/_version.py -> build/lib/ocrmypdf copying src/ocrmypdf/_validation.py -> build/lib/ocrmypdf copying src/ocrmypdf/_sync.py -> build/lib/ocrmypdf copying src/ocrmypdf/_plugin_manager.py -> build/lib/ocrmypdf copying src/ocrmypdf/_pipeline.py -> build/lib/ocrmypdf copying src/ocrmypdf/_logging.py -> build/lib/ocrmypdf copying src/ocrmypdf/_jobcontext.py -> build/lib/ocrmypdf copying src/ocrmypdf/_graft.py -> build/lib/ocrmypdf copying src/ocrmypdf/_concurrent.py -> build/lib/ocrmypdf copying src/ocrmypdf/__main__.py -> build/lib/ocrmypdf copying src/ocrmypdf/__init__.py -> build/lib/ocrmypdf creating build/lib/ocrmypdf/subprocess copying src/ocrmypdf/subprocess/_windows.py -> build/lib/ocrmypdf/subprocess copying src/ocrmypdf/subprocess/__init__.py -> build/lib/ocrmypdf/subprocess creating build/lib/ocrmypdf/pdfinfo copying src/ocrmypdf/pdfinfo/layout.py -> build/lib/ocrmypdf/pdfinfo copying src/ocrmypdf/pdfinfo/info.py -> build/lib/ocrmypdf/pdfinfo copying src/ocrmypdf/pdfinfo/__init__.py -> build/lib/ocrmypdf/pdfinfo creating build/lib/ocrmypdf/extra_plugins copying src/ocrmypdf/extra_plugins/semfree.py -> build/lib/ocrmypdf/extra_plugins copying src/ocrmypdf/extra_plugins/__init__.py -> build/lib/ocrmypdf/extra_plugins creating build/lib/ocrmypdf/data copying src/ocrmypdf/data/__init__.py -> build/lib/ocrmypdf/data creating build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/tesseract_ocr.py -> build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/optimize.py -> build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/ghostscript.py -> build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/default_filters.py -> build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/concurrency.py -> build/lib/ocrmypdf/builtin_plugins copying src/ocrmypdf/builtin_plugins/__init__.py -> build/lib/ocrmypdf/builtin_plugins creating build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/unpaper.py -> build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/tesseract.py -> build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/pngquant.py -> build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/jbig2enc.py -> build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/ghostscript.py -> build/lib/ocrmypdf/_exec copying src/ocrmypdf/_exec/__init__.py -> build/lib/ocrmypdf/_exec running egg_info writing src/ocrmypdf.egg-info/PKG-INFO writing dependency_links to src/ocrmypdf.egg-info/dependency_links.txt writing entry points to src/ocrmypdf.egg-info/entry_points.txt writing requirements to src/ocrmypdf.egg-info/requires.txt writing top-level names to src/ocrmypdf.egg-info/top_level.txt reading manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'src/ocrmypdf.egg-info/SOURCES.txt' copying src/ocrmypdf/py.typed -> build/lib/ocrmypdf copying src/ocrmypdf/data/sRGB.icc -> build/lib/ocrmypdf/data installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/py.typed -> build/bdist.linux-x86_64/wheel/ocrmypdf creating build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/ghostscript.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/jbig2enc.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/pngquant.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/tesseract.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec copying build/lib/ocrmypdf/_exec/unpaper.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/_exec creating build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/concurrency.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/default_filters.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/ghostscript.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/optimize.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins copying build/lib/ocrmypdf/builtin_plugins/tesseract_ocr.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/builtin_plugins creating build/bdist.linux-x86_64/wheel/ocrmypdf/data copying build/lib/ocrmypdf/data/sRGB.icc -> build/bdist.linux-x86_64/wheel/ocrmypdf/data copying build/lib/ocrmypdf/data/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/data creating build/bdist.linux-x86_64/wheel/ocrmypdf/extra_plugins copying build/lib/ocrmypdf/extra_plugins/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/extra_plugins copying build/lib/ocrmypdf/extra_plugins/semfree.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/extra_plugins creating build/bdist.linux-x86_64/wheel/ocrmypdf/pdfinfo copying build/lib/ocrmypdf/pdfinfo/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/pdfinfo copying build/lib/ocrmypdf/pdfinfo/info.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/pdfinfo copying build/lib/ocrmypdf/pdfinfo/layout.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/pdfinfo creating build/bdist.linux-x86_64/wheel/ocrmypdf/subprocess copying build/lib/ocrmypdf/subprocess/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/subprocess copying build/lib/ocrmypdf/subprocess/_windows.py -> build/bdist.linux-x86_64/wheel/ocrmypdf/subprocess copying build/lib/ocrmypdf/__init__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/__main__.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_concurrent.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_graft.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_jobcontext.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_logging.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_pipeline.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_plugin_manager.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_sync.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_validation.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/_version.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/api.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/cli.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/exceptions.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/helpers.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/hocrtransform.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/optimize.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/pdfa.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/pluginspec.py -> build/bdist.linux-x86_64/wheel/ocrmypdf copying build/lib/ocrmypdf/quality.py -> build/bdist.linux-x86_64/wheel/ocrmypdf running install_egg_info Copying src/ocrmypdf.egg-info to build/bdist.linux-x86_64/wheel/ocrmypdf-14.0.4-py3.11.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/ocrmypdf-14.0.4.dist-info/WHEEL creating '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-wheel-4rrjpyh9/tmp7d0rnfew/ocrmypdf-14.0.4-py38-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'ocrmypdf/__init__.py' adding 'ocrmypdf/__main__.py' adding 'ocrmypdf/_concurrent.py' adding 'ocrmypdf/_graft.py' adding 'ocrmypdf/_jobcontext.py' adding 'ocrmypdf/_logging.py' adding 'ocrmypdf/_pipeline.py' adding 'ocrmypdf/_plugin_manager.py' adding 'ocrmypdf/_sync.py' adding 'ocrmypdf/_validation.py' adding 'ocrmypdf/_version.py' adding 'ocrmypdf/api.py' adding 'ocrmypdf/cli.py' adding 'ocrmypdf/exceptions.py' adding 'ocrmypdf/helpers.py' adding 'ocrmypdf/hocrtransform.py' adding 'ocrmypdf/optimize.py' adding 'ocrmypdf/pdfa.py' adding 'ocrmypdf/pluginspec.py' adding 'ocrmypdf/py.typed' adding 'ocrmypdf/quality.py' adding 'ocrmypdf/_exec/__init__.py' adding 'ocrmypdf/_exec/ghostscript.py' adding 'ocrmypdf/_exec/jbig2enc.py' adding 'ocrmypdf/_exec/pngquant.py' adding 'ocrmypdf/_exec/tesseract.py' adding 'ocrmypdf/_exec/unpaper.py' adding 'ocrmypdf/builtin_plugins/__init__.py' adding 'ocrmypdf/builtin_plugins/concurrency.py' adding 'ocrmypdf/builtin_plugins/default_filters.py' adding 'ocrmypdf/builtin_plugins/ghostscript.py' adding 'ocrmypdf/builtin_plugins/optimize.py' adding 'ocrmypdf/builtin_plugins/tesseract_ocr.py' adding 'ocrmypdf/data/__init__.py' adding 'ocrmypdf/data/sRGB.icc' adding 'ocrmypdf/extra_plugins/__init__.py' adding 'ocrmypdf/extra_plugins/semfree.py' adding 'ocrmypdf/pdfinfo/__init__.py' adding 'ocrmypdf/pdfinfo/info.py' adding 'ocrmypdf/pdfinfo/layout.py' adding 'ocrmypdf/subprocess/__init__.py' adding 'ocrmypdf/subprocess/_windows.py' adding 'ocrmypdf-14.0.4.dist-info/LICENSE' adding 'ocrmypdf-14.0.4.dist-info/METADATA' adding 'ocrmypdf-14.0.4.dist-info/WHEEL' adding 'ocrmypdf-14.0.4.dist-info/entry_points.txt' adding 'ocrmypdf-14.0.4.dist-info/top_level.txt' adding 'ocrmypdf-14.0.4.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for ocrmypdf (pyproject.toml): finished with status 'done' Created wheel for ocrmypdf: filename=ocrmypdf-14.0.4-py38-none-any.whl size=122249 sha256=8e45a1579bdff1a8c638285ae6141fc90833b0072db3677fc166addc27ab8182 Stored in directory: /builddir/.cache/pip/wheels/04/47/1e/a360415bcce3e9bfe470466661954e3b3e25269ec5eeb46c26 Successfully built ocrmypdf ++ pyproject_build_lib=() ++ '[' -d build/lib.linux-x86_64-cpython-311 ']' ++ '[' -d build/lib.linux-x86_64-3.11 ']' ++ '[' -d build/lib ']' ++ pyproject_build_lib+=("${PWD}/build/lib") +++ find /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-req-build-*/build/lib.linux-x86_64-3.11' +++ find /builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir/pip-req-build-*/build/lib' +++ IFS=: +++ echo /builddir/build/BUILD/ocrmypdf-14.0.4/build/lib ++ echo /builddir/build/BUILD/ocrmypdf-14.0.4/build/lib + PYTHONPATH=/builddir/build/BUILD/ocrmypdf-14.0.4/build/lib + OCRMYPDF_VERSION=14.0.4 + sphinx-build-3 docs html Running Sphinx v5.3.0 WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid language code. Falling back to 'en' (English). making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from https://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) [autosummary] generating autosummary for: advanced.rst, api.rst, apiref.rst, batch.rst, contributing.rst, cookbook.rst, docker.rst, errors.rst, index.rst, installation.rst, introduction.rst, jbig2.rst, languages.rst, maintainers.rst, optimizer.rst, pdfsecurity.rst, performance.rst, plugins.rst, release_notes.rst Failed to import ocrmypdf.quality. Possible hints: * PackageNotFoundError: No package metadata was found for ocrmypdf * KeyError: 'ocrmypdf' Failed to import ocrmypdf.subprocess. Possible hints: * PackageNotFoundError: No package metadata was found for ocrmypdf * KeyError: 'ocrmypdf' building [mo]: targets for 0 po files that are out of date building [html]: targets for 19 source files that are out of date updating environment: [new config] 19 added, 0 changed, 0 removed reading sources... [ 5%] advanced reading sources... [ 10%] api reading sources... [ 15%] apiref reading sources... [ 21%] batch reading sources... [ 26%] contributing reading sources... [ 31%] cookbook reading sources... [ 36%] docker reading sources... [ 42%] errors reading sources... [ 47%] index reading sources... [ 52%] installation reading sources... [ 57%] introduction reading sources... [ 63%] jbig2 reading sources... [ 68%] languages reading sources... [ 73%] maintainers reading sources... [ 78%] optimizer reading sources... [ 84%] pdfsecurity reading sources... [ 89%] performance reading sources... [ 94%] plugins reading sources... [100%] release_notes WARNING: autodoc: failed to import function 'ocr' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'Verbosity' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'configure_logging' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'PageContext' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'PdfContext' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import decorator 'deprecated' from module 'ocrmypdf.helpers'; the following exception was raised: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/util/inspect.py", line 376, in safe_getattr return getattr(obj, name, *defargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'ocrmypdf.helpers' has no attribute 'deprecated' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/importer.py", line 98, in import_object obj = attrgetter(obj, mangled_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/__init__.py", line 306, in get_attr return autodoc_attrgetter(self.env.app, obj, name, *defargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/sphinx/ext/autodoc/__init__.py", line 2804, in autodoc_attrgetter return safe_getattr(obj, name, *defargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/sphinx/util/inspect.py", line 392, in safe_getattr raise AttributeError(name) from exc AttributeError: deprecated WARNING: autodoc: failed to import module 'quality' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import module 'subprocess' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.initialize' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.add_options' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.check_options' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'pluginspec.Executor' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.get_logging_console' from module 'ocrmypdf'; the following exception was raised: ocrmypdf looking for now-outdated files... none found pickling environment... WARNING: autodoc: failed to import function 'pluginspec.get_executor' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.get_progressbar_class' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.validate' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.rasterize_pdf_page' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.filter_ocr_image' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.filter_page_image' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.filter_pdf_page' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.get_ocr_engine' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'pluginspec.OcrEngine' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import class 'pluginspec.OrientationConfidence' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.generate_pdfa' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.optimize_pdf' from module 'ocrmypdf'; the following exception was raised: ocrmypdf WARNING: autodoc: failed to import function 'pluginspec.is_optimization_enabled' from module 'ocrmypdf'; the following exception was raised: ocrmypdf done checking consistency... done preparing documents... done writing output... [ 5%] advanced writing output... [ 10%] api writing output... [ 15%] apiref writing output... [ 21%] batch writing output... [ 26%] contributing writing output... [ 31%] cookbook writing output... [ 36%] docker writing output... [ 42%] errors writing output... [ 47%] index writing output... [ 52%] installation writing output... [ 57%] introduction writing output... [ 63%] jbig2 writing output... [ 68%] languages writing output... [ 73%] maintainers writing output... [ 78%] optimizer writing output... [ 84%] pdfsecurity writing output... [ 89%] performance writing output... [ 94%] plugins writing output... [100%] release_notes generating indices... /builddir/build/BUILD/ocrmypdf-14.0.4/docs/cookbook.rst:369: WARNING: Failed to create a cross reference. A title or caption not found: 'jbig2-lossy' genindex py-modindex done writing additional pages... search done copying images... [ 33%] images/macos-workflow.png copying images... [ 66%] images/logo.svg copying images... [100%] images/bitmap_vs_svg.svg copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 30 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bETzNQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocrmypdf-14.0.4 ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ ls /builddir/build/BUILD/ocrmypdf-14.0.4/pyproject-wheeldir/ocrmypdf-14.0.4-py38-none-any.whl + specifier=ocrmypdf==14.0.4 + TMPDIR=/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/ocrmypdf-14.0.4/pyproject-wheeldir ocrmypdf==14.0.4 Using pip 23.0.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/ocrmypdf-14.0.4/pyproject-wheeldir Processing ./pyproject-wheeldir/ocrmypdf-14.0.4-py38-none-any.whl Installing collected packages: ocrmypdf Creating /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/ocrmypdf to 755 Successfully installed ocrmypdf-14.0.4 + '[' -d /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/ocrmypdf /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/ocrmypdf: updating + rm -rfv /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 --record /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/RECORD --output /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-record + rm -fv /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/RECORD removed '/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages/ocrmypdf-14.0.4.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-files --output-modules /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-modules --buildroot /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/ocrmypdf-14.0.4-1.fc38.x86_64-pyproject-record --prefix /usr ocrmypdf + install -Dpm 0644 misc/completion/ocrmypdf.bash /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/bash-completion/completions/ocrmypdf + install -Dpm 0644 misc/completion/ocrmypdf.fish /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/fish/vendor_completions.d/ocrmypdf.fish + install -Dpm 0755 misc/watcher.py /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/ocrmypdf-watcher + install -Dpm 0755 misc/webservice.py /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin/ocrmypdf-webservice + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 14.0.4-1.fc38 --unique-debug-suffix -14.0.4-1.fc38.x86_64 --unique-debug-src-base ocrmypdf-14.0.4-1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ocrmypdf-14.0.4 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/ocrmypdf-webservice from /usr/bin/env python3 to #!/usr/bin/python3 mangling shebang in /usr/bin/ocrmypdf-watcher from /usr/bin/env python3 to #!/usr/bin/python3 + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.IjAAYG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ocrmypdf-14.0.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -ra -n auto --runslow -k 'not test_tesseract_config_invalid' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/ocrmypdf-14.0.4, configfile: pyproject.toml, testpaths: tests plugins: xdist-3.1.0 gw0 I / gw1 I gw0 [318] / gw1 [318] ........x.s......................ss.............x....................... [ 22%] ..................................ssss................sss............... [ 45%] ...............................................x......................s. [ 67%] ..............................x..............s.......................... [ 90%] .............................. [100%] =============================== warnings summary =============================== tests/test_main.py::test_jbig2_passthrough tests/test_metadata.py::test_creation_date_preserved[pdf-jbig2.pdf] /usr/lib64/python3.11/site-packages/pikepdf/_methods.py:493: UserWarning: pikepdf is missing some specialized decoders (probably JBIG2) so not all stream contents can be tested. self._decode_all_streams_and_discard() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ SKIPPED [1] tests/test_concurrency.py:15: --use-threads is currently default SKIPPED [1] tests/test_helpers.py:96: Windows test SKIPPED [1] tests/test_helpers.py:107: Windows test SKIPPED [4] tests/test_metadata.py:110: test uses fitz SKIPPED [2] tests/test_optimize.py:81: jbig2enc not installed SKIPPED [1] tests/test_optimize.py:113: jbig2enc not installed SKIPPED [1] tests/test_main.py:180: tess 5 tries harder to find its files SKIPPED [1] tests/test_tesseract.py:61: doesn't fool Tess 5 XFAIL tests/test_completion.py::test_fish - reason: fish is not installed XFAIL tests/test_image_input.py::test_jpeg_in_jpeg_out - remove background disabled XFAIL tests/test_preprocessing.py::test_remove_background - remove background disabled XFAIL tests/test_rotation.py::test_rotate_deskew_timeout - tesseract timeout blocks tesseract based deskew ====== 302 passed, 12 skipped, 4 xfailed, 2 warnings in 285.36s (0:04:45) ====== + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/ocrmypdf-14.0.4/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -ra --runslow -k test_tesseract_config_invalid ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.1, pluggy-1.0.0 rootdir: /builddir/build/BUILD/ocrmypdf-14.0.4, configfile: pyproject.toml, testpaths: tests plugins: xdist-3.1.0 gw0 I / gw1 I gw0 [2] / gw1 [2] .. [100%] ============================== 2 passed in 6.23s =============================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ocrmypdf-14.0.4-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.23MRsN + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf + cp -pr README.md /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.f45OuN + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf + cp -pr LICENSE /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocrmypdf = 14.0.4-1.fc38 python3.11dist(ocrmypdf) = 14.0.4 python3dist(ocrmypdf) = 14.0.4 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.11 python3.11dist(coloredlogs) >= 14 python3.11dist(deprecation) >= 2.1 python3.11dist(img2pdf) >= 0.3 python3.11dist(packaging) >= 20 python3.11dist(pdfminer-six) >= 20201018 python3.11dist(pikepdf) >= 5.0.1 python3.11dist(pillow) >= 8.2 python3.11dist(pluggy) >= 0.13 python3.11dist(reportlab) >= 3.5.66 python3.11dist(tqdm) >= 4 Recommends: pngquant >= 2.0.0 unpaper >= 6.1 Processing files: ocrmypdf-doc-14.0.4-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MIkBzJ + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + DOCDIR=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf-doc + cp -pr html /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/doc/ocrmypdf-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.MHcByN + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + LICENSEDIR=/builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64/usr/share/licenses/ocrmypdf-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ocrmypdf-doc = 14.0.4-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ocrmypdf+watcher-14.0.4-1.fc38.noarch Provides: ocrmypdf+watcher = 14.0.4-1.fc38 python3.11dist(ocrmypdf[watcher]) = 14.0.4 python3dist(ocrmypdf[watcher]) = 14.0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(watchdog) >= 1.0.2 Processing files: ocrmypdf+webservice-14.0.4-1.fc38.noarch Provides: ocrmypdf+webservice = 14.0.4-1.fc38 python3.11dist(ocrmypdf[webservice]) = 14.0.4 python3dist(ocrmypdf[webservice]) = 14.0.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 python3.11dist(flask) >= 1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 Wrote: /builddir/build/SRPMS/ocrmypdf-14.0.4-1.fc38.src.rpm Wrote: /builddir/build/RPMS/ocrmypdf-14.0.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ocrmypdf+watcher-14.0.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ocrmypdf+webservice-14.0.4-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ocrmypdf-doc-14.0.4-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MSwGmq + umask 022 + cd /builddir/build/BUILD + cd ocrmypdf-14.0.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ocrmypdf-14.0.4-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cBk4Ho + umask 022 + cd /builddir/build/BUILD + rm -rf ocrmypdf-14.0.4 ocrmypdf-14.0.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0