Summary: | app-text/tesseract-5.3.4 fails to compile: ld: libtesseract.so: undefined reference to tesseract::IntSimdMatrix::intSimdMatrixNEON | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chutzpah, kuraga333, matoro_gentoo |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=926891 https://github.com/tesseract-ocr/tesseract/issues/3918 https://github.com/tesseract-ocr/tesseract/pull/4154 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 933635 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 885186 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/14/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: ./.libs/libtesseract.so: undefined reference to `tesseract::DotProductNEON(double const*, double const*, int)' /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/14/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: ./.libs/libtesseract.so: undefined reference to `tesseract::IntSimdMatrix::intSimdMatrixNEON' configure: WARNING: icu 52.1 or higher is required, but was not found. configure: WARNING: pango 1.38.0 or higher is required, but was not found. collect2: error: ld returned 1 exit status Fedora used a similar one at https://src.fedoraproject.org/rpms/tesseract/blob/rawhide/f/tesseract_neon.patch. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8db9f66124d9c5620f4f2f6db921125ba9c6fa74 commit 8db9f66124d9c5620f4f2f6db921125ba9c6fa74 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-01 07:32:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-01 07:32:49 +0000 app-text/tesseract: fix arm* build w/o neon Bug: https://bugs.gentoo.org/926891 Closes: https://bugs.gentoo.org/924757 Signed-off-by: Sam James <sam@gentoo.org> .../tesseract-5.4.1-arm64-neon-tesseract.patch | 57 ++++++++++++++++++++++ app-text/tesseract/tesseract-5.3.4.ebuild | 4 ++ app-text/tesseract/tesseract-5.4.1.ebuild | 4 ++ app-text/tesseract/tesseract-9999.ebuild | 4 ++ 4 files changed, 69 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a122be2eff3e44ef7c039d052ac47da8361fd6ae commit a122be2eff3e44ef7c039d052ac47da8361fd6ae Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-01 07:29:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-01 07:29:58 +0000 app-text/ghostscript-gpl: fix arm* build w/o neon Bug: https://bugs.gentoo.org/924757 Closes: https://bugs.gentoo.org/926891 Signed-off-by: Sam James <sam@gentoo.org> ...stscript-gpl-10.03.1-arm64-neon-tesseract.patch | 35 ++++++++++++++++++++++ .../ghostscript-gpl/ghostscript-gpl-10.03.1.ebuild | 1 + 2 files changed, 36 insertions(+) |