Content
v11.2.1/2 dependency issue for RH8/derivatives
Added by Stefan FV over 3 years ago
Hello.
I am reporting that on Redhat/Centos/OL 8, upgrading to versions 11.2.1/11.2.2 from the RPM packages is blocked by a dependency issue introduced with these versions (see #36548) . Starting with OpenProject 11.2.1, the poppler-utils and tesseract packages are also required, and are available from EPEL. The issue is that tesseract also depends on liblept.so.5, from the "leptonica" library, which is not yet available from EPEL 8. (it was available on epel 7).
You can find below the dnf log and relevant package dependency listing.
Many thanks,
Stefan.
Environment:
OpenProject Version: 11.2.0 Community Edition local instalation
Operating System / Browser / Language: OL 8
Logs
[user@openproject ~]# sudo dnf --enablerepo openproject update Last metadata expiration check: 0:00:35 ago on Wed 24 Mar 2021 01:21:07 PM EET. Error: Problem: package openproject-11.2.2-1616582690.6e8ee9f5.centos8.x86_64 requires tesseract, but none of the providers can be installed
- cannot install the best update candidate for package openproject-11.2.0-1615306862.8e30e241.centos8.x86_64
- nothing provides liblept.so.5()(64bit) needed by tesseract-4.1.0-1.el8.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[user@openproject log]# sudo dnf --repo openproject deplist
Last metadata expiration check: 0:33:02 ago on Wed 24 Mar 2021 01:21:07 PM EET.
----
package: openproject-11.2.0-1615306862.8e30e241.centos8.x86_64
dependency: /bin/sh
dependency: ImageMagick
dependency: bash
dependency: dialog
dependency: epel-release
dependency: libevent
dependency: libpq
dependency: libxml2
dependency: libxslt
dependency: mysql-libs
dependency: openssl
dependency: readline
dependency: sqlite
dependency: unzip
dependency: which
package: openproject-11.2.1-1616487457.a0ea141c.centos8.x86_64
dependency: /bin/sh
dependency: ImageMagick
dependency: bash
dependency: catdoc
dependency: dialog
dependency: libevent
dependency: libpq
dependency: libxml2
dependency: libxslt
dependency: mysql-libs
dependency: openssl
dependency: poppler-utils
dependency: readline
dependency: sqlite
dependency: tesseract
dependency: unrtf
dependency: unzip
dependency: which
package: openproject-11.2.1-1616511231.6fcf4413.centos8.x86_64
dependency: /bin/sh
dependency: ImageMagick
dependency: bash
dependency: dialog
dependency: epel-release
dependency: libevent
dependency: libpq
dependency: libxml2
dependency: libxslt
dependency: mysql-libs
dependency: openssl
dependency: poppler-utils
dependency: readline
dependency: sqlite
dependency: tesseract
dependency: unzip
dependency: which
package: openproject-11.2.2-1616582690.6e8ee9f5.centos8.x86_64
dependency: /bin/sh
dependency: ImageMagick
dependency: bash
dependency: dialog
dependency: epel-release
dependency: libevent
dependency: libpq
dependency: libxml2
dependency: libxslt
dependency: mysql-libs
dependency: openssl
dependency: poppler-utils
dependency: readline
dependency: sqlite
dependency: tesseract
dependency: unzip
dependency: which
[user@openproject log]# sudo deplist tesseract
Last metadata expiration check: 1:14:40 ago on Wed 24 Mar 2021 01:13:53 PM EET.
package: tesseract-4.1.0-1.el8.x86_64
dependency: libc.so.6(GLIBC_2.27)(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: libgcc_s.so.1()(64bit)
provider: libgcc-8.3.1-5.1.0.1.el8.x86_64
dependency: libgcc_s.so.1(GCC_3.0)(64bit)
provider: libgcc-8.3.1-5.1.0.1.el8.x86_64
dependency: libgomp.so.1()(64bit)
provider: libgomp-8.3.1-5.1.0.1.el8.x86_64
dependency: libgomp.so.1(GOMP_1.0)(64bit)
provider: libgomp-8.3.1-5.1.0.1.el8.x86_64
dependency: libgomp.so.1(GOMP_4.0)(64bit)
provider: libgomp-8.3.1-5.1.0.1.el8.x86_64
dependency: libgomp.so.1(OMP_1.0)(64bit)
provider: libgomp-8.3.1-5.1.0.1.el8.x86_64
dependency: liblept.so.5()(64bit)
dependency: libm.so.6()(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: libm.so.6(GLIBC_2.2.5)(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: libpthread.so.0()(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: libpthread.so.0(GLIBC_2.2.5)(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: librt.so.1()(64bit)
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: libstdc++.so.6()(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(CXXABI_1.3)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(CXXABI_1.3.5)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4.19)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
provider: libstdc++-8.3.1-5.1.0.1.el8.x86_64
dependency: rtld(GNU_HASH)
provider: glibc-2.28-127.0.3.el8_3.2.i686
provider: glibc-2.28-127.0.3.el8_3.2.x86_64
dependency: tesseract-langpack-eng
provider: tesseract-langpack-eng-4.0.0-6.el8.noarch
Replies (5)
A related observation: A fresh installation on Centos 7 requires tesseract (to be found in epel, `sudo yum -y install epel-release`)
Enable CentOS PowerTools repo and all will be fine**.**
Thanks for the hint, on Orele Linux 8 the corresponding repository is ol8_codeready_builder and enabling with "dnf config-manager --set-enabled ol8_codeready_builder" it solved my issue and I was able to update to v11.2.2
Hi Sebastian Sala and Stefan FV ,
Do you know for what the system use tesseract? It makes troubles with CPU and I missunderstend how it works.
#44458 - my bug about this problem.
Thank you
Hello. As mentioned by Jens in #44458 , tesseract is a library used to perform OCR on images uploaded to OpenProject. The specific Ruby gem which uses tesseract is plaintext-0.3.4. Hope this helps you start investigating.