Skip to content

[Bug]: codex miserably fails #2432

@tomiia

Description

@tomiia

Problem description

when trying to run codex, it gives use a warning
proceeding, even though we could not update PATH: try_lock() not supported

and then fail with
Error: thread/start failed during TUI bootstrap

apparently someone is working on it
wallentx/codex-termux#5

someone shared that related to cpal patch too, no idea if it's relevant but who knows
https://github.com/termux/termux-packages/blob/a52e7a540a38c6817a2e58808374e10deec677fd/x11-packages/rnote/build.sh#L31

What steps will reproduce the bug?

install codex-cli from tur repo with pkg command

pkg install tur-repo
pkg install codex
codex

then login with your preferred method
(it is not reproducible without login in first)

Image

What is the expected behavior?

codex should launch after login but does not

Image

System information

termux-info:

Termux Variables:
TERMUX_API_VERSION=0.53.0
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=1722
TERMUX_APP__DATA_DIR=/data/user/0/com.termux
TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c220,c257,c512,c768
TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.3
TERMUX__HOME=/data/data/com.termux/files/home
TERMUX__PREFIX=/data/data/com.termux/files/usr
TERMUX__ROOTFS_DIR=/data/data/com.termux/files
TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c220,c257,c512,c768
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
\# sources.list
deb https://packages.termux.dev/apt/termux-main stable main
\# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
Updatable packages:
golang/stable 3:1.26.2 aarch64 [upgradable from: 3:1.26.1]
mesa-vulkan-icd-swrast/stable 26.0.5 aarch64 [upgradable from: 26.0.4]
openssl/stable 1:3.6.2 aarch64 [upgradable from: 1:3.6.1]
surge-cli/tur-packages 0.8.1 aarch64 [upgradable from: 0.8.0-1]
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 6.1.118-android14-11-ga3b9c44908dd-ab13320413 #1 SMP PREEMPT Mon Apr  7 08:09:31 UTC 2025 aarch64 Android
Device manufacturer:
Xiaomi
Device model:
24115RA8EG
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a
SUPPORTED_32_BIT_ABIS:
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.widget versionCode:1001
com.termux.api versionCode:1002
com.termux.tasker versionCode:1002

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions