==> Building on s ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/tesseract ./ PKGBUILD 1,934 100% 0.00kB/s 0:00:00 1,934 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) tesseract-5.1.0-2.log 283 100% 276.37kB/s 0:00:00 283 100% 276.37kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,465 bytes received 98 bytes 1,042.00 bytes/sec total size is 2,122 speedup is 1.36 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix14 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix14]...done ==> Making package: tesseract 5.1.0-2 (Mon Apr 18 05:41:12 2022) ==> Retrieving sources...  -> Downloading tesseract-5.1.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 140 100 140 0 0 710 0 --:--:-- --:--:-- --:--:-- 710 100 1281k 0 1281k 0 0 1989k 0 --:--:-- --:--:-- --:--:-- 1989k 100 1865k 0 1865k 0 0 2528k 0 --:--:-- --:--:-- --:--:-- 6282k ==> Validating source files with sha256sums... tesseract-5.1.0.tar.gz ... Passed ==> Making package: tesseract 5.1.0-2 (Mon 18 Apr 2022 05:41:25 AM CST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (8) New Version Net Change Download Size extra/lcms2 2.13.1-1 0.58 MiB extra/libwebp 1.2.2-1 0.72 MiB extra/openjpeg2 2.4.0-1 13.78 MiB extra/giflib 5.2.1-2 0.22 MiB community/leptonica 1.82.0-2 2.92 MiB 1.12 MiB extra/libjpeg-turbo 2.1.3-1 1.37 MiB extra/libpng 1.6.37-3 0.46 MiB extra/libtiff 4.3.0-2 2.59 MiB Total Download Size: 1.12 MiB Total Installed Size: 22.63 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... leptonica-1.82.0-2-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libpng... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing giflib... installing libwebp... Optional dependencies for libwebp freeglut: vwebp viewer installing lcms2... installing openjpeg2... installing leptonica... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency Package (26) New Version Net Change extra/docbook-xml 4.5-9 1.96 MiB extra/docbook-xsl 1.79.2-7 26.32 MiB extra/fontconfig 2:2.14.0-1 0.97 MiB extra/freetype2 2.12.0-1 1.47 MiB extra/fribidi 1.0.11-1 0.20 MiB extra/graphite 1:1.3.14-1 0.16 MiB extra/harfbuzz 4.2.0-1 5.43 MiB extra/libdatrie 0.2.13-1 0.05 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libthai 0.1.29-1 0.64 MiB extra/libx11 1.7.5-1 9.91 MiB extra/libxau 1.0.9-3 0.02 MiB extra/libxcb 1.14-1 36.12 MiB extra/libxdmcp 1.1.3-3 0.29 MiB extra/libxext 1.3.4-3 0.58 MiB extra/libxft 2.3.4-1 0.09 MiB extra/libxrender 0.9.10-4 0.06 MiB extra/libxslt 1.1.35-1 2.73 MiB core/lzo 2.10-3 0.34 MiB extra/pixman 0.40.0-1 0.36 MiB core/python 3.10.1-2 79.11 MiB extra/xcb-proto 1.14.1-5 0.82 MiB extra/xorgproto 2021.5-1 1.43 MiB community/asciidoc 10.1.4-1 1.73 MiB extra/cairo 1.17.6-2 3.10 MiB extra/pango 1:1.50.7-1 2.17 MiB Total Installed Size: 176.11 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing lzo... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program [pending] chafa: hb-view program installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing xorgproto... installing libx11... installing libxext... installing libxrender... installing pixman... installing cairo... installing libdatrie... installing libthai... installing libxft... installing fribidi... installing pango... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing libxslt... Optional dependencies for libxslt python: Python bindings [installed] installing docbook-xml... /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory error: command failed to execute correctly installing docbook-xsl... /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xmlcatalog: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory error: command failed to execute correctly installing asciidoc... Optional dependencies for asciidoc graphviz: graphviz-filter lilypond: music-filter imagemagick: music-filter source-highlight: source-highlight-filter dblatex: pdf generation fop: alternative pdf generation w3m: text generation lynx: alternative text generation :: Running post-transaction hooks... (1/2) Updating fontconfig configuration... (2/2) Updating fontconfig cache... [?25h==> Retrieving sources...  -> Found tesseract-5.1.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting tesseract-5.1.0.tar.gz with bsdtar ==> Starting build()... Running aclocal Running /usr/bin/libtoolize libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' Running aclocal Running autoconf Running autoheader Running automake --add-missing --copy configure.ac:407: installing 'config/compile' configure.ac:89: installing 'config/config.guess' configure.ac:89: installing 'config/config.sub' configure.ac:27: installing 'config/install-sh' configure.ac:27: installing 'config/missing' Makefile.am: installing 'config/depcomp' parallel-tests: installing 'config/test-driver' All done. To build the software now, do something like: $ ./configure [--enable-debug] [...other options] checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of g++... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking Major version... 5 checking Minor version... 1 checking Point version... 0 checking whether make supports nested variables... (cached) yes checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking whether C++ compiler accepts -Werror=unused-command-line-argument... no configure: WARNING: No compiler options for riscv64 checking for feenableexcept... no checking whether C++ compiler accepts -fopenmp-simd... yes checking --enable-float32 argument... checking --enable-graphics argument... checking --enable-legacy argument... checking for g++ option to support OpenMP... -fopenmp checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for tiffio.h... yes checking --enable-opencl argument... checking for tensorflow/core/framework/graph.pb.h... no checking --enable-visibility argument... checking whether to use tessdata-prefix... yes checking if compiling with clang... no checking whether to enable debugging... checking how to print strings... printf checking for gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-unknown-linux-gnu file names to riscv64-unknown-linux-gnu format... func_convert_file_noop checking how to convert riscv64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether C++ compiler accepts -std=c++17... yes checking whether C++ compiler accepts -std=c++20... yes checking for library containing pthread_create... none required checking for brew... false checking for asciidoc... true checking for xsltproc... true checking for wchar_t... yes checking for long long int... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libcurl... yes checking for LEPTONICA... yes checking for libarchive... yes checking for ICU_UC... yes checking for ICU_I18N... yes checking for pango... yes checking for cairo... yes checking for pangocairo... yes checking for pangoft2... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating include/tesseract/version.h config.status: creating Makefile config.status: creating tesseract.pc config.status: creating tessdata/Makefile config.status: creating tessdata/configs/Makefile config.status: creating tessdata/tessconfigs/Makefile config.status: creating java/Makefile config.status: creating java/com/Makefile config.status: creating java/com/google/Makefile config.status: creating java/com/google/scrollview/Makefile config.status: creating java/com/google/scrollview/events/Makefile config.status: creating java/com/google/scrollview/ui/Makefile config.status: creating include/config_auto.h config.status: executing depfiles commands config.status: executing libtool commands Configuration is done. You can now build and install tesseract by running: $ make $ sudo make install $ sudo ldconfig This will also build the documentation. Training tools can be built and installed with: $ make training $ sudo make training-install Making all in . make[1]: Entering directory '/build/tesseract/src/tesseract-5.1.0' asciidoc -b docbook -d manpage -o - doc/combine_lang_model.1.asc | \ xsltproc --nonet -o doc/combine_lang_model.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/combine_tessdata.1.asc | \ xsltproc --nonet -o doc/combine_tessdata.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/dawg2wordlist.1.asc | \ xsltproc --nonet -o doc/dawg2wordlist.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/lstmeval.1.asc | \ xsltproc --nonet -o doc/lstmeval.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/lstmtraining.1.asc | \ xsltproc --nonet -o doc/lstmtraining.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - CXX src/arch/libtesseract_native_la-dotproduct.lo asciidoc -b docbook -d manpage -o - doc/merge_unicharsets.1.asc | \ xsltproc --nonet -o doc/merge_unicharsets.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/set_unicharset_properties.1.asc | \ xsltproc --nonet -o doc/set_unicharset_properties.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/tesseract.1.asc | \ xsltproc --nonet -o doc/tesseract.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/text2image.1.asc | \ xsltproc --nonet -o doc/text2image.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/unicharset.5.asc | \ xsltproc --nonet -o doc/unicharset.5 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory asciidoc -b docbook -d manpage -o - doc/unicharset_extractor.1.asc | \ xsltproc --nonet -o doc/unicharset_extractor.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/wordlist2dawg.1.asc | \ xsltproc --nonet -o doc/wordlist2dawg.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/ambiguous_words.1.asc | \ xsltproc --nonet -o doc/ambiguous_words.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - asciidoc -b docbook -d manpage -o - doc/classifier_tester.1.asc | \ xsltproc --nonet -o doc/classifier_tester.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory asciidoc -b docbook -d manpage -o - doc/cntraining.1.asc | \ xsltproc --nonet -o doc/cntraining.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl - /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory /usr/bin/xsltproc: error while loading shared libraries: libicuuc.so.70: cannot open shared object file: No such file or directory Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe make[1]: *** [Makefile:10017: doc/dawg2wordlist.1] Error 127 make[1]: *** Waiting for unfinished jobs.... Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe make[1]: *** [Makefile:10017: doc/ambiguous_words.1] Error 127 Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe make[1]: *** [Makefile:10017: doc/cntraining.1] Error 127 make[1]: *** [Makefile:10017: doc/unicharset_extractor.1] Error 127 make[1]: *** [Makefile:10017: doc/merge_unicharsets.1] Error 127 make[1]: *** [Makefile:10017: doc/lstmeval.1] Error 127 Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe make[1]: *** [Makefile:10017: doc/combine_lang_model.1] Error 127 make[1]: *** [Makefile:10017: doc/classifier_tester.1] Error 127 make[1]: *** [Makefile:10017: doc/wordlist2dawg.1] Error 127 make[1]: *** [Makefile:10017: doc/set_unicharset_properties.1] Error 127 make[1]: *** [Makefile:10017: doc/tesseract.1] Error 127 make[1]: *** [Makefile:10017: doc/combine_tessdata.1] Error 127 make[1]: *** [Makefile:10017: doc/text2image.1] Error 127 make[1]: *** [Makefile:10017: doc/unicharset.5] Error 127 make[1]: *** [Makefile:10017: doc/lstmtraining.1] Error 127 make[1]: Leaving directory '/build/tesseract/src/tesseract-5.1.0' make: *** [Makefile:8139: all-recursive] Error 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix14/build receiving incremental file list tesseract-5.1.0-2-riscv64-build.log sent 43 bytes received 3,171 bytes 2,142.67 bytes/sec total size is 15,196 speedup is 4.73