conda-forge / tesseract-feedstock

A conda-smithy repository for tesseract.
BSD 3-Clause "New" or "Revised" License
5 stars 17 forks source link

Rebuild with leptonica 1.80 #30

Closed izahn closed 3 years ago

izahn commented 3 years ago

…nda-forge-pinning 2021.05.21.13.51.08

Checklist

This PR just jumps the build number and rerender in order to get a build with leptonica 1.80.

conda-forge-linter commented 3 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

izahn commented 3 years ago

I had hoped this update would be uneventful, but I'm having trouble getting the windows build to work with leptonica 1.80. The errors look like this:

MANIFESTFILE:bin\tesseract41.dll.manifest" failed (exit code 1120) with the following output:
2021-05-23T15:55:40.3446181Z    Creating library tesseract41.lib and object tesseract41.exp
2021-05-23T15:55:40.3447563Z leptonica-1.80.0.lib(tiffio.c.obj) : error LNK2019: unresolved external symbol TIFFCleanup referenced in function findTiffCompression
2021-05-23T15:55:40.3448773Z leptonica-1.80.0.lib(tiffio.c.obj) : error LNK2019: unresolved external symbol TIFFClose referenced in function extractG4DataFromFile
2021-05-23T15:55:40.3450304Z leptonica-1.80.0.lib(tiffio.c.obj) : error LNK2019: unresolved external symbol TIFFGetField referenced in function "int __cdecl getTiffStreamResolution(struct tiff *,int *,int *)" (?getTiffStreamResolution@@YAHPEAUtiff@@PEAH1@Z)

I'm probably missing something obvious but I don't see what.

izahn commented 3 years ago

@conda-forge-admin please restart ci

izahn commented 3 years ago

This PR is ready for review! It rebuilds tesseract with leptionica 1.80 on all platforms except windows. I've concluded that there is a problem with the windows build of leptionica 1.80 and have stuck with leptonica 1.78 on windows for now; see https://github.com/conda-forge/tesseract-feedstock/pull/31

xylar commented 3 years ago

@izahn, do you want to add yourself as a maintainer or do you prefer not to?

izahn commented 3 years ago

@izahn, do you want to add yourself as a maintainer or do you prefer not to?

Sure, happy to!

xylar commented 3 years ago

@izahn, thanks so much for this work!