Building ja-nhocr-0.16.txz (origin /buildshare/ports/355755/japanese/nhocr) for powerpc-10-0 on XXX Pre-existing file system for this slot! slot2: removed slot2: created x distfiles/ x distfiles/nhocr-0.16.tar.gz x packages/ x packages/pkg-1.2.7_2.txz x packages/O2-tools-2.00.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> ja-nhocr-0.16 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of ja-nhocr-0.16 ===> ja-nhocr-0.16 depends on file: /usr/local/lib/libsip.a - not found ===> Verifying install for /usr/local/lib/libsip.a in /buildshare/ports/355755/graphics/O2-tools ===> Installing existing package /packages/O2-tools-2.00.txz Installing O2-tools-2.00... done ===> Returning to build of ja-nhocr-0.16 Make install ===> ja-nhocr-0.16 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ja-nhocr-0.16 for building ===> Extracting for ja-nhocr-0.16 ===> ja-nhocr-0.16 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by ja-nhocr-0.16 for building => SHA256 Checksum OK for nhocr-0.16.tar.gz. ===> Patching for ja-nhocr-0.16 ===> Applying FreeBSD patches for ja-nhocr-0.16 ===> ja-nhocr-0.16 depends on file: /usr/local/lib/libsip.a - found ===> Configuring for ja-nhocr-0.16 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/configure configure: loading site script /buildshare/ports/355755/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... cpp checking for X... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating libnhocr/Makefile config.status: creating dic/Makefile config.status: executing depfiles commands ===> Building for ja-nhocr-0.16 Making all in libnhocr if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT codelist.o -MD -MP -MF ".deps/codelist.Tpo" -c -o codelist.o codelist.cpp; then mv -f ".deps/codelist.Tpo" ".deps/codelist.Po"; else rm -f ".deps/codelist.Tpo"; exit 1; fi if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT dicfile.o -MD -MP -MF ".deps/dicfile.Tpo" -c -o dicfile.o dicfile.cpp; then mv -f ".deps/dicfile.Tpo" ".deps/dicfile.Po"; else rm -f ".deps/dicfile.Tpo"; exit 1; fi if cc -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -MT discrim.o -MD -MP -MF ".deps/discrim.Tpo" -c -o discrim.o discrim.c; then mv -f ".deps/discrim.Tpo" ".deps/discrim.Po"; else rm -f ".deps/discrim.Tpo"; exit 1; fi if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT feature_PLOVE.o -MD -MP -MF ".deps/feature_PLOVE.Tpo" -c -o feature_PLOVE.o feature_PLOVE.cpp; then mv -f ".deps/feature_PLOVE.Tpo" ".deps/feature_PLOVE.Po"; else rm -f ".deps/feature_PLOVE.Tpo"; exit 1; fi if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT nhrec.o -MD -MP -MF ".deps/nhrec.Tpo" -c -o nhrec.o nhrec.cpp; then mv -f ".deps/nhrec.Tpo" ".deps/nhrec.Po"; else rm -f ".deps/nhrec.Tpo"; exit 1; fi nhrec.cpp:48: warning: deprecated conversion from string constant to 'char*' nhrec.cpp:49: warning: deprecated conversion from string constant to 'char*' nhrec.cpp:50: warning: deprecated conversion from string constant to 'char*' nhrec.cpp: In member function 'int NHrec::rec_line(SIPImage*, char*, int)': nhrec.cpp:392: warning: deprecated conversion from string constant to 'char*' nhrec.cpp:400: warning: deprecated conversion from string constant to 'char*' nhrec.cpp:443: warning: deprecated conversion from string constant to 'char*' if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT ocrbase.o -MD -MP -MF ".deps/ocrbase.Tpo" -c -o ocrbase.o ocrbase.cpp; then mv -f ".deps/ocrbase.Tpo" ".deps/ocrbase.Po"; else rm -f ".deps/ocrbase.Tpo"; exit 1; fi if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT otsubin.o -MD -MP -MF ".deps/otsubin.Tpo" -c -o otsubin.o otsubin.cpp; then mv -f ".deps/otsubin.Tpo" ".deps/otsubin.Po"; else rm -f ".deps/otsubin.Tpo"; exit 1; fi if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I. -O2 -pipe -fno-strict-aliasing -MT segchar_adhoc.o -MD -MP -MF ".deps/segchar_adhoc.Tpo" -c -o segchar_adhoc.o segchar_adhoc.cpp; then mv -f ".deps/segchar_adhoc.Tpo" ".deps/segchar_adhoc.Po"; else rm -f ".deps/segchar_adhoc.Tpo"; exit 1; fi rm -f libnhocr.a ar cru libnhocr.a codelist.o dicfile.o discrim.o feature_PLOVE.o nhrec.o ocrbase.o otsubin.o segchar_adhoc.o ranlib libnhocr.a Making all in include Making all in src if c++ -DPACKAGE_NAME=\"NHocr\" -DPACKAGE_TARNAME=\"nhocr\" -DPACKAGE_VERSION=\"0.16\" -DPACKAGE_STRING=\"NHocr\ 0.16\" -DPACKAGE_BUGREPORT=\"http://www.imglab.org/\" -DPACKAGE=\"nhocr\" -DVERSION=\"0.16\" -DX_DISPLAY_MISSING=1 -I. -I. -I/usr/local/include -O3 --unroll-loops -I/root/O2/include -I../include -O2 -pipe -fno-strict-aliasing -MT nhocr.o -MD -MP -MF ".deps/nhocr.Tpo" -c -o nhocr.o nhocr.cpp; then mv -f ".deps/nhocr.Tpo" ".deps/nhocr.Po"; else rm -f ".deps/nhocr.Tpo"; exit 1; fi nhocr.cpp: In function 'int LoadImage(char*, SIPImage**, int, int, int)': nhocr.cpp:64: warning: deprecated conversion from string constant to 'char*' nhocr.cpp: In function 'int SaveImage(char*, SIPImage*)': nhocr.cpp:145: warning: deprecated conversion from string constant to 'char*' nhocr.cpp: In function 'int load_image(char*, SIPImage**, int*, int*)': nhocr.cpp:190: warning: deprecated conversion from string constant to 'char*' nhocr.cpp: In function 'int main(int, char**)': nhocr.cpp:416: warning: deprecated conversion from string constant to 'char*' nhocr.cpp:431: warning: deprecated conversion from string constant to 'char*' c++ -I../include -O2 -pipe -fno-strict-aliasing -L/usr/local/lib -L/root/O2/lib -o nhocr nhocr.o -L../libnhocr -lm -lnhocr -lufp -lsip Making all in dic ===> Installing for ja-nhocr-0.16 ===> Generating temporary packing list ===> Checking if japanese/nhocr already installed Making install in libnhocr test -z "/usr/local/lib" || /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/install-sh -d "/usr/local/lib" install -o root -g wheel -m 444 'libnhocr.a' '/usr/local/lib/libnhocr.a' ranlib '/usr/local/lib/libnhocr.a' Making install in include test -z "/usr/local/include" || /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/install-sh -d "/usr/local/include" install -o root -g wheel -m 444 'nhocr.h' '/usr/local/include/nhocr.h' install -o root -g wheel -m 444 'ocrbase.h' '/usr/local/include/ocrbase.h' install -o root -g wheel -m 444 'codelist.h' '/usr/local/include/codelist.h' Making install in src test -z "/usr/local/bin" || /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/install-sh -d "/usr/local/bin" install -s -o root -g wheel -m 555 'nhocr' '/usr/local/bin/nhocr' Making install in dic test -z "/usr/local/share/nhocr" || /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/install-sh -d "/usr/local/share/nhocr" install -o root -g wheel -m 444 'PLM.dic' '/usr/local/share/nhocr/PLM.dic' install -o root -g wheel -m 444 'cctable.utf-8' '/usr/local/share/nhocr/cctable.utf-8' /bin/mkdir -p /usr/local/share/ocropus/scripts install -o root -g wheel -m 444 /obj/buildshare/ports/355755/japanese/nhocr/work/nhocr-0.16/ocropus/rec-nhocr-0.3.lua /usr/local/share/ocropus/scripts/rec-nhocr.lua ******************************************************************** The current version of nhocr supports only "-line" recognition mode. You may want to install graphics/ocropus, document layout analyzer, and use nhocr as a plugin recognizer for ocropus. % ocroscript rec-nhocr input.pgm >output.txt ******************************************************************** ===> Registering installation for ja-nhocr-0.16 Installing ja-nhocr-0.16... done Make package ===> Building package for ja-nhocr-0.16 Creating package for ja-nhocr-0.16 slot2: removed