Created attachment 401092 [details] build.log with -tiff media-libs/leptonica-1.71-r1::gentoo USE="jpeg png zlib -gif -jpeg2k -static-libs {-test} -tiff -utils -webp" app-text/tesseract-3.03_rc1-r1::gentoo USE="jpeg opencl osd png scrollview -doc -examples -static-libs -tiff -webp" /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -std=c++11 -Wl,-O1 -Wl,--as-needed -o tesseract tesseract-tesseractmain.o libtesseract.la -lOpenCL -lrt -llept -lpthread libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -std=c++11 -Wl,-O1 -o .libs/tesseract tesseract-tesseractmain.o -Wl,--as-needed ./.libs/libtesseract.so -lOpenCL -lrt -llept -lpthread ./.libs/libtesseract.so: undefined reference to `TIFFReadRGBAImageOriented' ./.libs/libtesseract.so: undefined reference to `TIFFGetField' ./.libs/libtesseract.so: undefined reference to `TIFFCleanup' ./.libs/libtesseract.so: undefined reference to `TIFFFdOpen' ./.libs/libtesseract.so: undefined reference to `TIFFReadDirectory' ./.libs/libtesseract.so: undefined reference to `TIFFGetFieldDefaulted' ./.libs/libtesseract.so: undefined reference to `TIFFReadScanline' ./.libs/libtesseract.so: undefined reference to `TIFFScanlineSize' collect2: error: ld returned 1 exit status building with USE +tiff succeeds.
Good catch. If you wan't USE="opencl" then you need tiff. Should be fixed now. I hope I thought of all eventualities. + 20 Apr 2015; Thomas Kahle <tomka@gentoo.org> tesseract-3.03_rc1-r1.ebuild: + opencl requires tiff (bug 546356)