python-pillow / Pillow

Python Imaging Library (Fork)
https://python-pillow.org
Other
12.36k stars 2.24k forks source link

Can't install on Android (aarch64) #5801

Closed Koli96 closed 3 years ago

Koli96 commented 3 years ago

What did you do?

I'm trying to install Pillow on Android (termux)

What are your OS, Python and Pillow versions?

$ uname -a
Linux localhost 4.4.153-perf-g70022ad #1 SMP PREEMPT Thu Feb 27 01:16:28 CST 2020 aarch64 Android

I was trying many tricky ways but none has helped actually (e.g

LDFLAGS="-L/system/lib/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow==8.2.0

)

Installation log:

Collecting Pillow==8.2.0
  Using cached Pillow-8.2.0.tar.gz (47.9 MB)
Building wheels for collected packages: Pillow
  Building wheel for Pillow (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /data/data/com.termux/files/home/packages/hass/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-viln1qb6/pillow/setup.py'"'"'; __file__='"'"'/data/data/com.termux/files/usr/tmp/pip-install-viln1qb6/pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /data/data/com.termux/files/usr/tmp/pip-wheel-34xsox7r
       cwd: /data/data/com.termux/files/usr/tmp/pip-install-viln1qb6/pillow/
  Complete output (227 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-aarch64-3.9
  creating build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/BdfFontFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/BlpImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/BmpImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ContainerIO.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/CurImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/DcxImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/DdsImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/EpsImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ExifTags.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/FliImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/FontFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/FpxImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/FtexImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GbrImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GdImageFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GifImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GimpGradientFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GimpPaletteFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/IcoImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/Image.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageChops.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageCms.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageColor.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageDraw.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageDraw2.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageEnhance.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageFilter.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageFont.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageGrab.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageMath.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageMode.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageMorph.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageOps.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImagePalette.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImagePath.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageQt.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageSequence.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageShow.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageStat.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageTk.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageTransform.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImageWin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/ImtImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/IptcImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/JpegImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/JpegPresets.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/MicImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/MpegImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/MpoImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/MspImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PSDraw.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PaletteFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PalmImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PcdImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PcfFontFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PcxImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PdfImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PdfParser.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PixarImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PngImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PpmImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PsdImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/PyAccess.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/SgiImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/SunImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/TarIO.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/TgaImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/TiffImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/TiffTags.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/WalImageFile.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/WebPImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/WmfImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/XbmImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/XpmImagePlugin.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/__init__.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/__main__.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/_binary.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/_tkinter_finder.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/_util.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/_version.py -> build/lib.linux-aarch64-3.9/PIL
  copying src/PIL/features.py -> build/lib.linux-aarch64-3.9/PIL
  running egg_info
  writing src/Pillow.egg-info/PKG-INFO
  writing dependency_links to src/Pillow.egg-info/dependency_links.txt
  writing top-level names to src/Pillow.egg-info/top_level.txt
  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c'
  warning: no files found matching '*.h'
  warning: no files found matching '*.sh'
  warning: no previously-included files found matching '.appveyor.yml'
  warning: no previously-included files found matching '.clang-format'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching '.editorconfig'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files matching '.git*' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  no previously-included directories found matching '.ci'
  adding license file 'LICENSE'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext
  building 'PIL._imaging' extension
  creating build/temp.linux-aarch64-3.9
  creating build/temp.linux-aarch64-3.9/src
  creating build/temp.linux-aarch64-3.9/src/libImaging
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_imaging.c -o build/temp.linux-aarch64-3.9/src/_imaging.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/decode.c -o build/temp.linux-aarch64-3.9/src/decode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/display.c -o build/temp.linux-aarch64-3.9/src/display.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/encode.c -o build/temp.linux-aarch64-3.9/src/encode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Access.c -o build/temp.linux-aarch64-3.9/src/libImaging/Access.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/AlphaComposite.c -o build/temp.linux-aarch64-3.9/src/libImaging/AlphaComposite.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Bands.c -o build/temp.linux-aarch64-3.9/src/libImaging/Bands.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/BcnDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/BcnDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/BitDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/BitDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Blend.c -o build/temp.linux-aarch64-3.9/src/libImaging/Blend.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/BoxBlur.c -o build/temp.linux-aarch64-3.9/src/libImaging/BoxBlur.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Chops.c -o build/temp.linux-aarch64-3.9/src/libImaging/Chops.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/ColorLUT.c -o build/temp.linux-aarch64-3.9/src/libImaging/ColorLUT.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Convert.c -o build/temp.linux-aarch64-3.9/src/libImaging/Convert.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/ConvertYCbCr.c -o build/temp.linux-aarch64-3.9/src/libImaging/ConvertYCbCr.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Copy.c -o build/temp.linux-aarch64-3.9/src/libImaging/Copy.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Crop.c -o build/temp.linux-aarch64-3.9/src/libImaging/Crop.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Dib.c -o build/temp.linux-aarch64-3.9/src/libImaging/Dib.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Draw.c -o build/temp.linux-aarch64-3.9/src/libImaging/Draw.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Effects.c -o build/temp.linux-aarch64-3.9/src/libImaging/Effects.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/EpsEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/EpsEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/File.c -o build/temp.linux-aarch64-3.9/src/libImaging/File.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Fill.c -o build/temp.linux-aarch64-3.9/src/libImaging/Fill.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Filter.c -o build/temp.linux-aarch64-3.9/src/libImaging/Filter.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/FliDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/FliDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Geometry.c -o build/temp.linux-aarch64-3.9/src/libImaging/Geometry.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/GetBBox.c -o build/temp.linux-aarch64-3.9/src/libImaging/GetBBox.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/GifDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/GifDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/GifEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/GifEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/HexDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/HexDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Histo.c -o build/temp.linux-aarch64-3.9/src/libImaging/Histo.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Jpeg2KDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/Jpeg2KDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Jpeg2KEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/Jpeg2KEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/JpegDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/JpegDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/JpegEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/JpegEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Matrix.c -o build/temp.linux-aarch64-3.9/src/libImaging/Matrix.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/ModeFilter.c -o build/temp.linux-aarch64-3.9/src/libImaging/ModeFilter.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Negative.c -o build/temp.linux-aarch64-3.9/src/libImaging/Negative.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Offset.c -o build/temp.linux-aarch64-3.9/src/libImaging/Offset.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Pack.c -o build/temp.linux-aarch64-3.9/src/libImaging/Pack.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/PackDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/PackDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Palette.c -o build/temp.linux-aarch64-3.9/src/libImaging/Palette.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Paste.c -o build/temp.linux-aarch64-3.9/src/libImaging/Paste.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/PcdDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/PcdDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/PcxDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/PcxDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/PcxEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/PcxEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Point.c -o build/temp.linux-aarch64-3.9/src/libImaging/Point.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Quant.c -o build/temp.linux-aarch64-3.9/src/libImaging/Quant.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/QuantHash.c -o build/temp.linux-aarch64-3.9/src/libImaging/QuantHash.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/QuantHeap.c -o build/temp.linux-aarch64-3.9/src/libImaging/QuantHeap.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/QuantOctree.c -o build/temp.linux-aarch64-3.9/src/libImaging/QuantOctree.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/QuantPngQuant.c -o build/temp.linux-aarch64-3.9/src/libImaging/QuantPngQuant.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/RankFilter.c -o build/temp.linux-aarch64-3.9/src/libImaging/RankFilter.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/RawDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/RawDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/RawEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/RawEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Reduce.c -o build/temp.linux-aarch64-3.9/src/libImaging/Reduce.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Resample.c -o build/temp.linux-aarch64-3.9/src/libImaging/Resample.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/SgiRleDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/SgiRleDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Storage.c -o build/temp.linux-aarch64-3.9/src/libImaging/Storage.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/SunRleDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/SunRleDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/TgaRleDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/TgaRleDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/TgaRleEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/TgaRleEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/TiffDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/TiffDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/Unpack.c -o build/temp.linux-aarch64-3.9/src/libImaging/Unpack.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/UnpackYCC.c -o build/temp.linux-aarch64-3.9/src/libImaging/UnpackYCC.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/UnsharpMask.c -o build/temp.linux-aarch64-3.9/src/libImaging/UnsharpMask.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/XbmDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/XbmDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/XbmEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/XbmEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/ZipDecode.c -o build/temp.linux-aarch64-3.9/src/libImaging/ZipDecode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/ZipEncode.c -o build/temp.linux-aarch64-3.9/src/libImaging/ZipEncode.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/libImaging/codec_fd.c -o build/temp.linux-aarch64-3.9/src/libImaging/codec_fd.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/map.c -o build/temp.linux-aarch64-3.9/src/map.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/outline.c -o build/temp.linux-aarch64-3.9/src/outline.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="8.2.0" -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/path.c -o build/temp.linux-aarch64-3.9/src/path.o
  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-v5/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-v5/sysroot/usr/lib -L/system/lib/ -I/data/data/com.termux/files/usr/include/ build/temp.linux-aarch64-3.9/src/_imaging.o build/temp.linux-aarch64-3.9/src/decode.o build/temp.linux-aarch64-3.9/src/display.o build/temp.linux-aarch64-3.9/src/encode.o build/temp.linux-aarch64-3.9/src/libImaging/Access.o build/temp.linux-aarch64-3.9/src/libImaging/AlphaComposite.o build/temp.linux-aarch64-3.9/src/libImaging/Bands.o build/temp.linux-aarch64-3.9/src/libImaging/BcnDecode.o build/temp.linux-aarch64-3.9/src/libImaging/BitDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Blend.o build/temp.linux-aarch64-3.9/src/libImaging/BoxBlur.o build/temp.linux-aarch64-3.9/src/libImaging/Chops.o build/temp.linux-aarch64-3.9/src/libImaging/ColorLUT.o build/temp.linux-aarch64-3.9/src/libImaging/Convert.o build/temp.linux-aarch64-3.9/src/libImaging/ConvertYCbCr.o build/temp.linux-aarch64-3.9/src/libImaging/Copy.o build/temp.linux-aarch64-3.9/src/libImaging/Crop.o build/temp.linux-aarch64-3.9/src/libImaging/Dib.o build/temp.linux-aarch64-3.9/src/libImaging/Draw.o build/temp.linux-aarch64-3.9/src/libImaging/Effects.o build/temp.linux-aarch64-3.9/src/libImaging/EpsEncode.o build/temp.linux-aarch64-3.9/src/libImaging/File.o build/temp.linux-aarch64-3.9/src/libImaging/Fill.o build/temp.linux-aarch64-3.9/src/libImaging/Filter.o build/temp.linux-aarch64-3.9/src/libImaging/FliDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Geometry.o build/temp.linux-aarch64-3.9/src/libImaging/GetBBox.o build/temp.linux-aarch64-3.9/src/libImaging/GifDecode.o build/temp.linux-aarch64-3.9/src/libImaging/GifEncode.o build/temp.linux-aarch64-3.9/src/libImaging/HexDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Histo.o build/temp.linux-aarch64-3.9/src/libImaging/Jpeg2KDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Jpeg2KEncode.o build/temp.linux-aarch64-3.9/src/libImaging/JpegDecode.o build/temp.linux-aarch64-3.9/src/libImaging/JpegEncode.o build/temp.linux-aarch64-3.9/src/libImaging/Matrix.o build/temp.linux-aarch64-3.9/src/libImaging/ModeFilter.o build/temp.linux-aarch64-3.9/src/libImaging/Negative.o build/temp.linux-aarch64-3.9/src/libImaging/Offset.o build/temp.linux-aarch64-3.9/src/libImaging/Pack.o build/temp.linux-aarch64-3.9/src/libImaging/PackDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Palette.o build/temp.linux-aarch64-3.9/src/libImaging/Paste.o build/temp.linux-aarch64-3.9/src/libImaging/PcdDecode.o build/temp.linux-aarch64-3.9/src/libImaging/PcxDecode.o build/temp.linux-aarch64-3.9/src/libImaging/PcxEncode.o build/temp.linux-aarch64-3.9/src/libImaging/Point.o build/temp.linux-aarch64-3.9/src/libImaging/Quant.o build/temp.linux-aarch64-3.9/src/libImaging/QuantHash.o build/temp.linux-aarch64-3.9/src/libImaging/QuantHeap.o build/temp.linux-aarch64-3.9/src/libImaging/QuantOctree.o build/temp.linux-aarch64-3.9/src/libImaging/QuantPngQuant.o build/temp.linux-aarch64-3.9/src/libImaging/RankFilter.o build/temp.linux-aarch64-3.9/src/libImaging/RawDecode.o build/temp.linux-aarch64-3.9/src/libImaging/RawEncode.o build/temp.linux-aarch64-3.9/src/libImaging/Reduce.o build/temp.linux-aarch64-3.9/src/libImaging/Resample.o build/temp.linux-aarch64-3.9/src/libImaging/SgiRleDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Storage.o build/temp.linux-aarch64-3.9/src/libImaging/SunRleDecode.o build/temp.linux-aarch64-3.9/src/libImaging/TgaRleDecode.o build/temp.linux-aarch64-3.9/src/libImaging/TgaRleEncode.o build/temp.linux-aarch64-3.9/src/libImaging/TiffDecode.o build/temp.linux-aarch64-3.9/src/libImaging/Unpack.o build/temp.linux-aarch64-3.9/src/libImaging/UnpackYCC.o build/temp.linux-aarch64-3.9/src/libImaging/UnsharpMask.o build/temp.linux-aarch64-3.9/src/libImaging/XbmDecode.o build/temp.linux-aarch64-3.9/src/libImaging/XbmEncode.o build/temp.linux-aarch64-3.9/src/libImaging/ZipDecode.o build/temp.linux-aarch64-3.9/src/libImaging/ZipEncode.o build/temp.linux-aarch64-3.9/src/libImaging/codec_fd.o build/temp.linux-aarch64-3.9/src/map.o build/temp.linux-aarch64-3.9/src/outline.o build/temp.linux-aarch64-3.9/src/path.o -L/data/data/com.termux/files/usr/lib -L/system/lib -L/data/data/com.termux/files/home/packages/hass/lib -L/data/data/com.termux/files/usr/lib -ljpeg -lz -lpython3.9 -o build/lib.linux-aarch64-3.9/PIL/_imaging.cpython-39.so
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libc.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
  building 'PIL._imagingtk' extension
  creating build/temp.linux-aarch64-3.9/src/Tk
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/Tk/tkImaging.c -o build/temp.linux-aarch64-3.9/src/Tk/tkImaging.o
  aarch64-linux-android-clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -I/data/data/com.termux/files/usr/include/ -fPIC -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_imagingtk.c -o build/temp.linux-aarch64-3.9/src/_imagingtk.o
  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-v5/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-v5/sysroot/usr/lib -L/system/lib/ -I/data/data/com.termux/files/usr/include/ build/temp.linux-aarch64-3.9/src/Tk/tkImaging.o build/temp.linux-aarch64-3.9/src/_imagingtk.o -L/data/data/com.termux/files/usr/lib -L/system/lib -L/data/data/com.termux/files/home/packages/hass/lib -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/PIL/_imagingtk.cpython-39.so
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libc.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
  building 'PIL._imagingmath' 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 -I/data/data/com.termux/files/usr/include/ -fPIC -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_imagingmath.c -o build/temp.linux-aarch64-3.9/src/_imagingmath.o
  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-v5/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-v5/sysroot/usr/lib -L/system/lib/ -I/data/data/com.termux/files/usr/include/ build/temp.linux-aarch64-3.9/src/_imagingmath.o -L/data/data/com.termux/files/usr/lib -L/system/lib -L/data/data/com.termux/files/home/packages/hass/lib -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/PIL/_imagingmath.cpython-39.so
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libc.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
  building 'PIL._imagingmorph' 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 -I/data/data/com.termux/files/usr/include/ -fPIC -I/data/data/com.termux/files/usr/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/home/packages/hass/include -I/data/data/com.termux/files/usr/include/python3.9 -c src/_imagingmorph.c -o build/temp.linux-aarch64-3.9/src/_imagingmorph.o
  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-v5/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-v5/sysroot/usr/lib -L/system/lib/ -I/data/data/com.termux/files/usr/include/ build/temp.linux-aarch64-3.9/src/_imagingmorph.o -L/data/data/com.termux/files/usr/lib -L/system/lib -L/data/data/com.termux/files/home/packages/hass/lib -L/data/data/com.termux/files/usr/lib -lpython3.9 -o build/lib.linux-aarch64-3.9/PIL/_imagingmorph.cpython-39.so
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libc.so is incompatible with aarch64linux
  ld.lld: error: /system/lib/libdl.so is incompatible with aarch64linux
  clang-13: 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: Failed building wheel for Pillow
  Running setup.py clean for Pillow
Failed to build Pillow

I'm getting crazy about this 😶Thank you for your time


EDIT I was trying also Python 3.10 and lastest version of Pillow, but with the same result.

radarhere commented 3 years ago

Hi. The same error is reported over at https://github.com/termux/termux-packages/issues/7861. There is actually a pending PR for this in our repository - https://github.com/python-pillow/Pillow/pull/5793

Possible solutions

From https://github.com/termux/termux-packages/issues/7861#issuecomment-954510625 1.

LDFLAGS="-L/system/lib64/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow

From https://github.com/termux/termux-packages/issues/7788#issuecomment-950316955 2.

python -m pip install git+https://github.com/landfillbaby/Pillow.git@patch-2

r0xtar commented 3 years ago

Hi. It gets installed by this method. From https://github.com/termux/termux-packages/issues/7861#issuecomment-955132948

But Pillow package can't be detected & doesn't work.

Shows error : "Please install Pillow to properly handle images"

radarhere commented 3 years ago

Hi @r0xtar. I think you've solved your Android-specific problem, and have moved on to another problem.

What shows you the error "Please install Pillow to properly handle images"? Is it possible that you have multiple versions of Pillow installed, and pip is connected to one version, and then you run a different version of Python and get this other error?

radarhere commented 3 years ago

Hi. While IANAL, my simplistic understanding is that ripping music is illegal, so I will not be providing help to you any further. Others may feel differently, but that is my stance.

r0xtar commented 3 years ago

It's only for learning purpose, but this is a issue for termux users. You should help in fixing that.

Koli96 commented 3 years ago

@radarhere thank you so much!

LDFLAGS="-L/system/lib64/" CFLAGS="-I/data/data/com.termux/files/usr/include/" pip install Pillow

This command helped and Pillow has been installed!