Source: tesseract
Version: 4.00~git2439-c3ed6f03-1
Severity: normal

tesseract fails to build on Debian stretch because the
tesseract-ocr-eng build-dep needs to be versioned so that
the right version of it is installed.

make[1]: Entering directory '/build/tesseract-4.00~git2439-c3ed6f03'
./src/api/tesseract ./testing/phototest.tif - -
Error opening data file /usr/share/tesseract-ocr/4.00/tessdata/eng.traineddata
Please make sure the TESSDATA_PREFIX environment variable is set to your 
"tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
Could not initialize tesseract.
debian/rules:34: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/build/tesseract-4.00~git2439-c3ed6f03'
debian/rules:19: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

$ dpkg -L tesseract-ocr-eng | grep eng.traineddata

$ grep ocr-eng debian/control 
               xsltproc, docbook-xsl, docbook-xml, tesseract-ocr-eng
 tesseract-ocr-eng (>= 4.00~), tesseract-ocr-osd (>= 4.00~), libtesseract4 (>= 
        tesseract-ocr-deu, tesseract-ocr-ell, tesseract-ocr-eng, 


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to