=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for tessdata-4.0.0.tar.gz => Checksum SHA512 OK for tessdata-4.0.0.tar.gz => Checksum BLAKE2s OK for tesseract-4.1.1.tar.gz => Checksum SHA512 OK for tesseract-4.1.1.tar.gz ===> Installing dependencies for tesseract-4.1.1nb11 ========================================================================== The following variables will affect the build process of this package, tesseract-4.1.1nb11. Their current value is shown below: * JPEG_DEFAULT = jpeg Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb2 => Tool dependency autoconf>=2.58: found autoconf-2.71nb2 => Tool dependency gmake>=3.81: found gmake-4.4 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency asciidoc-[0-9]*: found asciidoc-10.2.0nb2 => Build dependency xorgproto>=2016.1: found xorgproto-2022.2 => Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1 => Full dependency pango>=1.48.10: found pango-1.50.12 => Full dependency cairo>=1.16.0nb2: found cairo-1.16.0nb7 => Full dependency leptonica>=1.79.0nb1: found leptonica-1.82.0nb1 => Full dependency icu>=72.1: found icu-72.1 ===> Overriding tools for tesseract-4.1.1nb11 ===> Extracting for tesseract-4.1.1nb11 /bin/mv /Users/pbulk/build-disk/graphics/tesseract/work/tessdata-4.0.0/* /Users/pbulk/build-disk/graphics/tesseract/work/tesseract-4.1.1/tessdata ===> Patching for tesseract-4.1.1nb11 => Applying pkgsrc patches for tesseract-4.1.1nb11 => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/tesseract/patches/patch-CMakeLists.txt => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/tesseract/patches/patch-CMakeLists.txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CMakeLists.txt,v 1.1 2021/07/16 09:16:27 jperkin Exp $ | |Avoid C++ issue on case-insensitive file systems. | |--- CMakeLists.txt.orig 2019-12-26 14:21:51.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 41. done => Verifying /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/tesseract/patches/patch-tessdata_Makefile.am => Applying pkgsrc patch /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/graphics/tesseract/patches/patch-tessdata_Makefile.am Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-tessdata_Makefile.am,v 1.4 2019/07/08 18:37:03 adam Exp $ | |Revert a trunk commit that broke install-lang for tesseract<4. | |--- tessdata/Makefile.am.orig 2019-07-07 12:34:08.000000000 +0000 |+++ tessdata/Makefile.am -------------------------- Patching file tessdata/Makefile.am using Plan A... Hunk #1 succeeded at 7. done ===> Creating toolchain wrappers for tesseract-4.1.1nb11 ===> Configuring for tesseract-4.1.1nb11 cd /Users/pbulk/build-disk/graphics/tesseract/work/tesseract-4.1.1 && /usr/bin/env LIBLEPT_HEADERSDIR=/opt/pkg/include FREETYPE_CONFIG=/opt/pkg/bin/freetype-config PTHREAD_CFLAGS=\ -D_REENTRANT PTHREAD_LDFLAGS= PTHREAD_LIBS=-lpthread PTHREADBASE= LIBTOOL="/Users/pbulk/build-disk/graphics/tesseract/work/.cwrapper/bin/libtool " INSTALL_INFO= MAKEINFO=/Users/pbulk/build-disk/graphics/tesseract/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/Users/pbulk/build-disk/graphics/tesseract/work/.tools/bin/itstool GDBUS_CODEGEN=/Users/pbulk/build-disk/graphics/tesseract/work/.tools/bin/gdbus-codegen AWK=/opt/pkg/bin/nawk CAT=/bin/cat ac_cv_path_CAT=/bin/cat CHMOD=/bin/chmod CMP=/usr/bin/cmp CP=/bin/cp DIFF=/usr/bin/diff ECHO=echo ac_cv_path_ECHO=echo EGREP=/usr/bin/egrep ac_cv_path_EGREP=/usr/bin/egrep SETENV=/usr/bin/env ENV_PROG=/usr/bin/env ac_cv_path_ENV=/usr/bin/env FALSE=false ac_cv_path_FALSE=false FIND=/usr/bin/find GREP=/usr/bin/grep ac_cv_path_GREP=/usr/bin/grep HOSTNAME=/bin/hostname LN=/bin/ln LS=/bin/ls MKDIR=/bin/mkdir\ -p MV=/bin/mv RM=/bin/rm RMDIR=/bin/rmdir SED=/opt/pkg/bin/nbsed SORT=/usr/bin/sort TAR=/usr/bin/tar TEST=test ac_cv_path_TEST=test TOUCH=/usr/bin/touch TR=/usr/bin/tr TRUE=true ac_cv_path_TRUE=true PKG_CONFIG=/Users/pbulk/build-disk/graphics/tesseract/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/Users/pbulk/build-disk/graphics/tesseract/work/.buildlink/lib/pkgconfig:/Users/pbulk/build-disk/graphics/tesseract/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/Users/pbulk/build-disk/graphics/tesseract/work/.pkg-config.log PKG_CONFIG_PATH= MAKE=make CWRAPPERS_CONFIG_DIR=/Users/pbulk/build-disk/graphics/tesseract/work/.cwrapper/config MACOSX_DEPLOYMENT_TARGET=11.3 CC=clang CFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/harfbuzz CPPFLAGS=-DPNG_NO_ASSEMBLER_CODE\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/harfbuzz CXX=clang++ CXXFLAGS=-pipe\ -Os\ -I/opt/pkg/include\ -I/opt/pkg/include/freetype2\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/opt/pkg/include/harfbuzz COMPILER_RPATH_FLAG=-L F77=f77 FC=f77 FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib LINKER_RPATH_FLAG=-L PATH=/Users/pbulk/build-disk/graphics/tesseract/work/.cwrapper/bin:/Users/pbulk/build-disk/graphics/tesseract/work/.buildlink/bin:/Users/pbulk/build-disk/graphics/tesseract/work/.tools/bin:/opt/pkg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/pkg/etc HOME=/Users/pbulk/build-disk/graphics/tesseract/work/.home CWRAPPERS_CONFIG_DIR=/Users/pbulk/build-disk/graphics/tesseract/work/.cwrapper/config CONFIG_SHELL=/opt/pkg/bin/mksh LIBS= ac_given_INSTALL=/usr/bin/install\ -c\ -o\ pbulk\ -g\ staff lt_cv_sys_max_cmd_len=1048576 /opt/pkg/bin/mksh ./autogen.sh Running aclocal Running /opt/pkg/bin/libtoolize rm: config/ltmain.sh: No such file or directory rm: config/ltmain.sh: No such file or directory libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' rm: m4/libtool.m4: No such file or directory rm: m4/libtool.m4: No such file or directory libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' rm: m4/ltoptions.m4: No such file or directory rm: m4/ltoptions.m4: No such file or directory libtoolize: copying file 'm4/ltoptions.m4' rm: m4/ltsugar.m4: No such file or directory rm: m4/ltsugar.m4: No such file or directory libtoolize: copying file 'm4/ltsugar.m4' rm: m4/ltversion.m4: No such file or directory rm: m4/ltversion.m4: No such file or directory libtoolize: copying file 'm4/ltversion.m4' rm: m4/lt~obsolete.m4: No such file or directory rm: m4/lt~obsolete.m4: No such file or directory libtoolize: copying file 'm4/lt~obsolete.m4' Running autoconf configure.ac:202: warning: AC_CHECK_HEADERS("tensorflow/core/framework/graph.pb.h"): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... configure.ac:202: the top level configure.ac:398: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:398: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:398: the top level configure.ac:399: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:399: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:399: the top level Running autoheader Running automake --add-missing --copy configure.ac:349: installing 'config/compile' configure.ac:86: installing 'config/config.guess' configure.ac:86: installing 'config/config.sub' configure.ac:27: installing 'config/install-sh' configure.ac:27: installing 'config/missing' src/api/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] /bin/mv /Users/pbulk/build-disk/graphics/tesseract/work/tesseract-4.1.1/VERSION /Users/pbulk/build-disk/graphics/tesseract/work/tesseract-4.1.1/VERSION.txt => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Replacing bash interpreter in src/training/*.sh. INFO: [replace-interpreter] Nothing changed in src/training/language-specific.sh. INFO: [replace-interpreter] Nothing changed in src/training/tesstrain.sh. INFO: [replace-interpreter] Nothing changed in src/training/tesstrain_utils.sh. => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix 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 clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether build environment is sane... yes checking for a race-free mkdir -p... ./config/install-sh -c -d checking for gawk... /opt/pkg/bin/nawk 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 clang++... gcc3 checking for a sed that does not truncate output... /opt/pkg/bin/nbsed checking Major version... 4 checking Minor version... 1 checking Point version... 1 checking build system type... aarch64-apple-darwin22 checking host system type... aarch64-apple-darwin22 checking whether C++ compiler accepts -Werror=unused-command-line-argument... yes checking whether C++ compiler accepts -mavx... yes checking whether C++ compiler accepts -mavx2... yes checking whether C++ compiler accepts -mfma... yes checking whether C++ compiler accepts -msse4.1... yes checking whether C++ compiler accepts -march=native... no checking --enable-graphics argument... checking --enable-legacy argument... checking for clang++ option to support OpenMP... unsupported 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 sys/time.h... yes checking for tiffio.h... yes checking --enable-opencl argument... checking for tensorflow/core/framework/graph.pb.h... no checking for OpenCL framework checking if -framework OpenCL works... yes checking --enable-visibility argument... checking whether to use tessdata-prefix... yes checking if compiling with clang... yes checking whether to enable debugging... checking whether byte ordering is bigendian... no checking how to print strings... print -r checking for aarch64-apple-darwin22-gcc... clang checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... gcc3 checking for a sed that does not truncate output... (cached) /opt/pkg/bin/nbsed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no 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... (cached) 1048576 checking how to convert aarch64-apple-darwin22 file names to aarch64-apple-darwin22 format... func_convert_file_noop checking how to convert aarch64-apple-darwin22 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin22-file... no checking for file... file checking for aarch64-apple-darwin22-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin22-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin22-ar... no checking for ar... ar checking for archiver @FILE support... no checking for aarch64-apple-darwin22-strip... no checking for strip... strip checking for aarch64-apple-darwin22-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for aarch64-apple-darwin22-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin22-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin22-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin22-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin22-otool... no checking for otool... otool checking for aarch64-apple-darwin22-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22 dyld 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... clang++ -E checking for ld used by clang++... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking for clang++ option to produce PIC... -fno-common -DPIC checking if clang++ PIC flag -fno-common -DPIC works... yes checking if clang++ static flag -static works... no checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang++ supports -c -o file.o... (cached) yes checking whether the clang++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22 dyld checking how to hardcode library paths into programs... immediate checking whether C++ compiler accepts -std=c++11... yes checking whether C++ compiler accepts -std=c++14... yes checking whether C++ compiler accepts -std=c++17... yes checking for library containing pthread_create... none required checking for egrep... (cached) /usr/bin/egrep checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/ipc.h... yes checking for sys/shm.h... yes checking for limits.h... yes checking for malloc.h... no checking for _Bool... no checking for stdbool.h that conforms to C99... yes checking for asciidoc... true checking for xsltproc... true checking for wchar_t... yes checking for long long int... yes checking for off_t... yes checking for mbstate_t... yes checking pkg-config is at least version 0.9.0... yes checking for libcurl... no checking for LEPTONICA... yes checking for libarchive... no checking for ICU_UC... yes checking for ICU_I18N... yes ./configure[19554]: AUTHORS: inaccessible or not found checking for pango... yes ./configure[19645]: AUTHORS: inaccessible or not found checking for cairo... yes ./configure[19734]: AUTHORS: inaccessible or not found checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tesseract.pc config.status: creating src/api/Makefile config.status: creating src/api/tess_version.h config.status: creating src/arch/Makefile config.status: creating src/ccmain/Makefile config.status: creating src/opencl/Makefile config.status: creating src/ccstruct/Makefile config.status: creating src/ccutil/Makefile config.status: creating src/classify/Makefile config.status: creating src/cutil/Makefile config.status: creating src/dict/Makefile config.status: creating src/lstm/Makefile config.status: creating src/textord/Makefile config.status: creating src/viewer/Makefile config.status: creating src/wordrec/Makefile config.status: creating tessdata/Makefile config.status: creating tessdata/configs/Makefile config.status: creating tessdata/tessconfigs/Makefile config.status: creating unittest/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 doc/Makefile config.status: creating src/training/Makefile config.status: creating config_auto.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory configure: WARNING: unrecognized options: --with-libiconv-prefix 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 => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp