Output from termux on first meshagora test
   
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-wg8pkhvc/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())
        File "<string>", line 1118, in <module>
      RequiredDependencyException:

      The headers or library files could not be found for jpeg,
      a required dependency when compiling Pillow from source.

      Please see the install instructions at:
         https://pillow.readthedocs.io/en/latest/installation/basic-installation.html


      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pillow
Successfully built markupsafe
Failed to build pillow
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> pillow
~ $ pkg uodate
Unknown command: 'uodate' (run 'pkg help' for usage information)
~ $ pkg update
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[] https://linux.domainesia.com/applications/termux/termux-main: ok
Hit:1 https://linux.domainesia.com/applications/termux/termux-main stable InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
72 packages can be upgraded. Run 'apt list —upgradable' to see them.
~ $ pkg upgrade
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[ ] https://linux.domainesia.com/applications/termux/termux-main: ok
Hit:1 https://linux.domainesia.com/applications/termux/termux-main stable InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
72 packages can be upgraded. Run 'apt list —upgradable' to see them.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following packages will be upgraded:
  apt bash bzip2 ca-certificates command-not-found
  coreutils curl dash debianutils dialog diffutils
  dos2unix dpkg ed findutils gawk gpgv grep gzip
  inetutils less libandroid-glob libandroid-selinux
  libandroid-support libassuan libbz2 libc++
  libcap-ng libcurl libevent libgcrypt libgmp
  libgnutls libgpg-error libiconv libidn2 liblz4
  liblzma libmd libmpfr libnettle libnghttp2
  libnghttp3 libnpth libsmartcols libssh2 libtirpc
  libunbound libunistring lsof nano net-tools
  openssl patch pcre2 procps psmisc readline sed
  tar termux-am termux-am-socket termux-core
  termux-exec termux-keyring termux-tools unzip
  util-linux xxhash xz-utils zlib zstd
72 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.9 MB of archives.
After this operation, 2109 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 ca-certificates all 1:2025.11.04 [127 kB]
Get:2 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 zlib aarch64 1.3.1-1 [60.1 kB]
Get:3 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 openssl aarch64 1:3.6.0 [2482 kB]
Get:4 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 pcre2 aarch64 10.47 [961 kB]
Get:5 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libandroid-selinux aarch64 14.0.0.11-1 [59.6 kB]
Get:6 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libiconv aarch64 1.18-1 [561 kB]
Get:7 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libandroid-support aarch64 29-1 [10.9 kB]
Get:8 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libc++ aarch64 29 [335 kB]
Get:9 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libgmp aarch64 6.3.0-2 [328 kB]
Get:10 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 coreutils aarch64 9.9 [778 kB]
Get:11 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libbz2 aarch64 1.0.8-8 [26.1 kB]
Get:12 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 bzip2 aarch64 1.0.8-8 [26.2 kB]
Get:13 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 diffutils aarch64 3.12-2 [163 kB]
Get:14 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 gzip aarch64 1.14-1 [87.5 kB]
Get:15 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 less aarch64 685 [131 kB]
Get:16 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 liblzma aarch64 5.8.1-1 [191 kB]
Get:17 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 xz-utils aarch64 5.8.1-1 [71.1 kB]
Get:18 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libmd aarch64 1.1.0-1 [40.6 kB]
Get:19 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libandroid-glob aarch64 0.6-3 [7032 B]
Get:20 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 tar aarch64 1.35-1 [342 kB]
Get:21 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 zstd aarch64 1.5.7-1 [360 kB]
Get:22 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 dpkg aarch64 1.22.6-5 [308 kB]
Get:23 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 findutils aarch64 4.10.0-1 [251 kB]
Get:24 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libgpg-error aarch64 1.55-1 [120 kB]
Get:25 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libassuan aarch64 3.0.2-1 [73.9 kB]
Get:26 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libgcrypt aarch64 1.11.2-1 [500 kB]
Get:27 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libnpth aarch64 1.6-3 [11.2 kB]
Get:28 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 gpgv aarch64 2.5.11 [187 kB]
Get:29 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 grep aarch64 3.12-2 [128 kB]
Get:30 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libnettle aarch64 3.10.2-1 [406 kB]
Get:31 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libunistring aarch64 1.3-1 [551 kB]
Get:32 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libidn2 aarch64 2.3.8-1 [105 kB]
Get:33 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libevent aarch64 2.1.12-3 [203 kB]
Get:34 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libnghttp2 aarch64 1.68.0 [95.5 kB]
Get:35 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libunbound aarch64 1.24.2 [366 kB]
Get:36 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libgnutls aarch64 3.8.10 [729 kB]
Get:37 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 liblz4 aarch64 1.10.0-1 [84.7 kB]
Get:38 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 sed aarch64 4.9-2 [118 kB]
Get:39 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libnghttp3 aarch64 1.13.1 [67.4 kB]
Get:40 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libssh2 aarch64 1.11.1-1 [218 kB]
Get:41 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libcurl aarch64 8.17.0 [990 kB]
Get:42 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 curl aarch64 8.17.0 [236 kB]
Get:43 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 dash aarch64 0.5.12-1 [65.8 kB]
Get:44 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libmpfr aarch64 4.2.1-1 [272 kB]
Get:45 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 readline aarch64 8.3.1-2 [294 kB]
Get:46 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 gawk aarch64 5.3.1-2 [782 kB]
Get:47 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 procps aarch64 3.3.17-6 [143 kB]
Get:48 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 psmisc aarch64 23.7-1 [41.2 kB]
Get:49 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-am all 0.8.0-2 [577 kB]
Get:50 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-am-socket aarch64 1.5.0-1 [16.1 kB]
Get:51 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-core aarch64 0.4.0-1 [198 kB]
Get:52 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-exec aarch64 1:2.4.0-1 [288 kB]
Get:53 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libsmartcols aarch64 2.41.2 [99.8 kB]
Get:54 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libcap-ng aarch64 2:0.8.5-1 [35.7 kB]
Get:55 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 util-linux aarch64 2.41.2 [738 kB]
Get:56 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 dialog aarch64 1.3-20240307-1 [100 kB]
Get:57 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-tools aarch64 1.46.0+really1.45.0-1 [33.6 kB]
Get:58 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 termux-keyring all 3.13 [39.8 kB]
Get:59 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 xxhash aarch64 0.8.3-1 [76.6 kB]
Get:60 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 apt aarch64 2.8.1-2 [1031 kB]
Get:61 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 bash aarch64 5.3.3-1 [956 kB]
Get:62 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 command-not-found aarch64 3.2-6 [106 kB]
Get:63 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 debianutils aarch64 5.23.2-1 [16.8 kB]
Get:64 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 dos2unix aarch64 7.5.2-1 [64.4 kB]
Get:65 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 ed aarch64 1.22.3 [42.8 kB]
Get:66 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 inetutils aarch64 2.6-1 [223 kB]
Get:67 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 libtirpc aarch64 1.3.7-1 [124 kB]
Get:68 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 lsof aarch64 4.99.5-2 [122 kB]
Get:69 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 nano aarch64 8.7 [230 kB]
Get:70 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 net-tools aarch64 2.10.0-1 [118 kB]
Get:71 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 patch aarch64 2.8-1 [74.0 kB]
Get:72 https://linux.domainesia.com/applications/termux/termux-main stable/main aarch64 unzip aarch64 6.0-10 [117 kB]
Fetched 19.9 MB in 1min 20s (249 kB/s)
(Reading database … 17345 files and directories currently installed.)
Preparing to unpack …/ca-certificates_1%3a2025.11.04_all.deb …
Unpacking ca-certificates (1:2025.11.04) over (1:2025.02.25) …
Setting up ca-certificates (1:2025.11.04) …
(Reading database … 17345 files and directories currently installed.)
Preparing to unpack …/zlib_1.3.1-1_aarch64.deb …
Unpacking zlib (1.3.1-1) over (1.3.1) …
Setting up zlib (1.3.1-1) …
(Reading database … 17345 files and directories currently installed.)
Preparing to unpack …/openssl_1%3a3.6.0_aarch64.deb …
Unpacking openssl (1:3.6.0) over (1:3.4.1) …
Setting up openssl (1:3.6.0) …

Configuration file '/data/data/com.termux/files/usr/etc/tls/openssl.cnf'
 ⟹ File on system created by you or by a script.
 ⟹ File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** openssl.cnf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /data/data/com.termux/files/usr/etc/tls/openssl.cnf …
(Reading database … 17346 files and directories currently installed.)
Preparing to unpack …/pcre2_10.47_aarch64.deb …
Unpacking pcre2 (10.47) over (10.45) …
Setting up pcre2 (10.47) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/libandroid-selinux_14.0.0.11-1_aarch64.deb …
Unpacking libandroid-selinux (14.0.0.11-1) over (14.0.0.11) …
Setting up libandroid-selinux (14.0.0.11-1) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/libiconv_1.18-1_aarch64.deb …
Unpacking libiconv (1.18-1) over (1.18) …
Setting up libiconv (1.18-1) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/libandroid-support_29-1_aarch64.deb …
Unpacking libandroid-support (29-1) over (29) …
Setting up libandroid-support (29-1) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/archives/libc++_29_aarch64.deb …
Unpacking libc++ (29) over (27c) …
Setting up libc++ (29) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/libgmp_6.3.0-2_aarch64.deb …
Unpacking libgmp (6.3.0-2) over (6.3.0-1) …
Setting up libgmp (6.3.0-2) …
(Reading database … 17348 files and directories currently installed.)
Preparing to unpack …/coreutils_9.9_aarch64.deb …
Unpacking coreutils (9.9) over (9.6-1) …
Setting up coreutils (9.9) …
update-alternatives: using /data/data/com.termux/files/usr/libexec/coreutils/cat to provide /data/data/com.termux/files/usr/bin/pager (pager) in auto mode
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libbz2_1.0.8-8_aarch64.deb …
Unpacking libbz2 (1.0.8-8) over (1.0.8-6) …
Setting up libbz2 (1.0.8-8) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/bzip2_1.0.8-8_aarch64.deb …
Unpacking bzip2 (1.0.8-8) over (1.0.8-6) …
Setting up bzip2 (1.0.8-8) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/diffutils_3.12-2_aarch64.deb …
Unpacking diffutils (3.12-2) over (3.11) …
Setting up diffutils (3.12-2) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/gzip_1.14-1_aarch64.deb …
Unpacking gzip (1.14-1) over (1.13) …
Setting up gzip (1.14-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/archives/less_685_aarch64.deb …
Unpacking less (685) over (668) …
Setting up less (685) …
update-alternatives: using /data/data/com.termux/files/usr/bin/less to provide /data/data/com.termux/files/usr/bin/pager (pager) in auto mode
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/liblzma_5.8.1-1_aarch64.deb …
Unpacking liblzma (5.8.1-1) over (5.8.0) …
Setting up liblzma (5.8.1-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/xz-utils_5.8.1-1_aarch64.deb …
Unpacking xz-utils (5.8.1-1) over (5.8.0) …
Setting up xz-utils (5.8.1-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libmd_1.1.0-1_aarch64.deb …
Unpacking libmd (1.1.0-1) over (1.1.0) …
Setting up libmd (1.1.0-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libandroid-glob_0.6-3_aarch64.deb …
Unpacking libandroid-glob (0.6-3) over (0.6-2) …
Setting up libandroid-glob (0.6-3) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/tar_1.35-1_aarch64.deb …
Unpacking tar (1.35-1) over (1.35) …
Setting up tar (1.35-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/zstd_1.5.7-1_aarch64.deb …
Unpacking zstd (1.5.7-1) over (1.5.7) …
Setting up zstd (1.5.7-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/dpkg_1.22.6-5_aarch64.deb …
Unpacking dpkg (1.22.6-5) over (1.22.6-1) …
Setting up dpkg (1.22.6-5) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/findutils_4.10.0-1_aarch64.deb …
Unpacking findutils (4.10.0-1) over (4.10.0) …
Setting up findutils (4.10.0-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libgpg-error_1.55-1_aarch64.deb …
Unpacking libgpg-error (1.55-1) over (1.50) …
Setting up libgpg-error (1.55-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libassuan_3.0.2-1_aarch64.deb …
Unpacking libassuan (3.0.2-1) over (3.0.1-2) …
Setting up libassuan (3.0.2-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libgcrypt_1.11.2-1_aarch64.deb …
Unpacking libgcrypt (1.11.2-1) over (1.11.0) …
Setting up libgcrypt (1.11.2-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libnpth_1.6-3_aarch64.deb …
Unpacking libnpth (1.6-3) over (1.6-2) …
Setting up libnpth (1.6-3) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/gpgv_2.5.11_aarch64.deb …
Unpacking gpgv (2.5.11) over (2.4.5-3) …
Setting up gpgv (2.5.11) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/grep_3.12-2_aarch64.deb …
Unpacking grep (3.12-2) over (3.11) …
Setting up grep (3.12-2) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libnettle_3.10.2-1_aarch64.deb …
Unpacking libnettle (3.10.2-1) over (3.10.1) …
Setting up libnettle (3.10.2-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libunistring_1.3-1_aarch64.deb …
Unpacking libunistring (1.3-1) over (1.3) …
Setting up libunistring (1.3-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libidn2_2.3.8-1_aarch64.deb …
Unpacking libidn2 (2.3.8-1) over (2.3.7) …
Setting up libidn2 (2.3.8-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libevent_2.1.12-3_aarch64.deb …
Unpacking libevent (2.1.12-3) over (2.1.12-2) …
Setting up libevent (2.1.12-3) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libnghttp2_1.68.0_aarch64.deb …
Unpacking libnghttp2 (1.68.0) over (1.65.0) …
Setting up libnghttp2 (1.68.0) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libunbound_1.24.2_aarch64.deb …
Unpacking libunbound (1.24.2) over (1.22.0) …
Setting up libunbound (1.24.2) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libgnutls_3.8.10_aarch64.deb …
Unpacking libgnutls (3.8.10) over (3.8.9) …
Setting up libgnutls (3.8.10) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/liblz4_1.10.0-1_aarch64.deb …
Unpacking liblz4 (1.10.0-1) over (1.10.0) …
Setting up liblz4 (1.10.0-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/archives/sed_4.9-2_aarch64.deb …
Unpacking sed (4.9-2) over (4.9-1) …
Setting up sed (4.9-2) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libnghttp3_1.13.1_aarch64.deb …
Unpacking libnghttp3 (1.13.1) over (1.8.0) …
Setting up libnghttp3 (1.13.1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libssh2_1.11.1-1_aarch64.deb …
Unpacking libssh2 (1.11.1-1) over (1.11.1) …
Setting up libssh2 (1.11.1-1) …
(Reading database … 17349 files and directories currently installed.)
Preparing to unpack …/libcurl_8.17.0_aarch64.deb …
Unpacking libcurl (8.17.0) over (8.12.1) …
Setting up libcurl (8.17.0) …
(Reading database … 17365 files and directories currently installed.)
Preparing to unpack …/curl_8.17.0_aarch64.deb …
Unpacking curl (8.17.0) over (8.12.1) …
Setting up curl (8.17.0) …
(Reading database … 17365 files and directories currently installed.)
Preparing to unpack …/dash_0.5.12-1_aarch64.deb …
Unpacking dash (0.5.12-1) over (0.5.12) …
Setting up dash (0.5.12-1) …
(Reading database … 17365 files and directories currently installed.)
Preparing to unpack …/libmpfr_4.2.1-1_aarch64.deb …
Unpacking libmpfr (4.2.1-1) over (4.2.1) …
Setting up libmpfr (4.2.1-1) …
(Reading database … 17365 files and directories currently installed.)
Preparing to unpack …/readline_8.3.1-2_aarch64.deb …
Unpacking readline (8.3.1-2) over (8.2.13) …
Setting up readline (8.3.1-2) …
(Reading database … 17370 files and directories currently installed.)
Preparing to unpack …/gawk_5.3.1-2_aarch64.deb …
Unpacking gawk (5.3.1-2) over (5.3.0) …
Setting up gawk (5.3.1-2) …
(Reading database … 17368 files and directories currently installed.)
Preparing to unpack …/procps_3.3.17-6_aarch64.deb …
Unpacking procps (3.3.17-6) over (3.3.17-5) …
Setting up procps (3.3.17-6) …
(Reading database … 17368 files and directories currently installed.)
Preparing to unpack …/psmisc_23.7-1_aarch64.deb …
Unpacking psmisc (23.7-1) over (23.7) …
Setting up psmisc (23.7-1) …
(Reading database … 17368 files and directories currently installed.)
Preparing to unpack …/termux-am_0.8.0-2_all.deb …
Unpacking termux-am (0.8.0-2) over (0.8.0-1) …
Setting up termux-am (0.8.0-2) …
(Reading database … 17368 files and directories currently installed.)
Preparing to unpack …/termux-am-socket_1.5.0-1_aarch64.deb …
Unpacking termux-am-socket (1.5.0-1) over (1.5.0) …
Setting up termux-am-socket (1.5.0-1) …
(Reading database … 17368 files and directories currently installed.)
Preparing to unpack …/termux-core_0.4.0-1_aarch64.deb …
Unpacking termux-core (0.4.0-1) over (0.3.0) …
Setting up termux-core (0.4.0-1) …
(Reading database … 17369 files and directories currently installed.)
Preparing to unpack …/termux-exec_1%3a2.4.0-1_aarch64.deb …
Unpacking termux-exec (1:2.4.0-1) over (1:2.3.0) …
Setting up termux-exec (1:2.4.0-1) …
termux-exec.postinst: Start
termux-exec.postinst: android_build_version_sdk: '36'
termux-exec: Setting primary Termux '$LD_PRELOAD' library in 'libtermux-exec-ld-preload.so' to '/data/data/com.termux/files/usr/lib/libtermux-exec-direct-ld-preload.so'
termux-exec.postinst: End
(Reading database … 17372 files and directories currently installed.)
Preparing to unpack …/libsmartcols_2.41.2_aarch64.deb …
Unpacking libsmartcols (2.41.2) over (2.40.2-3) …
Setting up libsmartcols (2.41.2) …
(Reading database … 17372 files and directories currently installed.)
Preparing to unpack …/libcap-ng_2%3a0.8.5-1_aarch64.deb …
Unpacking libcap-ng (2:0.8.5-1) over (2:0.8.5) …
Setting up libcap-ng (2:0.8.5-1) …
(Reading database … 17372 files and directories currently installed.)
Preparing to unpack …/util-linux_2.41.2_aarch64.deb …
Unpacking util-linux (2.41.2) over (2.40.2-3) …
Setting up util-linux (2.41.2) …
(Reading database … 17378 files and directories currently installed.)
Preparing to unpack …/dialog_1.3-20240307-1_aarch64.deb …
Unpacking dialog (1.3-20240307-1) over (1.3-20240307-0) …
Setting up dialog (1.3-20240307-1) …
(Reading database … 17378 files and directories currently installed.)
Preparing to unpack …/termux-tools_1.46.0+really1.45.0-1_aarch64.deb …
Unpacking termux-tools (1.46.0+really1.45.0-1) over (1.45.0) …
Setting up termux-tools (1.46.0+really1.45.0-1) …
(Reading database … 17378 files and directories currently installed.)
Preparing to unpack …/termux-keyring_3.13_all.deb …
Unpacking termux-keyring (3.13) over (3.12-1) …
Setting up termux-keyring (3.13) …
(Reading database … 17381 files and directories currently installed.)
Preparing to unpack …/xxhash_0.8.3-1_aarch64.deb …
Unpacking xxhash (0.8.3-1) over (0.8.3) …
Setting up xxhash (0.8.3-1) …
(Reading database … 17381 files and directories currently installed.)
Preparing to unpack …/apt_2.8.1-2_aarch64.deb …
Unpacking apt (2.8.1-2) over (2.8.1-1) …
Setting up apt (2.8.1-2) …

Configuration file '/data/data/com.termux/files/usr/etc/apt/sources.list'
 ⟹ File on system created by you or by a script.
 ⟹ File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** sources.list (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /data/data/com.termux/files/usr/etc/apt/sources.list …
(Reading database … 17381 files and directories currently installed.)
Preparing to unpack …/bash_5.3.3-1_aarch64.deb …
Unpacking bash (5.3.3-1) over (5.2.37-2) …
Setting up bash (5.3.3-1) …

Configuration file '/data/data/com.termux/files/usr/etc/bash.bashrc'
 ⟹ File on system created by you or by a script.
 ⟹ File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** bash.bashrc (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /data/data/com.termux/files/usr/etc/bash.bashrc …
(Reading database … 17388 files and directories currently installed.)
Preparing to unpack …/00-command-not-found_3.2-6_aarch64.deb …
Unpacking command-not-found (3.2-6) over (2.4.0-68) …
Preparing to unpack …/01-debianutils_5.23.2-1_aarch64.deb …
Unpacking debianutils (5.23.2-1) over (5.21) …
Preparing to unpack …/02-dos2unix_7.5.2-1_aarch64.deb …
Unpacking dos2unix (7.5.2-1) over (7.5.2) …
Preparing to unpack …/03-ed_1.22.3_aarch64.deb …
Unpacking ed (1.22.3) over (1.21.1) …
Preparing to unpack …/04-inetutils_2.6-1_aarch64.deb …
Unpacking inetutils (2.6-1) over (2.6) …
Preparing to unpack …/05-libtirpc_1.3.7-1_aarch64.deb …
Unpacking libtirpc (1.3.7-1) over (1.3.6) …
Preparing to unpack …/06-lsof_4.99.5-2_aarch64.deb …
Unpacking lsof (4.99.5-2) over (4.99.4) …
Preparing to unpack …/07-nano_8.7_aarch64.deb …
Unpacking nano (8.7) over (8.3) …
Preparing to unpack …/08-net-tools_2.10.0-1_aarch64.deb …
Unpacking net-tools (2.10.0-1) over (2.10.0) …
Preparing to unpack …/09-patch_2.8-1_aarch64.deb …
Unpacking patch (2.8-1) over (2.7.6-4) …
Preparing to unpack …/10-unzip_6.0-10_aarch64.deb …
Unpacking unzip (6.0-10) over (6.0-9) …
Setting up libtirpc (1.3.7-1) …
Setting up net-tools (2.10.0-1) …
Setting up inetutils (2.6-1) …
Setting up unzip (6.0-10) …
Setting up ed (1.22.3) …
Setting up command-not-found (3.2-6) …
Setting up patch (2.8-1) …
Setting up lsof (4.99.5-2) …
Setting up nano (8.7) …
update-alternatives: updating alternative /data/data/com.termux/files/usr/bin/nano because link group editor has changed slave links
update-alternatives: warning: skipping updating manpage database as 'makewhatis' command from 'mandoc' package is not installed
Setting up debianutils (5.23.2-1) …
Setting up dos2unix (7.5.2-1) …
~ $ pkg install libjpeg-turbo libpng freetype libwebppython-dev clang
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[] https://packages-cf.termux.dev/apt/termux-main/: ok
Get:1 https://packages-cf.termux.dev/apt/termux-main stable InRelease [14.0 kB]
Get:2 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 Packages [550 kB]
Fetched 564 kB in 5s (113 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
47 packages can be upgraded. Run 'apt list —upgradable' to see them.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
E: Unable to locate package libwebppython-dev
~ $ pkg install libwebp python-dev
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:
[ ] https://packages-cf.termux.dev/apt/termux-main/: ok
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package python-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python

E: Package 'python-dev' has no installation candidate
~ $ pip install flask qrcode[pil]
Collecting flask
  Using cached flask-3.1.3-py3-none-any.whl.metadata (3.2 kB)
Collecting qrcode[pil]
  Using cached qrcode-8.2-py3-none-any.whl.metadata (17 kB)
Collecting blinker≥1.9.0 (from flask)
  Using cached blinker-1.9.0-py3-none-any.whl.metadata (1.6 kB)
Collecting click≥8.1.3 (from flask)
  Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting itsdangerous≥2.2.0 (from flask)
  Using cached itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)
Collecting jinja2≥3.1.2 (from flask)
  Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting markupsafe≥2.1.1 (from flask)
  Using cached markupsafe-3.0.3-cp312-cp312-linux_aarch64.whl
Collecting werkzeug≥3.1.0 (from flask)
  Using cached werkzeug-3.1.6-py3-none-any.whl.metadata (4.0 kB)
Collecting pillow≥9.1.0 (from qrcode[pil])
  Using cached pillow-12.1.1.tar.gz (47.0 MB)
  Installing build dependencies … done
  Getting requirements to build wheel … done
  Preparing metadata (pyproject.toml) … done
Using cached flask-3.1.3-py3-none-any.whl (103 kB)
Using cached qrcode-8.2-py3-none-any.whl (45 kB)
Using cached blinker-1.9.0-py3-none-any.whl (8.5 kB)
Using cached click-8.3.1-py3-none-any.whl (108 kB)
Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
Using cached werkzeug-3.1.6-py3-none-any.whl (225 kB)
Building wheels for collected packages: pillow
  Building wheel for pillow (pyproject.toml) … error
  error: subprocess-exited-with-error

  × Building wheel for pillow (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [235 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/AvifImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/BdfFontFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/BlpImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/BmpImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/BufrStubImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ContainerIO.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/CurImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/DcxImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/DdsImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/EpsImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ExifTags.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/FitsImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/FliImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/FontFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/FpxImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/FtexImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GbrImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GdImageFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GifImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GimpGradientFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GimpPaletteFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/GribStubImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/Hdf5StubImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/IcnsImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/IcoImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/Image.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageChops.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageCms.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageColor.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageDraw.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageDraw2.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageEnhance.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageFilter.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageFont.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageGrab.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageMath.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageMode.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageMorph.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageOps.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImagePalette.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImagePath.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageQt.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageSequence.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageShow.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageStat.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageText.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageTk.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageTransform.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImageWin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/ImtImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/IptcImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/Jpeg2KImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/JpegImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/JpegPresets.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/McIdasImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/MicImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/MpegImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/MpoImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/MspImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PSDraw.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PaletteFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PalmImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PcdImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PcfFontFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PcxImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PdfImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PdfParser.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PixarImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/TarIO.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PngImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PpmImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/PsdImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/QoiImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/SgiImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/SpiderImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/SunImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/TgaImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/TiffImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/TiffTags.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/WalImageFile.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/WebPImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/WmfImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/XVThumbImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/XbmImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/XpmImagePlugin.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/__init__.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/__main__.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_binary.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_deprecate.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_tkinter_finder.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_typing.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_util.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_version.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/features.py → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/report.py → build/lib.linux-aarch64-cpython-312/PIL
      running egg_info
      writing src/pillow.egg-info/PKG-INFO
      writing dependency_links to src/pillow.egg-info/dependency_links.txt
      writing requirements to src/pillow.egg-info/requires.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 files found matching '*.txt'
      warning: no files found matching '.flake8'
      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 found matching 'renovate.json'
      warning: no previously-included files found matching 'Tests/images/README.md'
      warning: no previously-included files found matching 'Tests/images/crash*.tif'
      warning: no previously-included files found matching 'Tests/images/string_dimension.tiff'
      warning: no previously-included files matching '.git*' found anywhere in distribution
      warning: no previously-included files matching '*.so' found anywhere in distribution
      no previously-included directories found matching '.ci'                                                   no previously-included directories found matching 'wheels'
      no previously-included directories found matching 'winbuild/build'
      no previously-included directories found matching 'winbuild/depends'
      no previously-included directories found matching 'Tests/errors'                                          no previously-included directories found matching 'Tests/images/jpeg2000'                                 no previously-included directories found matching 'Tests/images/msp'                                      no previously-included directories found matching 'Tests/images/picins'                                   no previously-included directories found matching 'Tests/images/sunraster'                                no previously-included directories found matching 'Tests/test-images'                                     adding license file 'LICENSE'
      writing manifest file 'src/pillow.egg-info/SOURCES.txt'
      copying src/PIL/_avif.pyi → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_imaging.pyi → build/lib.linux-aarch64-cpython-312/PIL
      copying src/PIL/_imagingcms.pyi → build/lib.linux-aarch64-cpython-312/PIL                                copying src/PIL/_imagingft.pyi → build/lib.linux-aarch64-cpython-312/PIL                                 copying src/PIL/_imagingmath.pyi → build/lib.linux-aarch64-cpython-312/PIL                               copying src/PIL/_imagingmorph.pyi → build/lib.linux-aarch64-cpython-312/PIL                              copying src/PIL/_imagingtk.pyi → build/lib.linux-aarch64-cpython-312/PIL                                 copying src/PIL/_webp.pyi → build/lib.linux-aarch64-cpython-312/PIL                                      copying src/PIL/py.typed → build/lib.linux-aarch64-cpython-312/PIL                                       running build_clib
      building 'pil_imaging_mode' library                  creating build/temp.linux-aarch64-cpython-312/src/libImaging                                              aarch64-linux-android-clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC -c src/libImaging/Mode.c -o build/temp.linux-aarch64-cpython-312/src/libImaging/Mode.o
      llvm-ar rcs build/temp.linux-aarch64-cpython-312/libpil_imaging_mode.a build/temp.linux-aarch64-cpython-312/src/libImaging/Mode.o                              running build_ext


      The headers or library files could not be found for jpeg,
      a required dependency when compiling Pillow from source.

      Please see the install instructions at:
         https://pillow.readthedocs.io/en/latest/installation/basic-installation.html

      Traceback (most recent call last):
        File "<string>", line 1101, in <module>              File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
          return distutils.core.setup(attrs)  # type: ignore[return-value]
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 186, in setup
          return run_commands(dist)                                   ^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 202, in run_commands                                                       dist.run_commands()
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1000, in run_commands
          self.run_command(cmd)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
          cmd_obj.run()                                      File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py", line 370, in run                                                            self.run_command("build")
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command
          self.distribution.run_command(command)             File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command                                                       cmd_obj.run()
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)                         File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 341, in run_command                                                         self.distribution.run_command(command)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 1107, in run_command
          super().run_command(command)
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 1019, in run_command
          cmd_obj.run()                                      File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/command/build_ext.py", line 97, in run
          build ext.run(self)                               File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 367, in run                                                   self.build_extensions()
        File "<string>", line 897, in build_extensions
      RequiredDependencyException: jpeg

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
          main()
        File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
          json_out["return_val"] = hook( hook_input["kwargs"])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 280, in build_wheel
          return build backend().build_wheel(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^               File "/data/data/com.termux/files/usr/tmp/pip-install-6uux7pi6/pillow_094bbceb25664f5f96eceee9372926bb/_custom_build/backend.py", line 26, in build_wheel
          return super().build_wheel(wheel_directory, config_settings, metadata_directory)                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 441, in build_wheel                                                             return build(['bdist wheel', '—dist-info-dir', str(metadata_directory)])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                              File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 429, in build             return self. build_with_temp_dir(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^                  File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in build with_temp_dir
          self.run_setup()                                   File "/data/data/com.termux/files/usr/tmp/pip-install-6uux7pi6/pillow_094bbceb25664f5f96eceee9372926bb/_custom_build/backend.py", line 20, in run_setup          return super().run_setup(setup_script)                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/data/data/com.termux/files/usr/tmp/pip-build-env-pjh12tjv/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 317, in run_setup
          exec(code, locals())                               File "<string>", line 1118, in <module>            RequiredDependencyException:

      The headers or library files could not be found for jpeg,
      a required dependency when compiling Pillow from source.
      Please see the install instructions at:                 https://pillow.readthedocs.io/en/latest/installation/basic-installation.html


      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pillow            Failed to build pillow                               error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> pillow                                           ~ $ pkg install libjpeg-turbo libpng python-dev clang pkg-config freetype libwebp
No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'          Checking availability of current mirror:
[] https://packages-cf.termux.dev/apt/termux-main/: ok                                                   Reading package lists… Done
Building dependency tree… Done                     Reading state information… Done                    Package python-dev is not available, but is referred to by another package.                               This may mean that the package is missing, has been obsoleted, or
is only available from another source                However the following packages replace it:             python

E: Package 'python-dev' has no installation candidate~ $ pkg install libjpeg-turbo libpng clang pkg-config freetype libwebp                                    No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:             [ ] https://packages-cf.termux.dev/apt/termux-main/: ok
Reading package lists… Done                        Building dependency tree… Done                     Reading state information… Done
pkg-config is already the newest version (0.29.2-3). pkg-config set to manually installed.                The following additional packages will be installed:
  brotli giflib libllvm libtiff lld llvm             The following NEW packages will be installed:          brotli freetype giflib libjpeg-turbo libpng
  libtiff libwebp                                    The following packages will be upgraded:               clang libllvm lld llvm
4 upgraded, 7 newly installed, 0 to remove and 43 not upgraded.                                           Need to get 81.0 MB of archives.
After this operation, 18.6 MB of additional disk space will be used.                                      Do you want to continue? [Y/n] y
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 brotli aarch64 1.2.0 [341 kB]    Get:2 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 llvm aarch64 21.1.8-2 [14.8 MB]  Get:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 clang aarch64 21.1.8-2 [30.4 MB]
38% [3 clang 19.8 MB/30.4 MB 65%]                                                             158 kB/s 4miGet:4 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 lld aarch64 21.1.8-2 [2814 kB]
Get:5 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libllvm aarch64 21.1.8-2 [30.4 MB]
Get:6 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libpng aarch64 1.6.55 [195 kB]   Get:7 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 freetype aarch64 2.14.2 [412 kB]
Get:8 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 giflib aarch64 5.2.2-1 [18.2 kB]
Get:9 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libjpeg-turbo aarch64 3.1.3 [383 kB]                                                  Get:10 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libtiff aarch64 4.7.1 [848 kB]
Get:11 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libwebp aarch64 1.6.0-rc1-0 [329 kB]                                                 Fetched 81.0 MB in 4min 29s (301 kB/s)
Selecting previously unselected package brotli.      (Reading database … 17388 files and directories currently installed.)
Preparing to unpack …/00-brotli_1.2.0_aarch64.deb …
Unpacking brotli (1.2.0) …
Preparing to unpack …/01-llvm_21.1.8-2_aarch64.deb …                                                  Unpacking llvm (21.1.8-2) over (21.1.6) …
Preparing to unpack …/02-clang_21.1.8-2_aarch64.deb …
Unpacking clang (21.1.8-2) over (21.1.6) …         Preparing to unpack …/03-lld_21.1.8-2_aarch64.deb …
Unpacking lld (21.1.8-2) over (21.1.6) …
Preparing to unpack …/04-libllvm_21.1.8-2_aarch64.deb …
Unpacking libllvm (21.1.8-2) over (21.1.6) …
Selecting previously unselected package libpng.
Preparing to unpack …/05-libpng_1.6.55_aarch64.deb …
Unpacking libpng (1.6.55) …
Selecting previously unselected package freetype.    Preparing to unpack …/06-freetype_2.14.2_aarch64.deb …
Unpacking freetype (2.14.2) …
Selecting previously unselected package giflib.      Preparing to unpack …/07-giflib_5.2.2-1_aarch64.deb …
Unpacking giflib (5.2.2-1) …
Selecting previously unselected package libjpeg-turbo.
Preparing to unpack …/08-libjpeg-turbo_3.1.3_aarch64.deb …
Unpacking libjpeg-turbo (3.1.3) …                  Selecting previously unselected package libtiff.
Preparing to unpack …/09-libtiff_4.7.1_aarch64.deb …                                                  Unpacking libtiff (4.7.1) …
Selecting previously unselected package libwebp.     Preparing to unpack …/10-libwebp_1.6.0-rc1-0_aarch64.deb …
Unpacking libwebp (1.6.0-rc1-0) …
Setting up libpng (1.6.55) …                       Setting up libjpeg-turbo (3.1.3) …
Setting up libllvm (21.1.8-2) …
Setting up giflib (5.2.2-1) …
Setting up brotli (1.2.0) …                        Setting up lld (21.1.8-2) …
Setting up libtiff (4.7.1) …
Setting up freetype (2.14.2) …
Setting up llvm (21.1.8-2) …                       Setting up libwebp (1.6.0-rc1-0) …
Setting up clang (21.1.8-2) …
~ $ pip install flask qrcode[pil]                    Collecting flask
  Using cached flask-3.1.3-py3-none-any.whl.metadata (3.2 kB)                                             Collecting qrcode[pil]
  Using cached qrcode-8.2-py3-none-any.whl.metadata (17 kB)
Collecting blinker≥1.9.0 (from flask)                 Using cached blinker-1.9.0-py3-none-any.whl.metadata (1.6 kB)
Collecting click≥8.1.3 (from flask)
  Using cached click-8.3.1-py3-none-any.whl.metadata (2.6 kB)
Collecting itsdangerous≥2.2.0 (from flask)
  Using cached itsdangerous-2.2.0-py3-none-any.whl.metadata (1.9 kB)                                      Collecting jinja2≥3.1.2 (from flask)
  Using cached jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
Collecting markupsafe≥2.1.1 (from flask)              Using cached markupsafe-3.0.3-cp312-cp312-linux_aarch64.whl
Collecting werkzeug≥3.1.0 (from flask)                Using cached werkzeug-3.1.6-py3-none-any.whl.metadata (4.0 kB)                                          Collecting pillow≥9.1.0 (from qrcode[pil])
  Using cached pillow-12.1.1.tar.gz (47.0 MB)
  Installing build dependencies … done
  Getting requirements to build wheel … done         Preparing metadata (pyproject.toml) … done
Using cached flask-3.1.3-py3-none-any.whl (103 kB)
Using cached qrcode-8.2-py3-none-any.whl (45 kB)
Using cached blinker-1.9.0-py3-none-any.whl (8.5 kB)
Using cached click-8.3.1-py3-none-any.whl (108 kB)
Using cached itsdangerous-2.2.0-py3-none-any.whl (16 kB)
Using cached jinja2-3.1.6-py3-none-any.whl (134 kB)
Using cached werkzeug-3.1.6-py3-none-any.whl (225 kB)
Building wheels for collected packages: pillow
  Building wheel for pillow (pyproject.toml) … done
  Created wheel for pillow: filename=pillow-12.1.1-cp312-cp312-linux_aarch64.whl size=1200433 sha256=bd8fd34796d4b131f670c1e8fcc2de7b7124b824d20f09f26f55dbd903067bdb
  Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/05/f2/ae/60eba7108f4635d4ebefe50da1192219c87f17d63b67cfb9b9
Successfully built pillow
Installing collected packages: qrcode, pillow, markupsafe, itsdangerous, click, blinker, werkzeug, jinja2, flask
Successfully installed blinker-1.9.0 click-8.3.1 flask-3.1.3 itsdangerous-2.2.0 jinja2-3.1.6 markupsafe-3.0.3 pillow-12.1.1 qrcode-8.2 werkzeug-3.1.6
~ $ mkdir meshagora_prototype && cd meshagora_prototype
~/meshagora_prototype $ git clone https://github.com/JL-Kruger/meshagora.git
The program git is not installed. Install it by executing:
 pkg install git
~/meshagora_prototype $ pkg install git              No mirror or mirror group selected. You might want to select one by running 'termux-change-repo'
Checking availability of current mirror:             [] https://packages-cf.termux.dev/apt/termux-main/: ok
Reading package lists… Done                        Building dependency tree… Done
Reading state information… Done
The following additional packages will be installed:   krb5 ldns libdb libedit libresolv-wrapper openssh
  openssh-sftp-server termux-auth
Suggested packages:                                    perl termux-services
The following NEW packages will be installed:
  git krb5 ldns libdb libedit libresolv-wrapper
  openssh openssh-sftp-server termux-auth
0 upgraded, 9 newly installed, 0 to remove and 43 not upgraded.
Need to get 7440 kB of archives.
After this operation, 45.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 git aarch64 2.53.0 [4639 kB]     Get:2 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libresolv-wrapper aarch64 1.1.7-6 [11.5 kB]
Get:3 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libdb aarch64 18.1.40-5 [509 kB]
Get:4 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 krb5 aarch64 1.22.2 [902 kB]
Get:5 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 ldns aarch64 1.8.4-1 [303 kB]
Get:6 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 libedit aarch64 20240517-3.1-1 [79.1 kB]
Get:7 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 openssh-sftp-server aarch64 10.2p1-1 [55.4 kB]
Get:8 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 termux-auth aarch64 1.5.0-1 [6996 B]                                                  Get:9 https://packages-cf.termux.dev/apt/termux-main stable/main aarch64 openssh aarch64 10.2p1-1 [934 kB]Fetched 7440 kB in 5s (1551 kB/s)
Selecting previously unselected package git.         (Reading database … 18003 files and directories currently installed.)                                   Preparing to unpack …/0-git_2.53.0_aarch64.deb …
Unpacking git (2.53.0) …
Selecting previously unselected package libresolv-wrapper.                                                Preparing to unpack …/1-libresolv-wrapper_1.1.7-6_aarch64.deb …
Unpacking libresolv-wrapper (1.1.7-6) …
Selecting previously unselected package libdb.
Preparing to unpack …/2-libdb_18.1.40-5_aarch64.deb …
Unpacking libdb (18.1.40-5) …                      Selecting previously unselected package krb5.
Preparing to unpack …/3-krb5_1.22.2_aarch64.deb …Unpacking krb5 (1.22.2) …
Selecting previously unselected package ldns.        Preparing to unpack …/4-ldns_1.8.4-1_aarch64.deb …                                                    Unpacking ldns (1.8.4-1) …
Selecting previously unselected package libedit.     Preparing to unpack …/5-libedit_20240517-3.1-1_aarch64.deb …                                          Unpacking libedit (20240517-3.1-1) …
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack …/6-openssh-sftp-server_10.2p1-1_aarch64.deb …
Unpacking openssh-sftp-server (10.2p1-1) …         Selecting previously unselected package termux-auth.
Preparing to unpack …/7-termux-auth_1.5.0-1_aarch64.deb …
Unpacking termux-auth (1.5.0-1) …                  Selecting previously unselected package openssh.
Preparing to unpack …/8-openssh_10.2p1-1_aarch64.deb …
Unpacking openssh (10.2p1-1) …                     Setting up libedit (20240517-3.1-1) …
Setting up openssh-sftp-server (10.2p1-1) …        Setting up ldns (1.8.4-1) …
Setting up git (2.53.0) …                          Setting up libresolv-wrapper (1.1.7-6) …
Setting up termux-auth (1.5.0-1) …                 Setting up libdb (18.1.40-5) …
Setting up krb5 (1.22.2) …                         Setting up openssh (10.2p1-1) …
Generating public/private rsa key pair.              Your identification has been saved in /data/data/com.termux/files/usr/etc/ssh/ssh_host_rsa_key            Your public key has been saved in /data/data/com.termux/files/usr/etc/ssh/ssh_host_rsa_key.pub            The key fingerprint is:                              If you plan to use the 'ssh-agent'
it is recommended to run it as a service.            Run 'pkg i termux-services'
to install the ('runit') service manager             
You can enable the ssh-agent service                 using 'sv-enable ssh-agent'
You can also enable sshd to autostart                using 'sv-enable sshd'
~/meshagora_prototype $ git clone https://github.com/JL-Kruger/meshagora.git
Cloning into 'meshagora'…                          remote: Enumerating objects: 17, done.               remote: Counting objects: 100% (17/17), done.
remote: Compressing objects: 100% (11/11), done.     remote: Total 17 (delta 5), reused 14 (delta 5), pack-reused 0 (from 0)                                   Receiving objects: 100% (17/17), 49.96 KiB | 289.00 KiB/s, done.                                          Resolving deltas: 100% (5/5), done.
~/meshagora_prototype $ python3 meshagora.py         python3: can't open file '/data/data/com.termux/files/home/meshagora_prototype/meshagora.py': [Errno 2] No such file or directory
~/meshagora_prototype $ ls -a                        .  ..  meshagora
~/meshagora_prototype $ cd meshagora                 ~/meshagora_prototype/meshagora $ ls -a
.     .gitignore  README.md                          ..    DEPLOY.md   meshagora.py
.git  LICENSE     meshagora_spec_v2_3.md             ~/meshagora_prototype/meshagora $ python3 meshagora.py                                                    ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡==
MESHAGORA v2.3 — SOCIAL SANDBOX                      Join URL         : http://127.0.0.1:5000/join
Admin Post Key   : 😡👻💀🤔                          Trusted Post Key : 😀🌈
Default Post Key : 🌙😀                              ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡==
  Serving Flask app 'meshagora'                        Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.                                           Running on all addresses (0.0.0.0)
   Running on http://127.0.0.1:5000                   * Running on http://127.0.0.1:5000
Press CTRL+C to quit                                 ~/meshagora_prototype/meshagora
