termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
12.98k stars 2.98k forks source link

[Bug]: pip install yolov9pip error #20001

Open liuo2023 opened 4 months ago

liuo2023 commented 4 months ago

Problem description

CFLAGS+=" -UANDROID_API -DANDROID_API=33" MATHLIB=m LDFLAGS="-lpython3.11" pip3 install yolov9pip show error!

What steps will reproduce the bug?

maybe,pip doesn't know that it's been done by pkg i opencv-python,so install opencv-python from the source code again

What is the expected behavior?

Install successfully and work

System information

termux-info       
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=31470
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.ustc.edu.cn/termux/termux-main stable main
# sources.list.d/termux-adb.list
deb https://nohajc.github.io termux extras
# root-repo (sources.list.d/root.list)
deb https://mirrors.ustc.edu.cn/termux/termux-root root stable
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# x11-repo (sources.list.d/x11.list)
deb https://mirrors.ustc.edu.cn/termux/termux-x11 x11 main
Updatable packages:
All packages up to date
termux-tools version:
1.42.0
Android version:
13
Kernel build information:
Linux localhost 4.19.157-perf+ #1 SMP PREEMPT Thu Jan 11 21:04:24 CST 2024 aarch64 Android
Device manufacturer:
ZTE
Device model:
ZTE A2322
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.api versionCode:51
sylirre commented 4 months ago

You didn't provide the full log.

Variables

CFLAGS+=" -UANDROID_API -DANDROID_API=33" MATHLIB=m LDFLAGS="-lpython3.11"

aren't universal and have to be used only when required. Thus overrding __ANDROID_API__ usable only when native extensions require certain functions available only for this Android API level (higher) and your device match it. MATHLIB=m usable only for numpy module.

licy183 commented 4 months ago

opencv-python package in Termux doesn't contain the pip marker file. Try to download the source code of yolov9pip, remove opencv-python>=4.1.1 from requirements.txt and install it with pip install . --no-build-isolation or python setup.py install.

liuo2023 commented 4 months ago

opencv-python package in Termux doesn't contain the pip marker file. Try to download the source code of yolov9pip, remove opencv-python>=4.1.1 from requirements.txt and install it with pip install . --no-build-isolation or python setup.py install.

python -m pip install . --no-build-isolation Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Processing /data/data/com.termux/files/home/yolov9pip-0.0.4 Preparing metadata (setup.py) ... done Requirement already satisfied: gitpython in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (3.1.43) Requirement already satisfied: ipython in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (8.24.0) Requirement already satisfied: matplotlib>=3.2.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (3.8.4) Requirement already satisfied: numpy>=1.18.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (1.26.4) Requirement already satisfied: Pillow>=7.1.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (10.3.0) Requirement already satisfied: psutil in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (5.9.8) Requirement already satisfied: PyYAML>=5.3.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (6.0.1) Requirement already satisfied: requests>=2.23.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (2.31.0) Requirement already satisfied: scipy>=1.4.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (1.13.0) Collecting thop>=0.1.1 (from yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/bb/0f/72beeab4ff5221dc47127c80f8834b4bcd0cb36f6ba91c0b1d04a1233403/thop-0.1.1.post2209072238-py3-none-any.whl (15 kB) Requirement already satisfied: torch>=1.7.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (2.1.2) Requirement already satisfied: torchvision>=0.8.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (0.15.1) Requirement already satisfied: tqdm>=4.64.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (4.66.2) Collecting tensorboard>=2.4.1 (from yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3a/d0/b97889ffa769e2d1fdebb632084d5e8b53fc299d43a537acee7ec0c021a3/tensorboard-2.16.2-py3-none-any.whl (5.5 MB) Requirement already satisfied: pandas>=1.1.4 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (2.2.2) Requirement already satisfied: seaborn>=0.11.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from yolov9pip==0.0.4) (0.13.2) Collecting albumentations>=1.0.3 (from yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/9e/a8/0a03dd285c8f910d14c5efc0421485dc4b4005e397318dc0fe9e3218b307/albumentations-1.4.4-py3-none-any.whl (150 kB) Collecting pycocotools>=2.0 (from yolov9pip==0.0.4) Using cached pycocotools-2.0.7-cp311-cp311-linux_aarch64.whl Requirement already satisfied: scikit-image>=0.21.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from albumentations>=1.0.3->yolov9pip==0.0.4) (0.23.2rc1) Requirement already satisfied: typing-extensions>=4.9.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from albumentations>=1.0.3->yolov9pip==0.0.4) (4.11.0) Requirement already satisfied: scikit-learn>=1.3.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from albumentations>=1.0.3->yolov9pip==0.0.4) (1.4.2) Requirement already satisfied: pydantic>=2.6.4 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from albumentations>=1.0.3->yolov9pip==0.0.4) (2.7.1) Collecting opencv-python-headless>=4.9.0 (from albumentations>=1.0.3->yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/3d/b2/c308bc696bf5d75304175c62222ec8af9a6d5cfe36c14f19f15ea9d1a132/opencv-python-headless-4.9.0.80.tar.gz (92.9 MB) Preparing metadata (pyproject.toml) ... done Requirement already satisfied: contourpy>=1.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (1.2.1) Requirement already satisfied: cycler>=0.10 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (0.12.1) Requirement already satisfied: fonttools>=4.22.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (4.51.0) Requirement already satisfied: kiwisolver>=1.3.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (1.4.5) Requirement already satisfied: packaging>=20.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (24.0) Requirement already satisfied: pyparsing>=2.3.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (3.0.9) Requirement already satisfied: python-dateutil>=2.7 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from matplotlib>=3.2.2->yolov9pip==0.0.4) (2.9.0.post0) Requirement already satisfied: pytz>=2020.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pandas>=1.1.4->yolov9pip==0.0.4) (2024.1) Requirement already satisfied: tzdata>=2022.7 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pandas>=1.1.4->yolov9pip==0.0.4) (2024.1) Requirement already satisfied: charset-normalizer<4,>=2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests>=2.23.0->yolov9pip==0.0.4) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests>=2.23.0->yolov9pip==0.0.4) (3.7) Requirement already satisfied: urllib3<3,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests>=2.23.0->yolov9pip==0.0.4) (2.2.1) Requirement already satisfied: certifi>=2017.4.17 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from requests>=2.23.0->yolov9pip==0.0.4) (2024.2.2) Collecting absl-py>=0.4 (from tensorboard>=2.4.1->yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/a2/ad/e0d3c824784ff121c03cc031f944bc7e139a8f1870ffd2845cc2dd76f6c4/absl_py-2.1.0-py3-none-any.whl (133 kB) Requirement already satisfied: grpcio>=1.48.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from tensorboard>=2.4.1->yolov9pip==0.0.4) (1.62.1) Collecting markdown>=2.6.8 (from tensorboard>=2.4.1->yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/fc/b3/0c0c994fe49cd661084f8d5dc06562af53818cc0abefaca35bdc894577c3/Markdown-3.6-py3-none-any.whl (105 kB) Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from tensorboard>=2.4.1->yolov9pip==0.0.4) (4.25.3) Requirement already satisfied: setuptools>=41.0.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from tensorboard>=2.4.1->yolov9pip==0.0.4) (69.5.1) Requirement already satisfied: six>1.9 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from tensorboard>=2.4.1->yolov9pip==0.0.4) (1.16.0) Collecting tensorboard-data-server<0.8.0,>=0.7.0 (from tensorboard>=2.4.1->yolov9pip==0.0.4) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7a/13/e503968fefabd4c6b2650af21e110aa8466fe21432cd7c43a84577a89438/tensorboard_data_server-0.7.2-py3-none-any.whl (2.4 kB) Requirement already satisfied: werkzeug>=1.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from tensorboard>=2.4.1->yolov9pip==0.0.4) (3.0.2) Requirement already satisfied: filelock in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from torch>=1.7.0->yolov9pip==0.0.4) (3.13.4) Requirement already satisfied: fsspec in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from torch>=1.7.0->yolov9pip==0.0.4) (2024.3.1) Requirement already satisfied: jinja2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from torch>=1.7.0->yolov9pip==0.0.4) (3.1.3) Requirement already satisfied: networkx in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from torch>=1.7.0->yolov9pip==0.0.4) (3.3) Requirement already satisfied: sympy in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from torch>=1.7.0->yolov9pip==0.0.4) (1.12) Requirement already satisfied: gitdb<5,>=4.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from gitpython->yolov9pip==0.0.4) (4.0.11) Requirement already satisfied: decorator in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (5.1.1) Requirement already satisfied: jedi>=0.16 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (0.19.1) Requirement already satisfied: matplotlib-inline in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (0.1.7) Requirement already satisfied: prompt-toolkit<3.1.0,>=3.0.41 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (3.0.43) Requirement already satisfied: pygments>=2.4.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (2.17.2) Requirement already satisfied: stack-data in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (0.6.3) Requirement already satisfied: traitlets>=5.13.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (5.14.3) Requirement already satisfied: pexpect>4.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from ipython->yolov9pip==0.0.4) (4.9.0) Requirement already satisfied: smmap<6,>=3.0.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from gitdb<5,>=4.0.1->gitpython->yolov9pip==0.0.4) (5.0.1) Requirement already satisfied: parso<0.9.0,>=0.8.3 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from jedi>=0.16->ipython->yolov9pip==0.0.4) (0.8.4) Requirement already satisfied: ptyprocess>=0.5 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pexpect>4.3->ipython->yolov9pip==0.0.4) (0.7.0) Requirement already satisfied: wcwidth in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from prompt-toolkit<3.1.0,>=3.0.41->ipython->yolov9pip==0.0.4) (0.2.13) Requirement already satisfied: annotated-types>=0.4.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pydantic>=2.6.4->albumentations>=1.0.3->yolov9pip==0.0.4) (0.6.0) Requirement already satisfied: pydantic-core==2.18.2 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pydantic>=2.6.4->albumentations>=1.0.3->yolov9pip==0.0.4) (2.18.2) Requirement already satisfied: imageio>=2.33 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from scikit-image>=0.21.0->albumentations>=1.0.3->yolov9pip==0.0.4) (2.34.1)Requirement already satisfied: tifffile>=2022.8.12 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from scikit-image>=0.21.0->albumentations>=1.0.3->yolov9pip==0.0.4) (2024.4.24) Requirement already satisfied: lazy-loader>=0.4 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from scikit-image>=0.21.0->albumentations>=1.0.3->yolov9pip==0.0.4) (0.4)Requirement already satisfied: joblib>=1.2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from scikit-learn>=1.3.2->albumentations>=1.0.3->yolov9pip==0.0.4) (1.4.0) Requirement already satisfied: threadpoolctl>=2.0.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from scikit-learn>=1.3.2->albumentations>=1.0.3->yolov9pip==0.0.4) (3.4.0) Requirement already satisfied: MarkupSafe>=2.1.1 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from werkzeug>=1.0.1->tensorboard>=2.4.1->yolov9pip==0.0.4) (2.1.5) Requirement already satisfied: executing>=1.2.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from stack-data->ipython->yolov9pip==0.0.4) (2.0.1) Requirement already satisfied: asttokens>=2.1.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from stack-data->ipython->yolov9pip==0.0.4) (2.4.1) Requirement already satisfied: pure-eval in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from stack-data->ipython->yolov9pip==0.0.4) (0.2.2) Requirement already satisfied: mpmath>=0.19 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from sympy->torch>=1.7.0->yolov9pip==0.0.4) (1.3.0) Building wheels for collected packages: yolov9pip, opencv-python-headless Building wheel for yolov9pip (setup.py) ... done Created wheel for yolov9pip: filename=yolov9pip-0.0.4-py3-none-any.whl size=275798 sha256=3fb65024eaf36d30cfd2a0ffe761eb623cf4a0dc3f02c04f43cd5e6d688ee765 Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/4a/f7/fe/7a28d32fb89aa12a08f41194f57c6828958b74481550bb73eb Building wheel for opencv-python-headless (pyproject.toml) ... - error error: subprocess-exited-with-error × Building wheel for opencv-python-headless (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [508 lines of output] -------------------------------------------------------------------------------- -- Trying 'Ninja' generator -------------------------------- --------------------------- ---------------------- ----------------- ------------ ------- -- CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. Not searching for unused variables given on the command line. -- The C compiler identification is Clang 18.1.4 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is Clang 18.1.4 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (1.8s) -- Generating done (0.0s) -- Build files have been written to: /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/_cmake_test_compile/build -- ------- ------------ ----------------- ---------------------- --------------------------- -------------------------------- -- Trying 'Ninja' generator - success -------------------------------------------------------------------------------- Configuring Project Working directory: /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/_skbuild/linux-aarch64-3.11/cmake-build Command: /data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/opencv -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.8 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython_NumPy_INCLUDE_DIRS:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_NumPy_INCLUDE_DIRS:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -DPYTHON3_EXECUTABLE=/data/data/com.termux/files/usr/bin/python -DPYTHON_DEFAULT_EXECUTABLE=/data/data/com.termux/files/usr/bin/python -DPYTHON3_INCLUDE_DIR=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON3_LIBRARY=/data/data/com.termux/files/usr/lib/libpython3.11.so -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DWITH_WIN32UI=OFF -DWITH_QT=OFF -DWITH_GTK=OFF -DCMAKE_BUILD_TYPE:STRING=Release Not searching for unused variables given on the command line. -- The CXX compiler identification is Clang 18.1.4 -- The C compiler identification is Clang 18.1.4 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /data/data/com.termux/files/usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /data/data/com.termux/files/usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default. -- Detected processor: aarch64 CMake Warning (dev) at cmake/OpenCVUtils.cmake:144 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): cmake/OpenCVDetectPython.cmake:64 (find_host_package) cmake/OpenCVDetectPython.cmake:286 (find_python) CMakeLists.txt:660 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /data/data/com.termux/files/usr/bin/python (found suitable version "3.11.8", minimum required is "3.2") -- Looking for ccache - found (/data/data/com.termux/files/usr/bin/ccache) -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WRETURN_TYPE -- Performing Test HAVE_CXX_WRETURN_TYPE - Success -- Performing Test HAVE_C_WRETURN_TYPE -- Performing Test HAVE_C_WRETURN_TYPE - Success -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WADDRESS -- Performing Test HAVE_CXX_WADDRESS - Success -- Performing Test HAVE_C_WADDRESS -- Performing Test HAVE_C_WADDRESS - Success -- Performing Test HAVE_CXX_WSEQUENCE_POINT -- Performing Test HAVE_CXX_WSEQUENCE_POINT - Success -- Performing Test HAVE_C_WSEQUENCE_POINT -- Performing Test HAVE_C_WSEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WFORMAT_SECURITY -- Performing Test HAVE_CXX_WFORMAT_SECURITY - Success -- Performing Test HAVE_C_WFORMAT_SECURITY -- Performing Test HAVE_C_WFORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Success -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_C_WINCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Success -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_ENUM_ENUM_CONVERSION -- Performing Test HAVE_CXX_WNO_DEPRECATED_ENUM_ENUM_CONVERSION - Success -- Performing Test HAVE_C_WNO_DEPRECATED_ENUM_ENUM_CONVERSION -- Performing Test HAVE_C_WNO_DEPRECATED_ENUM_ENUM_CONVERSION - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION -- Performing Test HAVE_CXX_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION - Success -- Performing Test HAVE_C_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION -- Performing Test HAVE_C_WNO_DEPRECATED_ANON_ENUM_ENUM_CONVERSION - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS -- Performing Test HAVE_CXX_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_C_QUNUSED_ARGUMENTS -- Performing Test HAVE_C_QUNUSED_ARGUMENTS - Success -- Performing Test HAVE_CPU_NEON_SUPPORT (check file: cmake/checks/cpu_neon.cpp) -- Performing Test HAVE_CPU_NEON_SUPPORT - Success -- Performing Test HAVE_CPU_FP16_SUPPORT (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CPU_FP16_SUPPORT - Success -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+DOTPROD (check file: cmake/checks/cpu_neon_dotprod.cpp) -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+DOTPROD - Success -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+FP16 (check file: cmake/checks/cpu_neon_fp16.cpp) -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+FP16 - Success -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+BF16 (check file: cmake/checks/cpu_neon_bf16.cpp) -- Performing Test HAVE_CXX_MARCH_ARMV8_2_A+BF16 - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_DOTPROD -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_DOTPROD - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_FP16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_FP16 - Success -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_BF16 -- Performing Test HAVE_CPU_DISPATCH_FLAGS_NEON_BF16 - Success -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Success -- Performing Test HAVE_LINK_NO_UNDEFINED -- Performing Test HAVE_LINK_NO_UNDEFINED - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Found ZLIB: /data/data/com.termux/files/usr/lib/libz.so (found suitable version "1.3.1", minimum required is "1.2.3") -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER -- Performing Test HAVE_C_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_C_WNO_SIGN_COMPARE -- Performing Test HAVE_C_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_C_WNO_SHORTEN_64_TO_32 - Success -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_C_WNO_IMPLICIT_FALLTHROUGH - Success -- libjpeg-turbo: VERSION = 2.1.3, BUILD = opencv-4.9.0-libjpeg-turbo -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Performing Test HAVE_BUILTIN_CTZL -- Performing Test HAVE_BUILTIN_CTZL - Success -- Looking for include file locale.h -- Looking for include file locale.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Performing Test HAVE_VLD1_S16_X3 -- Performing Test HAVE_VLD1_S16_X3 - Success -- Performing Test HAVE_VLD1_U16_X2 -- Performing Test HAVE_VLD1_U16_X2 - Success -- Performing Test HAVE_VLD1Q_U8_X4 -- Performing Test HAVE_VLD1Q_U8_X4 - Success -- Use full Neon SIMD intrinsics implementation (NEON_INTRINSICS = ON) -- SIMD extensions: arm64 (WITH_SIMD = 1) -- Looking for assert.h -- Looking for assert.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for io.h -- Looking for io.h - not found -- Looking for limits.h -- Looking for limits.h - found -- Looking for memory.h -- Looking for memory.h - found -- Looking for search.h -- Looking for search.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Performing Test C_HAS_inline -- Performing Test C_HAS_inline - Success -- Check size of signed short -- Check size of signed short - done -- Check size of unsigned short -- Check size of unsigned short - done -- Check size of signed int -- Check size of signed int - done -- Check size of unsigned int -- Check size of unsigned int - done -- Check size of signed long -- Check size of signed long - done -- Check size of signed long long -- Check size of signed long long - done -- Check size of unsigned long long -- Check size of unsigned long long - done -- Check size of unsigned char -- Check size of unsigned char - done -- Check size of ptrdiff_t -- Check size of ptrdiff_t - done -- Check size of INT8 -- Check size of INT8 - failed -- Check size of INT16 -- Check size of INT16 - failed -- Check size of INT32 -- Check size of INT32 - failed -- Looking for floor -- Looking for floor - not found -- Looking for pow -- Looking for pow - not found -- Looking for sqrt -- Looking for sqrt - not found -- Looking for isascii -- Looking for isascii - found -- Looking for memset -- Looking for memset - found -- Looking for mmap -- Looking for mmap - found -- Looking for getopt -- Looking for getopt - found -- Looking for memmove -- Looking for memmove - found -- Looking for setmode -- Looking for setmode - not found -- Looking for strcasecmp -- Looking for strcasecmp - found -- Looking for strchr -- Looking for strchr - found -- Looking for strrchr -- Looking for strrchr - found -- Looking for strstr -- Looking for strstr - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for lfind -- Looking for lfind - found -- Performing Test HAVE_SNPRINTF -- Performing Test HAVE_SNPRINTF - Success -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_C_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_C_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WNO_UNDEF -- Performing Test HAVE_C_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_UNUSED -- Performing Test HAVE_C_WNO_UNUSED - Success -- Performing Test HAVE_C_WNO_CAST_ALIGN -- Performing Test HAVE_C_WNO_CAST_ALIGN - Success -- Performing Test HAVE_C_WNO_SHADOW -- Performing Test HAVE_C_WNO_SHADOW - Success -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED -- Performing Test HAVE_C_WNO_MAYBE_UNINITIALIZED - Failed -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST -- Performing Test HAVE_C_WNO_POINTER_TO_INT_CAST - Success -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST -- Performing Test HAVE_C_WNO_INT_TO_POINTER_CAST - Success -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION -- Performing Test HAVE_C_WNO_MISLEADING_INDENTATION - Success -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER -- Performing Test HAVE_C_WNO_ARRAY_PARAMETER - Success -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES -- Performing Test HAVE_C_WNO_STRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE -- Performing Test HAVE_C_WNO_UNUSED_VARIABLE - Success -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION -- Performing Test HAVE_C_WNO_UNUSED_FUNCTION - Success -- Could NOT find OpenJPEG (minimal suitable version: 2.0, recommended version >= 2.3.1). OpenJPEG will be built from sources -- Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION -- Performing Test HAVE_C_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Success -- Performing Test HAVE_C_WNO_DOCUMENTATION -- Performing Test HAVE_C_WNO_DOCUMENTATION - Success -- OpenJPEG: VERSION = 2.5.0, BUILD = opencv-4.9.0-openjp2-2.5.0 -- Looking for stdio.h -- Looking for stdio.h - found -- Looking for math.h -- Looking for math.h - found -- Looking for float.h -- Looking for float.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for stdarg.h -- Looking for stdarg.h - found -- Looking for ctype.h -- Looking for ctype.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for include file malloc.h -- Looking for include file malloc.h - found -- Looking for _aligned_malloc -- Looking for _aligned_malloc - not found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for memalign -- Looking for memalign - found -- Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE -- Performing Test HAVE_C_WNO_CAST_FUNCTION_TYPE - Success -- OpenJPEG libraries will be built from sources: libopenjp2 (version "2.5.0") -- math lib 'libm' not found; floating point support disabled -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION -- Performing Test HAVE_C_WNO_NULL_POINTER_SUBTRACTION - Success -- Looking for semaphore.h -- Looking for semaphore.h - found -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED -- Performing Test HAVE_CXX_WNO_UNUSED - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success -- Performing Test HAVE_CXX_WNO_UNINITIALIZED -- Performing Test HAVE_CXX_WNO_UNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_SWITCH -- Performing Test HAVE_CXX_WNO_SWITCH - Success -- Performing Test HAVE_CXX_WNO_PARENTHESES -- Performing Test HAVE_CXX_WNO_PARENTHESES - Success -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success -- Performing Test HAVE_CXX_WNO_EXTRA -- Performing Test HAVE_CXX_WNO_EXTRA - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION -- Performing Test HAVE_CXX_WNO_MISLEADING_INDENTATION - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Success -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_COMPARE - Success -- Performing Test HAVE_CXX_WNO_REORDER -- Performing Test HAVE_CXX_WNO_REORDER - Success -- Performing Test HAVE_CXX_WNO_UNUSED_RESULT -- Performing Test HAVE_CXX_WNO_UNUSED_RESULT - Success -- Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION -- Performing Test HAVE_CXX_WNO_IMPLICIT_CONST_INT_FLOAT_CONVERSION - Success -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS -- Performing Test HAVE_CXX_WNO_UNUSED_LOCAL_TYPEDEFS - Success -- Performing Test HAVE_CXX_WNO_SIGN_PROMO -- Performing Test HAVE_CXX_WNO_SIGN_PROMO - Success -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE -- Performing Test HAVE_CXX_WNO_TAUTOLOGICAL_UNDEFINED_COMPARE - Success -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS -- Performing Test HAVE_CXX_WNO_IGNORED_QUALIFIERS - Success -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_CONST_VARIABLE - Success -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 -- Performing Test HAVE_CXX_WNO_SHORTEN_64_TO_32 - Success -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH -- Performing Test HAVE_CXX_WNO_ENUM_COMPARE_SWITCH - Success -- Performing Test HAVE_CXX_WNO_STRINGOP_OVERFLOW -- Performing Test HAVE_CXX_WNO_STRINGOP_OVERFLOW - Failed -- Performing Test HAVE_CXX_WNO_STRINGOP_OVERREAD -- Performing Test HAVE_CXX_WNO_STRINGOP_OVERREAD - Failed -- Performing Test HAVE_CXX_WNO_EXTRA_SEMI -- Performing Test HAVE_CXX_WNO_EXTRA_SEMI - Success -- Performing Test HAVE_CXX_WNO_COMMA -- Performing Test HAVE_CXX_WNO_COMMA - Success CMake Error at cmake/android/OpenCVDetectAndroidSDK.cmake:49 (message): Android SDK: specify path to Android SDK via ANDROID_SDK_ROOT / ANDROID_HOME / ANDROID_SDK variables Call Stack (most recent call first): cmake/android/OpenCVDetectAndroidSDK.cmake:172 (ocv_detect_android_sdk) CMakeLists.txt:830 (include) -- Configuring incomplete, errors occurred! Traceback (most recent call last): File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 666, in setup env = cmkr.configure( ^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/skbuild/cmaker.py", line 357, in configure raise SKBuildError(msg) An error occurred while configuring with CMake. Command: /data/data/com.termux/files/usr/bin/cmake /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/opencv -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/_skbuild/linux-aarch64-3.11/cmake-install -DPYTHON_VERSION_STRING:STRING=3.11.8 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPYTHON_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON_LIBRARY:PATH=/data/data/com.termux/files/usr/lib/libpython3.11.so -DPython_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPython_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython_NumPy_INCLUDE_DIRS:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/data/data/com.termux/files/usr/bin/python -DPython3_ROOT_DIR:PATH=/data/data/com.termux/files/usr -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/data/data/com.termux/files/usr/include/python3.11 -DPython3_NumPy_INCLUDE_DIRS:PATH=/data/data/com.termux/files/usr/lib/python3.11/site-packages/numpy/core/include -DPYTHON3_EXECUTABLE=/data/data/com.termux/files/usr/bin/python -DPYTHON_DEFAULT_EXECUTABLE=/data/data/com.termux/files/usr/bin/python -DPYTHON3_INCLUDE_DIR=/data/data/com.termux/files/usr/include/python3.11 -DPYTHON3_LIBRARY=/data/data/com.termux/files/usr/lib/libpython3.11.so -DBUILD_opencv_python3=ON -DBUILD_opencv_python2=OFF -DBUILD_opencv_java=OFF -DOPENCV_PYTHON3_INSTALL_PATH=python -DINSTALL_CREATE_DISTRIB=ON -DBUILD_opencv_apps=OFF -DBUILD_opencv_freetype=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF -DBUILD_DOCS=OFF -DPYTHON3_LIMITED_API=ON -DBUILD_OPENEXR=ON -DWITH_WIN32UI=OFF -DWITH_QT=OFF -DWITH_GTK=OFF -DCMAKE_BUILD_TYPE:STRING=Release Source directory: /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/opencv Working directory: /data/data/com.termux/files/usr/tmp/pip-install-n1dyu6y9/opencv-python-headless_92509df5507546bcb5fd20392c20c64d/_skbuild/linux-aarch64-3.11/cmake-build Please see CMake's output for more information. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for opencv-python-headless Successfully built yolov9pip Failed to build opencv-python-headless ERROR: Could not build wheels for opencv-python-headless, which is required to install pyproject.toml-based

liuo2023 commented 4 months ago

maybe need to compile opencv-python-headless, but I'll try again later.