termux / termux-packages

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

[Bug]: termux homebridge error ndk path #20532

Closed DerSchonwieder closed 5 months ago

DerSchonwieder commented 5 months ago

Problem description

Hello termux team...I have multiple errors while installing homebridge on android and i cant fix it. Tried to edit the binding.gyp and reinstalled ndk and many other things but it dont work. Here is the report.

Transcript

Welcome to Termux!

Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on libera.chat

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues

~ $ curl https://raw.githubusercontent.com/Orachigami/homebridge-android/main/setup.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:-  0  1492    0     0    0     0      0      0 --:-100  1492  100  1492    0     0   4226      0 --:--:-- --:--:-- --:--:--  4226
== Setting up Dpkg options ==
== Removing invalid repositories ==
Reading package lists... Done
Building dependency tree... Done
Note, selecting 'apt' instead of 'game-repo'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Note, selecting 'apt' instead of 'science-repo'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
== Updating repositories and upgrading packages ==
Checking availability of current mirror: ok
Get:1 https://packages.termux.dev/apt/termux-main stable InRelease [14.0 kB]
Get:2 https://packages.termux.dev/apt/termux-main stable/main arm Packages [503 kB]
Fetched 517 kB in 3s (200 kB/s)
Reading package lists... Done
Building dependency tree... Done
65 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  bash-completion libmd libnghttp3 libsmartcols
  libunbound resolv-conf zstd
The following packages will be upgraded:
  apt bash ca-certificates command-not-found
  coreutils curl dash debianutils dialog
  diffutils dos2unix dpkg ed findutils gawk gpgv
  grep gzip inetutils less libandroid-support
  libassuan libc++ libcap-ng libcrypt libcurl
  libevent libexpat libgcrypt libgmp libgnutls
  libgpg-error libiconv libidn2 liblz4 liblzma
  libmpfr libnettle libnghttp2 libnpth libssh2
  libtirpc libunistring lsof nano ncurses
  openssl pcre2 procps psmisc readline sed tar
  termux-am termux-am-socket termux-exec
  termux-keyring termux-licenses termux-tools
  unbound unzip util-linux xxhash xz-utils zlib
65 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.3 MB of archives.
After this operation, 9667 kB of additional disk space will be used.
Get:1 https://packages.termux.dev/apt/termux-main stable/main arm liblzma arm 5.6.2 [183 kB]
Get:2 https://packages.termux.dev/apt/termux-main stable/main arm xz-utils arm 5.6.2 [65.8 kB]
Get:3 https://packages.termux.dev/apt/termux-main stable/main arm zlib arm 1.3.1 [61.1 kB]
Get:4 https://packages.termux.dev/apt/termux-main stable/main arm zstd arm 1.5.6 [347 kB]
Get:5 https://packages.termux.dev/apt/termux-main stable/main arm libiconv arm 1.17 [550 kB]
Get:6 https://packages.termux.dev/apt/termux-main stable/main arm libandroid-support arm 28-3 [10.2 kB]
Get:7 https://packages.termux.org/apt/termux-main stable/main arm libc++ arm 26b [280 kB]
Get:8 https://packages.termux.dev/apt/termux-main stable/main arm libgmp arm 6.3.0 [298 kB]
Get:9 https://packages.termux.dev/apt/termux-main stable/main arm coreutils arm 9.5 [751 kB]
Get:10 https://packages.termux.dev/apt/termux-main stable/main arm libmd arm 1.1.0 [38.5 kB]
Get:11 https://packages.termux.dev/apt/termux-main stable/main arm diffutils arm 3.10 [147 kB]
Get:12 https://packages.termux.dev/apt/termux-main stable/main arm gzip arm 1.13 [73.4 kB]
Get:13 https://packages.termux.dev/apt/termux-main stable/main arm ncurses arm 6.4.20231001-4 [506 kB]
Get:14 https://packages.termux.dev/apt/termux-main stable/main arm pcre2 arm 10.44 [882 kB]
Get:15 https://packages.termux.dev/apt/termux-main stable/main arm less arm 633-1 [100.0 kB]
Get:16 https://packages.termux.dev/apt/termux-main stable/main arm tar arm 1.35 [328 kB]
Get:17 https://packages.termux.dev/apt/termux-main stable/main arm dpkg arm 1.22.6 [277 kB]
Get:18 https://packages.termux.dev/apt/termux-main stable/main arm findutils arm 4.9.0-2 [229 kB]
Get:19 https://packages.termux.dev/apt/termux-main stable/main arm libgpg-error arm 1.49 [106 kB]
Get:20 https://packages.termux.dev/apt/termux-main stable/main arm libassuan arm 2.5.7 [68.7 kB]
Get:21 https://packages.termux.dev/apt/termux-main stable/main arm libgcrypt arm 1.10.3 [426 kB]
Get:22 https://packages.termux.dev/apt/termux-main stable/main arm libnpth arm 1.6-2 [10.5 kB]
Get:23 https://packages.termux.dev/apt/termux-main stable/main arm gpgv arm 2.4.5-1 [166 kB]
Get:24 https://packages.termux.dev/apt/termux-main stable/main arm grep arm 3.11 [116 kB]
Get:25 https://packages.termux.dev/apt/termux-main stable/main arm resolv-conf arm 1.3 [976 B]
Get:26 https://packages.termux.dev/apt/termux-main stable/main arm libexpat arm 2.6.2 [78.8 kB]
Get:27 https://packages.termux.dev/apt/termux-main stable/main arm unbound arm 1.20.0 [528 kB]
Get:28 https://packages.termux.dev/apt/termux-main stable/main arm libevent arm 2.1.12-2 [190 kB]
Get:29 https://packages.termux.dev/apt/termux-main stable/main arm libnghttp2 arm 1.62.1 [92.5 kB]
Get:30 https://packages.termux.dev/apt/termux-main stable/main arm ca-certificates all 1:2024.03.11-2 [126 kB]
Get:31 https://packages.termux.dev/apt/termux-main stable/main arm openssl arm 1:3.2.1-1 [1639 kB]
Get:32 https://packages.termux.dev/apt/termux-main stable/main arm libunbound arm 1.20.0 [336 kB]
Get:33 https://packages.termux.dev/apt/termux-main stable/main arm libnettle arm 3.9.1 [396 kB]
Get:34 https://packages.termux.dev/apt/termux-main stable/main arm libunistring arm 1.1 [517 kB]
Get:35 https://packages.termux.dev/apt/termux-main stable/main arm libidn2 arm 2.3.7 [102 kB]
Get:36 https://packages.termux.dev/apt/termux-main stable/main arm libgnutls arm 3.8.5 [695 kB]
Get:37 https://packages.termux.dev/apt/termux-main stable/main arm liblz4 arm 1.9.4 [87.9 kB]
Get:38 https://packages.termux.dev/apt/termux-main stable/main arm sed arm 4.9-1 [111 kB]
Get:39 https://packages.termux.dev/apt/termux-main stable/main arm termux-am all 0.8.0 [577 kB]
Get:40 https://packages.termux.dev/apt/termux-main stable/main arm termux-am-socket arm 1.5.0 [10.4 kB]
Get:41 https://packages.termux.dev/apt/termux-main stable/main arm libnghttp3 arm 1.3.0 [60.3 kB]
Get:42 https://packages.termux.dev/apt/termux-main stable/main arm libssh2 arm 1.11.0 [192 kB]
Get:43 https://packages.termux.dev/apt/termux-main stable/main arm libcurl arm 8.8.0 [871 kB]
Get:44 https://packages.termux.dev/apt/termux-main stable/main arm curl arm 8.8.0 [201 kB]
Get:45 https://packages.termux.dev/apt/termux-main stable/main arm dash arm 0.5.12 [61.5 kB]
Get:46 https://packages.termux.dev/apt/termux-main stable/main arm libmpfr arm 4.2.1 [264 kB]
Get:47 https://packages.termux.dev/apt/termux-main stable/main arm readline arm 8.2.10 [224 kB]
Get:48 https://packages.termux.dev/apt/termux-main stable/main arm gawk arm 5.3.0 [765 kB]
Get:49 https://packages.termux.dev/apt/termux-main stable/main arm procps arm 3.3.17-5 [131 kB]
Get:50 https://packages.termux.dev/apt/termux-main stable/main arm psmisc arm 23.7 [38.7 kB]
Get:51 https://packages.termux.dev/apt/termux-main stable/main arm termux-exec arm 1:1.0 [3352 B]
Get:52 https://packages.termux.dev/apt/termux-main stable/main arm libsmartcols arm 2.39.3-4 [77.1 kB]
Get:53 https://packages.termux.dev/apt/termux-main stable/main arm util-linux arm 2.39.3-4 [599 kB]
Get:54 https://packages.termux.dev/apt/termux-main stable/main arm libcap-ng arm 2:0.8.5 [33.9 kB]
Get:55 https://packages.termux.dev/apt/termux-main stable/main arm dialog arm 1.3-20240307-0 [93.3 kB]
Get:56 https://packages.termux.dev/apt/termux-main stable/main arm termux-tools all 1.42.4 [30.6 kB]
Get:57 https://packages.termux.dev/apt/termux-main stable/main arm termux-keyring all 3.12 [39.4 kB]
Get:58 https://packages.termux.dev/apt/termux-main stable/main arm termux-licenses all 2.0-3 [52.2 kB]
Get:59 https://packages.termux.dev/apt/termux-main stable/main arm xxhash arm 0.8.2 [75.4 kB]
Get:60 https://packages.termux.dev/apt/termux-main stable/main arm apt arm 2.7.14 [967 kB]
Get:61 https://packages.termux.dev/apt/termux-main stable/main arm bash arm 5.2.26-1 [858 kB]
Get:62 https://packages.termux.dev/apt/termux-main stable/main arm libcrypt arm 0.2-5 [8344 B]
Get:63 https://packages.termux.dev/apt/termux-main stable/main arm bash-completion all 2.14.0 [183 kB]
Get:64 https://packages.termux.dev/apt/termux-main stable/main arm command-not-found arm 2.4.0-28 [82.0 kB]
Get:65 https://packages.termux.dev/apt/termux-main stable/main arm debianutils arm 5.19 [15.3 kB]
Get:66 https://packages.termux.dev/apt/termux-main stable/main arm dos2unix arm 7.5.2 [62.9 kB]
Get:67 https://packages.termux.dev/apt/termux-main stable/main arm ed arm 1.20.2 [39.1 kB]
Get:68 https://packages.termux.dev/apt/termux-main stable/main arm inetutils arm 2.4-1 [227 kB]
Get:69 https://packages.termux.dev/apt/termux-main stable/main arm libtirpc arm 1.3.4-1 [118 kB]
Get:70 https://packages.termux.dev/apt/termux-main stable/main arm lsof arm 4.99.3 [116 kB]
Get:71 https://packages.termux.dev/apt/termux-main stable/main arm nano arm 8.0 [213 kB]
Get:72 https://packages.termux.dev/apt/termux-main stable/main arm unzip arm 6.0-9 [114 kB]
Fetched 18.3 MB in 9s (1969 kB/s)
(Reading database ... 4112 files and directories currently installed.)
Preparing to unpack .../archives/liblzma_5.6.2_arm.deb ...
Unpacking liblzma (5.6.2) over (5.2.5-1) ...
Setting up liblzma (5.6.2) ...
(Reading database ... 4113 files and directories currently installed.)
Preparing to unpack .../xz-utils_5.6.2_arm.deb ...
Unpacking xz-utils (5.6.2) over (5.2.5-1) ...
Setting up xz-utils (5.6.2) ...
(Reading database ... 4113 files and directories currently installed.)
Preparing to unpack .../archives/zlib_1.3.1_arm.deb ...
Unpacking zlib (1.3.1) over (1.2.11-5) ...
Setting up zlib (1.3.1) ...
Selecting previously unselected package zstd.
(Reading database ... 4113 files and directories currently installed.)
Preparing to unpack .../archives/zstd_1.5.6_arm.deb ...
Unpacking zstd (1.5.6) ...
Setting up zstd (1.5.6) ...
(Reading database ... 4134 files and directories currently installed.)
Preparing to unpack .../archives/libiconv_1.17_arm.deb ...
Unpacking libiconv (1.17) over (1.16-3) ...
Setting up libiconv (1.17) ...
(Reading database ... 4135 files and directories currently installed.)
Preparing to unpack .../libandroid-support_28-3_arm.deb ...
Unpacking libandroid-support (28-3) over (28-2) ...
Setting up libandroid-support (28-3) ...
(Reading database ... 4135 files and directories currently installed.)
Preparing to unpack .../archives/libc++_26b_arm.deb ...
Unpacking libc++ (26b) over (23b-3) ...
Setting up libc++ (26b) ...
(Reading database ... 4135 files and directories currently installed.)
Preparing to unpack .../archives/libgmp_6.3.0_arm.deb ...
Unpacking libgmp (6.3.0) over (6.2.1) ...
Setting up libgmp (6.3.0) ...
(Reading database ... 4135 files and directories currently installed.)
Preparing to unpack .../archives/coreutils_9.5_arm.deb ...
Unpacking coreutils (9.5) over (9.0) ...
Setting up coreutils (9.5) ...
Selecting previously unselected package libmd.
(Reading database ... 4135 files and directories currently installed.)
Preparing to unpack .../archives/libmd_1.1.0_arm.deb ...
Unpacking libmd (1.1.0) ...
Setting up libmd (1.1.0) ...
(Reading database ... 4227 files and directories currently installed.)
Preparing to unpack .../diffutils_3.10_arm.deb ...
Unpacking diffutils (3.10) over (3.8) ...
Setting up diffutils (3.10) ...
(Reading database ... 4227 files and directories currently installed.)
Preparing to unpack .../apt/archives/gzip_1.13_arm.deb ...
Unpacking gzip (1.13) over (1.11-3) ...
Setting up gzip (1.13) ...
(Reading database ... 4225 files and directories currently installed.)
Preparing to unpack .../ncurses_6.4.20231001-4_arm.deb ...
Unpacking ncurses (6.4.20231001-4) over (6.2.20200725-6) ...
Setting up ncurses (6.4.20231001-4) ...
(Reading database ... 4240 files and directories currently installed.)
Preparing to unpack .../archives/pcre2_10.44_arm.deb ...
Unpacking pcre2 (10.44) over (10.39-2) ...
Setting up pcre2 (10.44) ...
(Reading database ... 4248 files and directories currently installed.)
Preparing to unpack .../archives/less_633-1_arm.deb ...
Unpacking less (633-1) over (590) ...
Setting up less (633-1) ...
(Reading database ... 4248 files and directories currently installed.)
Preparing to unpack .../apt/archives/tar_1.35_arm.deb ...
Unpacking tar (1.35) over (1.34) ...
Setting up tar (1.35) ...
(Reading database ... 4249 files and directories currently installed.)
Preparing to unpack .../archives/dpkg_1.22.6_arm.deb ...
Unpacking dpkg (1.22.6) over (1.21.1) ...
Setting up dpkg (1.22.6) ...
(Reading database ... 4257 files and directories currently installed.)
Preparing to unpack .../findutils_4.9.0-2_arm.deb ...
Unpacking findutils (4.9.0-2) over (4.8.0) ...
Setting up findutils (4.9.0-2) ...
(Reading database ... 4257 files and directories currently installed.)
Preparing to unpack .../libgpg-error_1.49_arm.deb ...
Unpacking libgpg-error (1.49) over (1.43) ...
Setting up libgpg-error (1.49) ...
(Reading database ... 4258 files and directories currently installed.)
Preparing to unpack .../libassuan_2.5.7_arm.deb ...
Unpacking libassuan (2.5.7) over (2.5.5) ...
Setting up libassuan (2.5.7) ...
(Reading database ... 4258 files and directories currently installed.)
Preparing to unpack .../libgcrypt_1.10.3_arm.deb ...
Unpacking libgcrypt (1.10.3) over (1.9.4) ...
Setting up libgcrypt (1.10.3) ...
(Reading database ... 4260 files and directories currently installed.)
Preparing to unpack .../archives/libnpth_1.6-2_arm.deb ...
Unpacking libnpth (1.6-2) over (1.6-1) ...
Setting up libnpth (1.6-2) ...
(Reading database ... 4260 files and directories currently installed.)
Preparing to unpack .../archives/gpgv_2.4.5-1_arm.deb ...
Unpacking gpgv (2.4.5-1) over (2.3.4) ...
Setting up gpgv (2.4.5-1) ...
(Reading database ... 4260 files and directories currently installed.)
Preparing to unpack .../apt/archives/grep_3.11_arm.deb ...
Unpacking grep (3.11) over (3.7-2) ...
Setting up grep (3.11) ...
Selecting previously unselected package resolv-conf.
(Reading database ... 4258 files and directories currently installed.)
Preparing to unpack .../resolv-conf_1.3_arm.deb ...
Unpacking resolv-conf (1.3) ...
Setting up resolv-conf (1.3) ...
(Reading database ... 4262 files and directories currently installed.)
Preparing to unpack .../libexpat_2.6.2_arm.deb ...
Unpacking libexpat (2.6.2) over (2.4.2) ...
Preparing to unpack .../unbound_1.20.0_arm.deb ...
Unpacking unbound (1.20.0) over (1.13.2-1) ...
Preparing to unpack .../libevent_2.1.12-2_arm.deb ...
Unpacking libevent (2.1.12-2) over (2.1.12) ...
Setting up libevent (2.1.12-2) ...
(Reading database ... 4226 files and directories currently installed.)
Preparing to unpack .../libnghttp2_1.62.1_arm.deb ...
Unpacking libnghttp2 (1.62.1) over (1.46.0) ...
Setting up libnghttp2 (1.62.1) ...
(Reading database ... 4226 files and directories currently installed.)
Preparing to unpack .../ca-certificates_1%3a2024.03.11-2_all.deb ...
Unpacking ca-certificates (1:2024.03.11-2) over (1:2021-10-26-0) ...
Setting up ca-certificates (1:2024.03.11-2) ...
(Reading database ... 4221 files and directories currently installed.)
Preparing to unpack .../openssl_1%3a3.2.1-1_arm.deb ...
Unpacking openssl (1:3.2.1-1) over (1.1.1l) ...
Setting up openssl (1:3.2.1-1) ...

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.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/tls/openssl.cnf ...
Selecting previously unselected package libunbound.
(Reading database ... 4259 files and directories currently installed.)
Preparing to unpack .../libunbound_1.20.0_arm.deb ...
Unpacking libunbound (1.20.0) ...
Setting up libunbound (1.20.0) ...
(Reading database ... 4297 files and directories currently installed.)
Preparing to unpack .../libnettle_3.9.1_arm.deb ...
Unpacking libnettle (3.9.1) over (3.7.3) ...
Setting up libnettle (3.9.1) ...
(Reading database ... 4304 files and directories currently installed.)
Preparing to unpack .../libunistring_1.1_arm.deb ...
Unpacking libunistring (1.1) over (0.9.10-5) ...
Setting up libunistring (1.1) ...
(Reading database ... 4306 files and directories currently installed.)
Preparing to unpack .../archives/libidn2_2.3.7_arm.deb ...
Unpacking libidn2 (2.3.7) over (2.3.2) ...
Setting up libidn2 (2.3.7) ...
(Reading database ... 4308 files and directories currently installed.)
Preparing to unpack .../libgnutls_3.8.5_arm.deb ...
Unpacking libgnutls (3.8.5) over (3.6.16-1) ...
Setting up libgnutls (3.8.5) ...
(Reading database ... 4309 files and directories currently installed.)
Preparing to unpack .../archives/liblz4_1.9.4_arm.deb ...
Unpacking liblz4 (1.9.4) over (1.9.3) ...
Setting up liblz4 (1.9.4) ...
(Reading database ... 4313 files and directories currently installed.)
Preparing to unpack .../apt/archives/sed_4.9-1_arm.deb ...
Unpacking sed (4.9-1) over (4.8-2) ...
Setting up sed (4.9-1) ...
(Reading database ... 4313 files and directories currently installed.)
Preparing to unpack .../termux-am_0.8.0_all.deb ...
Unpacking termux-am (0.8.0) over (0.4) ...
Setting up termux-am (0.8.0) ...
(Reading database ... 4313 files and directories currently installed.)
Preparing to unpack .../termux-am-socket_1.5.0_arm.deb ...
Unpacking termux-am-socket (1.5.0) over (1.02) ...
Setting up termux-am-socket (1.5.0) ...
Selecting previously unselected package libnghttp3.
(Reading database ... 4314 files and directories currently installed.)
Preparing to unpack .../libnghttp3_1.3.0_arm.deb ...
Unpacking libnghttp3 (1.3.0) ...
Setting up libnghttp3 (1.3.0) ...
(Reading database ... 4323 files and directories currently installed.)
Preparing to unpack .../libssh2_1.11.0_arm.deb ...
Unpacking libssh2 (1.11.0) over (1.10.0) ...
Setting up libssh2 (1.11.0) ...
(Reading database ... 4335 files and directories currently installed.)
Preparing to unpack .../archives/libcurl_8.8.0_arm.deb ...
Unpacking libcurl (8.8.0) over (7.81.0) ...
Setting up libcurl (8.8.0) ...
(Reading database ... 4364 files and directories currently installed.)
Preparing to unpack .../archives/curl_8.8.0_arm.deb ...
Unpacking curl (8.8.0) over (7.81.0) ...
Setting up curl (8.8.0) ...
(Reading database ... 4364 files and directories currently installed.)
Preparing to unpack .../archives/dash_0.5.12_arm.deb ...
Unpacking dash (0.5.12) over (0.5.11.5) ...
Setting up dash (0.5.12) ...
(Reading database ... 4364 files and directories currently installed.)
Preparing to unpack .../archives/libmpfr_4.2.1_arm.deb ...
Unpacking libmpfr (4.2.1) over (4.1.0) ...
Setting up libmpfr (4.2.1) ...
(Reading database ... 4364 files and directories currently installed.)
Preparing to unpack .../readline_8.2.10_arm.deb ...
Unpacking readline (8.2.10) over (8.1.1) ...
Setting up readline (8.2.10) ...
(Reading database ... 4366 files and directories currently installed.)
Preparing to unpack .../archives/gawk_5.3.0_arm.deb ...
Unpacking gawk (5.3.0) over (5.1.1) ...
Setting up gawk (5.3.0) ...
(Reading database ... 4378 files and directories currently installed.)
Preparing to unpack .../procps_3.3.17-5_arm.deb ...
Unpacking procps (3.3.17-5) over (3.3.17-1) ...
Setting up procps (3.3.17-5) ...
(Reading database ... 4378 files and directories currently installed.)
Preparing to unpack .../archives/psmisc_23.7_arm.deb ...
Unpacking psmisc (23.7) over (23.4) ...
Setting up psmisc (23.7) ...
(Reading database ... 4378 files and directories currently installed.)
Preparing to unpack .../termux-exec_1%3a1.0_arm.deb ...
Unpacking termux-exec (1:1.0) over (1:0.9) ...
Setting up termux-exec (1:1.0) ...
(Reading database ... 4378 files and directories currently installed.)
Preparing to unpack .../util-linux_2.39.3-4_arm.deb ...
Unpacking util-linux (2.39.3-4) over (2.37.2-1) ...
Selecting previously unselected package libsmartcols.
Preparing to unpack .../libsmartcols_2.39.3-4_arm.deb ...
Unpacking libsmartcols (2.39.3-4) ...
Setting up libsmartcols (2.39.3-4) ...
(Reading database ... 4369 files and directories currently installed.)
Preparing to unpack .../libcap-ng_2%3a0.8.5_arm.deb ...
Unpacking libcap-ng (2:0.8.5) over (1:0.8.3-pre1-0) ...
Setting up libcap-ng (2:0.8.5) ...
(Reading database ... 4369 files and directories currently installed.)
Preparing to unpack .../dialog_1.3-20240307-0_arm.deb ...
Unpacking dialog (1.3-20240307-0) over (1.3-20211214-0) ...
Setting up dialog (1.3-20240307-0) ...
(Reading database ... 4369 files and directories currently installed.)
Preparing to unpack .../termux-tools_1.42.4_all.deb ...
Unpacking termux-tools (1.42.4) over (0.155) ...
Setting up util-linux (2.39.3-4) ...
Setting up termux-tools (1.42.4) ...

Configuration file '/data/data/com.termux/files/usr/etc/motd'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/motd ...

Configuration file '/data/data/com.termux/files/usr/etc/motd-playstore'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/motd-playstore ...

Configuration file '/data/data/com.termux/files/usr/etc/profile.d/init-termux-properties.sh'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/profile.d/init-termux-properties.sh ...
(Reading database ... 4443 files and directories currently installed.)
Preparing to unpack .../termux-keyring_3.12_all.deb ...
Unpacking termux-keyring (3.12) over (2.4) ...
Setting up termux-keyring (3.12) ...
(Reading database ... 4465 files and directories currently installed.)
Preparing to unpack .../termux-licenses_2.0-3_all.deb ...
Unpacking termux-licenses (2.0-3) over (2.0-1) ...
Setting up termux-licenses (2.0-3) ...
(Reading database ... 4465 files and directories currently installed.)
Preparing to unpack .../archives/xxhash_0.8.2_arm.deb ...
Unpacking xxhash (0.8.2) over (0.8.1) ...
Setting up xxhash (0.8.2) ...
(Reading database ... 4465 files and directories currently installed.)
Preparing to unpack .../archives/apt_2.7.14_arm.deb ...
Unpacking apt (2.7.14) over (2.3.13-3) ...
Setting up apt (2.7.14) ...

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.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/apt/sources.list ...
(Reading database ... 4460 files and directories currently installed.)
Preparing to unpack .../archives/bash_5.2.26-1_arm.deb ...
Unpacking bash (5.2.26-1) over (5.1.12-2) ...
Setting up bash (5.2.26-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.
 ==> Using new file as you requested.
Installing new version of config file /data/data/com.termux/files/usr/etc/bash.bashrc ...
(Reading database ... 4465 files and directories currently installed.)
Preparing to unpack .../libcrypt_0.2-5_arm.deb ...
Unpacking libcrypt (0.2-5) over (0.2-3) ...
Setting up libcrypt (0.2-5) ...
Selecting previously unselected package bash-completion.
(Reading database ... 4465 files and directories currently installed.)
Preparing to unpack .../0-bash-completion_2.14.0_all.deb ...
Unpacking bash-completion (2.14.0) ...
Preparing to unpack .../1-command-not-found_2.4.0-28_arm.deb ...
Unpacking command-not-found (2.4.0-28) over (1.71) ...
Preparing to unpack .../2-debianutils_5.19_arm.deb ...
Unpacking debianutils (5.19) over (5.5) ...
Preparing to unpack .../3-dos2unix_7.5.2_arm.deb ...
Unpacking dos2unix (7.5.2) over (7.4.2) ...
Preparing to unpack .../4-ed_1.20.2_arm.deb ...
Unpacking ed (1.20.2) over (1.17-4) ...
Preparing to unpack .../5-inetutils_2.4-1_arm.deb ...
Unpacking inetutils (2.4-1) over (1.9.4-12) ...
Preparing to unpack .../6-libtirpc_1.3.4-1_arm.deb ...
Unpacking libtirpc (1.3.4-1) over (1.3.2) ...
Preparing to unpack .../7-lsof_4.99.3_arm.deb ...
Unpacking lsof (4.99.3) over (4.94.0-1) ...
Preparing to unpack .../8-nano_8.0_arm.deb ...
Unpacking nano (8.0) over (6.0) ...
Preparing to unpack .../9-unzip_6.0-9_arm.deb ...
Unpacking unzip (6.0-9) over (6.0-7) ...
Setting up libtirpc (1.3.4-1) ...
Setting up inetutils (2.4-1) ...
Setting up unzip (6.0-9) ...
Setting up libexpat (2.6.2) ...
Setting up ed (1.20.2) ...
Setting up command-not-found (2.4.0-28) ...
Setting up bash-completion (2.14.0) ...
Setting up lsof (4.99.3) ...
Setting up nano (8.0) ...
update-alternatives: using /data/data/com.termux/files/usr/bin/nano to provide /data/data/com.termux/files/usr/bin/editor (editor) in auto mode
Setting up debianutils (5.19) ...
Setting up dos2unix (7.5.2) ...
Setting up unbound (1.20.0) ...
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 arm Packages [503 kB]
Fetched 517 kB in 2s (232 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
== Installing python, openssl and nodejs ==
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:
  c-ares clang gdbm glib
  libandroid-posix-semaphore libcompiler-rt
  libffi libicu libllvm libsqlite libxml2 lld
  llvm make ncurses-ui-libs ndk-sysroot
  pkg-config python-ensurepip-wheels python-pip
Suggested packages:
  python-tkinter
The following NEW packages will be installed:
  c-ares clang gdbm glib
  libandroid-posix-semaphore libcompiler-rt
  libffi libicu libllvm libsqlite libxml2 lld
  llvm make ncurses-ui-libs ndk-sysroot
  nodejs-lts openssl-1.1 pkg-config python
  python-ensurepip-wheels python-pip
0 upgraded, 22 newly installed, 0 to remove and 0 not upgraded.
Need to get 123 MB of archives.
After this operation, 609 MB of additional disk space will be used.
Get:1 https://packages-cf.termux.dev/apt/termux-main stable/main arm c-ares arm 1.30.0 [160 kB]
Get:2 https://packages-cf.termux.dev/apt/termux-main stable/main arm libcompiler-rt arm 18.1.7-1 [1569 kB]
Get:3 https://packages-cf.termux.dev/apt/termux-main stable/main arm libffi arm 3.4.6-1 [28.9 kB]
Get:4 https://packages-cf.termux.dev/apt/termux-main stable/main arm libxml2 arm 2.13.0 [415 kB]
Get:5 https://packages-cf.termux.dev/apt/termux-main stable/main arm libllvm arm 18.1.7-1 [27.3 MB]
Get:6 https://packages-cf.termux.dev/apt/termux-main stable/main arm lld arm 18.1.7-1 [2437 kB]
Get:7 https://packages-cf.termux.dev/apt/termux-main stable/main arm llvm arm 18.1.7-1 [19.9 MB]
Get:8 https://packages-cf.termux.dev/apt/termux-main stable/main arm ndk-sysroot arm 26b-3 [1625 kB]
Get:9 https://packages-cf.termux.dev/apt/termux-main stable/main arm clang arm 18.1.7-1 [32.4 MB]
Get:10 https://packages-cf.termux.dev/apt/termux-main stable/main arm gdbm arm 1.23 [134 kB]
Get:11 https://packages-cf.termux.dev/apt/termux-main stable/main arm glib arm 2.80.3 [2193 kB]
Get:12 https://packages-cf.termux.dev/apt/termux-main stable/main arm libandroid-posix-semaphore arm 0.1-3 [3680 B]
Get:13 https://packages-cf.termux.dev/apt/termux-main stable/main arm libicu arm 75.1 [9594 kB]
Get:14 https://packages-cf.termux.dev/apt/termux-main stable/main arm libsqlite arm 3.46.0 [567 kB]
Get:15 https://packages-cf.termux.dev/apt/termux-main stable/main arm make arm 4.4.1 [235 kB]
Get:16 https://packages-cf.termux.dev/apt/termux-main stable/main arm ncurses-ui-libs arm 6.4.20231001-4 [28.2 kB]
Get:17 https://packages-cf.termux.dev/apt/termux-main stable/main arm nodejs-lts arm 20.14.0 [8852 kB]
Get:18 https://packages-cf.termux.dev/apt/termux-main stable/main arm openssl-1.1 arm 1:1.1.1w [1137 kB]
Get:19 https://packages-cf.termux.dev/apt/termux-main stable/main arm pkg-config arm 0.29.2-2 [30.2 kB]
Get:20 https://packages-cf.termux.dev/apt/termux-main stable/main arm python arm 3.11.9-2 [7673 kB]
Get:21 https://packages-cf.termux.dev/apt/termux-main stable/main arm python-ensurepip-wheels all 3.11.9-2 [3029 kB]
Get:22 https://packages-cf.termux.dev/apt/termux-main stable/main arm python-pip all 24.0-2 [3467 kB]
Fetched 123 MB in 28s (4308 kB/s)
Selecting previously unselected package c-ares.
(Reading database ... 5397 files and directories currently installed.)
Preparing to unpack .../00-c-ares_1.30.0_arm.deb ...
Unpacking c-ares (1.30.0) ...
Selecting previously unselected package libcompiler-rt.
Preparing to unpack .../01-libcompiler-rt_18.1.7-1_arm.deb ...
Unpacking libcompiler-rt (18.1.7-1) ...
Selecting previously unselected package libffi.
Preparing to unpack .../02-libffi_3.4.6-1_arm.deb ...
Unpacking libffi (3.4.6-1) ...
Selecting previously unselected package libxml2.
Preparing to unpack .../03-libxml2_2.13.0_arm.deb ...
Unpacking libxml2 (2.13.0) ...
Selecting previously unselected package libllvm.
Preparing to unpack .../04-libllvm_18.1.7-1_arm.deb ...
Unpacking libllvm (18.1.7-1) ...
Selecting previously unselected package lld.
Preparing to unpack .../05-lld_18.1.7-1_arm.deb ...
Unpacking lld (18.1.7-1) ...
Selecting previously unselected package llvm.
Preparing to unpack .../06-llvm_18.1.7-1_arm.deb ...
Unpacking llvm (18.1.7-1) ...
Selecting previously unselected package ndk-sysroot.
Preparing to unpack .../07-ndk-sysroot_26b-3_arm.deb ...
Unpacking ndk-sysroot (26b-3) ...
Selecting previously unselected package clang.
Preparing to unpack .../08-clang_18.1.7-1_arm.deb ...
Unpacking clang (18.1.7-1) ...
Selecting previously unselected package gdbm.
Preparing to unpack .../09-gdbm_1.23_arm.deb ...
Unpacking gdbm (1.23) ...
Selecting previously unselected package glib.
Preparing to unpack .../10-glib_2.80.3_arm.deb ...
Unpacking glib (2.80.3) ...
Selecting previously unselected package libandroid-posix-semaphore.
Preparing to unpack .../11-libandroid-posix-semaphore_0.1-3_arm.deb ...
Unpacking libandroid-posix-semaphore (0.1-3) ...
Selecting previously unselected package libicu.
Preparing to unpack .../12-libicu_75.1_arm.deb ...
Unpacking libicu (75.1) ...
Selecting previously unselected package libsqlite.
Preparing to unpack .../13-libsqlite_3.46.0_arm.deb ...
Unpacking libsqlite (3.46.0) ...
Selecting previously unselected package make.
Preparing to unpack .../14-make_4.4.1_arm.deb ...
Unpacking make (4.4.1) ...
Selecting previously unselected package ncurses-ui-libs.
Preparing to unpack .../15-ncurses-ui-libs_6.4.20231001-4_arm.deb ...
Unpacking ncurses-ui-libs (6.4.20231001-4) ...
Selecting previously unselected package nodejs-lts.
Preparing to unpack .../16-nodejs-lts_20.14.0_arm.deb ...
Unpacking nodejs-lts (20.14.0) ...
Selecting previously unselected package openssl-1.1.
Preparing to unpack .../17-openssl-1.1_1%3a1.1.1w_arm.deb ...
Unpacking openssl-1.1 (1:1.1.1w) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../18-pkg-config_0.29.2-2_arm.deb ...
Unpacking pkg-config (0.29.2-2) ...
Selecting previously unselected package python.
Preparing to unpack .../19-python_3.11.9-2_arm.deb ...
Unpacking python (3.11.9-2) ...
Selecting previously unselected package python-ensurepip-wheels.
Preparing to unpack .../20-python-ensurepip-wheels_3.11.9-2_all.deb ...
Unpacking python-ensurepip-wheels (3.11.9-2) ...
Selecting previously unselected package python-pip.
Preparing to unpack .../21-python-pip_24.0-2_all.deb ...
Unpacking python-pip (24.0-2) ...
Setting up gdbm (1.23) ...
Setting up openssl-1.1 (1:1.1.1w) ...
Setting up ndk-sysroot (26b-3) ...
Setting up libandroid-posix-semaphore (0.1-3) ...
Setting up libicu (75.1) ...
Setting up libsqlite (3.46.0) ...
Setting up libffi (3.4.6-1) ...
Setting up ncurses-ui-libs (6.4.20231001-4) ...
Setting up make (4.4.1) ...
Setting up libcompiler-rt (18.1.7-1) ...
Setting up glib (2.80.3) ...
Setting up python (3.11.9-2) ...
Setting up libxml2 (2.13.0) ...
Setting up c-ares (1.30.0) ...
Setting up python-ensurepip-wheels (3.11.9-2) ...
Setting up nodejs-lts (20.14.0) ...
Setting up pkg-config (0.29.2-2) ...
Setting up libllvm (18.1.7-1) ...
Setting up lld (18.1.7-1) ...
Setting up llvm (18.1.7-1) ...
Setting up clang (18.1.7-1) ...
Setting up python-pip (24.0-2) ...
pip setup...
Writing to /data/data/com.termux/files/usr/etc/pip.conf
== Removing added Dpkg options ==
== Installing homebridge and homebridge-config-ui ==
npm warn deprecated q@1.1.2: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)

added 103 packages in 20s

43 packages are looking for funding
  run `npm fund` for details
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated fstream@1.0.12: This package is no longer supported.

> @homebridge/node-pty-prebuilt-multiarch@0.11.12 install
> node scripts/check-prebuild.js || prebuild-install --verbose || node scripts/install.js

Prebuild binary missing for platform.
prebuild-install info begin Prebuild-install version 7.1.2
prebuild-install info looking for local prebuild @ prebuilds/node-pty-prebuilt-multiarch-v0.11.12-node-v115-android-arm.tar.gz
prebuild-install info looking for cached prebuild @ /data/data/com.termux/files/home/.npm/_prebuilds/2fb09f-node-pty-prebuilt-multiarch-v0.11.12-node-v115-android-arm.tar.gz
prebuild-install http request GET https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.12/node-pty-prebuilt-multiarch-v0.11.12-node-v115-android-arm.tar.gz
prebuild-install http 404 https://github.com/homebridge/node-pty-prebuilt-multiarch/releases/download/v0.11.12/node-pty-prebuilt-multiarch-v0.11.12-node-v115-android-arm.tar.gz
prebuild-install warn install No prebuilt binaries found (target=20.14.0 runtime=node arch=arm libc= platform=android)
gyp info it worked if it ends with ok
gyp info using node-gyp@10.1.0
gyp info using node@20.14.0 | android | arm
gyp info find Python using Python version 3.11.9 found at "/data/data/com.termux/files/usr/bin/python3"

gyp http GET https://nodejs.org/download/release/v20.14.0/node-v20.14.0-headers.tar.gz
gyp http 200 https://nodejs.org/download/release/v20.14.0/node-v20.14.0-headers.tar.gz
gyp http GET https://nodejs.org/download/release/v20.14.0/SHASUMS256.txt
gyp http 200 https://nodejs.org/download/release/v20.14.0/SHASUMS256.txt
gyp info spawn /data/data/com.termux/files/usr/bin/python3
gyp info spawn args [
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/homebridge-config-ui-x/node_modules/@homebridge/node-pty-prebuilt-multiarch/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/data/data/com.termux/files/home/.cache/node-gyp/20.14.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/data/data/com.termux/files/home/.cache/node-gyp/20.14.0',
gyp info spawn args '-Dnode_gyp_dir=/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/data/data/com.termux/files/home/.cache/node-gyp/20.14.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/data/data/com.termux/files/usr/lib/node_modules/homebridge-config-ui-x/node_modules/@homebridge/node-pty-prebuilt-multiarch',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp: Undefined variable android_ndk_path in binding.gyp while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:297:18)
gyp ERR! stack at ChildProcess.emit (node:events:519:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Linux 3.18.140-20847361
gyp ERR! command "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /data/data/com.termux/files/usr/lib/node_modules/homebridge-config-ui-x/node_modules/@homebridge/node-pty-prebuilt-multiarch
gyp ERR! node -v v20.14.0
gyp ERR! node-gyp -v v10.1.0
gyp ERR! not ok
npm error code 1
npm error path /data/data/com.termux/files/usr/lib/node_modules/homebridge-config-ui-x/node_modules/@homebridge/node-pty-prebuilt-multiarch
npm error command failed
npm error command sh -c node scripts/check-prebuild.js || prebuild-install --verbose || node scripts/install.js

npm error A complete log of this run can be found in: /data/data/com.termux/files/home/.npm/_logs/2024-06-13T18_23_31_826Z-debug-0.log
~ $

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: false
APK_RELEASE: F-Droid
SIGNING_CERTIFICATE_SHA256_DIGEST: 228FB2CFE99EC3334D41C42

Device Info

Software

OS_VERSION: 3.18.140-20847361
SDK_INT: 29
RELEASE: 10
ID: QP1A.190711.020
DISPLAY: QP1A.190711.020.A60XU9CVB1
INCREMENTAL: A6XXU9CVB1
SECURITY_PATCH: 2022-02-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: samsung
BRAND: samsung
MODEL: SM-A600FN
PRODUCT: a6ltexx
BOARD: exynos7870
HARDWARE: samsungexynos7870
DEVICE: a6lte
SUPPORTED_ABIS: armeabi-v7a, armeabi

Termux APT Info

Subscribed Repositories

sources.list

deb https://packages-cf.termux.dev/apt/termux-main/ stable main

Updatable Packages

All packages up to date

What steps will reproduce the bug?

Install homebridge on android 10

What is the expected behavior?

No response

System information

Termux Variables:
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=9980
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_VERSION=0.118.0
TERMUX__USER_ID=0
Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.dev/apt/termux-main/ stable main
Updatable packages:
All packages up to date
termux-tools version:
1.42.4
Android version:
10
Kernel build information:
Linux localhost 3.18.140-20847361 #1 SMP PREEMPT Tue Feb 8 14:34:26 KST 2022 armv8l Android
Device manufacturer:
samsung
Device model:
SM-A600FN
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
licy183 commented 5 months ago

See https://github.com/termux/termux-packages/issues/19522#issuecomment-2010028784.