romkatv / gitstatus

Git status for Bash and Zsh prompt
GNU General Public License v3.0
1.7k stars 105 forks source link

WSA Termux #303

Closed Un1q32 closed 2 years ago

Un1q32 commented 2 years ago

[ERROR]: gitstatus failed to initialize.

Zsh log (/data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.xtrace.log):

+(anon):7> setopt monitor
+(anon):9> ((  ! _GITSTATUS_STATE_POWERLEVEL9K  ))
+(anon):10> [[ -r /proc/version ]]
+(anon):13> print -rn
+(anon):14> zsystem flock -f lock_fd /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.lock
+(anon):15> [[ 14 == <1-> ]]
+(anon):18> typeset -gi '_GITSTATUS_LOCK_FD_POWERLEVEL9K=lock_fd'
+(anon):20> [[ linux-android == cygwin* ]]
+(anon):41> sysopen -r -o cloexec -u resp_fd /proc/self/fd/13
+(anon):44> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=12521'
+(anon):46> [[ 16 == <1-> ]]
+(anon):47> typeset -gi '_GITSTATUS_RESP_FD_POWERLEVEL9K=resp_fd'
+(anon):48> typeset -gi '_GITSTATUS_STATE_POWERLEVEL9K=1'
+(anon):51> ((  ! async  ))
+(anon):52> ((  _GITSTATUS_CLIENT_PID_POWERLEVEL9K == sysparams[pid]  ))
+(anon):54> local pgid
+(anon):55> ((  0 < 20  ))
+(anon):56> [[ -t 16 ]]
+(anon):41> _gitstatus_daemon_p9k_
+(anon):57> sysread -s 20 -t 5.0000000000 -i 16 'pgid[$#pgid+1]'
+_gitstatus_daemon_p9k_:1> local -i pipe_fd
+(anon):55> ((  20 < 20  ))
+(anon):59> [[ '               12521' == \ #<1-> ]]
+(anon):60> typeset -gi 'GITSTATUS_DAEMON_PID_POWERLEVEL9K=pgid'
+(anon):62> sysopen -w -o cloexec -u req_fd -- /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.fifo
+(anon):63> [[ 15 == <1-> ]]
+(anon):64> typeset -gi '_GITSTATUS_REQ_FD_POWERLEVEL9K=req_fd'
+(anon):66> print -nru 15 -- $'}hello\C-_\C-^'
+(anon):67> local expected=$'}hello\C-_0\C-^' actual
+(anon):68> ((  1  ))
+(anon):68> [[ ! -t 1 ]]
+(anon):71> local -F deadline=1
+(anon):73> true
+(anon):74> [[ -t 16 ]]
+(anon):75> sysread -s 1 -t 5.0000000000 -i 16 actual
+(anon):75> return

Daemon log (/data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.daemon.log):

+_gitstatus_daemon_p9k_:3> local pgid=12521
+_gitstatus_daemon_p9k_:4> [[ 12521 == <1-> ]]
+_gitstatus_daemon_p9k_:5> cd -q /
+_gitstatus_daemon_p9k_:90> ((  lock_fd == -1  ))
+_gitstatus_daemon_p9k_:9> trap '' PIPE
+_gitstatus_daemon_p9k_:11> local uname_sm
+_gitstatus_daemon_p9k_:93> zsystem flock -- /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.lock
+_gitstatus_daemon_p9k_:12> uname_sm=+_gitstatus_daemon_p9k_:12> uname -sm
+_gitstatus_daemon_p9k_:12> uname_sm='linux x86_64'
+_gitstatus_daemon_p9k_:13> [[ 'linux x86_64' == [^\ ]##\ [^\ ]## ]]
+_gitstatus_daemon_p9k_:14> local uname_s=linux
+_gitstatus_daemon_p9k_:15> local uname_m=x86_64
+_gitstatus_daemon_p9k_:17> [[ '' == <1-> ]]
+_gitstatus_daemon_p9k_:20> local cpus
+_gitstatus_daemon_p9k_:21> ((  ! 1  ))
+_gitstatus_daemon_p9k_:21> [[ linux == linux ]]
+_gitstatus_daemon_p9k_:23> ((  ! 0  ))
+_gitstatus_daemon_p9k_:24> cpus=8
+_gitstatus_daemon_p9k_:27> args+=( -t 16 )
+_gitstatus_daemon_p9k_:30> mkfifo -- /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.fifo
+_gitstatus_daemon_p9k_:31> print -rnu 15 -- '               12521'
+_gitstatus_daemon_p9k_:33> zf_rm -- /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.fifo
+_gitstatus_daemon_p9k_:35> local _gitstatus_zsh_daemon _gitstatus_zsh_version _gitstatus_zsh_downloaded
+_gitstatus_daemon_p9k_:43> local gitstatus_plugin_dir_var=_gitstatus_plugin_dir_p9k_
+_gitstatus_daemon_p9k_:44> local gitstatus_plugin_dir=/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_daemon_p9k_:45> set -- -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_daemon_p9k_:47> [[ 1 == (|-|+)<1-> ]]
+_gitstatus_daemon_p9k_:48> source /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install
+/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install:472> [ -z '' ']'
+/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/install:473> _gitstatus_install_main /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:1> [ -n 5.8 ']'
+_gitstatus_install_main:2> emulate -L sh -o no_unset
+_gitstatus_install_main:7> local argv1=/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:8> shift
+_gitstatus_install_main:10> local no_check='' no_install='' uname_s='' uname_m='' gitstatus_dir='' dl_status='' e=''
+_gitstatus_install_main:11> local opt='' OPTARG='' OPTIND=1
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case d (h)
+_gitstatus_install_main:14> case d (n)
+_gitstatus_install_main:14> case d (f)
+_gitstatus_install_main:14> case d (d)
+_gitstatus_install_main:55> [ -n '' ']'
+_gitstatus_install_main:59> [ -z /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus ']'
+_gitstatus_install_main:63> gitstatus_dir=/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case s (h)
+_gitstatus_install_main:14> case s (n)
+_gitstatus_install_main:14> case s (f)
+_gitstatus_install_main:14> case s (d)
+_gitstatus_install_main:14> case s (p)
+_gitstatus_install_main:14> case s (e)
+_gitstatus_install_main:14> case s (m)
+_gitstatus_install_main:14> case s (s)
+_gitstatus_install_main:99> [ -n '' ']'
+_gitstatus_install_main:103> [ -z linux ']'
+_gitstatus_install_main:107> uname_s=linux
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case m (h)
+_gitstatus_install_main:14> case m (n)
+_gitstatus_install_main:14> case m (f)
+_gitstatus_install_main:14> case m (d)
+_gitstatus_install_main:14> case m (p)
+_gitstatus_install_main:14> case m (e)
+_gitstatus_install_main:14> case m (m)
+_gitstatus_install_main:88> [ -n '' ']'
+_gitstatus_install_main:92> [ -z x86_64 ']'
+_gitstatus_install_main:96> uname_m=x86_64
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case p (h)
+_gitstatus_install_main:14> case p (n)
+_gitstatus_install_main:14> case p (f)
+_gitstatus_install_main:14> case p (d)
+_gitstatus_install_main:14> case p (p)
+_gitstatus_install_main:66> [ -n '' ']'
+_gitstatus_install_main:70> [ -z 'printf '\''\001'\'' >&15' ']'
+_gitstatus_install_main:74> dl_status='printf '\''\001'\'' >&15'
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:14> case e (h)
+_gitstatus_install_main:14> case e (n)
+_gitstatus_install_main:14> case e (f)
+_gitstatus_install_main:14> case e (d)
+_gitstatus_install_main:14> case e (p)
+_gitstatus_install_main:14> case e (e)
+_gitstatus_install_main:77> [ -n '' ']'
+_gitstatus_install_main:81> [ -z 15 ']'
+_gitstatus_install_main:85> e=15
+_gitstatus_install_main:13> getopts :s:m:d:p:e:fnh opt -d /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus -s linux -m x86_64 -p 'printf '\''\001'\'' >&15' -e 15 -- _gitstatus_set_daemon_p9k_
+_gitstatus_install_main:115> shift 11
+_gitstatus_install_main:117> : 15
+_gitstatus_install_main:118> : /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus
+_gitstatus_install_main:120> [ -n '' -a -n '' ']'
+_gitstatus_install_main:125> [ -z linux ']'
+_gitstatus_install_main:129> [ -z x86_64 ']'
+_gitstatus_install_main:134> local daemon=''
+_gitstatus_install_main:135> local cache_dir=/data/data/com.termux/files/home/.cache/gitstatus
+_gitstatus_install_main:137> [ -z '' ']'
+_gitstatus_install_main:138> [ -n '' ']'
+_gitstatus_install_main:142> [ -z '' -a -e /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd ']'
+_gitstatus_install_main:145> [ -n '' ']'
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line=''
+_gitstatus_install_main:163> [ -n '' ']'
+_gitstatus_install_main:163> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="fe132c412c460c2889d731012d280207fe2b4a3c94d077fb4f1c06ed5d319a42";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="fe132c412c460c2889d731012d280207fe2b4a3c94d077fb4f1c06ed5d319a42";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="fe132c412c460c2889d731012d280207fe2b4a3c94d077fb4f1c06ed5d319a42";'
+_gitstatus_install_main:166> uname_s_glob=cygwin_nt-10.0
+_gitstatus_install_main:166> uname_m_glob=i686
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=fe132c412c460c2889d731012d280207fe2b4a3c94d077fb4f1c06ed5d319a42
+_gitstatus_install_main:168> [ -z cygwin_nt-10.0 -o -z i686 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z fe132c412c460c2889d731012d280207fe2b4a3c94d077fb4f1c06ed5d319a42 ']'
+_gitstatus_install_main:177> case linux (cygwin_nt-10.0)
+_gitstatus_install_main:177> case linux (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="cygwin_nt-10.0"; uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f";'
+_gitstatus_install_main:166> uname_s_glob=cygwin_nt-10.0
+_gitstatus_install_main:166> uname_m_glob=x86_64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f
+_gitstatus_install_main:168> [ -z cygwin_nt-10.0 -o -z x86_64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z c84cade0d6b86e04c27a6055f45851f6b46d6b88ba58772f7ca8ef4d295c800f ']'
+_gitstatus_install_main:177> case linux (cygwin_nt-10.0)
+_gitstatus_install_main:177> case linux (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="ad973948cca4bdcf83b7fcdda70c489a404488ea7304712721f1100b73ec7cbe";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="ad973948cca4bdcf83b7fcdda70c489a404488ea7304712721f1100b73ec7cbe";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="darwin";         uname_m_glob="arm64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="ad973948cca4bdcf83b7fcdda70c489a404488ea7304712721f1100b73ec7cbe";'
+_gitstatus_install_main:166> uname_s_glob=darwin
+_gitstatus_install_main:166> uname_m_glob=arm64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=ad973948cca4bdcf83b7fcdda70c489a404488ea7304712721f1100b73ec7cbe
+_gitstatus_install_main:168> [ -z darwin -o -z arm64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z ad973948cca4bdcf83b7fcdda70c489a404488ea7304712721f1100b73ec7cbe ']'
+_gitstatus_install_main:177> case linux (darwin)
+_gitstatus_install_main:177> case linux (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="darwin";         uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="b13455d56cf7b6f07efb7da088057bbc1212847c88b59493918d6f9c0c157160";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="darwin";         uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="b13455d56cf7b6f07efb7da088057bbc1212847c88b59493918d6f9c0c157160";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="darwin";         uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="b13455d56cf7b6f07efb7da088057bbc1212847c88b59493918d6f9c0c157160";'
+_gitstatus_install_main:166> uname_s_glob=darwin
+_gitstatus_install_main:166> uname_m_glob=x86_64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=b13455d56cf7b6f07efb7da088057bbc1212847c88b59493918d6f9c0c157160
+_gitstatus_install_main:168> [ -z darwin -o -z x86_64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z b13455d56cf7b6f07efb7da088057bbc1212847c88b59493918d6f9c0c157160 ']'
+_gitstatus_install_main:177> case linux (darwin)
+_gitstatus_install_main:177> case linux (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="freebsd";        uname_m_glob="amd64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.3"; sha256="73b5622ec9737e93f3fafe117b47ce8de33037be3e2bff283f36668f5852668a";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="freebsd";        uname_m_glob="amd64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.3"; sha256="73b5622ec9737e93f3fafe117b47ce8de33037be3e2bff283f36668f5852668a";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="freebsd";        uname_m_glob="amd64";   file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.3"; sha256="73b5622ec9737e93f3fafe117b47ce8de33037be3e2bff283f36668f5852668a";'
+_gitstatus_install_main:166> uname_s_glob=freebsd
+_gitstatus_install_main:166> uname_m_glob=amd64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.3
+_gitstatus_install_main:166> sha256=73b5622ec9737e93f3fafe117b47ce8de33037be3e2bff283f36668f5852668a
+_gitstatus_install_main:168> [ -z freebsd -o -z amd64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.3 -o -z 73b5622ec9737e93f3fafe117b47ce8de33037be3e2bff283f36668f5852668a ']'
+_gitstatus_install_main:177> case linux (freebsd)
+_gitstatus_install_main:177> case linux (*)
+_gitstatus_install_main:179> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="aarch64"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="aarch64"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="aarch64"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=aarch64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f
+_gitstatus_install_main:168> [ -z linux -o -z aarch64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z 89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (aarch64)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="armv6l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4bf5a0d0a082f544a48536ad3675930d5d2cc6a8cf906710045e0788f51192b3";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="armv6l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4bf5a0d0a082f544a48536ad3675930d5d2cc6a8cf906710045e0788f51192b3";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="armv6l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4bf5a0d0a082f544a48536ad3675930d5d2cc6a8cf906710045e0788f51192b3";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=armv6l
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=4bf5a0d0a082f544a48536ad3675930d5d2cc6a8cf906710045e0788f51192b3
+_gitstatus_install_main:168> [ -z linux -o -z armv6l -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z 4bf5a0d0a082f544a48536ad3675930d5d2cc6a8cf906710045e0788f51192b3 ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (armv6l)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="armv7l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="2b9deb29f86c8209114b71b94fc2e1ed936a1658808a1bee46f4a82fd6a1f8cc";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="armv7l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="2b9deb29f86c8209114b71b94fc2e1ed936a1658808a1bee46f4a82fd6a1f8cc";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="armv7l";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="2b9deb29f86c8209114b71b94fc2e1ed936a1658808a1bee46f4a82fd6a1f8cc";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=armv7l
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=2b9deb29f86c8209114b71b94fc2e1ed936a1658808a1bee46f4a82fd6a1f8cc
+_gitstatus_install_main:168> [ -z linux -o -z armv7l -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z 2b9deb29f86c8209114b71b94fc2e1ed936a1658808a1bee46f4a82fd6a1f8cc ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (armv7l)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="armv8l";  file="gitstatusd-${uname_s}-aarch64";        version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="armv8l";  file="gitstatusd-${uname_s}-aarch64";        version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="armv8l";  file="gitstatusd-${uname_s}-aarch64";        version="v1.5.1"; sha256="89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=armv8l
+_gitstatus_install_main:166> file=gitstatusd-linux-aarch64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f
+_gitstatus_install_main:168> [ -z linux -o -z armv8l -o -z gitstatusd-linux-aarch64 -o -z v1.5.1 -o -z 89b87181b2005527a558cdbc32b12b0f15a1a12bb69865ec216ca5a0266a6c4f ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (armv8l)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4998bf7889f625df71f1da5757915b678e04039cc8cba00ae10950352c7329f9";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4998bf7889f625df71f1da5757915b678e04039cc8cba00ae10950352c7329f9";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="i686";    file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="4998bf7889f625df71f1da5757915b678e04039cc8cba00ae10950352c7329f9";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=i686
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=4998bf7889f625df71f1da5757915b678e04039cc8cba00ae10950352c7329f9
+_gitstatus_install_main:168> [ -z linux -o -z i686 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z 4998bf7889f625df71f1da5757915b678e04039cc8cba00ae10950352c7329f9 ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (i686)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="ppc64le"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="e5336dc8e23406c649bafeea83ff17df1726b05ee490f67bae549e55a9a7a7c4";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="ppc64le"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="e5336dc8e23406c649bafeea83ff17df1726b05ee490f67bae549e55a9a7a7c4";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="ppc64le"; file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="e5336dc8e23406c649bafeea83ff17df1726b05ee490f67bae549e55a9a7a7c4";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=ppc64le
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=e5336dc8e23406c649bafeea83ff17df1726b05ee490f67bae549e55a9a7a7c4
+_gitstatus_install_main:168> [ -z linux -o -z ppc64le -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z e5336dc8e23406c649bafeea83ff17df1726b05ee490f67bae549e55a9a7a7c4 ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (ppc64le)
+_gitstatus_install_main:181> case x86_64 (*)
+_gitstatus_install_main:183> continue
+_gitstatus_install_main:161> IFS='' +_gitstatus_install_main:161> read -r line
+_gitstatus_install_main:162> line='uname_s_glob="linux";          uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="0e8bbc46c17f5cd6e0db98b74c48f4b68f464f98550c8254f6cfcfd936ad1fcf";'
+_gitstatus_install_main:163> [ -n 'uname_s_glob="linux";          uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="0e8bbc46c17f5cd6e0db98b74c48f4b68f464f98550c8254f6cfcfd936ad1fcf";' ']'
+_gitstatus_install_main:165> local uname_s_glob='' uname_m_glob='' file='' version='' sha256=''
+_gitstatus_install_main:166> eval 'uname_s_glob="linux";          uname_m_glob="x86_64";  file="gitstatusd-${uname_s}-${uname_m}";     version="v1.5.1"; sha256="0e8bbc46c17f5cd6e0db98b74c48f4b68f464f98550c8254f6cfcfd936ad1fcf";'
+_gitstatus_install_main:166> uname_s_glob=linux
+_gitstatus_install_main:166> uname_m_glob=x86_64
+_gitstatus_install_main:166> file=gitstatusd-linux-x86_64
+_gitstatus_install_main:166> version=v1.5.1
+_gitstatus_install_main:166> sha256=0e8bbc46c17f5cd6e0db98b74c48f4b68f464f98550c8254f6cfcfd936ad1fcf
+_gitstatus_install_main:168> [ -z linux -o -z x86_64 -o -z gitstatusd-linux-x86_64 -o -z v1.5.1 -o -z 0e8bbc46c17f5cd6e0db98b74c48f4b68f464f98550c8254f6cfcfd936ad1fcf ']'
+_gitstatus_install_main:177> case linux (linux)
+_gitstatus_install_main:181> case x86_64 (x86_64)
+_gitstatus_install_main:188> [ -z '' ']'
+_gitstatus_install_main:190> local daemon=/data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-linux-x86_64
+_gitstatus_install_main:191> [ ! -e /data/data/com.termux/files/home/.oh-my-zsh/custom/themes/powerlevel10k/gitstatus/usrbin/gitstatusd-linux-x86_64 ']'
+_gitstatus_install_main:192> daemon=/data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64
+_gitstatus_install_main:193> [ -e /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 ']'
+_gitstatus_install_main:195> [ -n /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 ']'
+_gitstatus_install_main:196> _gitstatus_install_daemon_found 0 _gitstatus_set_daemon_p9k_
+_gitstatus_install_daemon_found:1> local installed=0
+_gitstatus_install_daemon_found:2> shift
+_gitstatus_install_daemon_found:3> [ 1 '=' 0 ']'
+_gitstatus_install_daemon_found:3> _gitstatus_set_daemon_p9k_ /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 v1.5.1 0
+_gitstatus_set_daemon_p9k_:1> _gitstatus_zsh_daemon=/data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64
+_gitstatus_set_daemon_p9k_:2> _gitstatus_zsh_version=v1.5.1
+_gitstatus_set_daemon_p9k_:3> _gitstatus_zsh_downloaded=0
+_gitstatus_install_main:197> return
+_gitstatus_daemon_p9k_:49> [[ -n /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 ]]
+_gitstatus_daemon_p9k_:50> [[ -n v1.5.1 ]]
+_gitstatus_daemon_p9k_:51> [[ 0 == [01] ]]
+_gitstatus_daemon_p9k_:53> ((  UID == EUID  ))
+_gitstatus_daemon_p9k_:54> local home=/data/data/com.termux/files/home
+_gitstatus_daemon_p9k_:62> [[ -x /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 ]]
+_gitstatus_daemon_p9k_:63> HOME=/data/data/com.termux/files/home /data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64 -G v1.5.1 -s -1 -u -1 -d -1 -c -1 -m -1 -v DEBUG -t 16
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[0]: "/data/data/com.termux/files/home/.cache/gitstatus/gitstatusd-linux-x86_64"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[1]: "-G"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[2]: "v1.5.1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[3]: "-s"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[4]: "-1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[5]: "-u"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[6]: "-1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[7]: "-d"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[8]: "-1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[9]: "-c"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[10]: "-1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[11]: "-m"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[12]: "-1"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[13]: "-v"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[14]: "DEBUG"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[15]: "-t"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/gitstatus.cc:186] argv[16]: "16"
[2022-02-13 05:32:22 00007b2ac4df1c38 INFO src/thread_pool.cc:81] Spawning 16 thread(s)
+_gitstatus_daemon_p9k_:64> local -i ret=159
+_gitstatus_daemon_p9k_:65> [[ 159 == (0|129|130|131|137|141|143|159) ]]
+_gitstatus_daemon_p9k_:65> return ret
+_gitstatus_daemon_p9k_:84> local -i ret=159
+_gitstatus_daemon_p9k_:85> zf_rm -f -- /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.lock /data/data/com.termux/files/usr/tmp/gitstatus.POWERLEVEL9K.10059.10393.1644730342.2.fifo
+_gitstatus_daemon_p9k_:86> kill -- -12521

System information:

zsh:      5.8
uname -a: Linux localhost 5.10.43-2-windows-subsystem-for-android #1 SMP PREEMPT Tue Sep 14 09:09:25 UTC 2021 x86_64 Android
romkatv commented 2 years ago

Fascinating. I don't know what that happens. If you find out, please post an update.

Un1q32 commented 2 years ago

Forgot to mention, I rebuilt WSA with https://github.com/LSPosed/MagiskOnWSA to add magisk (root) and gapps (google play store). I don't know if that helps at all but I thought it would be worth mentioning. I haven't tested termux on vanilla WSA.

romkatv commented 2 years ago

Closing because I don't intend to do anything here. If you find a solution, please post an update.