Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to install Parsl #4082

Closed
Kanegraffiti opened this issue Aug 5, 2024 · 2 comments
Closed

[Bug]: Unable to install Parsl #4082

Kanegraffiti opened this issue Aug 5, 2024 · 2 comments

Comments

@Kanegraffiti
Copy link

Problem description

I have tried repeatedly to install Parsl with no success Here's the full terminal transcript of my most recent attempt:https://docs.google.com/document/d/1SWYtKsejqdYj1ZCVCSYQGYeE2uqkSyWYQ61pJHjh4Hg/edit?usp=sharing

Steps to reproduce the behavior.

  • pkg install python
  • pip install parsl

What is the expected behavior?

Parsl should be installed

System information

Device Information

  • Device Manufacturer: LENOVO
  • Device Model: Lenovo TB128FU
  • Android Version: 12
  • Kernel Version: 4.19.157-perf+
    • Kernel Build Date: Fri Feb 3 10:52:41 CST 2023

System Information

  • Operating System: Linux
  • Architecture: aarch64
  • Platform: Linux-4.19.157-perf+-aarch64-with-libc
  • Processor:
    • Qualcomm Technologies, Inc KHAJE
    • CPU Cores: 8
      • Processor 0-3: AArch64 Processor rev 0 (aarch64) with BogoMIPS: 38.40
        • CPU Implementer: 0x51
        • CPU Architecture: 8
        • CPU Variant: 0xa
        • CPU Part: 0x801
        • CPU Revision: 4
        • Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
      • Processor 4-7: AArch64 Processor rev 0 (aarch64) with BogoMIPS: 38.40
        • CPU Implementer: 0x41
        • CPU Architecture: 8
        • CPU Variant: 0x1
        • CPU Part: 0xd09
        • CPU Revision: 0
        • Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

Termux Environment

  • Termux Version: 0.118.1
  • Package Manager: apt
  • Subscribed Repositories:
    • deb https://termux.librehat.com/apt/termux-main stable main
    • deb https://termux.librehat.com/apt/termux-root root stable
    • deb https://termux.librehat.com/apt/termux-x11 x11 main
  • Updatable Packages:
    • c-ares: upgradable from 1.31.0 to 1.32.2
    • command-not-found: upgradable from 2.4.0-33 to 2.4.0-34
    • liblz4: upgradable from 1.9.4-1 to 1.10.0
  • Installed Termux Plugins:
    • com.termux.api versionCode:51
    • com.termux.styling versionCode:1000

Installed Packages

  • Total Installed Packages: Numerous packages including core utilities, development tools, and libraries.
    • Examples:
      • apt: 2.7.14-1
      • bash: 5.2.26-1
      • clang: 18.1.8
      • curl: 8.8.0
      • git: 2.45.2
      • python: 3.11.9-3

Storage Information

  • Filesystem: Various partitions with specific usages and available space.
    • / (root): 1.9G, 100% used
    • /system_ext: 488M, 100% used
    • /vendor: 531M, 100% used
    • /product: 1.8G, 100% used
    • /data: 105G, 24% used
    • /storage/emulated: 105G, 24% used
    • /storage/A896-088A: 30G, 55% used

Detailed CPU Information

  • Architecture: aarch64
  • Byte Order: Little Endian
  • CPU(s): 8 (Online: 0-7)
  • Vendor ID: Qualcomm
  • CPU Model Names:
    • Kryo-V2
    • Cortex-A73
  • CPU Max MHz:
    • Kryo-V2: 1900.8000 MHz
    • Cortex-A73: 2400.0000 MHz
  • CPU Min MHz: 300.0000 MHz
  • Vulnerabilities:
    • Meltdown: Vulnerable
    • Spec Store Bypass: Vulnerable
    • Spectre v1: Mitigation; __user pointer sanitization
    • Other Vulnerabilities: Not affected

Additional Information

  • Termux LD Variables:
    • LD_LIBRARY_PATH: (empty)
    • LD_PRELOAD: /data/data/com.termux/files/usr/lib/libtermux-exec.so

Full List of Installed Packages

apt/stable,now 2.7.14-1 aarch64 [installed]
bash-completion/stable,now 2.14.0 all [installed,automatic]
bash/stable,now 5.2.26-1 aarch64 [installed]
bzip2/stable,now 1.0.8-6 aarch64 [installed]
c-ares/stable,now 1.31.0 aarch64 [installed,automatic]
ca-certificates/stable,now 1:2024.07.02 all [installed]
clang/stable,now 18.1.8 aarch64 [installed,automatic]
command-not-found/stable,now 2.4.0-32 aarch64 [installed]
coreutils/stable,now 9.5 aarch64 [installed]
curl/stable,now 8.8.0 aarch64 [installed]
dash/stable,now 0.5.12 aarch64 [installed]
debianutils/stable,now 5.20 aarch64 [installed]
dialog/stable,now 1.3-20240307-0 aarch64 [installed]
diffutils/stable,now 3.10 aarch64 [installed]
dos2unix/stable,now 7.5.2 aarch64 [installed]
dpkg/stable,now 1.22.6 aarch64 [installed]
ed/stable,now 1.20.2 aarch64 [installed]
findutils/stable,now 4.9.0-2 aarch64 [installed]
gawk/stable,now 5.3.0 aarch64 [installed]
gdbm/stable,now 1.23 aarch64 [installed,automatic]
gh/stable,now 2.52.0 aarch64 [installed]
git/stable,now 2.45.2 aarch64 [installed]
glib/stable,now 2.80.4 aarch64 [installed,automatic]
gpgv/stable,now 2.4.5-1 aarch64 [installed]
grep/stable,now 3.11 aarch64 [installed]
gzip/stable,now 1.13 aarch64 [installed]
inetutils/stable,now 2.4-1 aarch64 [installed]
krb5/stable,now 1.21.3 aarch64 [installed,automatic]
ldns/stable,now 1.8.3-2 aarch64 [installed,automatic]
less/stable,now 661 aarch64 [installed]
libandroid-glob/stable,now 0.6-2 aarch64 [installed]
libandroid-posix-semaphore/stable,now 0.1-3 aarch64 [installed,automatic]
libandroid-support/stable,now 29 aarch64 [installed]
libassuan/stable,now 2.5.7 aarch64 [installed]
libbz2/stable,now 1.0.8-6 aarch64 [installed]
libc++/stable,now 26b aarch64 [installed]
libcap-ng/stable,now 2:0.8.5 aarch64 [installed]
libcompiler-rt/stable,now 18.1.8 aarch64 [installed,automatic]
libcrypt/stable,now 0.2-5 aarch64 [installed]
libcurl/stable,now 8.8.0 aarch64 [installed]
libdb/stable,now 18.1.40-4 aarch64 [installed,automatic]
libedit/stable,now 20240517-3.1-0 aarch64 [installed,automatic]
libevent/stable,now 2.1.12-2 aarch64 [installed]
libexpat/stable,now 2.6.2 aarch64 [installed]
libffi/stable,now 3.4.6-1 aarch64 [installed,automatic]
libgcrypt/stable,now 1.10.3-1 aarch64 [installed]
libgmp/stable,now 6.3.0 aarch64 [installed]
libgnutls/stable,now 3.8.5 aarch64 [installed]
libgpg-error/stable,now 1.49 aarch64 [installed]
libiconv/stable,now 1.17 aarch64 [installed]
libicu/stable,now 75.1 aarch64 [installed,automatic]
libidn2/stable,now 2.3.7 aarch64 [installed]
libllvm/stable,now 18.1.8 aarch64 [installed,automatic]
liblz4/stable,now 1.9.4-1 aarch64 [installed]
liblzma/stable,now 5.6.2 aarch64 [installed]
libmd/stable,now 1.1.0 aarch64 [installed,automatic]
libmpfr/stable,now 4.2.1 aarch64 [installed]
libnettle/stable,now 3.9.1 aarch64 [installed]
libnghttp2/stable,now 1.62.1 aarch64 [installed]
libnghttp3/stable,now 1.4.0 aarch64 [installed,automatic]
libnpth/stable,now 1.6-2 aarch64 [installed]
libresolv-wrapper/stable,now 1.1.7-4 aarch64 [installed,automatic]
libsmartcols/stable,now 2.39.3-4 aarch64 [installed,automatic]
libsqlite/stable,now 3.46.0 aarch64 [installed,automatic]
libssh2/stable,now 1.11.0 aarch64 [installed]
libtirpc/stable,now 1.3.4-1 aarch64 [installed]
libunbound/stable,now 1.20.0-1 aarch64 [installed,automatic]
libunistring/stable,now 1.1 aarch64 [installed]
libxml2/stable,now 2.13.2-1 aarch64 [installed,automatic]
lld/stable,now 18.1.8 aarch64 [installed,automatic]
llvm/stable,now 18.1.8 aarch64 [installed,automatic]
lsof/stable,now 4.99.3 aarch64 [installed]
make/stable,now 4.4.1 aarch64 [installed,automatic]
nano/stable,now 8.0 aarch64 [installed]
ncurses-ui-libs/stable,now 6.4.20231001-4 aarch64 [installed,automatic]
ncurses/stable,now 6.4.20231001-4 aarch64 [installed]
ndk-sysroot/stable,now 26b-3 aarch64 [installed,automatic]
net-tools/stable,now 2.10.0 aarch64 [installed]
nodejs/stable,now 22.4.0 aarch64 [installed]
openssh-sftp-server/stable,now 9.8p1-4 aarch64 [installed,automatic]
openssh/stable,now 9.8p1-4 aarch64 [installed,automatic]
openssl/stable,now 1:3.2.1-1 aarch64 [installed]
patch/stable,now 2.7.6-4 aarch64 [installed]
pcre2/stable,now 10.44 aarch64 [installed]
pcre/stable,now 8.45-1 aarch64 [installed]
pkg-config/stable,now 0.29.2-2 aarch64 [installed,automatic]
procps/stable,now 3.3.17-5 aarch64 [installed]
psmisc/stable,now 23.7 aarch64 [installed]
python-ensurepip-wheels/stable,now 3.11.9-3 all [installed,automatic]
python-pip/stable,now 24.1.2 all [installed,automatic]
python/stable,now 3.11.9-3 aarch64 [installed]
readline/stable,now 8.2.10 aarch64 [installed]
resolv-conf/stable,now 1.3 aarch64 [installed,automatic]
root-repo/stable,now 2.4-2 all [installed]
sed/stable,now 4.9-1 aarch64 [installed]
tar/stable,now 1.35 aarch64 [installed]
termux-am-socket/stable,now 1.5.0 aarch64 [installed]
termux-am/stable,now 0.8.0 all [installed]
termux-api/stable,now 0.58.0-1 aarch64 [installed]
termux-auth/stable,now 1.4-2 aarch64 [installed,automatic]
termux-exec/stable,now 1:1.0 aarch64 [installed]
termux-keyring/stable,now 3.12-1 all [installed]
termux-licenses/stable,now 2.0-3 all [installed]
termux-tools/stable,now 1.42.4 all [installed]
unbound/stable,now 1.20.0-1 aarch64 [installed]
unzip/stable,now 6.0-9 aarch64 [installed]
util-linux/stable,now 2.39.3-4 aarch64 [installed]
x11-repo/stable,now 8.4-1 all [installed]
xxhash/stable,now 0.8.2 aarch64 [installed]
xz-utils/stable,now 5.6.2 aarch64 [installed]
zlib/stable,now 1.3.1 aarch64 [installed]
zstd/stable,now 1.5.6 aarch64 [installed,automatic]

@sylirre
Copy link
Member

sylirre commented Aug 19, 2024

Try supplying flag --no-build-isolation as Python won't be able to install cmake anyway. You have to use cmake provided as Termux package.

Install rust compiler by pkg install rust.

Remember that PyPI doesn't provide prebuilt wheels for Termux. Everything is being created from source code on device. That task requires build tools to be installed, even if tools such as Rust may seem be too far from Python programming language.

@Kanegraffiti
Copy link
Author

Try supplying flag --no-build-isolation as Python won't be able to install cmake anyway. You have to use cmake provided as Termux package.

Install rust compiler by pkg install rust.

Remember that PyPI doesn't provide prebuilt wheels for Termux. Everything is being created from source code on device. That task requires build tools to be installed, even if tools such as Rust may seem be too far from Python programming language.

Thank you very much for responding! I'll try this and give you feedback

@twaik twaik closed this as completed Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants