termux / termux-packages

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

[Bug]: pacman #10452

Closed 2096779623 closed 2 years ago

2096779623 commented 2 years ago

Problem description

Transcript

CANNOT LINK EXECUTABLE "cat": library "libiconv.so" not found
CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": library "libiconv.so" not found

[Process completed (code 1) - press Enter]

Termux App Info

APP_NAME: Termux
PACKAGE_NAME: com.termux
VERSION_NAME: 0.118.0
VERSION_CODE: 118
TARGET_SDK: 28
IS_DEBUGGABLE_BUILD: true
APK_RELEASE: Github
SIGNING_CERTIFICATE_SHA256_DIGEST: B6DA01480EEFD5FBF2CD3771B8D1021EC791304BDD6C4BF41D3FAABAD48EE5E1

Device Info

Software

OS_VERSION: 4.9.206-perf
SDK_INT: 29
RELEASE: 10
ID: S618L
DISPLAY: 03.00.01
INCREMENTAL: 03.00.01
SECURITY_PATCH: 2020-06-01
IS_DEBUGGABLE: 0
IS_TREBLE_ENABLED: true
TYPE: user
TAGS: release-keys

Hardware

MANUFACTURER: SHARP
BRAND: KDDI
MODEL: SHV43
PRODUCT: MZW_jp_kdi
BOARD: Anasui
HARDWARE: qcom
DEVICE: MZW
SUPPORTED_ABIS: arm64-v8a, armeabi-v7a, armeabi

Termux Files Info

TERMUX_REQUIRED_FILES_DIR_PATH ($PREFIX): /data/data/com.termux/files
ANDROID_ASSIGNED_FILES_DIR_PATH: /data/user/0/com.termux/files

$ echo 'ls info:'
/system/bin/ls -lhdZ '/data/data' '/data/user/0' '/data/data/com.termux' '/data/user/0/com.termux' '/data/data/com.termux/files' '/data/user/0/com.termux/files' '/data/user/0/com.termux/files' '/data/user/com.termux/files' '/data/data/com.termux/files/usr-staging' '/data/data/com.termux/files/usr' '/data/data/com.termux/files/home' '/data/data/com.termux/files/usr/bin/login' 2>&1
echo; echo 'mount info:'
/system/bin/grep -E '( /data )|( /data/data )|( /data/user/[0-9]+ )' /proc/self/mountinfo 2>&1 | /system/bin/grep -v '/data_mirror' 2>&1

ls info:
ls: /data/user/com.termux/files: No such file or directory
ls: /data/data/com.termux/files/usr-staging: No such file or directory
drwxrwx--x 356 system  system  u:object_r:system_data_file:s0                  28K 2022-05-02 09:20 /data/data
drwx------   6 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:44 /data/data/com.termux
drwxrwx--x   4 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:44 /data/data/com.termux/files
drwx------   3 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:49 /data/data/com.termux/files/home
drwx------  10 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 12:49 /data/data/com.termux/files/usr
-rwx------   1 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 1.5K 2022-04-21 02:24 /data/data/com.termux/files/usr/bin/login
lrwxrwxrwx   1 root    root    u:object_r:system_data_file:s0                   10 1970-03-26 22:18 /data/user/0 -> /data/data
drwx------   6 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:44 /data/user/0/com.termux
drwxrwx--x   4 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:44 /data/user/0/com.termux/files
drwxrwx--x   4 u0_a313 u0_a313 u:object_r:app_data_file:s0:c57,c257,c512,c768 4.0K 2022-05-02 09:44 /data/user/0/com.termux/files

mount info:
3496 3453 259:38 / /data rw,nosuid,nodev,noatime master:24 - ext4 /dev/block/bootdevice/by-name/userdata rw,seclabel,noauto_da_alloc,noinit_itable,resgid=1065,errors=panic,data=ordered

Logcat Dump

$ /system/bin/logcat -d -t 3000 2>&1
--------- beginning of main
05-02 12:48:17.678 10793 10793 I com.termux: Late-enabling -Xcheck:jni
05-02 12:48:17.720 10793 10793 E com.termux: Unknown bits set in runtime_flags: 0x8000
05-02 12:48:18.359 10793 10824 I OMXClient: IOmx service obtained
05-02 12:48:18.405 10793 10824 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:48:18.408 10793 10824 W ExtendedACodec: Failed to get extension for extradata parameter
05-02 12:48:18.462 10793 10824 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:48:18.553 10793 10817 I AdrenoGLES: QUALCOMM build                   : 446a067, I04d54ab9d9
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Build Date                       : 05/18/20
05-02 12:48:18.553 10793 10817 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.06
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Local Branch                     : 
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Remote Branch                    : refs/tags/AU_LINUX_ANDROID_LA.UM.8.6.2.R1.10.00.00.537.066
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Remote Branch                    : NONE
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Reconstruct Branch               : NOTHING
05-02 12:48:18.553 10793 10817 I AdrenoGLES: Build Config                     : S L 8.0.12 AArch64
05-02 12:48:18.558 10793 10817 I AdrenoGLES: PFP: 0x005ff112, ME: 0x005ff066
05-02 12:48:18.746 10793 10817 W Gralloc3: mapper 3.x is not supported
05-02 12:48:18.785 10793 10793 W com.termux: type=1400 audit(0.0:756): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:18.825 10832 10832 W com.termux: type=1400 audit(0.0:757): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:18.825 10832 10832 W com.termux: type=1400 audit(0.0:758): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:18.835 10832 10832 W com.termux: type=1400 audit(0.0:759): avc: granted { execute } for name="dash" dev="mmcblk0p70" ino=534439 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:18.837 10793 10793 W com.termux: Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, reflection, allowed)
05-02 12:48:18.858 10793 10793 I Choreographer: Skipped 31 frames!  The application may be doing too much work on its main thread.
05-02 12:48:21.495 10845 10845 W bash    : type=1400 audit(0.0:795): avc: granted { execute } for name="pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:21.495 10845 10845 W bash    : type=1400 audit(0.0:796): avc: granted { execute } for name="pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:21.495 10845 10845 W bash    : type=1400 audit(0.0:797): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:21.495 10845 10845 W bash    : type=1400 audit(0.0:798): avc: granted { execute } for name="bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:21.495 10845 10845 W pkg     : type=1400 audit(0.0:799): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:26.385 10850 10850 W bash    : type=1400 audit(0.0:821): avc: granted { execute } for name="pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:26.385 10850 10850 W bash    : type=1400 audit(0.0:822): avc: granted { execute } for name="pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:26.385 10850 10850 W bash    : type=1400 audit(0.0:823): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/pkg" dev="mmcblk0p70" ino=533295 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:26.385 10850 10850 W bash    : type=1400 audit(0.0:824): avc: granted { execute } for name="bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:26.395 10850 10850 W pkg     : type=1400 audit(0.0:825): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:34.735 10878 10878 W bash    : type=1400 audit(0.0:915): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:34.755 10878 10878 W bash    : type=1400 audit(0.0:916): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:34.755 10878 10878 W bash    : type=1400 audit(0.0:917): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:34.755 10878 10878 W pacman  : type=1400 audit(0.0:918): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:48:34.885 10878 10878 W pacman  : type=1400 audit(0.0:919): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libz.so.1.2.12" dev="mmcblk0p70" ino=533554 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:22.464 10793 10799 I com.termux: Compiler allocated 4856KB to compile void android.view.ViewRootImpl.performTraversals()
05-02 12:49:44.098 10793 10943 I OMXClient: IOmx service obtained
05-02 12:49:44.100 10793 10943 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:49:44.102 10793 10943 W ExtendedACodec: Failed to get extension for extradata parameter
05-02 12:49:44.149 10793 10943 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:49:45.065 10946 10946 W bash    : type=1400 audit(0.0:940): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.085 10946 10946 W bash    : type=1400 audit(0.0:941): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.085 10946 10946 W bash    : type=1400 audit(0.0:942): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.085 10946 10946 W pacman  : type=1400 audit(0.0:943): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.155 10946 10946 W pacman  : type=1400 audit(0.0:944): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libssl.so.3" dev="mmcblk0p70" ino=551450 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.155 10946 10946 W pacman  : type=1400 audit(0.0:945): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libarchive.so" dev="mmcblk0p70" ino=551454 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:45.155 10946 10946 W pacman  : type=1400 audit(0.0:946): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libcharset.so" dev="mmcblk0p70" ino=541530 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.695 10951 10951 W bash    : type=1400 audit(0.0:963): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.695 10951 10951 W bash    : type=1400 audit(0.0:964): avc: granted { execute } for name="pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.695 10951 10951 W bash    : type=1400 audit(0.0:965): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.695 10951 10951 W pacman  : type=1400 audit(0.0:966): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/pacman" dev="mmcblk0p70" ino=540323 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.715 10951 10951 W pacman  : type=1400 audit(0.0:967): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libbz2.so.1.0.8" dev="mmcblk0p70" ino=551441 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.715 10951 10951 W pacman  : type=1400 audit(0.0:968): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libtermux-exec.so" dev="mmcblk0p70" ino=533372 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.715 10951 10951 W pacman  : type=1400 audit(0.0:969): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libgpgme.so" dev="mmcblk0p70" ino=539707 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.715 10951 10951 W pacman  : type=1400 audit(0.0:970): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/libcharset.so" dev="mmcblk0p70" ino=541530 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:49:49.715 10951 10951 W pacman  : type=1400 audit(0.0:971): avc: granted { execute } for path="/data/data/com.termux/files/usr/lib/liblzma.so.5.2.5" dev="mmcblk0p70" ino=541545 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:01.564 10793 10793 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@988f85d
05-02 12:50:01.748 10793 11023 I OMXClient: IOmx service obtained
05-02 12:50:01.750 10793 11023 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:50:01.752 10793 11023 W ExtendedACodec: Failed to get extension for extradata parameter
05-02 12:50:01.787 10793 11023 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:50:01.995 10793 10793 W com.termux: type=1400 audit(0.0:986): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.025 11027 11027 W com.termux: type=1400 audit(0.0:987): avc: granted { execute } for name="login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.025 11027 11027 W com.termux: type=1400 audit(0.0:988): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/login" dev="mmcblk0p70" ino=533282 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.025 11027 11027 W com.termux: type=1400 audit(0.0:989): avc: granted { execute } for name="dash" dev="mmcblk0p70" ino=534439 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.085 11027 11027 W login   : type=1400 audit(0.0:998): avc: granted { execute } for name="bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.085 11027 11027 W login   : type=1400 audit(0.0:999): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:50:02.085 11027 11027 W bash    : type=1400 audit(0.0:1000): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
--------- beginning of crash
05-02 12:50:02.089 11032 11032 F linker  : CANNOT LINK EXECUTABLE "cat": library "libiconv.so" not found
05-02 12:50:02.096 11033 11033 F linker  : CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": library "libiconv.so" not found
05-02 12:50:02.102 11027 11027 F linker  : CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": library "libiconv.so" not found
05-02 12:51:07.085 10793 10793 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@15f2616
05-02 12:51:07.226 10793 11681 I OMXClient: IOmx service obtained
05-02 12:51:07.229 10793 11681 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:51:07.230 10793 11681 W ExtendedACodec: Failed to get extension for extradata parameter
05-02 12:51:07.273 10793 11681 E ACodec  : [OMX.google.vorbis.decoder] Now Loaded
05-02 12:51:13.773 10793 10793 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
05-02 12:51:13.825 10793 10793 I chatty  : uid=10313(com.termux) identical 8 lines
05-02 12:51:13.825 10793 10793 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
05-02 12:51:17.595 10793 10793 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
05-02 12:51:17.595 10793 10793 E ViewDragHelper: Ignoring pointerId=0 because ACTION_DOWN was not received for this pointer before ACTION_MOVE. It likely happened because  ViewDragHelper did not receive all the events in the event stream.
05-02 12:51:18.774 10793 10817 D OpenGLRenderer: endAllActiveAnimators on 0x6fc7403700 (RippleDrawable) with handle 0x6fc9baf5c0
05-02 12:51:22.745 11699 11699 W Thread-8: type=1400 audit(0.0:1051): avc: granted { execute } for name="bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:51:22.745 11699 11699 W Thread-8: type=1400 audit(0.0:1052): avc: granted { execute_no_trans } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:51:22.745 11699 11699 W bash    : type=1400 audit(0.0:1053): avc: granted { execute } for path="/data/data/com.termux/files/usr/bin/bash" dev="mmcblk0p70" ino=536314 scontext=u:r:untrusted_app_27:s0:c57,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c57,c257,c512,c768 tclass=file
05-02 12:51:22.758 10793 11696 W com.termux: Accessing hidden field Ljava/lang/UNIXProcess;->pid:I (greylist, reflection, allowed)
05-02 12:51:22.766 11699 11699 F linker  : CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": library "libiconv.so" not found
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: (1) APT Info Command:
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: Previous State: `Executed`
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: Current State: `Success`
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: 
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: Stdout: -
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: Stderr:
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: ```
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: CANNOT LINK EXECUTABLE "/data/data/com.termux/files/usr/bin/bash": library "libiconv.so" not found
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: 
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: ```
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: 
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: Exit Code: `1`
05-02 12:51:22.768 10793 11696 E Termux:TermuxUtils: 

What steps will reproduce the bug?

pkg install pacman -y
pkg remove apt --allow-remove-essential
pacman -Syyu
pacman -S --overwrite "*" cmake make git
pacman -Rns make cmake git

What is the expected behavior?

No response

System information

termux-info:

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PID=12714
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_VERSION=0.118.0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirrors.ustc.edu.cn/termux/apt/termux-main stable main
Updatable packages:
All packages up to date
Android version:
10
Kernel build information:
Linux localhost 4.9.206-perf #2 SMP PREEMPT Fri Jul 3 15:12:14 JST 2020 aarch64 Android
Device manufacturer:
SHARP
Device model:
SHV43
Maxython commented 2 years ago

What steps will reproduce the bug?

pkg install pacman -y
pkg remove apt --allow-remove-essential
pacman -Syyu
pacman -S --overwrite "*" cmake make git
pacman -Rns make cmake git

Unsurprisingly, after removing packages, pacman doesn't work. Uninstalling removes the libarchive package, it is a dependency for pacman, and since you didn't install pacman via pacman, there is no dependency information for pacman in the database.

In addition, I do not recommend switching to pacman in this way. You must reinstall all apt packages via pacman. Here is the command for this:

pkg ins pacman -y
pacman -Syu
pacman -S $(pkg list-i | sed 's|/| |; s|Listing...||' | awk '{ printf $1 " " }') --overwrite "*"
pacman -Rcns apt dpkg # You also need to remove apt via pacman

You can also generate bootstrap based on pacman using scripts/generate-bootstraps.sh with the --pm pacman flag.

2096779623 commented 2 years ago

OK,Thanks!