Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 884829 Details for
Bug 924402
dev-python/pytesseract-0.3.12 fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 192.89 KB, created by
Agostino Sarubbo
on 2024-02-13 07:48:13 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2024-02-13 07:48:13 UTC
Size:
192.89 KB
patch
obsolete
> * Package: dev-python/pytesseract-0.3.12:0 > * Repository: gentoo > * Maintainer: tupone@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 test > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox > > >@@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ >This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; >This ebuild was merged at the following commit: >https://github.com/gentoo-mirror/gentoo/commit/26646ab7f8ed457dc4dbaebbd64a6b8caedbd520 (Tue Feb 13 05:49:02 UTC 2024) >@@@@@ END @@@@@ > > > >################## ># emerge --info: # >################## >Portage 3.0.61 (python 3.12.2-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.38-r10, 6.1.66-gentoo-dist x86_64) >================================================================= >System uname: Linux-6.1.66-gentoo-dist-x86_64-AMD_EPYC_7513_32-Core_Processor-with-glibc2.38 >KiB Mem: 263452516 total, 47439000 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Tue, 13 Feb 2024 05:49:01 +0000 >sh bash 5.2_p26 >ld GNU ld (Gentoo 2.41 p5) 2.41.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.2_p26::gentoo >dev-build/autoconf: 2.72-r1::gentoo >dev-build/automake: 1.16.5-r2::gentoo >dev-build/cmake: 3.28.3::gentoo >dev-build/libtool: 2.4.7-r2::gentoo >dev-build/make: 4.4.1-r1::gentoo >dev-build/meson: 1.3.1-r1::gentoo >dev-lang/perl: 5.38.2-r1::gentoo >dev-lang/python: 3.10.13_p3::gentoo, 3.11.8_p1::gentoo, 3.12.2_p1::gentoo >sys-apps/baselayout: 2.14-r2::gentoo >sys-apps/openrc: 0.53::gentoo >sys-apps/sandbox: 2.38::gentoo >sys-devel/binutils: 2.41-r5::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/clang: 17.0.6::gentoo >sys-devel/gcc: 13.2.1_p20240113-r1::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-devel/lld: 17.0.6::gentoo >sys-devel/llvm: 17.0.6::gentoo >sys-kernel/linux-headers: 6.7::gentoo (virtual/os-headers) >sys-libs/glibc: 2.38-r10::gentoo >Repositories: > >gentoo > location: /usr/portage > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: True > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 3 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >Binary Repositories: > >gentoobinhost > priority: 1 > sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64 > >ACCEPT_KEYWORDS="amd64 ~amd64" >ACCEPT_LICENSE="* Apache-2.0" >CBUILD="x86_64-pc-linux-gnu" >CC="clang" >CFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >CHOST="x86_64-pc-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXX="clang++" >CXXFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >DISTDIR="/var/tmp/portage/dev-python/pytesseract-0.3.12/distdir" >EMERGE_DEFAULT_OPTS="--complete-graph y --with-bdeps=y -1 -k -b --backtrack=100" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -march=x86-64 -pipe -pipe -frecord-gcc-switches -fno-diagnostics-color -fmessage-length=0" >GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" >LANG="C.UTF8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" >LEX="flex" >MAKEOPTS="-j32" >PKGDIR="/root/tbci/binpkg" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl amd64 bzip2 cli crypt debug dri elogind fortran gdbm iconv ipv6 jumbo-build libtirpc multilib native-symlinks ncurses nls openmp pam pcre readline seccomp split-usr ssl test test-rust unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" PYTHON_TARGETS="python3_10 python3_11 python3_12" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > > >############################## ># emerge history (qlop -mv): # >############################## >2024-02-13T07:26:56 >>> media-libs/leptonica-1.84.1-r2 >2024-02-13T07:26:55 >>> app-text/tessdata_fast-4.1.0 >2024-02-13T07:26:58 >>> media-libs/libjpeg-turbo-3.0.2 >2024-02-13T07:26:59 >>> dev-lang/nasm-2.16.01-r1 >2024-02-13T07:27:01 >>> dev-python/olefile-0.47 >2024-02-13T07:27:06 >>> app-text/tesseract-5.3.4 >2024-02-13T07:27:14 >>> dev-python/pillow-10.2.0 >2024-02-13T07:27:20 >>> dev-python/pytesseract-0.3.12 >2024-02-13T07:27:54 >>> media-libs/tiff-4.6.0 >2024-02-13T07:27:56 >>> media-libs/giflib-5.2.1-r1 >2024-02-13T07:27:58 >>> media-libs/libwebp-1.3.2 >2024-02-13T07:27:59 >>> media-libs/lcms-2.16 >2024-02-13T07:28:00 >>> dev-python/iniconfig-2.0.0 >2024-02-13T07:28:01 >>> dev-python/exceptiongroup-1.2.0 >2024-02-13T07:28:02 >>> dev-python/flit_scm-1.7.0 >2024-02-13T07:28:03 >>> dev-python/hatch-vcs-0.4.0 >2024-02-13T07:28:12 >>> media-libs/openjpeg-2.5.0-r6 >2024-02-13T07:28:24 >>> dev-python/pytest-7.4.4 >2024-02-13T07:28:30 >>> media-libs/leptonica-1.84.1-r2 >2024-02-13T07:28:59 >>> app-text/tesseract-5.3.4 > > > > >####################################### ># installed packages (qlist -ICvUSS): # >####################################### >acct-group/audio-0-r2:0 >acct-group/cdrom-0-r2:0 >acct-group/dialout-0-r2:0 >acct-group/disk-0-r2:0 >acct-group/floppy-0-r1:0 >acct-group/input-0-r2:0 >acct-group/kmem-0-r2:0 >acct-group/kvm-0-r2:0 >acct-group/lp-0-r2:0 >acct-group/man-0-r2:0 >acct-group/messagebus-0-r2:0 >acct-group/polkitd-0-r2:0 >acct-group/portage-0-r1:0 >acct-group/render-0-r2:0 >acct-group/root-0-r1:0 >acct-group/sgx-0-r1:0 >acct-group/sshd-0-r2:0 >acct-group/tape-0-r2:0 >acct-group/tty-0-r2:0 >acct-group/usb-0-r2:0 >acct-group/video-0-r2:0 >acct-user/man-1-r2:0 >acct-user/messagebus-0-r2:0 >acct-user/polkitd-0-r2:0 >acct-user/portage-0-r2:0 >acct-user/sshd-0-r2:0 >app-admin/eselect-1.4.27-r1:0 -doc -emacs -vim-syntax >app-admin/perl-cleaner-2.31:0 -pkgcore >app-alternatives/awk-4:0 -busybox gawk -mawk -nawk split-usr >app-alternatives/bc-0:0 -gh gnu >app-alternatives/bzip2-1:0 -lbzip2 -pbzip2 reference split-usr >app-alternatives/cpio-0:0 gnu -libarchive split-usr >app-alternatives/gzip-1:0 -pigz reference split-usr >app-alternatives/lex-0-r1:0 flex -reflex >app-alternatives/ninja-1:0 reference -samurai >app-alternatives/sh-0:0 bash -busybox -dash -ksh -lksh -mksh >app-alternatives/tar-0:0 gnu -libarchive split-usr >app-alternatives/yacc-1-r2:0 bison -byacc -reference >app-arch/bzip2-1.0.8-r5:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static -static-libs -verify-sig >app-arch/cpio-2.15:0 nls >app-arch/gzip-1.13:0 -pic -static -verify-sig >app-arch/libarchive-3.7.2:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs -verify-sig xattr -zstd >app-arch/tar-1.35:0 acl -minimal nls -selinux -verify-sig xattr >app-arch/unzip-6.0_p27-r1:0 bzip2 -natspec unicode >app-arch/xz-utils-5.4.6-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc extra-filters nls -pgo -static-libs -verify-sig >app-arch/zstd-1.5.5-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 lzma -static-libs -test zlib >app-crypt/gnupg-2.4.4:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -tpm -usb -user-socket -verify-sig -wks-server >app-crypt/gpgme-1.23.2:1/11.6.15.2 -common-lisp cxx debug -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -qt5 -qt6 -static-libs -test -verify-sig >app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs >app-crypt/libmd-1.1.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >app-crypt/pinentry-1.2.1-r4:0 -X -caps -efl -emacs -gtk -keyring ncurses -qt5 -verify-sig -wayland >app-crypt/rhash-1.4.4-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls ssl -static-libs >app-editors/nano-7.2-r1:0 -debug -justify -magic -minimal ncurses nls spell -static unicode >app-eselect/eselect-fontconfig-20220403:0 >app-eselect/eselect-iptables-20220320:0 >app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 >app-eselect/eselect-pinentry-0.7.3:0 >app-i18n/man-pages-ja-20180315-r1:0 >app-i18n/man-pages-l10n-4.19.0:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi >app-i18n/man-pages-zh_CN-1.6.4.0:0 >app-misc/ca-certificates-20230311.3.97:0 -cacert >app-misc/editor-wrapper-4-r1:0 >app-misc/mime-types-2.1.54:0 -nginx >app-misc/pax-utils-1.3.7:0 -caps -man -python -python_single_target_python3_10 python_single_target_python3_11 -seccomp -test >app-misc/tmux-3.3a-r1:0 debug -selinux -systemd -utempter -vim-syntax >app-portage/eix-0.36.7:0 debug -doc nls -sqlite >app-portage/elt-patches-20240116:0 >app-portage/gemato-20.5:0 gpg -pretty-log python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -tools >app-portage/gentoolkit-0.6.5:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >app-portage/getuto-1.10.1:0 -test >app-portage/portage-utils-0.96.1:0 openmp qmanifest qtegrity -static >app-shells/bash-5.2_p26:0 -afs -bashlogger -examples -mem-scramble net nls -pgo -plugins readline -verify-sig >app-shells/bash-completion-2.11:0 eselect -test >app-shells/gentoo-bashcomp-20230313:0 >app-shells/push-3.4:0 >app-shells/quoter-4.2:0 >app-text/ansifilter-2.20:0 -gui -verify-sig >app-text/asciidoc-10.2.0:0 -python_single_target_pypy3 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 >app-text/build-docbook-catalog-2.4:0 >app-text/docbook-xml-dtd-4.5-r2:4.5 >app-text/docbook-xml-dtd-4.4-r3:4.4 >app-text/docbook-xml-dtd-4.2-r3:4.2 >app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 >app-text/docbook-xsl-ns-stylesheets-1.79.1:0 -ruby >app-text/docbook-xsl-stylesheets-1.79.1-r4:0 -ruby >app-text/manpager-1:0 >app-text/opensp-1.5.2-r10:0 -doc nls -static-libs -test >app-text/po4a-0.70:0 -test -test >app-text/sgml-common-0.6.3-r7:0 >app-text/tessdata_fast-4.1.0:0 l10n_af l10n_am l10n_ar l10n_as l10n_az l10n_be l10n_bg l10n_bn l10n_bo l10n_br l10n_bs l10n_ca l10n_ceb l10n_chr l10n_co l10n_cs l10n_cy l10n_da l10n_de l10n_dv l10n_dz l10n_el l10n_en l10n_eo l10n_es l10n_et l10n_eu l10n_fa l10n_fi l10n_fil l10n_fo l10n_fr l10n_fy l10n_ga l10n_gd l10n_gl l10n_gu l10n_he l10n_hi l10n_hr l10n_ht l10n_hu l10n_hy l10n_id l10n_is l10n_it l10n_iu l10n_ja l10n_jv l10n_ka l10n_kk l10n_km l10n_kmr-Latn l10n_kn l10n_ko l10n_ky l10n_la l10n_lb l10n_lo l10n_lt l10n_lv l10n_mi l10n_mk l10n_ml l10n_mn l10n_mr l10n_ms l10n_mt l10n_my l10n_ne l10n_nl l10n_no l10n_oc l10n_or l10n_pa l10n_pl l10n_ps l10n_pt l10n_qu l10n_ro l10n_ru l10n_sa l10n_sd l10n_si l10n_sk l10n_sl l10n_sq l10n_sr l10n_su l10n_sv l10n_sw l10n_syc l10n_ta l10n_te l10n_tg l10n_th l10n_ti l10n_to l10n_tr l10n_tt l10n_ug l10n_uk l10n_ur l10n_uz l10n_vi l10n_yi l10n_yo l10n_zh osd >app-text/tesseract-5.3.4:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -float32 jpeg -opencl openmp png -static-libs tiff -training webp >app-text/xmlto-0.0.28-r11:0 -latex text >dev-build/autoconf-2.72-r1:2.72 -emacs -verify-sig >dev-build/autoconf-archive-2023.02.20:0 >dev-build/autoconf-wrapper-20231224:0 >dev-build/automake-1.16.5-r2:1.16 -test >dev-build/automake-wrapper-20221207:0 >dev-build/cmake-3.28.3:0 -dap -doc -gui ncurses -qt6 -test -test -verify-sig >dev-build/gtk-doc-am-1.33.2:0 >dev-build/libtool-2.4.7-r2:2 -vanilla >dev-build/make-4.4.1-r1:0 -guile nls -static -verify-sig >dev-build/meson-1.3.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -verify-sig >dev-build/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-build/ninja-1.11.1-r5:0 -doc -test >dev-db/sqlite-3.45.1-r1:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools >dev-lang/duktape-2.7.0-r3:0/2.7.0 >dev-lang/nasm-2.16.01-r1:0 -doc >dev-lang/perl-5.38.2-r1:0/5.38 -berkdb debug -doc gdbm ithreads -minimal -quadmath >dev-lang/python-3.12.2_p1:3.12 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.11.8_p1:3.11 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-3.10.13_p3:3.10 -bluetooth -build debug ensurepip -examples gdbm -libedit ncurses -pgo readline sqlite ssl -test -tk -valgrind -verify-sig >dev-lang/python-exec-2.4.10:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-lang/tcl-8.6.13-r1:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug threads >dev-libs/boehm-gc-8.2.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx large -static-libs threads >dev-libs/elfutils-0.190:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -debuginfod -lzma nls -static-libs -test utils -verify-sig -zstd >dev-libs/expat-2.6.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples -static-libs -test unicode >dev-libs/glib-2.78.4-r1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus debug elf -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr >dev-libs/gmp-6.3.0-r1:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpudetection cxx -doc -pic -static-libs >dev-libs/gobject-introspection-1.78.1:0 -doctool -gtk-doc -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 -test >dev-libs/gobject-introspection-common-1.78.1:0 >dev-libs/isl-0.26:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/jsoncpp-1.9.5:0/25 -doc -test >dev-libs/libassuan-2.5.6:0 -verify-sig >dev-libs/libatomic_ops-7.8.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 >dev-libs/libbsd-0.11.8:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/libevent-2.1.12-r1:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime debug -malloc-replacement ssl -static-libs -test -verbose-debug -verify-sig >dev-libs/libffi-3.4.4-r4:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -exec-static-trampoline -pax-kernel -static-libs -test >dev-libs/libgcrypt-1.10.3-r1:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc getentropy -static-libs -verify-sig >dev-libs/libgpg-error-1.47-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs -test -verify-sig >dev-libs/libksba-1.6.5:0 -static-libs -verify-sig >dev-libs/libpcre2-10.42-r2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline -static-libs unicode -valgrind -verify-sig zlib >dev-libs/libpipeline-1.5.7:0 -test >dev-libs/libtasn1-4.19.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >dev-libs/libunistring-1.1-r1:0/5 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >dev-libs/libuv-1.48.0:0/1 >dev-libs/libxml2-2.12.5:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples ftp -icu -lzma python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 readline -static-libs -test >dev-libs/libxslt-1.1.39:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt debug -examples -python python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -static-libs >dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs >dev-libs/mpc-1.3.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >dev-libs/mpfr-4.2.1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig >dev-libs/nettle-3.9.1:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_aes -cpu_flags_arm_neon -cpu_flags_arm_sha1 -cpu_flags_arm_sha2 -cpu_flags_ppc_altivec -cpu_flags_ppc_vsx2 -cpu_flags_ppc_vsx3 cpu_flags_x86_aes cpu_flags_x86_pclmul -cpu_flags_x86_sha -doc gmp -static-libs -verify-sig >dev-libs/npth-1.6-r2:0 -test >dev-libs/openssl-3.2.1-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -fips -ktls -rfc3779 -sctp -static-libs -test -tls-compression -vanilla -verify-sig -verify-sig -weak-ssl-ciphers >dev-libs/popt-1.19-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test >dev-perl/Encode-HanExtra-0.230.0-r3:0 >dev-perl/Encode-Locale-1.50.0-r1:0 -test >dev-perl/ExtUtils-CChecker-0.110.0:0 -test >dev-perl/File-BaseDir-0.90.0:0 -test >dev-perl/File-DesktopEntry-0.220.0-r1:0 -test >dev-perl/File-MimeInfo-0.330.0:0 -test >dev-perl/IO-Socket-SSL-2.85.0:0 -examples -idn -test >dev-perl/IPC-System-Simple-1.300.0:0 -test >dev-perl/Locale-gettext-1.70.0-r1:0 -test >dev-perl/MIME-Charset-1.13.1:0 l10n_ja l10n_zh -test >dev-perl/Module-Build-0.423.400:0 -test >dev-perl/Mozilla-CA-20999999-r1:0 -test >dev-perl/Net-SSLeay-1.940.0:0 -examples -examples -minimal -test >dev-perl/Pod-Parser-1.660.0:0 -test >dev-perl/Regexp-IPv6-0.30.0-r2:0 -test >dev-perl/SGMLSpm-1.1-r2:0 -test >dev-perl/Syntax-Keyword-Try-0.290.0:0 -test >dev-perl/TermReadKey-2.380.0-r1:0 -examples -test >dev-perl/Text-CharWidth-0.40.0-r2:0 -test >dev-perl/Text-WrapI18N-0.60.0-r2:0 -test >dev-perl/Unicode-LineBreak-2019.1.0:0 >dev-perl/URI-5.210.0:0 -test >dev-perl/XS-Parse-Keyword-0.380.0:0 -test >dev-perl/YAML-Tiny-1.740.0:0 -minimal -test >dev-python/certifi-3021.3.16-r4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/charset-normalizer-3.3.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/cython-3.0.8:0 debug -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/editables-0.5:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ensurepip-pip-24.0:0 >dev-python/ensurepip-setuptools-69.1.0:0 >dev-python/ensurepip-wheels-100:0 >dev-python/exceptiongroup-1.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit-core-3.9.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/flit_scm-1.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/gentoo-common-1:0 >dev-python/gpep517-15:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatch-vcs-0.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/hatchling-1.21.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/idna-3.6:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/iniconfig-2.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/installer-0.7.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-context-4.3.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-functools-4.0.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jaraco-text-3.12.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/jinja-3.1.3:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/lxml-5.1.0:0 debug -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test threads >dev-python/markupsafe-2.1.5:0 debug python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/more-itertools-10.2.0:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/nspektr-0.5.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/olefile-0.47:0 -doc python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/ordered-set-4.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/packaging-23.2-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pathspec-0.12.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pillow-10.2.0:0 debug -examples -imagequant jpeg -jpeg2k -lcms python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -test -tiff -tk -truetype -webp -xcb zlib >dev-python/platformdirs-4.2.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pluggy-1.4.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pypy3-7.3.15:0/pypy310-pp73-384 gdbm ncurses sqlite -tk >dev-python/pypy3_10-7.3.15:0/pypy310-pp73-384 ensurepip gdbm jit ncurses sqlite -tk >dev-python/pypy3_10-exe-bin-7.3.15:7.3.15 >dev-python/PySocks-1.7.1-r2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >dev-python/pytesseract-0.3.12:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/pytest-7.4.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/requests-2.31.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -socks5 -test test-rust >dev-python/setuptools-69.1.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/setuptools-scm-8.0.4:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/tomli-2.0.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/trove-classifiers-2024.1.31:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/typing-extensions-4.9.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-python/urllib3-2.2.0:0 -brotli -http2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test -zstd >dev-python/wheel-0.42.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 -test >dev-util/checkbashisms-2.23.5:0 >dev-util/desktop-file-utils-0.27-r1:0 >dev-util/glib-utils-2.78.4:0 -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 >dev-util/gperf-3.1-r2:0 >dev-util/pkgconf-2.1.1:0/4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test >dev-util/re2c-3.1:0 debug -test >dev-vcs/git-2.43.1:0 blksha1 -cgi curl -cvs -doc gpg -highlight iconv -keyring -mediawiki nls pcre -perforce -perl -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 safe-directory -selinux -subversion -test -tk webdav -xinetd >media-fonts/liberation-fonts-2.1.5:0 -X -X -fontforge >media-gfx/graphite2-1.3.14_p20210810-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test >media-libs/fontconfig-2.15.0:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc nls -test >media-libs/freetype-2.13.2:2 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting debug -doc -fontforge harfbuzz png -static-libs -svg -utils >media-libs/giflib-5.2.1-r1:0/7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs >media-libs/harfbuzz-8.3.0:0/6.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo debug -doc -experimental glib graphite -icu introspection -test truetype >media-libs/lcms-2.16:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -jpeg -static-libs -tiff >media-libs/leptonica-1.84.1-r2:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 gif jpeg jpeg2k png -static-libs -test tiff -utils webp zlib >media-libs/libjpeg-turbo-3.0.2:0/0.2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon -java -java -static-libs >media-libs/libpng-1.6.42:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs -test >media-libs/libwebp-1.3.2:0/7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_neon cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 -gif jpeg -opengl png -static-libs -swap-16bit-csp -tiff >media-libs/openjpeg-2.5.0-r6:2/7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >media-libs/tiff-4.6.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cxx -jbig jpeg -lzma -static-libs -test -verify-sig -webp zlib -zstd >net-dns/c-ares-1.26.0:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -verify-sig >net-dns/libidn2-2.3.7:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs -verify-sig >net-firewall/iptables-1.8.10:0/1.8.3 -conntrack -netlink -nftables -pcap split-usr -static-libs -test >net-libs/gnutls-3.8.3:0/30.30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -brotli cxx -dane -doc -examples idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -verify-sig zlib -zstd >net-libs/libmnl-1.0.5:0/0.2.0 -examples -verify-sig >net-libs/libnsl-2.0.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >net-libs/libpsl-0.21.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -icu idn -test >net-libs/libtirpc-1.3.4-r2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -kerberos -static-libs >net-libs/nghttp2-1.59.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -hpack-tools -jemalloc -static-libs -systemd -test -utils -xml >net-misc/curl-8.6.0-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adns alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls curl_ssl_openssl -curl_ssl_rustls ftp -gnutls -gopher hsts http2 -idn imap -kerberos -ldap -mbedtls -nghttp3 openssl pop3 progress-meter psl -rtmp -rustls -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -verify-sig -websockets -zstd >net-misc/dhcpcd-10.0.6-r1:0 debug embedded ipv6 -privsep udev >net-misc/iputils-20240117:0 arping -caps -clockdiff -doc filecaps -idn nls -test -tracepath >net-misc/netifrc-0.7.8:0 dhcp >net-misc/openssh-9.6_p1-r2:0 -X -abi_mips_n32 -audit -debug -kerberos -ldns -libedit -livecd pam -pie -security-key -selinux ssl -static -test -verify-sig -xmss >net-misc/rsync-3.2.7-r4:0 acl -examples iconv -lz4 -python_single_target_python3_10 python_single_target_python3_11 -rrsync ssl -stunnel -system-zlib -verify-sig xattr -xxhash -zstd >net-misc/wget-1.21.4:0 -cookie-check debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid -verify-sig zlib >perl-core/File-Temp-0.231.100:0 >perl-core/Math-BigInt-1.999.842:0 -examples -test >sec-keys/openpgp-keys-gentoo-release-20230329:0 -test >sys-apps/acl-2.3.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs >sys-apps/attr-2.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug nls -static-libs >sys-apps/baselayout-2.14-r2:0 -build split-usr >sys-apps/coreutils-9.4-r1:0 acl -caps -gmp -hostname -kill -multicall nls openssl -selinux split-usr -static -test -vanilla -verify-sig xattr >sys-apps/dbus-1.15.8:0 -X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 debug -doc elogind -selinux -static-libs -systemd -test -test -valgrind >sys-apps/diffutils-3.10:0 nls -verify-sig >sys-apps/file-5.45-r4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzip -lzma -python python_targets_python3_10 python_targets_python3_11 -seccomp -static-libs -verify-sig zlib -zstd >sys-apps/findutils-4.9.0-r2:0 nls -selinux -static -test -verify-sig >sys-apps/gawk-5.3.0-r1:0 -mpfr nls -pma readline -verify-sig >sys-apps/gentoo-functions-0.19:0 >sys-apps/grep-3.11:0 egrep-fgrep nls pcre -static -verify-sig >sys-apps/groff-1.23.0:0 -X -examples -uchardet >sys-apps/help2man-1.49.3:0 nls >sys-apps/install-xattr-0.8-r1:0 >sys-apps/iproute2-6.6.0-r3:0 -atm -berkdb -bpf -caps -elf iptables -minimal -nfs -selinux >sys-apps/kbd-2.6.4:0 nls pam -selinux -test >sys-apps/kmod-31:0 debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_11 -static-libs tools zlib zstd >sys-apps/less-643-r1:0 pcre -test >sys-apps/locale-gen-2.23-r1:0 >sys-apps/man-db-2.12.0:0 manpager nls seccomp -selinux -static-libs zlib >sys-apps/man-pages-6.06:0 l10n_cs l10n_da l10n_de l10n_el l10n_es l10n_fi l10n_fr l10n_hu l10n_id l10n_it l10n_ja l10n_mk l10n_nb l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_sr l10n_sv l10n_uk l10n_vi l10n_zh-CN -verify-sig >sys-apps/miscfiles-1.5-r4:0 -minimal >sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static >sys-apps/openrc-0.53:0 -audit -bash debug ncurses netifrc -newnet pam -s6 -selinux -sysv-utils sysvinit unicode >sys-apps/portage-3.0.61-r1:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 rsync-verify -selinux -test xattr >sys-apps/sandbox-2.38:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp >sys-apps/sed-4.9:0 acl nls -selinux -static -verify-sig >sys-apps/shadow-4.14.4:0/4 acl -audit -cracklib nls pam -selinux -skey split-usr -su -systemd -verify-sig xattr >sys-apps/systemd-utils-254.9-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -boot -kernel-install kmod -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 -secureboot -selinux split-usr -sysusers -test tmpfiles udev -ukify >sys-apps/sysvinit-3.08:0 -ibm nls -selinux -static -verify-sig >sys-apps/texinfo-7.1-r1:0 nls standalone -static >sys-apps/util-linux-2.39.3-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_10 python_targets_python3_11 readline -rtas -selinux -slang -static-libs su suid -systemd -test -tty-helpers -udev unicode -verify-sig >sys-apps/which-2.21:0 >sys-auth/elogind-252.9:0 acl -audit cgroup-hybrid debug -doc pam policykit -selinux -test >sys-auth/pambase-20240128:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -sssd -systemd -yescrypt >sys-auth/passwdqc-2.0.3-r1:0 >sys-auth/polkit-124-r1:0 daemon duktape -examples -gtk introspection -kde pam -selinux -systemd -test >sys-devel/bc-1.07.1-r6:0 -libedit readline -static >sys-devel/binutils-2.41-r5:2.41 -cet -debuginfod -doc -gold -gprofng -hardened -multitarget nls -pgo plugins -static-libs -test -vanilla -zstd >sys-devel/binutils-config-5.5:0 native-symlinks >sys-devel/bison-3.8.2-r2:0 -examples nls -static -test -verify-sig >sys-devel/clang-17.0.6:17/17 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -doc extra -ieee-long-double llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_DirectX llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_LoongArch -llvm_targets_M68k llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV -llvm_targets_SPIRV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -llvm_targets_Xtensa pie -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 static-analyzer -test -test -verify-sig -xml >sys-devel/clang-common-17.0.6-r1:0 -bootstrap-prefix -default-compiler-rt -default-libcxx -default-lld -hardened -llvm-libunwind -verify-sig >sys-devel/clang-runtime-17.0.6:17 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compiler-rt -libcxx openmp sanitize >sys-devel/clang-toolchain-symlinks-17:17 -gcc-symlinks -multilib-symlinks native-symlinks >sys-devel/flex-2.6.4-r6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test >sys-devel/gcc-13.2.1_p20240113-r1:13 -ada -cet -custom-cflags cxx -d -debug -default-stack-clash-protection -default-znow -doc -fixed-point fortran -go graphite -hardened -ieee-long-double -jit -libssp lto -modula2 multilib nls -objc -objc++ -objc-gc openmp -pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd >sys-devel/gcc-config-2.11:0 cc-wrappers native-symlinks >sys-devel/gettext-0.22.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs -verify-sig xattr >sys-devel/gnuconfig-20230731:0 >sys-devel/lld-17.0.6:17/17 -debug -test -verify-sig -zstd >sys-devel/lld-toolchain-symlinks-17:17 -multilib-symlinks native-symlinks >sys-devel/llvm-17.0.6:17/17 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 binutils-plugin -debug -debuginfod -doc -doc -exegesis -libedit libffi llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_DirectX llvm_targets_Hexagon llvm_targets_Lanai llvm_targets_LoongArch -llvm_targets_M68k llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX llvm_targets_PowerPC llvm_targets_RISCV -llvm_targets_SPIRV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_VE llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -llvm_targets_Xtensa ncurses -test -verify-sig -xar -xml -z3 -zstd >sys-devel/llvm-common-17.0.6:0 -emacs -verify-sig >sys-devel/llvm-toolchain-symlinks-17:17 -multilib-symlinks native-symlinks >sys-devel/llvmgold-17:0 >sys-devel/m4-1.4.19-r2:0 -examples nls -verify-sig >sys-devel/patch-2.7.6-r5:0 -static -test -verify-sig xattr >sys-fs/e2fsprogs-1.47.0-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cron -fuse nls -static-libs -test tools >sys-fs/udev-init-scripts-35:0 >sys-kernel/dracut-060_pre20240104-r2:0 -selinux -test >sys-kernel/gentoo-kernel-bin-6.1.77:6.1.77 initramfs -test >sys-kernel/installkernel-25:0 dracut -grub -refind -systemd -systemd-boot -uki -ukify >sys-kernel/linux-headers-6.7:0 -headers-only >sys-libs/binutils-libs-2.41-r5:0/2.41.0 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cet -multitarget nls -static-libs -test >sys-libs/compiler-rt-17.0.6:17 abi_x86_32 abi_x86_64 clang -debug -test -verify-sig >sys-libs/compiler-rt-sanitizers-17.0.6:17 abi_x86_32 abi_x86_64 asan cfi clang -debug dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo -shadowcallstack -test -test tsan ubsan -verify-sig xray >sys-libs/gdbm-1.23:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs -test -verify-sig >sys-libs/glibc-2.38-r10:2.2 -audit -caps -cet -compile-locales -crypt -custom-cflags -doc -gd -hash-sysv-compat -headers-only multiarch multilib -multilib-bootstrap -nscd -perl -profile -selinux ssp stack-realign static-libs -suid -systemd -systemtap -test -vanilla >sys-libs/libcap-2.69-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam -static-libs -tools >sys-libs/libomp-17.0.6:0/17 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 debug -gdb-plugin -hwloc -llvm_targets_AMDGPU -llvm_targets_NVPTX -offload -ompt -python_single_target_python3_10 python_single_target_python3_11 -python_single_target_python3_12 -test -verify-sig >sys-libs/libseccomp-2.5.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -experimental-loong -python python_targets_python3_10 python_targets_python3_11 -static-libs -test >sys-libs/libxcrypt-4.4.36-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compat -headers-only split-usr -static-libs system -test >sys-libs/ncurses-6.4_p20230401:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx debug -doc -gpm -minimal -profile split-usr -split-usr stack-realign -static-libs -test tinfo -trace -verify-sig >sys-libs/pam-1.5.3-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux >sys-libs/readline-8.2_p10:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils -verify-sig >sys-libs/timezone-data-2024a:0 -leaps-timezone nls -zic-slim >sys-libs/zlib-1.3.1-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip -static-libs -verify-sig >sys-process/procps-4.0.4-r1:0/0-ng -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux -static-libs -systemd -test unicode >sys-process/psmisc-23.6:0 -X -apparmor nls -selinux -test >virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/dev-manager-0-r2:0 >virtual/dist-kernel-6.1.77:0/6.1.77 >virtual/editor-0-r7:0 >virtual/libc-1-r1:0 >virtual/libcrypt-2-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs >virtual/libelf-3-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >virtual/libudev-251-r2:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd >virtual/man-0-r4:0 >virtual/openssh-0:0 ssl >virtual/os-headers-0-r2:0 >virtual/package-manager-1:0 >virtual/pager-0-r1:0 >virtual/perl-bignum-0.660.0:0 >virtual/perl-Carp-1.540.0:0 >virtual/perl-CPAN-2.360.0:0 >virtual/perl-CPAN-Meta-2.150.10-r7:0 >virtual/perl-CPAN-Meta-YAML-0.18.0-r9:0 >virtual/perl-Data-Dumper-2.188.0:0 >virtual/perl-Encode-3.190.0:0 >virtual/perl-Exporter-5.770.0-r1:0 >virtual/perl-ExtUtils-CBuilder-0.280.238:0 >virtual/perl-ExtUtils-Install-2.220.0:0 >virtual/perl-ExtUtils-MakeMaker-7.700.0:0 >virtual/perl-ExtUtils-Manifest-1.730.0-r2:0 >virtual/perl-ExtUtils-ParseXS-3.510.0:0 >virtual/perl-File-Path-2.180.0-r2:0 >virtual/perl-File-Spec-3.880.0:0 >virtual/perl-File-Temp-0.231.100:0 >virtual/perl-Getopt-Long-2.540.0:0 >virtual/perl-JSON-PP-4.160.0-r1:0 >virtual/perl-libnet-3.150.0:0 ssl >virtual/perl-Math-BigInt-1.999.842:0 >virtual/perl-Math-BigInt-FastCalc-0.501.300:0 >virtual/perl-Math-BigRat-0.262.400:0 >virtual/perl-Math-Complex-1.620.0:0 >virtual/perl-MIME-Base64-3.160.100_rc:0 >virtual/perl-Module-Metadata-1.0.37-r3:0 >virtual/perl-parent-0.241.0:0 >virtual/perl-Parse-CPAN-Meta-2.150.10-r7:0 >virtual/perl-Perl-OSType-1.10.0-r7:0 >virtual/perl-podlators-5.10.0:0 >virtual/perl-Scalar-List-Utils-1.630.0:0 >virtual/perl-Test-Harness-3.440.0-r1:0 >virtual/perl-Text-ParseWords-3.310.0-r1:0 >virtual/perl-Unicode-Collate-1.310.0-r1:0 >virtual/perl-version-0.992.900-r1:0 >virtual/pkgconfig-2-r1:0 >virtual/service-manager-1-r1:0 >virtual/ssh-0-r2:0 -minimal >virtual/tmpfiles-0-r5:0 -systemd >virtual/ttf-fonts-1-r2:0 >virtual/udev-217-r7:0 -systemd >virtual/w3m-1:0 >www-client/pybugz-0.13-r2:0 python_targets_python3_10 python_targets_python3_11 >www-client/w3m-0.5.3_p20230121:0 -X -fbcon -gdk-pixbuf -gpm -imlib l10n_ja -lynxkeymap nls -nntp ssl unicode -xface >x11-apps/xprop-1.2.7:0 >x11-apps/xset-1.2.5:0 >x11-base/xcb-proto-1.16.0:0 python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 >x11-base/xorg-proto-2023.2:0 -test >x11-libs/cairo-1.18.0:0 X -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug glib -gtk-doc -test >x11-libs/libICE-1.1.1-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libSM-1.2.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc uuid >x11-libs/libX11-1.8.7:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/libXau-1.0.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libxcb-1.16-r1:0/1.12 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -doc -selinux -test xkb >x11-libs/libXdmcp-1.1.4-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXext-1.3.5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXmu-1.1.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc >x11-libs/libXrender-0.9.11:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 >x11-libs/libXt-1.3.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -test >x11-libs/pixman-0.43.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs -test >x11-libs/xtrans-1.5.0:0 -doc >x11-misc/compose-tables-1.8.7:0 >x11-misc/shared-mime-info-2.4-r1:0 -test >x11-misc/util-macros-1.20.0:0 >x11-misc/xdg-utils-1.2.1:0 -dbus -doc -gnome > > >############# ># build.log # >############# > > >>>> Unpacking source... >>>> Unpacking pytesseract-0.3.12.gh.tar.gz to /var/tmp/portage/dev-python/pytesseract-0.3.12/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytesseract-0.3.12/work >>>> Preparing source in /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12 ... > * Build system packages: > * dev-python/gpep517 : 15 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 69.1.0 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 8.0.4 > * dev-python/wheel : 0.42.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12 ... > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for pytesseract-0.3.12 via setuptools.build_meta:__legacy__ >python3.10 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/wheel >2024-02-13 07:29:57,402 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section >2024-02-13 07:29:57,454 root INFO running bdist_wheel >2024-02-13 07:29:57,536 root INFO running build >2024-02-13 07:29:57,536 root INFO running build_py >2024-02-13 07:29:57,544 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build >2024-02-13 07:29:57,544 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib >2024-02-13 07:29:57,544 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib/pytesseract >2024-02-13 07:29:57,544 root INFO copying pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib/pytesseract >2024-02-13 07:29:57,544 root INFO copying pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib/pytesseract >2024-02-13 07:29:57,545 root INFO running egg_info >2024-02-13 07:29:57,545 root INFO creating pytesseract.egg-info >2024-02-13 07:29:57,549 root INFO writing pytesseract.egg-info/PKG-INFO >2024-02-13 07:29:57,549 root INFO writing dependency_links to pytesseract.egg-info/dependency_links.txt >2024-02-13 07:29:57,550 root INFO writing entry points to pytesseract.egg-info/entry_points.txt >2024-02-13 07:29:57,550 root INFO writing requirements to pytesseract.egg-info/requires.txt >2024-02-13 07:29:57,550 root INFO writing top-level names to pytesseract.egg-info/top_level.txt >2024-02-13 07:29:57,551 root INFO writing manifest file 'pytesseract.egg-info/SOURCES.txt' >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-02-13 07:29:57,579 root INFO reading manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:57,580 root INFO adding license file 'LICENSE' >2024-02-13 07:29:57,583 root INFO writing manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:57,584 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-02-13 07:29:57,604 wheel INFO installing to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:57,604 root INFO running install >2024-02-13 07:29:57,627 root INFO running install_lib >2024-02-13 07:29:57,637 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64 >2024-02-13 07:29:57,637 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:57,637 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:57,638 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib/pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:57,638 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/lib/pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:57,639 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-02-13 07:29:57,639 root INFO running install_egg_info >2024-02-13 07:29:57,648 root INFO Copying pytesseract.egg-info to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12-py3.10.egg-info >2024-02-13 07:29:57,651 root INFO running install_scripts >2024-02-13 07:29:57,658 wheel INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12.dist-info/WHEEL >2024-02-13 07:29:57,659 wheel INFO creating '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/wheel/.tmp-iqcm7663/pytesseract-0.3.12-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel' to it >2024-02-13 07:29:57,659 wheel INFO adding 'pytesseract/__init__.py' >2024-02-13 07:29:57,660 wheel INFO adding 'pytesseract/pytesseract.py' >2024-02-13 07:29:57,661 wheel INFO adding 'pytesseract-0.3.12.dist-info/LICENSE' >2024-02-13 07:29:57,661 wheel INFO adding 'pytesseract-0.3.12.dist-info/METADATA' >2024-02-13 07:29:57,662 wheel INFO adding 'pytesseract-0.3.12.dist-info/WHEEL' >2024-02-13 07:29:57,662 wheel INFO adding 'pytesseract-0.3.12.dist-info/entry_points.txt' >2024-02-13 07:29:57,662 wheel INFO adding 'pytesseract-0.3.12.dist-info/top_level.txt' >2024-02-13 07:29:57,663 wheel INFO adding 'pytesseract-0.3.12.dist-info/RECORD' >2024-02-13 07:29:57,663 wheel INFO removing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:57,664 gpep517 INFO The backend produced /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/wheel/pytesseract-0.3.12-py3-none-any.whl > * Installing pytesseract-0.3.12-py3-none-any.whl to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/install >python3.10 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/wheel/pytesseract-0.3.12-py3-none-any.whl >2024-02-13 07:29:57,862 gpep517 INFO Installing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/wheel/pytesseract-0.3.12-py3-none-any.whl into /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/install >2024-02-13 07:29:57,896 gpep517 INFO Installation complete > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for pytesseract-0.3.12 via setuptools.build_meta:__legacy__ >python3.11 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/wheel >2024-02-13 07:29:58,500 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section >2024-02-13 07:29:58,558 root INFO running bdist_wheel >2024-02-13 07:29:58,637 root INFO running build >2024-02-13 07:29:58,637 root INFO running build_py >2024-02-13 07:29:58,642 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build >2024-02-13 07:29:58,643 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib >2024-02-13 07:29:58,643 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib/pytesseract >2024-02-13 07:29:58,643 root INFO copying pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib/pytesseract >2024-02-13 07:29:58,643 root INFO copying pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib/pytesseract >2024-02-13 07:29:58,644 root INFO running egg_info >2024-02-13 07:29:58,647 root INFO writing pytesseract.egg-info/PKG-INFO >2024-02-13 07:29:58,648 root INFO writing dependency_links to pytesseract.egg-info/dependency_links.txt >2024-02-13 07:29:58,648 root INFO writing entry points to pytesseract.egg-info/entry_points.txt >2024-02-13 07:29:58,649 root INFO writing requirements to pytesseract.egg-info/requires.txt >2024-02-13 07:29:58,649 root INFO writing top-level names to pytesseract.egg-info/top_level.txt >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-02-13 07:29:58,674 root INFO reading manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:58,674 root INFO adding license file 'LICENSE' >2024-02-13 07:29:58,675 root INFO writing manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:58,676 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-02-13 07:29:58,686 wheel INFO installing to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:58,686 root INFO running install >2024-02-13 07:29:58,697 root INFO running install_lib >2024-02-13 07:29:58,702 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64 >2024-02-13 07:29:58,702 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:58,702 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:58,702 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib/pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:58,703 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/lib/pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:58,703 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-02-13 07:29:58,703 root INFO running install_egg_info >2024-02-13 07:29:58,708 root INFO Copying pytesseract.egg-info to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12-py3.11.egg-info >2024-02-13 07:29:58,710 root INFO running install_scripts >2024-02-13 07:29:58,714 wheel INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12.dist-info/WHEEL >2024-02-13 07:29:58,714 wheel INFO creating '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/wheel/.tmp-6ziamtkx/pytesseract-0.3.12-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel' to it >2024-02-13 07:29:58,715 wheel INFO adding 'pytesseract/__init__.py' >2024-02-13 07:29:58,715 wheel INFO adding 'pytesseract/pytesseract.py' >2024-02-13 07:29:58,715 wheel INFO adding 'pytesseract-0.3.12.dist-info/LICENSE' >2024-02-13 07:29:58,716 wheel INFO adding 'pytesseract-0.3.12.dist-info/METADATA' >2024-02-13 07:29:58,716 wheel INFO adding 'pytesseract-0.3.12.dist-info/WHEEL' >2024-02-13 07:29:58,716 wheel INFO adding 'pytesseract-0.3.12.dist-info/entry_points.txt' >2024-02-13 07:29:58,716 wheel INFO adding 'pytesseract-0.3.12.dist-info/top_level.txt' >2024-02-13 07:29:58,716 wheel INFO adding 'pytesseract-0.3.12.dist-info/RECORD' >2024-02-13 07:29:58,717 wheel INFO removing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:58,717 gpep517 INFO The backend produced /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/wheel/pytesseract-0.3.12-py3-none-any.whl > * Installing pytesseract-0.3.12-py3-none-any.whl to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/install >python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/wheel/pytesseract-0.3.12-py3-none-any.whl >2024-02-13 07:29:58,945 gpep517 INFO Installing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/wheel/pytesseract-0.3.12-py3-none-any.whl into /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_11/install >2024-02-13 07:29:58,985 gpep517 INFO Installation complete > * python3_12: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for pytesseract-0.3.12 via setuptools.build_meta:__legacy__ >python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/wheel >2024-02-13 07:29:59,574 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section >2024-02-13 07:29:59,648 root INFO running bdist_wheel >2024-02-13 07:29:59,756 root INFO running build >2024-02-13 07:29:59,757 root INFO running build_py >2024-02-13 07:29:59,764 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build >2024-02-13 07:29:59,764 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib >2024-02-13 07:29:59,765 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib/pytesseract >2024-02-13 07:29:59,765 root INFO copying pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib/pytesseract >2024-02-13 07:29:59,765 root INFO copying pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib/pytesseract >2024-02-13 07:29:59,766 root INFO running egg_info >2024-02-13 07:29:59,774 root INFO writing pytesseract.egg-info/PKG-INFO >2024-02-13 07:29:59,775 root INFO writing dependency_links to pytesseract.egg-info/dependency_links.txt >2024-02-13 07:29:59,775 root INFO writing entry points to pytesseract.egg-info/entry_points.txt >2024-02-13 07:29:59,776 root INFO writing requirements to pytesseract.egg-info/requires.txt >2024-02-13 07:29:59,776 root INFO writing top-level names to pytesseract.egg-info/top_level.txt >ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any >2024-02-13 07:29:59,820 root INFO reading manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:59,821 root INFO adding license file 'LICENSE' >2024-02-13 07:29:59,822 root INFO writing manifest file 'pytesseract.egg-info/SOURCES.txt' >2024-02-13 07:29:59,823 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-02-13 07:29:59,838 wheel INFO installing to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:59,838 root INFO running install >2024-02-13 07:29:59,855 root INFO running install_lib >2024-02-13 07:29:59,862 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64 >2024-02-13 07:29:59,863 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:59,863 root INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:59,863 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib/pytesseract/__init__.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:59,864 root INFO copying /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/lib/pytesseract/pytesseract.py -> /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel/pytesseract >2024-02-13 07:29:59,864 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-02-13 07:29:59,864 root INFO running install_egg_info >2024-02-13 07:29:59,871 root INFO Copying pytesseract.egg-info to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12-py3.12.egg-info >2024-02-13 07:29:59,874 root INFO running install_scripts >2024-02-13 07:29:59,879 wheel INFO creating /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel/pytesseract-0.3.12.dist-info/WHEEL >2024-02-13 07:29:59,879 wheel INFO creating '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/wheel/.tmp-bw5zunyt/pytesseract-0.3.12-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel' to it >2024-02-13 07:29:59,880 wheel INFO adding 'pytesseract/__init__.py' >2024-02-13 07:29:59,880 wheel INFO adding 'pytesseract/pytesseract.py' >2024-02-13 07:29:59,881 wheel INFO adding 'pytesseract-0.3.12.dist-info/LICENSE' >2024-02-13 07:29:59,881 wheel INFO adding 'pytesseract-0.3.12.dist-info/METADATA' >2024-02-13 07:29:59,882 wheel INFO adding 'pytesseract-0.3.12.dist-info/WHEEL' >2024-02-13 07:29:59,882 wheel INFO adding 'pytesseract-0.3.12.dist-info/entry_points.txt' >2024-02-13 07:29:59,882 wheel INFO adding 'pytesseract-0.3.12.dist-info/top_level.txt' >2024-02-13 07:29:59,882 wheel INFO adding 'pytesseract-0.3.12.dist-info/RECORD' >2024-02-13 07:29:59,882 wheel INFO removing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/build/bdist.linux-x86_64/wheel >2024-02-13 07:29:59,884 gpep517 INFO The backend produced /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/wheel/pytesseract-0.3.12-py3-none-any.whl > * Installing pytesseract-0.3.12-py3-none-any.whl to /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/install >python3.12 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/install --interpreter=/usr/bin/python3.12 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/wheel/pytesseract-0.3.12-py3-none-any.whl >2024-02-13 07:30:00,097 gpep517 INFO Installing /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/wheel/pytesseract-0.3.12-py3-none-any.whl into /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_12/install >2024-02-13 07:30:00,132 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/pytesseract-0.3.12 > * python3_10: running distutils-r1_run_phase python_test >python3.10 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories >============================= test session starts ============================== >platform linux -- Python 3.10.13, pytest-7.4.4, pluggy-1.4.0 -- /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12-python3_10/install/usr/bin/python3.10 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12 >configfile: tox.ini >collecting ... collected 50 items > >tests/pytesseract_test.py::test_image_to_string_with_image_type[jpg] FAILED [ 1/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[jpeg2000] FAILED [ 2/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[pgm] FAILED [ 3/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[png] FAILED [ 4/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[ppm] FAILED [ 5/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[tiff] FAILED [ 6/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[gif] FAILED [ 7/50] >tests/pytesseract_test.py::test_image_to_string_with_image_type[webp] FAILED [ 8/50] >tests/pytesseract_test.py::test_image_to_string_with_args_type[path_str] FAILED [ 9/50] >tests/pytesseract_test.py::test_image_to_string_with_args_type[image_object] FAILED [10/50] >tests/pytesseract_test.py::test_image_to_string_with_numpy_array SKIPPED [11/50] >tests/pytesseract_test.py::test_image_to_string_european FAILED [12/50] >tests/pytesseract_test.py::test_image_to_string_batch FAILED [13/50] >tests/pytesseract_test.py::test_image_to_string_multiprocessing FAILED [14/50] >tests/pytesseract_test.py::test_image_to_string_timeout PASSED [15/50] >tests/pytesseract_test.py::test_la_image_to_string FAILED [16/50] >tests/pytesseract_test.py::test_image_to_boxes FAILED [17/50] >tests/pytesseract_test.py::test_image_to_osd PASSED [18/50] >tests/pytesseract_test.py::test_image_to_pdf_or_hocr[pdf] FAILED [19/50] >tests/pytesseract_test.py::test_image_to_pdf_or_hocr[hocr] FAILED [20/50] >tests/pytesseract_test.py::test_run_and_get_multiple_output[extensions0] FAILED [21/50] >tests/pytesseract_test.py::test_run_and_get_multiple_output[extensions1] FAILED [22/50] >tests/pytesseract_test.py::test_image_to_alto_xml FAILED [23/50] >tests/pytesseract_test.py::test_image_to_alto_xml_support SKIPPED [24/50] >tests/pytesseract_test.py::test_image_to_data__pandas_support SKIPPED [25/50] >tests/pytesseract_test.py::test_image_to_data__pandas_output SKIPPED [26/50] >tests/pytesseract_test.py::test_image_to_data_common_output[bytes] FAILED [27/50] >tests/pytesseract_test.py::test_image_to_data_common_output[dict] FAILED [28/50] >tests/pytesseract_test.py::test_image_to_data_common_output[string] FAILED [29/50] >tests/pytesseract_test.py::test_wrong_prepare_type[int] PASSED [30/50] >tests/pytesseract_test.py::test_wrong_prepare_type[float] PASSED [31/50] >tests/pytesseract_test.py::test_wrong_prepare_type[none] PASSED [32/50] >tests/pytesseract_test.py::test_wrong_tesseract_cmd[executable_name] PASSED [33/50] >tests/pytesseract_test.py::test_wrong_tesseract_cmd[absolute_path] PASSED [34/50] >tests/pytesseract_test.py::test_main_not_found_cases PASSED [35/50] >tests/pytesseract_test.py::test_proper_oserror_exception_handling[permission_error_path] PASSED [36/50] >tests/pytesseract_test.py::test_proper_oserror_exception_handling[invalid_path] PASSED [37/50] >tests/pytesseract_test.py::test_get_languages[default_empty_config] PASSED [38/50] >tests/pytesseract_test.py::test_get_languages[custom_tessdata_dir] PASSED [39/50] >tests/pytesseract_test.py::test_get_languages[incorrect_tessdata_dir] PASSED [40/50] >tests/pytesseract_test.py::test_get_languages[invalid_tessdata_dir] PASSED [41/50] >tests/pytesseract_test.py::test_get_languages[invalid_config] PASSED [42/50] >tests/pytesseract_test.py::test_file_to_dict[input_args0-expected0] PASSED [43/50] >tests/pytesseract_test.py::test_file_to_dict[input_args1-expected1] PASSED [44/50] >tests/pytesseract_test.py::test_file_to_dict[input_args2-expected2] PASSED [45/50] >tests/pytesseract_test.py::test_get_tesseract_version[3.5.0-3.5.0] PASSED [46/50] >tests/pytesseract_test.py::test_get_tesseract_version[4.1-a8s6f8d3f-4.1] PASSED [47/50] >tests/pytesseract_test.py::test_get_tesseract_version[v4.0.0-beta1.9-4.0.0] PASSED [48/50] >tests/pytesseract_test.py::test_get_tesseract_version_invalid[-Invalid tesseract version: ""] PASSED [49/50] >tests/pytesseract_test.py::test_get_tesseract_version_invalid[invalid-Invalid tesseract version: "invalid"] PASSED [50/50] > >=================================== FAILURES =================================== >__________________ test_image_to_string_with_image_type[jpg] ___________________ > >test_file = 'test.jpg' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.jpg' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ieky7hap', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ieky7hap' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ieky7hap' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ieky7hap', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ieky7hap' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________ test_image_to_string_with_image_type[jpeg2000] ________________ > >test_file = 'test.jpeg2000' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.jpeg2000' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_rkzm24pa', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_rkzm24pa' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_rkzm24pa' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_rkzm24pa', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpeg2000' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_rkzm24pa' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[pgm] ___________________ > >test_file = 'test.pgm' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.pgm' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_fyukfugs', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_fyukfugs' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_fyukfugs' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_fyukfugs', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_fyukfugs' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[png] ___________________ > >test_file = 'test.png' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.png' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_zut579t1', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_zut579t1' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_zut579t1' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_zut579t1', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_zut579t1' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[ppm] ___________________ > >test_file = 'test.ppm' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.ppm' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_yrc7x11v', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_yrc7x11v' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_yrc7x11v' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_yrc7x11v', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_yrc7x11v' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[tiff] __________________ > >test_file = 'test.tiff' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.tiff' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nctb3lit', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nctb3lit' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nctb3lit' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nctb3lit', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nctb3lit' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[gif] ___________________ > >test_file = 'test.gif' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.gif' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dazsddpn', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dazsddpn' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dazsddpn' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dazsddpn', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.gif' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dazsddpn' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________ test_image_to_string_with_image_type[webp] __________________ > >test_file = 'test.webp' > > @pytest.mark.parametrize( > 'test_file', > [ > 'test.jpg', > 'test.jpeg2000', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.gif', > 'test.webp', > # 'test.bmp', # https://github.com/tesseract-ocr/tesseract/issues/2558 > ], > ids=[ > 'jpg', > 'jpeg2000', > 'pgm', > 'png', > 'ppm', > 'tiff', > 'gif', > 'webp', > # 'bmp', > ], > ) > def test_image_to_string_with_image_type(test_file): > # Don't perform assertion against full string in case the version > # of tesseract installed doesn't catch it all. This test is testing > # that pytesseract command line program is called correctly. > if test_file.endswith('gif') and TESSERACT_VERSION[0] < 4: > pytest.skip('skip gif test') > test_file_path = path.join(DATA_DIR, test_file) >> assert 'The quick brown dog' in image_to_string(test_file_path, 'eng') > >test_file = 'test.webp' >test_file_path = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' > >tests/pytesseract_test.py:121: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ywxxmxy1', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ywxxmxy1' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ywxxmxy1' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ywxxmxy1', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ywxxmxy1' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________ test_image_to_string_with_args_type[path_str] _________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > > @pytest.mark.parametrize( > 'test_file', > [TEST_JPEG, Image.open(TEST_JPEG)], > ids=['path_str', 'image_object'], > ) > def test_image_to_string_with_args_type(test_file): >> assert 'The quick brown dog' in image_to_string(test_file, 'eng') > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:130: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_0z8zbiwv', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_0z8zbiwv' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_0z8zbiwv' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_0z8zbiwv', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_0z8zbiwv' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >______________ test_image_to_string_with_args_type[image_object] _______________ > >test_file = <PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0> > > @pytest.mark.parametrize( > 'test_file', > [TEST_JPEG, Image.open(TEST_JPEG)], > ids=['path_str', 'image_object'], > ) > def test_image_to_string_with_args_type(test_file): >> assert 'The quick brown dog' in image_to_string(test_file, 'eng') > >test_file = <PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0> > >tests/pytesseract_test.py:130: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = [<PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0>, > 'txt', > 'eng', > '', > 0, > 0] > config = '' > image = <PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0> > lang = 'eng' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = [<PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0>, > 'txt', > 'eng', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = <PIL.JpegImagePlugin.JpegImageFile image mode=L size=640x480 at 0x790EA633F5B0> > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3_input.JPEG' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3_input.JPEG', > 'lang': 'eng', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3', > 'timeout': 0} > lang = 'eng' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3_input.JPEG' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3' >extension = 'txt', lang = 'eng', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3_input.JPEG', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3', > '-l', > 'eng', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 304\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3_input.JPEG' >lang = 'eng' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_dva_dnp3' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________________ test_image_to_string_european _________________________ > >test_file_european = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' > > @pytest.mark.lang_fra > def test_image_to_string_european(test_file_european): >> assert 'La volpe marrone' in image_to_string(test_file_european, 'fra') > >test_file_european = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' > >tests/pytesseract_test.py:147: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg', > 'txt', > 'fra', > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' > lang = 'fra' > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg', > 'txt', > 'fra', > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg', > 'lang': 'fra', > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_4bc9120c', > 'timeout': 0} > lang = 'fra' > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_4bc9120c' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_4bc9120c' >extension = 'txt', lang = 'fra', config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_4bc9120c', > '-l', > 'fra', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-european.jpg' >lang = 'fra' >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_4bc9120c' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >__________________________ test_image_to_string_batch __________________________ > > @pytest.mark.skipif( > platform.startswith('win32'), > reason='used paths with `/` as separator', > ) > def test_image_to_string_batch(): > batch_file = path.join(DATA_DIR, 'images.txt') >> assert 'The quick brown dog' in image_to_string(batch_file) > >batch_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' > >tests/pytesseract_test.py:156: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt', > 'txt', > None, > '', > 0, > 0] > config = '' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' > lang = None > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt', > 'txt', > None, > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_sp5c_hgh', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_sp5c_hgh' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_sp5c_hgh' >extension = 'txt', lang = None, config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Page 0 : ./tests/data/test.jpg tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_sp5c_hgh', > 'txt'] >config = '' >error_string = (b'Page 0 : ./tests/data/test.jpg\ntesseract: symbol lookup error: /usr/lib6' > b'4/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/images.txt' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_sp5c_hgh' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >_____________________ test_image_to_string_multiprocessing _____________________ >multiprocessing.pool.RemoteTraceback: >""" >Traceback (most recent call last): > File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker > result = (True, func(*args, **kwds)) > File "/usr/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar > return list(map(*args)) > File "/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/pytesseract/pytesseract.py", line 481, in image_to_string > return { > File "/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/pytesseract/pytesseract.py", line 484, in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > File "/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/pytesseract/pytesseract.py", line 347, in run_and_get_output > run_tesseract(**kwargs) > File "/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/pytesseract/pytesseract.py", line 279, in run_tesseract > raise TesseractError(proc.returncode, get_errors(error_string)) >pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') >""" > >The above exception was the direct cause of the following exception: > > def test_image_to_string_multiprocessing(): > """Test parallel system calls.""" > test_files = [ > 'test.jpg', > 'test.pgm', > 'test.png', > 'test.ppm', > 'test.tiff', > 'test.webp', > ] > test_files = [path.join(DATA_DIR, test_file) for test_file in test_files] > p = Pool(2) >> results = p.map(image_to_string, test_files) > >p = <multiprocessing.pool.Pool state=RUN pool_size=2> >test_files = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp'] > >tests/pytesseract_test.py:171: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.10/multiprocessing/pool.py:367: in map > return self._map_async(func, iterable, mapstar, chunksize).get() > chunksize = None > func = <function image_to_string at 0x790ea5b583a0> > iterable = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.pgm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.png', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.ppm', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.tiff', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.webp'] > self = <multiprocessing.pool.Pool state=RUN pool_size=2> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <multiprocessing.pool.MapResult object at 0x790ea59209d0>, timeout = None > > def get(self, timeout=None): > self.wait(timeout) > if not self.ready(): > raise TimeoutError > if self._success: > return self._value > else: >> raise self._value >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >self = <multiprocessing.pool.MapResult object at 0x790ea59209d0> >timeout = None > >/usr/lib/python3.10/multiprocessing/pool.py:774: TesseractError >___________________________ test_la_image_to_string ____________________________ > > def test_la_image_to_string(): > filepath = path.join(DATA_DIR, 'test_la.png') > img = Image.open(filepath) >> assert 'This is test message' == image_to_string(img).strip() > >filepath = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test_la.png' >img = <PIL.PngImagePlugin.PngImageFile image mode=LA size=400x80 at 0x790EA594B250> > >tests/pytesseract_test.py:186: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:481: in image_to_string > return { > args = [<PIL.PngImagePlugin.PngImageFile image mode=LA size=400x80 at 0x790EA594B250>, > 'txt', > None, > '', > 0, > 0] > config = '' > image = <PIL.PngImagePlugin.PngImageFile image mode=LA size=400x80 at 0x790EA594B250> > lang = None > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:484: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = [<PIL.PngImagePlugin.PngImageFile image mode=LA size=400x80 at 0x790EA594B250>, > 'txt', > None, > '', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'txt' > image = <PIL.PngImagePlugin.PngImageFile image mode=LA size=400x80 at 0x790EA594B250> > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn_input.PNG' > kwargs = {'config': '', > 'extension': 'txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn_input.PNG', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn_input.PNG' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn' >extension = 'txt', lang = None, config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 333 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn_input.PNG', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn', > 'txt'] >config = '' >error_string = (b'Estimating resolution as 333\ntesseract: symbol lookup error: /usr/lib64/' > b'libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn_input.PNG' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_nzou9mvn' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >_____________________________ test_image_to_boxes ______________________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > > def test_image_to_boxes(test_file): >> result = image_to_boxes(test_file) > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:190: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:547: in image_to_boxes > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'box', > None, > ' -c tessedit_create_boxfile=1 batch.nochop makebox', > 0, > 0] > config = ' -c tessedit_create_boxfile=1 batch.nochop makebox' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = None > nice = 0 > output_type = 'string' > timeout = 0 >pytesseract/pytesseract.py:554: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'box', > None, > ' -c tessedit_create_boxfile=1 batch.nochop makebox', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = ' -c tessedit_create_boxfile=1 batch.nochop makebox' > extension = 'box' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': ' -c tessedit_create_boxfile=1 batch.nochop makebox', > 'extension': 'box', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9bc4uty5', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9bc4uty5' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9bc4uty5' >extension = 'box', lang = None >config = ' -c tessedit_create_boxfile=1 batch.nochop makebox', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'box' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9bc4uty5', > '-c', > 'tessedit_create_boxfile=1', > 'batch.nochop', > 'makebox'] >config = ' -c tessedit_create_boxfile=1 batch.nochop makebox' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'box' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9bc4uty5' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________________ test_image_to_pdf_or_hocr[pdf] ________________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >extension = 'pdf' > > @pytest.mark.parametrize('extension', ['pdf', 'hocr']) > def test_image_to_pdf_or_hocr(test_file, extension): >> result = image_to_pdf_or_hocr(test_file, extension=extension) > >extension = 'pdf' >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:222: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:508: in image_to_pdf_or_hocr > return run_and_get_output(*args) > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'pdf', > None, > '', > 0, > 0, > True] > config = '' > extension = 'pdf' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = None > nice = 0 > timeout = 0 >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '' > extension = 'pdf' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '', > 'extension': 'pdf', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_y8mzkch_', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = True > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_y8mzkch_' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_y8mzkch_' >extension = 'pdf', lang = None, config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'pdf' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_y8mzkch_', > 'pdf'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'pdf' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_y8mzkch_' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >_______________________ test_image_to_pdf_or_hocr[hocr] ________________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >extension = 'hocr' > > @pytest.mark.parametrize('extension', ['pdf', 'hocr']) > def test_image_to_pdf_or_hocr(test_file, extension): >> result = image_to_pdf_or_hocr(test_file, extension=extension) > >extension = 'hocr' >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:222: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:508: in image_to_pdf_or_hocr > return run_and_get_output(*args) > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'hocr', > None, > '-c tessedit_create_hocr=1 ', > 0, > 0, > True] > config = '-c tessedit_create_hocr=1 ' > extension = 'hocr' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = None > nice = 0 > timeout = 0 >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '-c tessedit_create_hocr=1 ' > extension = 'hocr' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '-c tessedit_create_hocr=1 ', > 'extension': 'hocr', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess__mzuw9t7', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = True > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess__mzuw9t7' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess__mzuw9t7' >extension = 'hocr', lang = None, config = '-c tessedit_create_hocr=1 ', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'hocr' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess__mzuw9t7', > '-c', > 'tessedit_create_hocr=1', > 'hocr'] >config = '-c tessedit_create_hocr=1 ' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'hocr' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess__mzuw9t7' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________ test_run_and_get_multiple_output[extensions0] _________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >function_mapping = {'box': <function image_to_boxes at 0x790ea5b58550>, 'hocr': functools.partial(<function image_to_pdf_or_hocr at 0x790...tion image_to_pdf_or_hocr at 0x790ea5b58430>, extension='pdf'), 'tsv': <function image_to_data at 0x790ea5b58670>, ...} >extensions = ['tsv', 'pdf', 'txt', 'box', 'hocr'] > > @pytest.mark.parametrize( > 'extensions', > [ > ['tsv', 'pdf', 'txt', 'box', 'hocr'], > # This tests a case where the extensions do not add any config params > # Here this test is not merged with the test above because we might get > # into a racing condition where test results from different parameter > # are mixed in the test below > ['pdf', 'txt'], > ], > ) > def test_run_and_get_multiple_output(test_file, function_mapping, extensions): >> compound_results = run_and_get_multiple_output( > test_file, > extensions=extensions, > ) > >extensions = ['tsv', 'pdf', 'txt', 'box', 'hocr'] >function_mapping = {'box': <function image_to_boxes at 0x790ea5b58550>, > 'hocr': functools.partial(<function image_to_pdf_or_hocr at 0x790ea5b58430>, extension='hocr'), > 'pdf': functools.partial(<function image_to_pdf_or_hocr at 0x790ea5b58430>, extension='pdf'), > 'tsv': <function image_to_data at 0x790ea5b58670>, > 'txt': <function image_to_string at 0x790ea5b583a0>} >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:255: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:316: in run_and_get_multiple_output > run_tesseract(**kwargs) > config = ('-c tessedit_create_tsv=1 tessedit_create_boxfile=1 batch.nochop makebox ' > 'tessedit_create_hocr=1') > extensions = ['tsv', 'pdf', 'txt', 'box', 'hocr'] > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '-c tessedit_create_tsv=1 tessedit_create_boxfile=1 batch.nochop ' > 'makebox tessedit_create_hocr=1', > 'extension': 'tsv pdf txt box hocr', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_f4c0l0oo', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_f4c0l0oo' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_f4c0l0oo' >extension = 'tsv pdf txt box hocr', lang = None >config = '-c tessedit_create_tsv=1 tessedit_create_boxfile=1 batch.nochop makebox tessedit_create_hocr=1' >nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, "read_params_file: Can't open tessedit_create_boxfile=1 read_params_file: Can't open tessedit_create_hocr=1 tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num") > >_extension = 'hocr' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_f4c0l0oo', > '-c', > 'tessedit_create_tsv=1', > 'tessedit_create_boxfile=1', > 'batch.nochop', > 'makebox', > 'tessedit_create_hocr=1', > 'pdf', > 'txt', > 'hocr'] >config = ('-c tessedit_create_tsv=1 tessedit_create_boxfile=1 batch.nochop makebox ' > 'tessedit_create_hocr=1') >error_string = (b"read_params_file: Can't open tessedit_create_boxfile=1\nread_params_file:" > b" Can't open tessedit_create_hocr=1\ntesseract: symbol lookup error: /usr/" > b'lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num\n') >extension = 'tsv pdf txt box hocr' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_f4c0l0oo' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >________________ test_run_and_get_multiple_output[extensions1] _________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >function_mapping = {'box': <function image_to_boxes at 0x790ea5b58550>, 'hocr': functools.partial(<function image_to_pdf_or_hocr at 0x790...tion image_to_pdf_or_hocr at 0x790ea5b58430>, extension='pdf'), 'tsv': <function image_to_data at 0x790ea5b58670>, ...} >extensions = ['pdf', 'txt'] > > @pytest.mark.parametrize( > 'extensions', > [ > ['tsv', 'pdf', 'txt', 'box', 'hocr'], > # This tests a case where the extensions do not add any config params > # Here this test is not merged with the test above because we might get > # into a racing condition where test results from different parameter > # are mixed in the test below > ['pdf', 'txt'], > ], > ) > def test_run_and_get_multiple_output(test_file, function_mapping, extensions): >> compound_results = run_and_get_multiple_output( > test_file, > extensions=extensions, > ) > >extensions = ['pdf', 'txt'] >function_mapping = {'box': <function image_to_boxes at 0x790ea5b58550>, > 'hocr': functools.partial(<function image_to_pdf_or_hocr at 0x790ea5b58430>, extension='hocr'), > 'pdf': functools.partial(<function image_to_pdf_or_hocr at 0x790ea5b58430>, extension='pdf'), > 'tsv': <function image_to_data at 0x790ea5b58670>, > 'txt': <function image_to_string at 0x790ea5b583a0>} >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:255: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:316: in run_and_get_multiple_output > run_tesseract(**kwargs) > config = '' > extensions = ['pdf', 'txt'] > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '', > 'extension': 'pdf txt', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9vjmspr_', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9vjmspr_' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9vjmspr_' >extension = 'pdf txt', lang = None, config = '', nice = 0, timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'txt' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9vjmspr_', > 'pdf', > 'txt'] >config = '' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'pdf txt' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_9vjmspr_' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >____________________________ test_image_to_alto_xml ____________________________ > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > > @pytest.mark.skipif( > TESSERACT_VERSION[:2] < (4, 1), > reason='requires tesseract >= 4.1', > ) > def test_image_to_alto_xml(test_file): >> result = image_to_alto_xml(test_file) > >test_file = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > >tests/pytesseract_test.py:275: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:528: in image_to_alto_xml > return run_and_get_output(*args) > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'xml', > None, > '-c tessedit_create_alto=1 ', > 0, > 0, > True] > config = '-c tessedit_create_alto=1 ' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > lang = None > nice = 0 > timeout = 0 >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '-c tessedit_create_alto=1 ' > extension = 'xml' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' > kwargs = {'config': '-c tessedit_create_alto=1 ', > 'extension': 'xml', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ganlc0lp', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = True > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ganlc0lp' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ganlc0lp' >extension = 'xml', lang = None, config = '-c tessedit_create_alto=1 ', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'xml' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ganlc0lp', > '-c', > 'tessedit_create_alto=1'] >config = '-c tessedit_create_alto=1 ' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'xml' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_ganlc0lp' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >___________________ test_image_to_data_common_output[bytes] ____________________ > >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output = 'bytes' > > @pytest.mark.skipif( > TESSERACT_VERSION[:2] < (3, 5), > reason='requires tesseract >= 3.05', > ) > @pytest.mark.parametrize( > 'output', > [Output.BYTES, Output.DICT, Output.STRING], > ids=['bytes', 'dict', 'string'], > ) > def test_image_to_data_common_output(test_file_small, output): > """Test and compare the type of the result.""" >> result = image_to_data(test_file_small, output_type=output) > >output = 'bytes' >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > >tests/pytesseract_test.py:338: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:591: in image_to_data > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] > config = '-c tessedit_create_tsv=1 ' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > lang = None > nice = 0 > output_type = 'bytes' > pandas_config = None > timeout = 0 >pytesseract/pytesseract.py:592: in <lambda> > Output.BYTES: lambda: run_and_get_output(*(args + [True])), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '-c tessedit_create_tsv=1 ' > extension = 'tsv' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > kwargs = {'config': '-c tessedit_create_tsv=1 ', > 'extension': 'tsv', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_u4qzzm0e', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = True > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_u4qzzm0e' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_u4qzzm0e' >extension = 'tsv', lang = None, config = '-c tessedit_create_tsv=1 ', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'tsv' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_u4qzzm0e', > '-c', > 'tessedit_create_tsv=1'] >config = '-c tessedit_create_tsv=1 ' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'tsv' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_u4qzzm0e' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >____________________ test_image_to_data_common_output[dict] ____________________ > >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output = 'dict' > > @pytest.mark.skipif( > TESSERACT_VERSION[:2] < (3, 5), > reason='requires tesseract >= 3.05', > ) > @pytest.mark.parametrize( > 'output', > [Output.BYTES, Output.DICT, Output.STRING], > ids=['bytes', 'dict', 'string'], > ) > def test_image_to_data_common_output(test_file_small, output): > """Test and compare the type of the result.""" >> result = image_to_data(test_file_small, output_type=output) > >output = 'dict' >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > >tests/pytesseract_test.py:338: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:591: in image_to_data > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] > config = '-c tessedit_create_tsv=1 ' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > lang = None > nice = 0 > output_type = 'dict' > pandas_config = None > timeout = 0 >pytesseract/pytesseract.py:597: in <lambda> > Output.DICT: lambda: file_to_dict(run_and_get_output(*args), '\t', -1), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '-c tessedit_create_tsv=1 ' > extension = 'tsv' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > kwargs = {'config': '-c tessedit_create_tsv=1 ', > 'extension': 'tsv', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_7voxdesr', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_7voxdesr' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_7voxdesr' >extension = 'tsv', lang = None, config = '-c tessedit_create_tsv=1 ', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'tsv' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_7voxdesr', > '-c', > 'tessedit_create_tsv=1'] >config = '-c tessedit_create_tsv=1 ' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'tsv' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_7voxdesr' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >___________________ test_image_to_data_common_output[string] ___________________ > >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output = 'string' > > @pytest.mark.skipif( > TESSERACT_VERSION[:2] < (3, 5), > reason='requires tesseract >= 3.05', > ) > @pytest.mark.parametrize( > 'output', > [Output.BYTES, Output.DICT, Output.STRING], > ids=['bytes', 'dict', 'string'], > ) > def test_image_to_data_common_output(test_file_small, output): > """Test and compare the type of the result.""" >> result = image_to_data(test_file_small, output_type=output) > >output = 'string' >test_file_small = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > >tests/pytesseract_test.py:338: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >pytesseract/pytesseract.py:591: in image_to_data > return { > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] > config = '-c tessedit_create_tsv=1 ' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > lang = None > nice = 0 > output_type = 'string' > pandas_config = None > timeout = 0 >pytesseract/pytesseract.py:598: in <lambda> > Output.STRING: lambda: run_and_get_output(*args), > args = ['/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'tsv', > None, > '-c tessedit_create_tsv=1 ', > 0, > 0] >pytesseract/pytesseract.py:347: in run_and_get_output > run_tesseract(**kwargs) > config = '-c tessedit_create_tsv=1 ' > extension = 'tsv' > image = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' > kwargs = {'config': '-c tessedit_create_tsv=1 ', > 'extension': 'tsv', > 'input_filename': '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > 'lang': None, > 'nice': 0, > 'output_filename_base': '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_pb8lb250', > 'timeout': 0} > lang = None > nice = 0 > return_bytes = False > temp_name = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_pb8lb250' > timeout = 0 >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_pb8lb250' >extension = 'tsv', lang = None, config = '-c tessedit_create_tsv=1 ', nice = 0 >timeout = 0 > > def run_tesseract( > input_filename, > output_filename_base, > extension, > lang, > config='', > nice=0, > timeout=0, > ): > cmd_args = [] > not_windows = not (sys.platform == 'win32') > > if not_windows and nice != 0: > cmd_args += ('nice', '-n', str(nice)) > > cmd_args += (tesseract_cmd, input_filename, output_filename_base) > > if lang is not None: > cmd_args += ('-l', lang) > > if config: > cmd_args += shlex.split(config, posix=not_windows) > > for _extension in extension.split(): > if _extension not in {'box', 'osd', 'tsv', 'xml'}: > cmd_args.append(_extension) > LOGGER.debug('%r', cmd_args) > > try: > proc = subprocess.Popen(cmd_args, **subprocess_args()) > except OSError as e: > if e.errno != ENOENT: > raise > else: > raise TesseractNotFoundError() > > with timeout_manager(proc, timeout) as error_string: > if proc.returncode: >> raise TesseractError(proc.returncode, get_errors(error_string)) >E pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symbol: __kmpc_global_thread_num') > >_extension = 'tsv' >cmd_args = ['tesseract', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg', > '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_pb8lb250', > '-c', > 'tessedit_create_tsv=1'] >config = '-c tessedit_create_tsv=1 ' >error_string = (b'tesseract: symbol lookup error: /usr/lib64/libtesseract.so.5: undefined symb' > b'ol: __kmpc_global_thread_num\n') >extension = 'tsv' >input_filename = '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12/tests/data/test-small.jpg' >lang = None >nice = 0 >not_windows = True >output_filename_base = '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/tess_pb8lb250' >proc = <Popen: returncode: 127 args: ['tesseract', '/var/tmp/portage/dev-python/pyt...> >timeout = 0 > >pytesseract/pytesseract.py:279: TesseractError >=========================== short test summary info ============================ >SKIPPED [1] tests/pytesseract_test.py:137: requires numpy >SKIPPED [1] tests/pytesseract_test.py:283: requires tesseract < 4.1 >SKIPPED [1] tests/pytesseract_test.py:292: requires tesseract < 3.05 >SKIPPED [1] tests/pytesseract_test.py:301: requires pandas >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[jpg] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[jpeg2000] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[pgm] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[png] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[ppm] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[tiff] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[gif] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_with_image_type[webp] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_with_args_type[path_str] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_string_with_args_type[image_object] - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 304... >FAILED tests/pytesseract_test.py::test_image_to_string_european - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_string_batch - pytesseract.pytesseract.TesseractError: (127, 'Page 0 : ./tests/data/test.j... >FAILED tests/pytesseract_test.py::test_image_to_string_multiprocessing - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_la_image_to_string - pytesseract.pytesseract.TesseractError: (127, 'Estimating resolution as 333... >FAILED tests/pytesseract_test.py::test_image_to_boxes - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_pdf_or_hocr[pdf] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_pdf_or_hocr[hocr] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_run_and_get_multiple_output[extensions0] - pytesseract.pytesseract.TesseractError: (127, "read_params_file: Can't open... >FAILED tests/pytesseract_test.py::test_run_and_get_multiple_output[extensions1] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_alto_xml - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_data_common_output[bytes] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_data_common_output[dict] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >FAILED tests/pytesseract_test.py::test_image_to_data_common_output[string] - pytesseract.pytesseract.TesseractError: (127, 'tesseract: symbol lookup err... >=================== 23 failed, 23 passed, 4 skipped in 6.35s =================== > * ERROR: dev-python/pytesseract-0.3.12::gentoo failed (test phase): > * pytest failed with python3.10 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 4004: Called distutils-r1_src_test > * environment, line 1956: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 750: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3609: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3083: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3081: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1182: Called distutils-r1_run_phase 'python_test' > * environment, line 1879: Called python_test > * environment, line 3891: Called distutils-r1_python_test > * environment, line 1819: Called epytest > * environment, line 2505: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/pytesseract-0.3.12::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytesseract-0.3.12::gentoo'`. > * The complete build log is located at '/var/log/emerge-log/build/dev-python/pytesseract-0.3.12:20240213-062952.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytesseract-0.3.12/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12' > * S: '/var/tmp/portage/dev-python/pytesseract-0.3.12/work/pytesseract-0.3.12' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 924402
: 884829