View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012443 | Rocky-Linux-10 | tesseract | public | 2026-04-14 11:56 | 2026-04-14 11:56 |
| Reporter | Taketo Kabe | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | i586 | OS | Rocky Linux | OS Version | 10.1 |
| Product Version | 10.1 | ||||
| Summary | 0012443: tesseract fails to compile when mingw is installed | ||||
| Description | tesseract package fails to compile, when rpmbuild variable %{mingw_debug_package} is defined, which is provided by mingw-filesystem-base-148-7.el10.v1.noarch package. 2026-04-14 19:42:41 RPM build errors: 2026-04-14 19:42:41 Could not open %files file /home/kabe/r10builds/tesseract-r10/BUILD/tesseract-5.3.4/mingw32-debugfiles.list: No such file or directory koji builds seems to not suffer since they do not pull in mingw packages firsthand. I tried to report this to bugzilla.redhat.com, but the do not have RHEL category. Reporting it here. | ||||
| Steps To Reproduce | dnf install mingw-filesystem-base rpm -ivh tesseract-5.3.4-6.el10.src.rpm rpmbuild -v -bb --noclean -D 'dist .el10' SPECS/tesseract.spec | ||||
| Additional Information | The following patch seems to fix this: ===== --- tesseract.spec 2024-10-29 09:00:00.000000000 +0900 +++ tesseract.spec 2026-04-14 19:50:21.515171941 +0900 @@ -123,8 +125,9 @@ BuildArch: noarch %description -n mingw64-%{name}-tools MinGW Windows tesseract-ocr library tools. - +%if %{with mingw} %{?mingw_debug_package} +%endif %prep ===== | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-04-14 11:56 | Taketo Kabe | New Issue |