Package: ocropus
Version: 0.3.1-4
Severity: normal
User: [email protected]
Usertag: arm64
This package fails to build on arm64 (and all other platforms) due to 669557
The 0.4.4 suggested as a replacement also fails due to build-dep on
libtiff4-dev. CHanging that to libtiff-dev.
Replacing that with libtiff-dev (and building the iulib 0.4.4 from
experiemental) causes it to fail with:
scons: Building targets ...
g++ -o commands/ocr-distance.o -c
-DDEFAULT_DATA_DIR='"/usr/share/ocropus/models/"' -g -fPIC -O2 -Wall
-Wno-sign-compare -Wno-write-strings -Wno-unknown-pragmas
-D__warn_unused_result__=__far__ -D_BACKWARD_BACKWARD_WARNING_H=1
-DHAVE_SQLITE3 -I/usr/local/include -Iocr-layout -Iocr-leptonica -Iocr-utils
-Iocr-binarize -Iocr-commands -Iocr-pfst -Iocr-voronoi -Iocr-line -Iocr-lineseg
commands/ocr-distance.cc
In file included from ocr-utils/ocropus.h:63:0,
from commands/ocr-distance.cc:29:
ocr-utils/enumerator.h: In instantiation of 'int EnumHash<K,
V>::find_index(const K&) [with K = int; V = int]':
ocr-utils/enumerator.h:71:35: required from 'V& EnumHash<K, V>::get(const K&,
const V&) [with K = int; V = int]'
ocr-utils/enumerator.h:116:41: required from here
ocr-utils/enumerator.h:83:38: error: 'Hash_hash' was not declared in this
scope, and no declarations were found by argument-dependent lookup at the point
of instantiation [-fpermissive]
int index = abs(Hash_hash(key)) % entries.length();
^
ocr-utils/enumerator.h:105:12: note: 'int Hash_hash(int)' declared here, later
in the translation unit
inline int Hash_hash(int x) {
^
scons: *** [commands/ocr-distance.o] Error 1
We also see:
scons: Reading SConscript files ...
WARNING: scons not supported on platforms other than Ubuntu 9.10
Which suggests the sourcesw were generated on an ubuntu box, which may not be
helping?
I presume that this package is broken on all platforms, and there is
nothing arm64-specific about this. Please fix it.
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.60-kvm-i386-20140609 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]