From owner-freebsd-pkg-fallout@FreeBSD.ORG Thu Oct 17 23:54:44 2013 Return-Path: Delivered-To: pkg-fallout@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 625A244E for ; Thu, 17 Oct 2013 23:54:44 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy1.isc.freebsd.org (beefy1.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 315EF2BDE; Thu, 17 Oct 2013 23:54:44 +0000 (UTC) Received: from beefy1.isc.freebsd.org (localhost [127.0.0.1]) by beefy1.isc.freebsd.org (8.14.7/8.14.7) with ESMTP id r9HNsh7m085424; Thu, 17 Oct 2013 23:54:43 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy1.isc.freebsd.org (8.14.7/8.14.7/Submit) id r9HNshLi085099; Thu, 17 Oct 2013 23:54:43 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Thu, 17 Oct 2013 23:54:43 GMT From: pkg-fallout@FreeBSD.org Message-Id: <201310172354.r9HNshLi085099@beefy1.isc.freebsd.org> To: hiroto.kagotani@gmail.com Subject: [REL - head-i386-default][graphics/ocropus] Failed for ocropus-0.4_11 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 23:54:44 -0000 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: hiroto.kagotani@gmail.com Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/graphics/ocropus/Makefile 327733 2013-09-20 18:35:44Z bapt $ Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-10-17_19h54m49s/logs/ocropus-0.4_11.log Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-10-17_19h54m49s Log: ====>> Building graphics/ocropus build started at Thu Oct 17 23:54:06 UTC 2013 port directory: /usr/ports/graphics/ocropus building for: FreeBSD head-i386-default-job-01 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 i386 maintained by: hiroto.kagotani@gmail.com Makefile ident: $FreeBSD: head/graphics/ocropus/Makefile 327733 2013-09-20 18:35:44Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1100000 UNAME_v=FreeBSD 11.0-CURRENT r256430 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref PKG_EXT=txz tpid=41419 POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=ocropus-0.4_11 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for ocropus-0.4_11: LEPTONICA=off: Enable Leptonica image analysis SDL=off: Enable SDL for graphical debugging ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --without-fst --without-tesseract --with-iulib=/usr/local --without-SDL --without-leptonica --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" PYTHON="/usr/local/bin/python2.7" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES AUTOMAKE=/usr/local/bin/automake-1.14 AUTOMAKE_DIR=/usr/local/share/automake-1.14 AUTOMAKE_VERSION=1.14 AUTOMAKE_APIVER=1.14 ACLOCAL=/usr/local/bin/aclocal-1.14 ACLOCAL_DIR=/usr/local/share/aclocal-1.14 AUTOCONF=/usr/local/bin/autoconf-2.69 AUTOCONF_DIR=/usr/local/share/autoconf-2.69 AUTOHEADER=/usr/local/bin/autoheader-2.69 AUTOIFNAMES=/usr/local/bin/ifnames-2.69 AUTOM4TE=/usr/local/bin/autom4te-2.69 AUTORECONF=/usr/local/bin/autoreconf-2.69 AUTOSCAN=/usr/local/bin/autoscan-2.69 AUTOUPDATE=/usr/local/bin/autoupdate-2.69 AUTOCONF_VERSION=2.69 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTAL L_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ocropus DOCSDIR=/usr/local/share/doc/ocropus EXAMPLESDIR=/usr/local/share/examples/ocropus WWWDIR=/usr/local/www/ocropus ETCDIR=/usr/local/etc/ocropus --End SUB_LIST-- ---Begin make.conf--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- ===> Cleaning for ocropus-0.4_11 =================================================== =========================================================================== =================================================== ===> ocropus-0.4_11 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.1.4_8.txz Installing pkg-1.1.4_8... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ocropus-0.4_11 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ocropus-0.4_11 for building =========================================================================== =================================================== ===> Fetching all distfiles required by ocropus-0.4_11 for building => SHA256 Checksum OK for ocropus-0.4.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by ocropus-0.4_11 for building ===> Extracting for ocropus-0.4_11 => SHA256 Checksum OK for ocropus-0.4.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ocropus-0.4_11 ===> Applying FreeBSD patches for ocropus-0.4_11 =========================================================================== =================================================== ===> ocropus-0.4_11 depends on file: /usr/local/bin/python2.7 - not found ===> Verifying install for /usr/local/bin/python2.7 in /usr/ports/lang/python27 ===> Installing existing package /packages/All/python27-2.7.5_3.txz Installing python27-2.7.5_3...Installing gettext-0.18.3.1... done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on executable: python - not found ===> Verifying install for python in /usr/ports/lang/python ===> Installing existing package /packages/All/python-2.7_1,2.txz Installing python-2.7_1,2...Installing python2-2_1... done done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz Installing gmake-3.82_1... done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on file: /usr/local/bin/automake-1.14 - not found ===> Verifying install for /usr/local/bin/automake-1.14 in /usr/ports/devel/automake ===> Installing existing package /packages/All/automake-1.14.txz Installing automake-1.14...Installing autoconf-wrapper-20130530... done Installing autoconf-2.69...Installing m4-1.4.17,1... done Installing perl-5.14.4_2...Removing /usr/local/etc/perl5_version... Done. Creating /usr/local/etc/perl5_version... Done. Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl Symlinking /usr/local/bin/perl5.14.4 to /usr/bin/perl5 Done. done done Installing automake-wrapper-20130530... done done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on file: /usr/local/bin/autoconf-2.69 - found =========================================================================== =================================================== ===> ocropus-0.4_11 depends on shared library: png15 - not found ===> Verifying install for png15 in /usr/ports/graphics/png ===> Installing existing package /packages/All/png-1.5.17.txz Installing png-1.5.17... done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on shared library: jpeg.11 - not found ===> Verifying install for jpeg.11 in /usr/ports/graphics/jpeg ===> Installing existing package /packages/All/jpeg-8_4.txz Installing jpeg-8_4... done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on shared library: tiff.4 - not found ===> Verifying install for tiff.4 in /usr/ports/graphics/tiff ===> Installing existing package /packages/All/tiff-4.0.3.txz Installing tiff-4.0.3...Installing jbigkit-1.6... done done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on shared library: iulib.0 - not found ===> Verifying install for iulib.0 in /usr/ports/graphics/iulib ===> Installing existing package /packages/All/iulib-0.4_11.txz Installing iulib-0.4_11...Installing mpfr-3.1.2...Installing gmp-5.1.3... done done Installing mpc-0.9... done Installing gcc-ecj-4.5... done Installing gcc-4.6.3...Installing binutils-2.23.2... done done done ===> Returning to build of ocropus-0.4_11 ===> ocropus-0.4_11 depends on shared library: gsl - not found ===> Verifying install for gsl in /usr/ports/math/gsl ===> Installing existing package /packages/All/gsl-1.16.txz Installing gsl-1.16... done Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-voronoi/label_func.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-voronoi/memory.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-voronoi/geometry.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-voronoi/dinfo.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-voronoi/voronoi-pageseg.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/a-star.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/ocrofst-impl.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/beam-search.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/lattice.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/ocrofst-util.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/ocrofst-heap.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-pfst/ocrofst-io.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:40: warning: source file '$(srcdir)/ocr-leptonica/ocr-text-image-seg-leptonica.cc' is in a subdirectory, Makefile.am:40: but option 'subdir-objects' is disabled Makefile.am:59: warning: source file '$(srcdir)/ocr-tesseract/tesseract.cc' is in a subdirectory, Makefile.am:59: but option 'subdir-objects' is disabled Makefile.am:59: warning: source file '$(srcdir)/ocr-autoclean/ocr-orientation.cc' is in a subdirectory, Makefile.am:59: but option 'subdir-objects' is disabled Makefile.am:59: warning: source file '$(srcdir)/ocr-autoclean/ocr-thresholding.cc' is in a subdirectory, Makefile.am:59: but option 'subdir-objects' is disabled Makefile.am:86: warning: source file '$(srcdir)/ocr-voronoi/main-be.cc' is in a subdirectory, Makefile.am:86: but option 'subdir-objects' is disabled Makefile.am:84: warning: source file '$(srcdir)/ocr-binarize/main-ocr-binarize-otsu.cc' is in a subdirectory, Makefile.am:84: but option 'subdir-objects' is disabled Makefile.am:82: warning: source file '$(srcdir)/ocr-binarize/main-ocr-binarize-sauvola.cc' is in a subdirectory, Makefile.am:82: but option 'subdir-objects' is disabled Makefile.am:61: warning: source file '$(srcdir)/ocr-autoclean/main-ocr-orientation.cc' is in a subdirectory, Makefile.am:61: but option 'subdir-objects' is disabled Makefile.am:63: warning: source file '$(srcdir)/ocr-autoclean/main-ocr-thresholding.cc' is in a subdirectory, Makefile.am:63: but option 'subdir-objects' is disabled Makefile.am:88: warning: source file '$(srcdir)/ocr-voronoi/main-voronoi-ocropus.cc' is in a subdirectory, Makefile.am:88: but option 'subdir-objects' is disabled Makefile.am:78: warning: source file '$(srcdir)/commands/ocr-distance.cc' is in a subdirectory, Makefile.am:78: but option 'subdir-objects' is disabled Makefile.am:76: warning: source file '$(srcdir)/commands/ocropus.cc' is in a subdirectory, Makefile.am:76: but option 'subdir-objects' is disabled Makefile.am:96: warning: source file '$(srcdir)/ocr-utils/tests/test-binarize-sauvola.cc' is in a subdirectory, Makefile.am:96: but option 'subdir-objects' is disabled Makefile.am:104: warning: source file '$(srcdir)/ocr-utils/tests/test-narray-io.cc' is in a subdirectory, Makefile.am:104: but option 'subdir-objects' is disabled Makefile.am:92: warning: source file '$(srcdir)/ocr-utils/tests/test-ocr-utils.cc' is in a subdirectory, Makefile.am:92: but option 'subdir-objects' is disabled Makefile.am:100: warning: source file '$(srcdir)/ocr-utils/tests/test-seg-cuts.cc' is in a subdirectory, Makefile.am:100: but option 'subdir-objects' is disabled configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes /wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus/missing: Unknown `--is-lightweight' option Try `/wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for /usr/local/include/iulib/imgio.h... yes 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 we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by gmake... GNU checking dependency style of c++... gcc3 checking for gcc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for float.h... (cached) yes checking for malloc.h... (cached) no checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for unistd.h... (cached) yes checking for compress in -lz... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_sig_cmp in -lpng... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jpeg_std_error in -ljpeg... yes checking for TIFFOpen in -ltiff... yes checking for pthread_create in -pthread... yes checking for exit in -liulib... yes checking for abort in -lgslcblas... yes checking for gsl_error in -lgsl... yes checking for exit in -lblas... no checking for GOMP_parallel_start in -lgomp... yes checking for int64_t... (cached) yes checking for pid_t... (cached) yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for dup2... (cached) yes checking for memset... (cached) yes checking for sqrt... yes checking for strchr... yes checking for strdup... (cached) yes checking for strrchr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands OK! You can build and install OCRopus the usual way: make sudo make install To recognize something, you can use ocroscript recognize data/pages/alice_1.png =========================================================================== =================================================== ===> Building for ocropus-0.4_11 gmake[1]: Entering directory `/wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' Making all in . gmake[2]: Entering directory `/wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' c++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBIULIB=1 -DHAVE_LIBGSLCBLAS=1 -DHAVE_LIBGSL=1 -DHAVE_LIBGOMP=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -fopenmp -Wall -Wno-sign-compare -Wno-write-string s -Wno-deprecated -O2 -pipe -fno-strict-aliasing -fopenmp -MT linerec.o -MD -MP -MF .deps/linerec.Tpo -c -o linerec.o `test -f './ocr-line/linerec.cc' || echo './'`./ocr-line/linerec.cc c++: warning: argument unused during compilation: '-fopenmp' c++: warning: argument unused during compilation: '-fopenmp' In file included from ./ocr-line/linerec.cc:32: In file included from ./include/ocropus.h:29: In file included from /usr/local/include/colib/colib.h:34: In file included from /usr/local/include/colib/classifier.h:33: /usr/local/include/colib/narray.h:79:5: warning: 'narray' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] class narray { ^ /usr/local/include/colib/narray.h:66:5: note: did you mean class here? struct narray; ^~~~~~ class ./ocr-line/linerec.cc:401:14: warning: 'glinerec::LinerecExtracted::addTrainingLine' hides overloaded virtual function [-Woverloaded-virtual] void addTrainingLine(intarray &cseg,nustring &tr) { ^ ./ocr-utils/ocrinterfaces.h:309:22: note: hidden overloaded virtual function 'ocropus::IRecognizeLine::addTrainingLine' declared here: type mismatch at 1st parameter ('bytearray &' (aka 'narray &') vs 'intarray &' (aka 'narray &')) virtual void addTrainingLine(bytearray &image,nustring &transcription) { throw "unimplemented"; } ^ In file included from ./ocr-line/linerec.cc:32: In file included from ./include/ocropus.h:61: ./ocr-utils/enumerator.h:83:25: error: call to function 'Hash_hash' that is neither visible in the template definition nor found by argument-dependent lookup int index = abs(Hash_hash(key)) % entries.length(); ^ ./ocr-utils/enumerator.h:71:21: note: in instantiation of member function 'EnumHash::find_index' requested here int index = find_index(key); ^ ./ocr-utils/enumerator.h:116:34: note: in instantiation of member function 'EnumHash::get' requested here int result = translation.get(i,n); ^ ./ocr-utils/enumerator.h:105:12: note: 'Hash_hash' should be declared prior to the call site inline int Hash_hash(int x) { ^ 2 warnings and 1 error generated. gmake[2]: *** [linerec.o] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/wrkdirs/usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' *** Error code 1 Stop. make: stopped in /usr/ports/graphics/ocropus ===> Cleaning for ocropus-0.4_11