termux / termux-packages

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

again matplotlib installation failed. #7163

Closed Nai-mul closed 3 years ago

Nai-mul commented 3 years ago

I have install clang gcc-10 gcc-11 pkg-config freetype cython wheel setuptools everything. but i am failed to install matplotlib. maybe error coming from clang. i try every possible way. but the result is same.

export CFLAGS="-Wno-deprecated-declarations -Wno-unreachable-code" pip install matplotlib - result is failed

LDFLAGS=" -lm -lcompiler_rt" pip install matplotlib - failed

CFLAGS=" -I/data/data/com.termux/files/usr/include/freetype2" CPPFLAGS=$CFLAGS LDFLAGS=" -lm -lcompiler_rt" pip install -vvv matplotlib - result failed

export CFLAGS="-Wno-deprecated-declarations -Wno-unreachable-code" CFLAGS=" -I/data/data/com.termux/files/usr/include/freetype2" CPPFLAGS=$CFLAGS LDFLAGS=" -lm -lcompiler_rt" pip install -v matplotlib - result failed

pip install --no-cache-dir --no-binary :all: matplotlib -failed.

aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/include/python3.9 -c /data/data/com.termux/files/usr/tmp/tmpaw31g80z.cpp -o data/data/com.termux/files/usr/tmp/tmpaw31g80z.o -fvisibility=hidden aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/include/python3.9 -c /data/data/com.termux/files/usr/tmp/tmp5qq7hhd.cpp -o data/data/com.termux/files/usr/tmp/tmp5qq7hhd.o -fvisibility-inlines-hidden aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/include/python3.9 -c /data/data/com.termux/files/usr/tmp/tmpw7769kcr.cpp -o data/data/com.termux/files/usr/tmp/tmpw7769kcr.o -flto building 'matplotlib.backends._backend_agg' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/extern creating build/temp.linux-aarch64-3.9/extern/agg24-svn creating build/temp.linux-aarch64-3.9/extern/agg24-svn/src creating build/temp.linux-aarch64-3.9/src aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o -fvisibility=hidden -flto extern/agg24-svn/src/agg_curves.cpp:24:18: warning: unused variable 'curve_distance_epsilon' [-Wunused-const-variable] const double curve_distance_epsilon = 1e-30; ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_backend_agg.cpp -o build/temp.linux-aarch64-3.9/src/_backend_agg.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_backend_agg_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/_backend_agg_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/checkdep_freetype2.c -o build/temp.linux-aarch64-3.9/src/checkdep_freetype2.o -fvisibility=hidden -flto src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType version 2.6.1. [-W#pragma-messages] #pragma message("Compiling with FreeType version " \ ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/mplutils.cpp -o build/temp.linux-aarch64-3.9/src/mplutils.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendsbackend_agg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -DFREETYPE_BUILD_TYPE=local -Ibuild/freetype-2.6.1/include -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/py_converters.cpp -o build/temp.linux-aarch64-3.9/src/py_converters.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o build/temp.linux-aarch64-3.9/src/_backend_agg.o build/temp.linux-aarch64-3.9/src/_backend_agg_wrapper.o build/temp.linux-aarch64-3.9/src/checkdep_freetype2.o build/temp.linux-aarch64-3.9/src/mplutils.o build/temp.linux-aarch64-3.9/src/py_converters.o build/freetype-2.6.1/objs/.libs/libfreetype.a -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/backends/_backend_agg.cpython-39.so build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._c_internal_utils' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -I/data/data/com.termux/files/usr/include/python3.9 -c src/_c_internal_utils.c -o build/temp.linux-aarch64-3.9/src/_c_internal_utils.o -fvisibility=hidden -flto aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/src/_c_internal_utils.o -L/data/data/com.termux/files/usr/lib -ldl -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_c_internal_utils.cpython-39.so build/temp.linux-aarch64-3.9/src/_c_internal_utils.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._contour' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibcontour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_contour.cpp -o build/temp.linux-aarch64-3.9/src/_contour.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibcontour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_contour_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/_contour_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibcontour_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/py_converters.cpp -o build/temp.linux-aarch64-3.9/src/py_converters.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/src/_contour.o build/temp.linux-aarch64-3.9/src/_contour_wrapper.o build/temp.linux-aarch64-3.9/src/py_converters.o -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_contour.cpython-39.so build/temp.linux-aarch64-3.9/src/_contour.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib.ft2font' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DFREETYPE_BUILD_TYPE=local -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Ibuild/freetype-2.6.1/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/checkdep_freetype2.c -o build/temp.linux-aarch64-3.9/src/checkdep_freetype2.o -fvisibility=hidden -flto src/checkdep_freetype2.c:14:9: warning: Compiling with FreeType version 2.6.1. [-W#pragma-messages] #pragma message("Compiling with FreeType version " \ ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DFREETYPE_BUILD_TYPE=local -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Ibuild/freetype-2.6.1/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/ft2font.cpp -o build/temp.linux-aarch64-3.9/src/ft2font.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DFREETYPE_BUILD_TYPE=local -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Ibuild/freetype-2.6.1/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/ft2font_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/ft2font_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DFREETYPE_BUILD_TYPE=local -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Ibuild/freetype-2.6.1/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/mplutils.cpp -o build/temp.linux-aarch64-3.9/src/mplutils.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DFREETYPE_BUILD_TYPE=local -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_ft2font_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Ibuild/freetype-2.6.1/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/py_converters.cpp -o build/temp.linux-aarch64-3.9/src/py_converters.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/src/checkdep_freetype2.o build/temp.linux-aarch64-3.9/src/ft2font.o build/temp.linux-aarch64-3.9/src/ft2font_wrapper.o build/temp.linux-aarch64-3.9/src/mplutils.o build/temp.linux-aarch64-3.9/src/py_converters.o build/freetype-2.6.1/objs/.libs/libfreetype.a -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/ft2font.cpython-39.so build/temp.linux-aarch64-3.9/src/checkdep_freetype2.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._image' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o -fvisibility=hidden -flto extern/agg24-svn/src/agg_curves.cpp:24:18: warning: unused variable 'curve_distance_epsilon' [-Wunused-const-variable] const double curve_distance_epsilon = 1e-30; ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_image.cpp -o build/temp.linux-aarch64-3.9/src/_image.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_image_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/_image_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/mplutils.cpp -o build/temp.linux-aarch64-3.9/src/mplutils.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibimage_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/py_converters.cpp -o build/temp.linux-aarch64-3.9/src/py_converters.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o build/temp.linux-aarch64-3.9/src/_image.o build/temp.linux-aarch64-3.9/src/_image_wrapper.o build/temp.linux-aarch64-3.9/src/mplutils.o build/temp.linux-aarch64-3.9/src/py_converters.o -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_image.cpython-39.so build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._path' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_bezier_arc.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_curves.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o -fvisibility=hidden -flto extern/agg24-svn/src/agg_curves.cpp:24:18: warning: unused variable 'curve_distance_epsilon' [-Wunused-const-variable] const double curve_distance_epsilon = 1e-30; ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_image_filters.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_trans_affine.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_contour.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_dash.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vcgen_stroke.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/agg24-svn/src/agg_vpgen_segmentator.cpp -o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_path_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/_path_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibpath_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/py_converters.cpp -o build/temp.linux-aarch64-3.9/src/py_converters.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_curves.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_image_filters.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_trans_affine.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_contour.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_dash.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vcgen_stroke.o build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_vpgen_segmentator.o build/temp.linux-aarch64-3.9/src/_path_wrapper.o build/temp.linux-aarch64-3.9/src/py_converters.o -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_path.cpython-39.so build/temp.linux-aarch64-3.9/extern/agg24-svn/src/agg_bezier_arc.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._qhull' extension creating build/temp.linux-aarch64-3.9/build creating build/temp.linux-aarch64-3.9/build/qhull-2020.2 creating build/temp.linux-aarch64-3.9/build/qhull-2020.2/src creating build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/geom2_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/geom2_r.o -fvisibility=hidden -flto build/qhull-2020.2/src/libqhull_r/geom2_r.c:1118:5: warning: code will never be executed [-Wunreachable-code] qh_fprintf(qh, qh->ferr, 6011, "qhull error: one or more floating point constants in user_r.h are inconsistent. REALmin %g, -REALmax %g, 0.0, REALepsilon %g, REALmax %g\n", ^~~~~~ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/geom_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/geom_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/global_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/global_r.o -fvisibility=hidden -flto build/qhull-2020.2/src/libqhull_r/global_r.c:1641:5: warning: code will never be executed [-Wunreachable-code] qh_fprintf(qh, qh->ferr, 7039, "qhull warning: real epsilon, %2.2g, is probably too large for joggle('QJn')\nRecompile with double precision reals(see user_r.h).\n", ^~~~~~ build/qhull-2020.2/src/libqhull_r/global_r.c:1640:58: warning: code will never be executed [-Wunreachable-code] if (qh->JOGGLEmax < REALmax/2 && REALepsilon > 2e-8 && qh->PRINTprecision) ^~ 2 warnings generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/io_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/io_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/libqhull_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/libqhull_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/mem_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/mem_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/merge_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/merge_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/poly2_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/poly2_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/poly_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/poly_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/qset_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/qset_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/random_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/random_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/rboxlib_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/rboxlib_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/stat_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/stat_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/user_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/user_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/usermem_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/usermem_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/userprintf_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/userprintf_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibqhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c build/qhull-2020.2/src/libqhull_r/userprintf_rbox_r.c -o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/userprintf_rbox_r.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Ibuild/qhull-2020.2/src -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/qhull_wrap.c -o build/temp.linux-aarch64-3.9/src/qhull_wrap.o -fvisibility=hidden -flto aarch64-linux-android-clang -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/geom2_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/geom_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/global_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/io_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/libqhull_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/mem_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/merge_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/poly2_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/poly_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/qset_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/random_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/rboxlib_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/stat_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/user_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/usermem_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/userprintf_r.o build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/userprintf_rbox_r.o build/temp.linux-aarch64-3.9/src/qhull_wrap.o -L/data/data/com.termux/files/usr/lib -lm -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_qhull.cpython-39.so build/temp.linux-aarch64-3.9/build/qhull-2020.2/src/libqhull_r/geom2_r.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib.backends._tkagg' extension aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib_backendstkagg_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern/agg24-svn/include -Isrc -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_tkagg.cpp -o build/temp.linux-aarch64-3.9/src/_tkagg.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/src/_tkagg.o -L/data/data/com.termux/files/usr/lib -ldl -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/backends/_tkagg.cpython-39.so build/temp.linux-aarch64-3.9/src/_tkagg.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._tri' extension creating build/temp.linux-aarch64-3.9/src/tri aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibtri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/mplutils.cpp -o build/temp.linux-aarch64-3.9/src/mplutils.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibtri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/tri/_tri.cpp -o build/temp.linux-aarch64-3.9/src/tri/_tri.o -fvisibility=hidden -flto src/tri/_tri.cpp:1397:10: warning: 'random_shuffle<std::wrap_iter<TrapezoidMapTriFinder::Edge >, RandomNumberGenerator &>' is deprecated [-Wdeprecated-declarations] std::random_shuffle(_edges.begin()+2, _edges.end(), rng); ^ /data/data/com.termux/files/usr/include/c++/v1/algorithm:3088:1: note: 'random_shuffle<std::__wrap_iter<TrapezoidMapTriFinder::Edge >, RandomNumberGenerator &>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX14 void ^ /data/data/com.termux/files/usr/include/c++/v1/config:947:39: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX14' # define _LIBCPP_DEPRECATED_IN_CXX14 _LIBCPP_DEPRECATED ^ /data/data/com.termux/files/usr/include/c++/v1/config:930:48: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED attribute ((deprecated)) ^ 1 warning generated. aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibtri_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/tri/_tri_wrapper.cpp -o build/temp.linux-aarch64-3.9/src/tri/_tri_wrapper.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/src/mplutils.o build/temp.linux-aarch64-3.9/src/tri/_tri.o build/temp.linux-aarch64-3.9/src/tri/_tri_wrapper.o -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_tri.cpython-39.so build/temp.linux-aarch64-3.9/src/mplutils.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) building 'matplotlib._ttconv' extension creating build/temp.linux-aarch64-3.9/extern/ttconv aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/ttconv/pprdrv_tt.cpp -o build/temp.linux-aarch64-3.9/extern/ttconv/pprdrv_tt.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/ttconv/pprdrv_tt2.cpp -o build/temp.linux-aarch64-3.9/extern/ttconv/pprdrv_tt2.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -DSTDC_FORMAT_MACROS=1 -Iextern -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c extern/ttconv/ttutil.cpp -o build/temp.linux-aarch64-3.9/extern/ttconv/ttutil.o -fvisibility=hidden -flto aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlibttconv_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -Iextern -I/data/data/com.termux/files/usr/lib/python3.9/site-packages/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_ttconv.cpp -o build/temp.linux-aarch64-3.9/src/_ttconv.o -fvisibility=hidden -flto aarch64-linux-android-clang++ -shared -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -L/data/data/com.termux/files/usr/lib -Wl,-rpath=/data/data/com.termux/files/usr/lib -fopenmp -static-openmp -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro,-z,now -landroid-support -L/home/builder/.termux-build/_cache/android-r21d-api-24-v4/sysroot/usr/lib -lm -lcompiler_rt build/temp.linux-aarch64-3.9/extern/ttconv/pprdrv_tt.o build/temp.linux-aarch64-3.9/extern/ttconv/pprdrv_tt2.o build/temp.linux-aarch64-3.9/extern/ttconv/ttutil.o build/temp.linux-aarch64-3.9/src/_ttconv.o -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/matplotlib/_ttconv.cpython-39.so build/temp.linux-aarch64-3.9/extern/ttconv/pprdrv_tt.o: file not recognized: file format not recognized clang-12: error: linker command failed with exit code 1 (use -v to see invocation) error: command '/data/data/com.termux/files/usr/bin/aarch64-linux-android-clang++' failed with exit code 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /data/data/com.termux/files/usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-764hmo6h/matplotlib_69bd12988c2f4259a4041f2ebea45add/setup.py'"'"'; file__='"'"'/data/data/com.termux/files/usr/tmp/pip-install-764hmo6h/matplotlib_69bd12988c2f4259a4041f2ebea45add/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-1c_oetho/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.9/matplotlib Check the logs for full command output.

termux-info Application version: 0.116 Packages CPU architecture: aarch64 Subscribed repositories:

sources.list

deb https://packages.termux.org/apt/termux-main/ stable main

game-repo (sources.list.d/game.list)

deb https://packages.termux.org/apt/termux-games games stable

science-repo (sources.list.d/science.list)

deb https://packages.termux.org/apt/termux-science science stable

sources.list.d/pointless.list

deb https://its-pointless.github.io/files/24 termux extras

root-repo (sources.list.d/root.list)

deb https://packages.termux.org/apt/termux-root root stable Updatable packages: All packages up to date Android version: 11 Kernel build information: Linux localhost 4.14.180-perf-g35ed9c6 termux/termux-app#1 SMP PREEMPT Wed Apr 28 21:02:14 CST 2021 aarch64 Android Device manufacturer: Xiaomi Device model: Redmi Note 9S

Nai-mul commented 3 years ago

Lolz, sorry.

It’s oky bro 🥰

but I am in serious trouble. i tried all the way. I think termux need to keep two versions of python.

agnostic-apollo commented 3 years ago

Check instructions at https://wiki.termux.com/wiki/Python#Python_module_installation_tips_and_tricks and termux does have python3 and python2.

ghost commented 3 years ago

Termux Wiki provides instructions how to install matplotlib. Your issue is -flto compiler flag which may not work on on some devices (lack of RAM?) - again fix is on Termux Wiki. I'm copying it there:

On some devices a patch/config file is needed to get rid of the -flto flag passed to the compiler. If pip install matplotlib does not work, try

git clone https://github.com/matplotlib/matplotlib cd matplotlib sed 's@#enable_lto = True@enable_lto = False@g' setup.cfg.template > setup.cfg pip install .

On devices with enough resources, this workaround is not needed: Screenshot_20210726-141126

gcc is not needed in nearly all cases. Primary its use case is gfortran and compiling C code with GNU extensions which are used quite rarely.