On Wed, Sep 25, 2024 at 2:49 PM Michel Lind michel@michel-slm.name wrote:
Dear all,
This PR: https://src.fedoraproject.org/rpms/tesseract/pull-request/6 was recently merged and built: https://bodhi.fedoraproject.org/updates/FEDORA-2024-41b92bf172
It backports a PR that's merged upstream to change the Tesseract SOVERSION from maj.min.patch to only maj.min (Tesseract follows SemVer and already uses maj.min for its Windows build, so the Linux versioning was just a misconfiguration). So in the future, patch releases can be built without having to rebuild dependents!
This also splits off tesseract-libs into a separate subpackage, which will make it easier in the future to have compat versions of tesseract since the libraries could coexist.
Unfortunately I omitted to mention that tesseract dependencies have to be rebuilt - so we have to move slightly faster than usual to rebuild the dependents.
This will be done in f42-build-side-96586 that's already created for updating ffmpeg (one of those packages that need tesseract).
I attempted a rebuild to deal with a bodhi error where it wouldn't let me land it with the NVR reserved by another obsolete update, but I'm getting bizarre failures for the mingw builds. Can someone help, please?
Here's the failed build task: https://koji.fedoraproject.org/koji/taskinfo?taskID=124237852
It seems like something has gone wrong with trying to use the C++ standard library in MinGW somehow?
On 30.09.24 23:35, Neal Gompa wrote:
On Wed, Sep 25, 2024 at 2:49 PM Michel Lind michel@michel-slm.name wrote:
Dear all,
This PR: https://src.fedoraproject.org/rpms/tesseract/pull-request/6 was recently merged and built: https://bodhi.fedoraproject.org/updates/FEDORA-2024-41b92bf172
It backports a PR that's merged upstream to change the Tesseract SOVERSION from maj.min.patch to only maj.min (Tesseract follows SemVer and already uses maj.min for its Windows build, so the Linux versioning was just a misconfiguration). So in the future, patch releases can be built without having to rebuild dependents!
This also splits off tesseract-libs into a separate subpackage, which will make it easier in the future to have compat versions of tesseract since the libraries could coexist.
Unfortunately I omitted to mention that tesseract dependencies have to be rebuilt - so we have to move slightly faster than usual to rebuild the dependents.
This will be done in f42-build-side-96586 that's already created for updating ffmpeg (one of those packages that need tesseract).
I attempted a rebuild to deal with a bodhi error where it wouldn't let me land it with the NVR reserved by another obsolete update, but I'm getting bizarre failures for the mingw builds. Can someone help, please?
Here's the failed build task: https://koji.fedoraproject.org/koji/taskinfo?taskID=124237852
It seems like something has gone wrong with trying to use the C++ standard library in MinGW somehow?
This is most likely due to the fact that mingw-crt-12.0.0 for the mingw32 and mingw64 variants was initially built with the incorrect default msvcrt. This has since been fixed, but mingw-gcc also needs to be rebuilt. I'm taking care of this now.
Apologies for the trouble.
Sandro
On 01.10.24 00:06, Sandro Mani wrote:
On 30.09.24 23:35, Neal Gompa wrote:
On Wed, Sep 25, 2024 at 2:49 PM Michel Lind michel@michel-slm.name wrote:
Dear all,
This PR: https://src.fedoraproject.org/rpms/tesseract/pull-request/6 was recently merged and built: https://bodhi.fedoraproject.org/updates/FEDORA-2024-41b92bf172
It backports a PR that's merged upstream to change the Tesseract SOVERSION from maj.min.patch to only maj.min (Tesseract follows SemVer and already uses maj.min for its Windows build, so the Linux versioning was just a misconfiguration). So in the future, patch releases can be built without having to rebuild dependents!
This also splits off tesseract-libs into a separate subpackage, which will make it easier in the future to have compat versions of tesseract since the libraries could coexist.
Unfortunately I omitted to mention that tesseract dependencies have to be rebuilt - so we have to move slightly faster than usual to rebuild the dependents.
This will be done in f42-build-side-96586 that's already created for updating ffmpeg (one of those packages that need tesseract).
I attempted a rebuild to deal with a bodhi error where it wouldn't let me land it with the NVR reserved by another obsolete update, but I'm getting bizarre failures for the mingw builds. Can someone help, please?
Here's the failed build task: https://koji.fedoraproject.org/koji/taskinfo?taskID=124237852
It seems like something has gone wrong with trying to use the C++ standard library in MinGW somehow?
This is most likely due to the fact that mingw-crt-12.0.0 for the mingw32 and mingw64 variants was initially built with the incorrect default msvcrt. This has since been fixed, but mingw-gcc also needs to be rebuilt. I'm taking care of this now.
Apologies for the trouble.
This should now be ok, a scratch build of tesseract with the rebuilt mingw-gcc succeeded.
Sandro
Sandro Mani manisandro@gmail.com wrote:
This is most likely due to the fact that mingw-crt-12.0.0 for the mingw32 and mingw64 variants was initially built with the incorrect default msvcrt. This has since been fixed, but mingw-gcc also needs to be rebuilt. I'm taking care of this now.
Is it also necessary to rebuild other mingw32/mingw64 packages that were built with the faulty mingw-crt-12.0.0? Both in F41 and F42.
Ron