Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 10:16:10 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkubaj@anongoth.pl
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][graphics/tesseract] Failed for tesseract-3.05.02_4 in build
Message-ID:  <201903211016.x2LAGAxX027985@beefy12.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     pkubaj@anongoth.pl
Last committer: gerald@FreeBSD.org
Ident:          $FreeBSD: head/graphics/tesseract/Makefile 487272 2018-12-12 01:35:33Z gerald $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p496405_s345355/logs/tesseract-3.05.02_4.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p496405_s345355
Log:

=>> Building graphics/tesseract
build started at Thu Mar 21 09:57:51 UTC 2019
port directory: /usr/ports/graphics/tesseract
package name: tesseract-3.05.02_4
building for: FreeBSD head-amd64-default-job-16 13.0-CURRENT FreeBSD 13.0-CURRENT 1300017 amd64
maintained by: pkubaj@anongoth.pl
Makefile ident:      $FreeBSD: head/graphics/tesseract/Makefile 487272 2018-12-12 01:35:33Z gerald $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300009
Jail OSVERSION: 1300017
Job Id: 16




!!! Jail is newer than host. (Jail: 1300017, Host: 1300009) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300017
UNAME_v=FreeBSD 13.0-CURRENT 1300017
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for tesseract-3.05.02_4:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     TOOLS=on: Include training tools
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
pkubaj@anongoth.pl
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
LIBLEPT_HEADERSDIR="/usr/local/include/leptonica" PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/tesseract/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/tesseract/work  HOME=/wrkdirs/usr/ports/graphics/tesseract/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/tesseract/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/tesseract/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/tesseract/work  HOME=/wrkdirs/usr/ports/graphics/tesseract/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/tesseract/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 44
 4"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " TOOLS="" NO_TOOLS="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tesseract"  EXAMPLESDIR="share/examples/tesseract"  DATADIR="share/tessdata"  WWWDIR="www/tesseract"  ETCDIR="etc/tesseract"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " EXAMPLES="" NO_EXAMPLES="@comment " TOOLS="" NO_TOOLS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tessdata DOCSDIR=/usr/local/share/doc/tesseract EXAMPLESDIR=/usr/local/share/examples/tesseract  WWWDIR=/usr/local/www/tesseract ETCDIR=/usr/local/etc/tesseract
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300017
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   tesseract-3.05.02_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[head-amd64-default-job-16] Installing pkg-1.10.5_5...
[head-amd64-default-job-16] Extracting pkg-1.10.5_5: .......... done
===>   tesseract-3.05.02_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of tesseract-3.05.02_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by tesseract-3.05.02_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by tesseract-3.05.02_4 for building
=> SHA256 Checksum OK for tesseract-ocr-tesseract-3.05.02_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by tesseract-3.05.02_4 for building
===>  Extracting for tesseract-3.05.02_4
=> SHA256 Checksum OK for tesseract-ocr-tesseract-3.05.02_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for tesseract-3.05.02_4
===========================================================================
<snip>
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from tfacepp.cpp:32:
In file included from ./tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT tfacepp.lo -MD -MP -MF .deps/tfacepp.Tpo -c tfacepp.cpp -o tfacepp.o >/dev/null 2>&1
mv -f .deps/tfacepp.Tpo .deps/tfacepp.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT thresholder.lo -MD -MP -MF .deps/thresholder.Tpo -c -o thresholder.lo thresholder.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT thresholder.lo -MD -MP -MF .deps/thresholder.Tpo -c thresholder.cpp  -fPIC -DPIC -o .libs/thresholder.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT thresholder.lo -MD -MP -MF .deps/thresholder.Tpo -c thresholder.cpp -o thresholder.o >/dev/null 2>&1
mv -f .deps/thresholder.Tpo .deps/thresholder.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT werdit.lo -MD -MP -MF .deps/werdit.Tpo -c -o werdit.lo werdit.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT werdit.lo -MD -MP -MF .deps/werdit.Tpo -c werdit.cpp  -fPIC -DPIC -o .libs/werdit.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT werdit.lo -MD -MP -MF .deps/werdit.Tpo -c werdit.cpp -o werdit.o >/dev/null 2>&1
mv -f .deps/werdit.Tpo .deps/werdit.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT cube_control.lo -MD -MP -MF .deps/cube_control.Tpo -c -o cube_control.lo cube_control.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cube_control.lo -MD -MP -MF .deps/cube_control.Tpo -c cube_control.cpp  -fPIC -DPIC -o .libs/cube_control.o
In file included from cube_control.cpp:29:
In file included from ./tesseractclass.h:37:
In file included from ../wordrec/wordrec.h:23:
In file included from ../classify/classify.h:30:
./classify/intmatcher.h:199:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                      ^~~~~~~~~
./classify/intmatcher.h:199:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from cube_control.cpp:29:
In file included from ./tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cube_control.lo -MD -MP -MF .deps/cube_control.Tpo -c cube_control.cpp -o cube_control.o >/dev/null 2>&1
mv -f .deps/cube_control.Tpo .deps/cube_control.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT cube_reco_context.lo -MD -MP -MF .deps/cube_reco_context.Tpo -c -o cube_reco_context.lo cube_reco_context.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cube_reco_context.lo -MD -MP -MF .deps/cube_reco_context.Tpo -c cube_reco_context.cpp  -fPIC -DPIC -o .libs/cube_reco_context.o
In file included from cube_reco_context.cpp:30:
In file included from ./tesseractclass.h:37:
In file included from ../wordrec/wordrec.h:23:
In file included from ../classify/classify.h:30:
./classify/intmatcher.h:199:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                      ^~~~~~~~~
./classify/intmatcher.h:199:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from cube_reco_context.cpp:30:
In file included from ./tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cube_reco_context.lo -MD -MP -MF .deps/cube_reco_context.Tpo -c cube_reco_context.cpp -o cube_reco_context.o >/dev/null 2>&1
mv -f .deps/cube_reco_context.Tpo .deps/cube_reco_context.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT cubeclassifier.lo -MD -MP -MF .deps/cubeclassifier.Tpo -c -o cubeclassifier.lo cubeclassifier.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cubeclassifier.lo -MD -MP -MF .deps/cubeclassifier.Tpo -c cubeclassifier.cpp  -fPIC -DPIC -o .libs/cubeclassifier.o
In file included from cubeclassifier.cpp:29:
In file included from ./tesseractclass.h:37:
In file included from ../wordrec/wordrec.h:23:
In file included from ../classify/classify.h:30:
./classify/intmatcher.h:199:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                      ^~~~~~~~~
./classify/intmatcher.h:199:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from cubeclassifier.cpp:29:
In file included from ./tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT cubeclassifier.lo -MD -MP -MF .deps/cubeclassifier.Tpo -c cubeclassifier.cpp -o cubeclassifier.o >/dev/null 2>&1
mv -f .deps/cubeclassifier.Tpo .deps/cubeclassifier.Plo
/bin/sh ../libtool  --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H  -I. -I..  -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../viewer  -I../classify -I../dict  -I../wordrec -I../cutil  -I../textord -I../opencl    -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT tesseract_cube_combiner.lo -MD -MP -MF .deps/tesseract_cube_combiner.Tpo -c -o tesseract_cube_combiner.lo tesseract_cube_combiner.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT tesseract_cube_combiner.lo -MD -MP -MF .deps/tesseract_cube_combiner.Tpo -c tesseract_cube_combiner.cpp  -fPIC -DPIC -o .libs/tesseract_cube_combiner.o
In file included from tesseract_cube_combiner.cpp:32:
In file included from ./tesseractclass.h:37:
In file included from ../wordrec/wordrec.h:23:
In file included from ../classify/classify.h:30:
./classify/intmatcher.h:199:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                      ^~~~~~~~~
./classify/intmatcher.h:199:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from tesseract_cube_combiner.cpp:32:
In file included from ./tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../viewer -I../classify -I../dict -I../wordrec -I../cutil -I../textord -I../opencl -I../neural_networks/runtime -I../cube -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT tesseract_cube_combiner.lo -MD -MP -MF .deps/tesseract_cube_combiner.Tpo -c tesseract_cube_combiner.cpp -o tesseract_cube_combiner.o >/dev/null 2>&1
mv -f .deps/tesseract_cube_combiner.Tpo .deps/tesseract_cube_combiner.Plo
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11   -fstack-protector -o libtesseract_main.la  adaptions.lo applybox.lo control.lo  docqual.lo equationdetect.lo fixspace.lo fixxht.lo  ltrresultiterator.lo osdetect.lo output.lo pageiterator.lo  pagesegmain.lo pagewalk.lo par_control.lo paragraphs.lo  paramsd.lo pgedit.lo recogtraining.lo reject.lo  resultiterator.lo superscript.lo tessbox.lo tessedit.lo  tesseractclass.lo tessvars.lo tfacepp.lo thresholder.lo  werdit.lo cube_control.lo  cube_reco_context.lo cubeclassifier.lo  tesseract_cube_combiner.lo  -L/usr/local/lib
libtool: link: ar cru .libs/libtesseract_main.a .libs/adaptions.o .libs/applybox.o .libs/control.o .libs/docqual.o .libs/equationdetect.o .libs/fixspace.o .libs/fixxht.o .libs/ltrresultiterator.o .libs/osdetect.o .libs/output.o .libs/pageiterator.o .libs/pagesegmain.o .libs/pagewalk.o .libs/par_control.o .libs/paragraphs.o .libs/paramsd.o .libs/pgedit.o .libs/recogtraining.o .libs/reject.o .libs/resultiterator.o .libs/superscript.o .libs/tessbox.o .libs/tessedit.o .libs/tesseractclass.o .libs/tessvars.o .libs/tfacepp.o .libs/thresholder.o .libs/werdit.o .libs/cube_control.o .libs/cube_reco_context.o .libs/cubeclassifier.o .libs/tesseract_cube_combiner.o 
libtool: link: ranlib .libs/libtesseract_main.a
libtool: link: ( cd ".libs" && rm -f "libtesseract_main.la" && ln -s "../libtesseract_main.la" "libtesseract_main.la" )
Making all in api
c++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\"  -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../cube  -I../viewer -I../textord  -I../dict -I../classify  -I../ccmain -I../wordrec  -I../cutil -I../opencl     -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT tesseract-tesseractmain.o -MD -MP -MF .deps/tesseract-tesseractmain.Tpo -c -o tesseract-tesseractmain.o `test -f 'tesseractmain.cpp' || echo './'`tesseractmain.cpp
mv -f .deps/tesseract-tesseractmain.Tpo .deps/tesseract-tesseractmain.Po
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\"  -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../cube  -I../viewer -I../textord  -I../dict -I../classify  -I../ccmain -I../wordrec  -I../cutil -I../opencl     -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT libtesseract_api_la-baseapi.lo -MD -MP -MF .deps/libtesseract_api_la-baseapi.Tpo -c -o libtesseract_api_la-baseapi.lo `te
 st -f 'baseapi.cpp' || echo './'`baseapi.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-baseapi.lo -MD -MP -MF .deps/libtesseract_api_la-baseapi.Tpo -c baseapi.cpp  -fPIC -DPIC -o .libs/libtesseract_api_la-baseapi.o
In file included from baseapi.cpp:57:
In file included from ../ccmain/tesseractclass.h:37:
In file included from ../wordrec/wordrec.h:23:
In file included from ../classify/classify.h:30:
./classify/intmatcher.h:199:23: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                      ^~~~~~~~~
./classify/intmatcher.h:199:42: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void HeapSort (int n, register int ra[], register int rb[]);
                                         ^~~~~~~~~
In file included from baseapi.cpp:57:
In file included from ../ccmain/tesseractclass.h:37:
./wordrec/wordrec.h:358:31: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_split_length(register SPLIT *split);
                              ^~~~~~~~~
./wordrec/wordrec.h:359:28: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  PRIORITY grade_sharpness(register SPLIT *split);
                           ^~~~~~~~~
4 warnings generated.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-baseapi.lo -MD -MP -MF .deps/libtesseract_api_la-baseapi.Tpo -c baseapi.cpp -o libtesseract_api_la-baseapi.o >/dev/null 2>&1
mv -f .deps/libtesseract_api_la-baseapi.Tpo .deps/libtesseract_api_la-baseapi.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\"  -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../cube  -I../viewer -I../textord  -I../dict -I../classify  -I../ccmain -I../wordrec  -I../cutil -I../opencl     -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT libtesseract_api_la-capi.lo -MD -MP -MF .deps/libtesseract_api_la-capi.Tpo -c -o libtesseract_api_la-capi.lo `test -f 'ca
 pi.cpp' || echo './'`capi.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-capi.lo -MD -MP -MF .deps/libtesseract_api_la-capi.Tpo -c capi.cpp  -fPIC -DPIC -o .libs/libtesseract_api_la-capi.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-capi.lo -MD -MP -MF .deps/libtesseract_api_la-capi.Tpo -c capi.cpp -o libtesseract_api_la-capi.o >/dev/null 2>&1
mv -f .deps/libtesseract_api_la-capi.Tpo .deps/libtesseract_api_la-capi.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\"  -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../cube  -I../viewer -I../textord  -I../dict -I../classify  -I../ccmain -I../wordrec  -I../cutil -I../opencl     -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT libtesseract_api_la-renderer.lo -MD -MP -MF .deps/libtesseract_api_la-renderer.Tpo -c -o libtesseract_api_la-renderer.lo 
 `test -f 'renderer.cpp' || echo './'`renderer.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-renderer.lo -MD -MP -MF .deps/libtesseract_api_la-renderer.Tpo -c renderer.cpp  -fPIC -DPIC -o .libs/libtesseract_api_la-renderer.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-renderer.lo -MD -MP -MF .deps/libtesseract_api_la-renderer.Tpo -c renderer.cpp -o libtesseract_api_la-renderer.o >/dev/null 2>&1
mv -f .deps/libtesseract_api_la-renderer.Tpo .deps/libtesseract_api_la-renderer.Plo
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..  -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\"  -DUSE_STD_NAMESPACE -I../ccutil  -I../ccstruct -I../cube  -I../viewer -I../textord  -I../dict -I../classify  -I../ccmain -I../wordrec  -I../cutil -I../opencl     -isystem /usr/local/include -I/usr/local/include/leptonica  -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi  -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread  -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -MT libtesseract_api_la-pdfrenderer.lo -MD -MP -MF .deps/libtesseract_api_la-pdfrenderer.Tpo -c -o libtesseract_api_la-pdfren
 derer.lo `test -f 'pdfrenderer.cpp' || echo './'`pdfrenderer.cpp
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-pdfrenderer.lo -MD -MP -MF .deps/libtesseract_api_la-pdfrenderer.Tpo -c pdfrenderer.cpp  -fPIC -DPIC -o .libs/libtesseract_api_la-pdfrenderer.o
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -O2 -DNDEBUG -DLOCALEDIR=\"/usr/local/share/locale\" -DUSE_STD_NAMESPACE -I../ccutil -I../ccstruct -I../cube -I../viewer -I../textord -I../dict -I../classify -I../ccmain -I../wordrec -I../cutil -I../opencl -isystem /usr/local/include -I/usr/local/include/leptonica -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -MT libtesseract_api_la-pdfrenderer.lo -MD -MP -MF .deps/libtesseract_api_la-pdfrenderer.Tpo -c pdfrenderer.cpp -o libtesseract_api_la-pdfrenderer.o >/dev/null 2>&1
mv -f .deps/libtesseract_api_la-pdfrenderer.Tpo .deps/libtesseract_api_la-pdfrenderer.Plo
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11   -fstack-protector -o libtesseract_api.la  libtesseract_api_la-baseapi.lo  libtesseract_api_la-capi.lo libtesseract_api_la-renderer.lo  libtesseract_api_la-pdfrenderer.lo  -L/usr/local/lib
libtool: link: ar cru .libs/libtesseract_api.a .libs/libtesseract_api_la-baseapi.o .libs/libtesseract_api_la-capi.o .libs/libtesseract_api_la-renderer.o .libs/libtesseract_api_la-pdfrenderer.o 
libtool: link: ranlib .libs/libtesseract_api.a
libtool: link: ( cd ".libs" && rm -f "libtesseract_api.la" && ln -s "../libtesseract_api.la" "libtesseract_api.la" )
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11 -L/usr/local/lib -llept   -version-info 3:5 -no-undefined    -fstack-protector -o libtesseract.la -rpath /usr/local/lib  libtesseract_api.la  ../ccmain/libtesseract_main.la  ../textord/libtesseract_textord.la  ../wordrec/libtesseract_wordrec.la  ../classify/libtesseract_classify.la  ../dict/libtesseract_dict.la  ../ccstruct/libtesseract_ccstruct.la  ../cutil/libtesseract_cutil.la  ../viewer/libtesseract_viewer.la  ../ccutil/libtesseract_ccutil.la  ../opencl/libtesseract_opencl.la ../cube/libtesseract_cube.la  ../neural_networks/runtime/libtesseract_neural.la -L/usr/local/lib
libtool: link: c++  -fPIC -DPIC -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  -Wl,--whole-archive ./.libs/libtesseract_api.a ../ccmain/.libs/libtesseract_main.a ../textord/.libs/libtesseract_textord.a ../wordrec/.libs/libtesseract_wordrec.a ../classify/.libs/libtesseract_classify.a ../dict/.libs/libtesseract_dict.a ../ccstruct/.libs/libtesseract_ccstruct.a ../cutil/.libs/libtesseract_cutil.a ../viewer/.libs/libtesseract_viewer.a ../ccutil/.libs/libtesseract_ccutil.a ../opencl/.libs/libtesseract_opencl.a ../cube/.libs/libtesseract_cube.a ../neural_networks/runtime/.libs/libtesseract_neural.a -Wl,--no-whole-archive  -L/usr/local/lib -llept -L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libtesseract.so.3 -o .libs/libtesseract.so.3.0.5
libtool: link: (cd ".libs" && rm -f "libtesseract.so.3" && ln -s "libtesseract.so.3.0.5" "libtesseract.so.3")
libtool: link: (cd ".libs" && rm -f "libtesseract.so" && ln -s "libtesseract.so.3.0.5" "libtesseract.so")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_api.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/./.libs/libtesseract_api.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_main.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../ccmain/.libs/libtesseract_main.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_textord.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../textord/.libs/libtesseract_textord.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_wordrec.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../wordrec/.libs/libtesseract_wordrec.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_classify.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../classify/.libs/libtesseract_classify.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_dict.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../dict/.libs/libtesseract_dict.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_ccstruct.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../ccstruct/.libs/libtesseract_ccstruct.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_cutil.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../cutil/.libs/libtesseract_cutil.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_viewer.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../viewer/.libs/libtesseract_viewer.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_ccutil.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../ccutil/.libs/libtesseract_ccutil.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_opencl.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../opencl/.libs/libtesseract_opencl.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_cube.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../cube/.libs/libtesseract_cube.a")
libtool: link: (cd .libs/libtesseract.lax/libtesseract_neural.a && ar x "/wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api/../neural_networks/runtime/.libs/libtesseract_neural.a")
libtool: link: ar cru .libs/libtesseract.a   .libs/libtesseract.lax/libtesseract_api.a/libtesseract_api_la-baseapi.o .libs/libtesseract.lax/libtesseract_api.a/libtesseract_api_la-capi.o .libs/libtesseract.lax/libtesseract_api.a/libtesseract_api_la-pdfrenderer.o .libs/libtesseract.lax/libtesseract_api.a/libtesseract_api_la-renderer.o  .libs/libtesseract.lax/libtesseract_main.a/adaptions.o .libs/libtesseract.lax/libtesseract_main.a/applybox.o .libs/libtesseract.lax/libtesseract_main.a/control.o .libs/libtesseract.lax/libtesseract_main.a/cube_control.o .libs/libtesseract.lax/libtesseract_main.a/cube_reco_context.o .libs/libtesseract.lax/libtesseract_main.a/cubeclassifier.o .libs/libtesseract.lax/libtesseract_main.a/docqual.o .libs/libtesseract.lax/libtesseract_main.a/equationdetect.o .libs/libtesseract.lax/libtesseract_main.a/fixspace.o .libs/libtesseract.lax/libtesseract_main.a/fixxht.o .libs/libtesseract.lax/libtesseract_main.a/ltrresultiterator.o .libs/libtesseract.lax/libtesseract_m
 ain.a/osdetect.o .libs/libtesseract.lax/libtesseract_main.a/output.o .libs/libtesseract.lax/libtesseract_main.a/pageiterator.o .libs/libtesseract.lax/libtesseract_main.a/pagesegmain.o .libs/libtesseract.lax/libtesseract_main.a/pagewalk.o .libs/libtesseract.lax/libtesseract_main.a/par_control.o .libs/libtesseract.lax/libtesseract_main.a/paragraphs.o .libs/libtesseract.lax/libtesseract_main.a/paramsd.o .libs/libtesseract.lax/libtesseract_main.a/pgedit.o .libs/libtesseract.lax/libtesseract_main.a/recogtraining.o .libs/libtesseract.lax/libtesseract_main.a/reject.o .libs/libtesseract.lax/libtesseract_main.a/resultiterator.o .libs/libtesseract.lax/libtesseract_main.a/superscript.o .libs/libtesseract.lax/libtesseract_main.a/tessbox.o .libs/libtesseract.lax/libtesseract_main.a/tessedit.o .libs/libtesseract.lax/libtesseract_main.a/tesseract_cube_combiner.o .libs/libtesseract.lax/libtesseract_main.a/tesseractclass.o .libs/libtesseract.lax/libtesseract_main.a/tessvars.o .libs/libtesseract.lax/
 libtesseract_main.a/tfacepp.o .libs/libtesse!
 ract.lax/libtesseract_main.a/thresholder.o .libs/libtesseract.lax/libtesseract_main.a/werdit.o  .libs/libtesseract.lax/libtesseract_textord.a/alignedblob.o .libs/libtesseract.lax/libtesseract_textord.a/baselinedetect.o .libs/libtesseract.lax/libtesseract_textord.a/bbgrid.o .libs/libtesseract.lax/libtesseract_textord.a/blkocc.o .libs/libtesseract.lax/libtesseract_textord.a/blobgrid.o .libs/libtesseract.lax/libtesseract_textord.a/ccnontextdetect.o .libs/libtesseract.lax/libtesseract_textord.a/cjkpitch.o .libs/libtesseract.lax/libtesseract_textord.a/colfind.o .libs/libtesseract.lax/libtesseract_textord.a/colpartition.o .libs/libtesseract.lax/libtesseract_textord.a/colpartitiongrid.o .libs/libtesseract.lax/libtesseract_textord.a/colpartitionset.o .libs/libtesseract.lax/libtesseract_textord.a/devanagari_processing.o .libs/libtesseract.lax/libtesseract_textord.a/drawedg.o .libs/libtesseract.lax/libtesseract_textord.a/drawtord.o .libs/libtesseract.lax/libtesseract_textord.a/edgblob.o .libs
 /libtesseract.lax/libtesseract_textord.a/edgloop.o .libs/libtesseract.lax/libtesseract_textord.a/equationdetectbase.o .libs/libtesseract.lax/libtesseract_textord.a/fpchop.o .libs/libtesseract.lax/libtesseract_textord.a/gap_map.o .libs/libtesseract.lax/libtesseract_textord.a/imagefind.o .libs/libtesseract.lax/libtesseract_textord.a/linefind.o .libs/libtesseract.lax/libtesseract_textord.a/makerow.o .libs/libtesseract.lax/libtesseract_textord.a/oldbasel.o .libs/libtesseract.lax/libtesseract_textord.a/pithsync.o .libs/libtesseract.lax/libtesseract_textord.a/pitsync1.o .libs/libtesseract.lax/libtesseract_textord.a/scanedg.o .libs/libtesseract.lax/libtesseract_textord.a/sortflts.o .libs/libtesseract.lax/libtesseract_textord.a/strokewidth.o .libs/libtesseract.lax/libtesseract_textord.a/tabfind.o .libs/libtesseract.lax/libtesseract_textord.a/tablefind.o .libs/libtesseract.lax/libtesseract_textord.a/tablerecog.o .libs/libtesseract.lax/libtesseract_textord.a/tabvector.o .libs/libtesseract.lax
 /libtesseract_textord.a/textlineprojection.o!
  .libs/li!
 btesseract.lax/libtesseract_textord.a/textord.o .libs/libtesseract.lax/libtesseract_textord.a/topitch.o .libs/libtesseract.lax/libtesseract_textord.a/tordmain.o .libs/libtesseract.lax/libtesseract_textord.a/tospace.o .libs/libtesseract.lax/libtesseract_textord.a/tovars.o .libs/libtesseract.lax/libtesseract_textord.a/underlin.o .libs/libtesseract.lax/libtesseract_textord.a/wordseg.o .libs/libtesseract.lax/libtesseract_textord.a/workingpartset.o  .libs/libtesseract.lax/libtesseract_wordrec.a/associate.o .libs/libtesseract.lax/libtesseract_wordrec.a/chop.o .libs/libtesseract.lax/libtesseract_wordrec.a/chopper.o .libs/libtesseract.lax/libtesseract_wordrec.a/drawfx.o .libs/libtesseract.lax/libtesseract_wordrec.a/findseam.o .libs/libtesseract.lax/libtesseract_wordrec.a/gradechop.o .libs/libtesseract.lax/libtesseract_wordrec.a/language_model.o .libs/libtesseract.lax/libtesseract_wordrec.a/lm_consistency.o .libs/libtesseract.lax/libtesseract_wordrec.a/lm_pain_points.o .libs/libtesseract.lax
 /libtesseract_wordrec.a/lm_state.o .libs/libtesseract.lax/libtesseract_wordrec.a/outlines.o .libs/libtesseract.lax/libtesseract_wordrec.a/params_model.o .libs/libtesseract.lax/libtesseract_wordrec.a/pieces.o .libs/libtesseract.lax/libtesseract_wordrec.a/plotedges.o .libs/libtesseract.lax/libtesseract_wordrec.a/render.o .libs/libtesseract.lax/libtesseract_wordrec.a/segsearch.o .libs/libtesseract.lax/libtesseract_wordrec.a/tface.o .libs/libtesseract.lax/libtesseract_wordrec.a/wordclass.o .libs/libtesseract.lax/libtesseract_wordrec.a/wordrec.o  .libs/libtesseract.lax/libtesseract_classify.a/adaptive.o .libs/libtesseract.lax/libtesseract_classify.a/adaptmatch.o .libs/libtesseract.lax/libtesseract_classify.a/blobclass.o .libs/libtesseract.lax/libtesseract_classify.a/classify.o .libs/libtesseract.lax/libtesseract_classify.a/cluster.o .libs/libtesseract.lax/libtesseract_classify.a/clusttool.o .libs/libtesseract.lax/libtesseract_classify.a/cutoffs.o .libs/libtesseract.lax/libtesseract_class
 ify.a/errorcounter.o .libs/libtesseract.lax/!
 libtesser!
 act_classify.a/featdefs.o .libs/libtesseract.lax/libtesseract_classify.a/float2int.o .libs/libtesseract.lax/libtesseract_classify.a/fpoint.o .libs/libtesseract.lax/libtesseract_classify.a/intfeaturedist.o .libs/libtesseract.lax/libtesseract_classify.a/intfeaturemap.o .libs/libtesseract.lax/libtesseract_classify.a/intfeaturespace.o .libs/libtesseract.lax/libtesseract_classify.a/intfx.o .libs/libtesseract.lax/libtesseract_classify.a/intmatcher.o .libs/libtesseract.lax/libtesseract_classify.a/intproto.o .libs/libtesseract.lax/libtesseract_classify.a/kdtree.o .libs/libtesseract.lax/libtesseract_classify.a/mastertrainer.o .libs/libtesseract.lax/libtesseract_classify.a/mf.o .libs/libtesseract.lax/libtesseract_classify.a/mfdefs.o .libs/libtesseract.lax/libtesseract_classify.a/mfoutline.o .libs/libtesseract.lax/libtesseract_classify.a/mfx.o .libs/libtesseract.lax/libtesseract_classify.a/normfeat.o .libs/libtesseract.lax/libtesseract_classify.a/normmatch.o .libs/libtesseract.lax/libtesseract
 _classify.a/ocrfeatures.o .libs/libtesseract.lax/libtesseract_classify.a/outfeat.o .libs/libtesseract.lax/libtesseract_classify.a/picofeat.o .libs/libtesseract.lax/libtesseract_classify.a/protos.o .libs/libtesseract.lax/libtesseract_classify.a/sampleiterator.o .libs/libtesseract.lax/libtesseract_classify.a/shapeclassifier.o .libs/libtesseract.lax/libtesseract_classify.a/shapetable.o .libs/libtesseract.lax/libtesseract_classify.a/tessclassifier.o .libs/libtesseract.lax/libtesseract_classify.a/trainingsample.o .libs/libtesseract.lax/libtesseract_classify.a/trainingsampleset.o  .libs/libtesseract.lax/libtesseract_dict.a/context.o .libs/libtesseract.lax/libtesseract_dict.a/dawg.o .libs/libtesseract.lax/libtesseract_dict.a/dawg_cache.o .libs/libtesseract.lax/libtesseract_dict.a/dict.o .libs/libtesseract.lax/libtesseract_dict.a/hyphen.o .libs/libtesseract.lax/libtesseract_dict.a/permdawg.o .libs/libtesseract.lax/libtesseract_dict.a/stopper.o .libs/libtesseract.lax/libtesseract_dict.a/trie
 .o  .libs/libtesseract.lax/libtesseract_ccst!
 ruct.a/bl!
 amer.o .libs/libtesseract.lax/libtesseract_ccstruct.a/blobbox.o .libs/libtesseract.lax/libtesseract_ccstruct.a/blobs.o .libs/libtesseract.lax/libtesseract_ccstruct.a/blread.o .libs/libtesseract.lax/libtesseract_ccstruct.a/boxread.o .libs/libtesseract.lax/libtesseract_ccstruct.a/boxword.o .libs/libtesseract.lax/libtesseract_ccstruct.a/ccstruct.o .libs/libtesseract.lax/libtesseract_ccstruct.a/coutln.o .libs/libtesseract.lax/libtesseract_ccstruct.a/detlinefit.o .libs/libtesseract.lax/libtesseract_ccstruct.a/dppoint.o .libs/libtesseract.lax/libtesseract_ccstruct.a/fontinfo.o .libs/libtesseract.lax/libtesseract_ccstruct.a/genblob.o .libs/libtesseract.lax/libtesseract_ccstruct.a/imagedata.o .libs/libtesseract.lax/libtesseract_ccstruct.a/linlsq.o .libs/libtesseract.lax/libtesseract_ccstruct.a/matrix.o .libs/libtesseract.lax/libtesseract_ccstruct.a/mod128.o .libs/libtesseract.lax/libtesseract_ccstruct.a/normalis.o .libs/libtesseract.lax/libtesseract_ccstruct.a/ocrblock.o .libs/libtesseract.
 lax/libtesseract_ccstruct.a/ocrpara.o .libs/libtesseract.lax/libtesseract_ccstruct.a/ocrrow.o .libs/libtesseract.lax/libtesseract_ccstruct.a/otsuthr.o .libs/libtesseract.lax/libtesseract_ccstruct.a/pageres.o .libs/libtesseract.lax/libtesseract_ccstruct.a/params_training_featdef.o .libs/libtesseract.lax/libtesseract_ccstruct.a/pdblock.o .libs/libtesseract.lax/libtesseract_ccstruct.a/points.o .libs/libtesseract.lax/libtesseract_ccstruct.a/polyaprx.o .libs/libtesseract.lax/libtesseract_ccstruct.a/polyblk.o .libs/libtesseract.lax/libtesseract_ccstruct.a/publictypes.o .libs/libtesseract.lax/libtesseract_ccstruct.a/quadlsq.o .libs/libtesseract.lax/libtesseract_ccstruct.a/quspline.o .libs/libtesseract.lax/libtesseract_ccstruct.a/ratngs.o .libs/libtesseract.lax/libtesseract_ccstruct.a/rect.o .libs/libtesseract.lax/libtesseract_ccstruct.a/rejctmap.o .libs/libtesseract.lax/libtesseract_ccstruct.a/seam.o .libs/libtesseract.lax/libtesseract_ccstruct.a/split.o .libs/libtesseract.lax/libtesseract
 _ccstruct.a/statistc.o .libs/libtesseract.la!
 x/libtess!
 eract_ccstruct.a/stepblob.o .libs/libtesseract.lax/libtesseract_ccstruct.a/vecfuncs.o .libs/libtesseract.lax/libtesseract_ccstruct.a/werd.o  .libs/libtesseract.lax/libtesseract_cutil.a/bitvec.o .libs/libtesseract.lax/libtesseract_cutil.a/callcpp.o .libs/libtesseract.lax/libtesseract_cutil.a/cutil.o .libs/libtesseract.lax/libtesseract_cutil.a/cutil_class.o .libs/libtesseract.lax/libtesseract_cutil.a/danerror.o .libs/libtesseract.lax/libtesseract_cutil.a/efio.o .libs/libtesseract.lax/libtesseract_cutil.a/emalloc.o .libs/libtesseract.lax/libtesseract_cutil.a/freelist.o .libs/libtesseract.lax/libtesseract_cutil.a/oldlist.o .libs/libtesseract.lax/libtesseract_cutil.a/structures.o  .libs/libtesseract.lax/libtesseract_viewer.a/scrollview.o .libs/libtesseract.lax/libtesseract_viewer.a/svmnode.o .libs/libtesseract.lax/libtesseract_viewer.a/svpaint.o .libs/libtesseract.lax/libtesseract_viewer.a/svutil.o  .libs/libtesseract.lax/libtesseract_ccutil.a/ambigs.o .libs/libtesseract.lax/libtesseract
 _ccutil.a/basedir.o .libs/libtesseract.lax/libtesseract_ccutil.a/bits16.o .libs/libtesseract.lax/libtesseract_ccutil.a/bitvector.o .libs/libtesseract.lax/libtesseract_ccutil.a/ccutil.o .libs/libtesseract.lax/libtesseract_ccutil.a/clst.o .libs/libtesseract.lax/libtesseract_ccutil.a/elst.o .libs/libtesseract.lax/libtesseract_ccutil.a/elst2.o .libs/libtesseract.lax/libtesseract_ccutil.a/errcode.o .libs/libtesseract.lax/libtesseract_ccutil.a/globaloc.o .libs/libtesseract.lax/libtesseract_ccutil.a/indexmapbidi.o .libs/libtesseract.lax/libtesseract_ccutil.a/mainblk.o .libs/libtesseract.lax/libtesseract_ccutil.a/memry.o .libs/libtesseract.lax/libtesseract_ccutil.a/params.o .libs/libtesseract.lax/libtesseract_ccutil.a/scanutils.o .libs/libtesseract.lax/libtesseract_ccutil.a/serialis.o .libs/libtesseract.lax/libtesseract_ccutil.a/strngs.o .libs/libtesseract.lax/libtesseract_ccutil.a/tessdatamanager.o .libs/libtesseract.lax/libtesseract_ccutil.a/tprintf.o .libs/libtesseract.lax/libtesseract_c
 cutil.a/unichar.o .libs/libtesseract.lax/lib!
 tesseract!
 _ccutil.a/unicharmap.o .libs/libtesseract.lax/libtesseract_ccutil.a/unicharset.o .libs/libtesseract.lax/libtesseract_ccutil.a/unicodes.o .libs/libtesseract.lax/libtesseract_ccutil.a/universalambigs.o  .libs/libtesseract.lax/libtesseract_opencl.a/openclwrapper.o  .libs/libtesseract.lax/libtesseract_cube.a/altlist.o .libs/libtesseract.lax/libtesseract_cube.a/beam_search.o .libs/libtesseract.lax/libtesseract_cube.a/bmp_8.o .libs/libtesseract.lax/libtesseract_cube.a/cached_file.o .libs/libtesseract.lax/libtesseract_cube.a/char_altlist.o .libs/libtesseract.lax/libtesseract_cube.a/char_bigrams.o .libs/libtesseract.lax/libtesseract_cube.a/char_samp.o .libs/libtesseract.lax/libtesseract_cube.a/char_samp_enum.o .libs/libtesseract.lax/libtesseract_cube.a/char_samp_set.o .libs/libtesseract.lax/libtesseract_cube.a/char_set.o .libs/libtesseract.lax/libtesseract_cube.a/classifier_factory.o .libs/libtesseract.lax/libtesseract_cube.a/con_comp.o .libs/libtesseract.lax/libtesseract_cube.a/conv_net_cl
 assifier.o .libs/libtesseract.lax/libtesseract_cube.a/cube_line_object.o .libs/libtesseract.lax/libtesseract_cube.a/cube_line_segmenter.o .libs/libtesseract.lax/libtesseract_cube.a/cube_object.o .libs/libtesseract.lax/libtesseract_cube.a/cube_search_object.o .libs/libtesseract.lax/libtesseract_cube.a/cube_tuning_params.o .libs/libtesseract.lax/libtesseract_cube.a/cube_utils.o .libs/libtesseract.lax/libtesseract_cube.a/feature_bmp.o .libs/libtesseract.lax/libtesseract_cube.a/feature_chebyshev.o .libs/libtesseract.lax/libtesseract_cube.a/feature_hybrid.o .libs/libtesseract.lax/libtesseract_cube.a/hybrid_neural_net_classifier.o .libs/libtesseract.lax/libtesseract_cube.a/search_column.o .libs/libtesseract.lax/libtesseract_cube.a/search_node.o .libs/libtesseract.lax/libtesseract_cube.a/tess_lang_mod_edge.o .libs/libtesseract.lax/libtesseract_cube.a/tess_lang_model.o .libs/libtesseract.lax/libtesseract_cube.a/word_altlist.o .libs/libtesseract.lax/libtesseract_cube.a/word_list_lang_model.o
  .libs/libtesseract.lax/libtesseract_cube.a/!
 word_size!
 _model.o .libs/libtesseract.lax/libtesseract_cube.a/word_unigrams.o  .libs/libtesseract.lax/libtesseract_neural.a/input_file_buffer.o .libs/libtesseract.lax/libtesseract_neural.a/neural_net.o .libs/libtesseract.lax/libtesseract_neural.a/neuron.o .libs/libtesseract.lax/libtesseract_neural.a/sigmoid_table.o 
libtool: link: ranlib .libs/libtesseract.a
libtool: link: rm -fr .libs/libtesseract.lax
libtool: link: ( cd ".libs" && rm -f "libtesseract.la" && ln -s "../libtesseract.la" "libtesseract.la" )
/bin/sh ../libtool  --tag=CXX    --mode=link c++   -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -std=c++11  -fstack-protector -o tesseract tesseract-tesseractmain.o libtesseract.la -L/usr/local/lib -llept    -lrt -L/usr/local/lib
libtool: link: c++ -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -std=c++11 -fstack-protector -o .libs/tesseract tesseract-tesseractmain.o  ./.libs/libtesseract.so -L/usr/local/lib -lrt -llept -Wl,-rpath -Wl,/usr/local/lib
ld: error: ./.libs/libtesseract.so: undefined reference to pthread_create
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02/api
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/graphics/tesseract/work/tesseract-3.05.02
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/tesseract



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903211016.x2LAGAxX027985>