Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556438 - app-text/tesseract-2.04-r1::gentoo failed (compile phase)
Summary: app-text/tesseract-2.04-r1::gentoo failed (compile phase)
Status: RESOLVED DUPLICATE of bug 391457
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-01 08:11 UTC by Stephan Litterst
Modified: 2015-08-03 19:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,47.76 KB, text/plain)
2015-08-01 08:15 UTC, Stephan Litterst
Details
environment (environment,79.45 KB, text/plain)
2015-08-01 08:16 UTC, Stephan Litterst
Details
emerge.info (emerge.info,7.16 KB, application/x-info)
2015-08-01 08:16 UTC, Stephan Litterst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Litterst 2015-08-01 08:11:39 UTC
*   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
Comment 1 Stephan Litterst 2015-08-01 08:15:22 UTC
Created attachment 408088 [details]
build.log
Comment 2 Stephan Litterst 2015-08-01 08:16:06 UTC
Created attachment 408090 [details]
environment
Comment 3 Stephan Litterst 2015-08-01 08:16:39 UTC
Created attachment 408092 [details]
emerge.info
Comment 4 Stephan Litterst 2015-08-01 08:18:24 UTC
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%)"
Comment 5 Felix Janda 2015-08-01 11:33:50 UTC
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.
Comment 6 Stephan Litterst 2015-08-01 18:45:13 UTC
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
Comment 7 Brian Evans (RETIRED) gentoo-dev 2015-08-03 19:26:47 UTC

*** This bug has been marked as a duplicate of bug 391457 ***