* emake failed * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 1917: Called default * phase-functions.sh, line 763: Called default_src_compile * phase-functions.sh, line 800: Called __eapi2_src_compile * phase-helpers.sh, line 785: Called die * The specific snippet of code: * emake || die "emake failed" Reproducible: Always
Created attachment 408088 [details] build.log
Created attachment 408090 [details] environment
Created attachment 408092 [details] emerge.info
emerge -pqv '=app-text/tesseract-2.04-r1::gentoo' [ebuild UD] app-text/tesseract-2.04-r1 [3.02-r1] USE="examples tiff (-doc%) (-jpeg%*) (-osd%) (-png%*) (-scrollview%*) (-static-libs%) (-webp%)" LINGUAS="de -es -eu% -fr -it -nl -pt_BR% -vi (-ar%) (-bg%) (-ca%) (-chr%) (-cs%) (-da%) (-el%) (-fi%) (-he%) (-hi%) (-hu%) (-id%) (-jp%) (-ko%) (-lt%) (-lv%) (-no%) (-pl%) (-pt%) (-ro%) (-ru%) (-sk%) (-sl%) (-sr%) (-sv%) (-th%) (-tl%) (-tr%) (-uk%) (-zh_CN%) (-zh_TW%)"
Happens only when the automagic dependency media-libs/leptonica is present. sed -i 's/int32/inT32/' pageseg/leptonica_pageseg.cpp might be enough to fix it. Note that this file is no longer in newer versions.
Surprisingly this is a *downgrade*: emerge -s tesseract [ Results for search key : tesseract ] Searching... * app-text/tesseract Latest version installed: 3.02-r1 Homepage: http://code.google.com/p/tesseract-ocr/ Description: An OCR Engine that was developed at HP and now at Google License: Apache-2.0 emerge -pvuDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD ] app-text/tesseract-2.04-r1::gentoo [3.02-r1::gentoo] USE="examples tiff (-doc%) (-jpeg%*) (-osd%) (-png%*) (-scrollview%*) (-static-libs%) (-webp%)" LINGUAS="de -es -eu% -fr -it -nl -pt_BR% -vi (-ar%) (-bg%) (-ca%) (-chr%) (-cs%) (-da%) (-el%) (-fi%) (-he%) (-hi%) (-hu%) (-id%) (-jp%) (-ko%) (-lt%) (-lv%) (-no%) (-pl%) (-pt%) (-ro%) (-ru%) (-sk%) (-sl%) (-sr%) (-sv%) (-th%) (-tl%) (-tr%) (-uk%) (-zh_CN%) (-zh_TW%)" 0 KiB Total: 1 package (1 downgrade), Size of downloads: 0 KiB
*** This bug has been marked as a duplicate of bug 391457 ***