Closed Schamschula closed 3 years ago
What's the Cython version?
The following ports are currently installed: py39-cython @0.29.24_0 (active)
Bummer. Looks like cython_compile_time_env
and/or force cythonize are not working as on my system. Can you try to delete the Cython generated files (_*.c
) and build again?
I tried building several times, each time starting with a clean directory tree. I got the same error each time.
I see. It looks like MacPorts switched from libjpeg to libjpeg-turbo some months ago and you are the first to notice/report. In that case these lines should be removed: https://github.com/cgohlke/imagecodecs/blob/8eec683f117b44c178785f542831f530511608ff/setup.py#L473-L476
I previously made some changes (a patchfile) to account for that. However, my previous patch needed to be modified for today's version. I already have tried a commenting out lines 474-476, but had left 473 in place. I'll try commenting out that line as well.
Indeed. That fixes it! I've updated the patch. Go ahead and remove those lines in the next update. https://github.com/macports/macports-ports/commit/26d1489eafc39b980a891674875784101e837d03
Thank you for reporting the issue.
While building py39-imagecodecs 2021.8.26 under MacPorts I get the following error: