View Issue Details

IDProjectCategoryView StatusLast Update
0012443Rocky-Linux-10tesseractpublic2026-04-14 11:56
ReporterTaketo Kabe Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformi586OSRocky LinuxOS Version10.1
Product Version10.1 
Summary0012443: tesseract fails to compile when mingw is installed
Descriptiontesseract 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 Reproducednf 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 InformationThe 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
=====
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-04-14 11:56 Taketo Kabe New Issue