Closed hteeyeoh closed 2 months ago
Is it something newly added in the ade source that cause something broken?
tmp/pip-install-tltrnbg7/opencv-python_218517a01db34d7aa0d9c09d5f167498/_skbuild/linux-x86_64-3.10/cmake-build/3rdparty/ade/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp:22:1: note: 'std::uintptr_t' is defined in header '
Please provide more details on GCC version. Could you try newer OpenCV releases?
Hi @asmorkalov, I'm working with docker images where i used to install unstructured[pdf] where underlying will compile opencv-python wheel. I think with pip backtracking runtime feature (INFO: pip is looking at multiple versions of setuptools to determine which version is compatible with other requirements. This could take a while.) Hence, it will fallback to opencv-python==4.6.0.66 during the wheel compilation of image building.
Initially my Dockerfile will use python:3.10-alpine as base image. Since that period of time it start to fail with error. Hence I tried to check in docker hub and noticed that there's an update of alpine version from 3.18 to 3.19. So I tried to change my base image to use python:3.10-alpine3.18 and now it worked.
Below list down the gcc version that I captured for those docker images I mentioned above:
Some new changes required with recent gcc version upgrade i guess
Expected behaviour
Successfully install opencv-python as usual in python:3.10-alpine image as usual
Actual behaviour
Compilation failed
Steps to reproduce