graphics/ocropus build fail

Beeblebrox zaphod at berentweb.com
Sun May 26 18:21:09 UTC 2013


>From host, where no ccache, no FORCE_MAKE_JOBS, compiler is defalt (port
selected), fails with below:
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:
===>  Building for ocropus-0.4_10
/asp/git/ports/graphics/ocropus/Makefile:33: *** missing separator.  Stop.
*** Error code 1

In poudriere (uses ccache) stops as:
===>  Building for ocropus-0.4_10
Making all in .
gmake[1]: 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_LIBLEPT=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/leptonica -DHAVE_LEPTONICA -I/usr/local/include -O2
-pipe -march=k8 -fno-strict-aliasing -fopenmp -Wall -Wno-sign-compare
-Wno-write-strings -Wno-deprecated -O2 -pipe -march=k8 -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
In file included from ./ocr-line/linerec.cc:33:
In file included from ./include/glinerec.h:57:
./include/glutils.h:139:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp parallel for
./ocr-line/linerec.cc:471:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp atomic
./ocr-line/linerec.cc:473:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp critical
./ocr-line/linerec.cc:483:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp atomic
./ocr-line/linerec.cc:544:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp parallel for schedule(dynamic,10) private(p,v,b,props)
./ocr-line/linerec.cc:557:9: warning: unknown pragma ignored
[-Wunknown-pragmas]
#pragma omp critical
./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
        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<int, int>::find_index' requested here
        int index = find_index(key);
./ocr-utils/enumerator.h:116:34: note: in instantiation of member function
'EnumHash<int, int>::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) {
8 warnings and 1 error generated.
gmake[1]: *** [linerec.o] Error 1



-----
10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel

--
View this message in context: http://freebsd.1045724.n5.nabble.com/graphics-ocropus-build-fail-tp5815211.html
Sent from the freebsd-ports mailing list archive at Nabble.com.


More information about the freebsd-ports mailing list