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

I endeavoured to install proot on an up to date Termux host from source without success #389

Open
b9Joker108 opened this issue Oct 18, 2024 · 0 comments

Comments

@b9Joker108
Copy link

b9Joker108 commented Oct 18, 2024

Expected Behavior

For proot to install.

Actual Behavior

I am getting the following shell output:

❯ zz proot
/data/data/com.termux/files/home/proot
❯ make -C src loader.elf loader-m32.elf build.h
make: Entering directory '/data/data/com.termux/files/home/proot/src'
  CC    loader/loader.o
./loader/loader.c:261:5: warning: inline asm clobber list contains reserved registers: SP [-Winline-asm]
  261 |                                 BRANCH(stmt->start.stack_pointer, stmt->start.entry_point);
      |                                 ^
./loader/assembly-arm64.h:32:3: note: expanded from macro 'BRANCH'
   32 |                 "// Restore initial stack pointer.      \n\t"   \
      |                 ^
./loader/loader.c:261:5: note: Reserved registers on the clobber list may not be preserved across the asm statement, and clobbering them may lead to undefined behaviour.
./loader/assembly-arm64.h:32:3: note: expanded from macro 'BRANCH'
   32 |                 "// Restore initial stack pointer.      \n\t"   \
      |                 ^
1 warning generated.
  CC    loader/assembly.o
  LD    loader/loader
make: *** No rule to make target 'loader-m32.elf'.  Stop.
make: Leaving directory '/data/data/com.termux/files/home/proot/src'

Steps to Reproduce the Problem

  1. git clone https://github.com/proot-me/proot
  2. zz proot
  3. make -C src loader.elf loader-m32.elf build.h

Specifications

❯ termux-info
Termux Variables:
TERMUX_API_VERSION=0.50.1
TERMUX_APK_RELEASE=F_DROID
TERMUX_APP_PACKAGE_MANAGER=apt
TERMUX_APP_PID=27343
TERMUX_IS_DEBUGGABLE_BUILD=0
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_VERSION=0.118.1
TERMUX__USER_ID=0
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://mirror.albony.xyz/termux/termux-main stable main
# sources.list.d/pointless.list
deb https://its-pointless.github.io/files/21 termux extras
# sources.list.d/ivam3-termux-packages.list
deb [trusted=yes arch=all] https://ivam3.github.io/termux-packages stable extras
# x11-repo (sources.list.d/x11.list)
deb https://mirror.albony.xyz/termux/termux-x11 x11 main
# tur-repo (sources.list.d/tur.list)
deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous
# root-repo (sources.list.d/root.list)
deb https://mirror.albony.xyz/termux/termux-root root stable
# sources.list.d/rendiix.list
deb https://rendiix.github.io android-tools termux
Updatable packages:
imath/stable 3.1.12 aarch64 [upgradable from: 3.1.11]
libdav1d/stable 1.5.0 aarch64 [upgradable from: 1.4.3]
termux-am/stable 0.8.0-1 all [upgradable from: 0.8.0]
vtm/stable 0.9.99.24 aarch64 [upgradable from: 0.9.99.23]
termux-tools version:
1.44.1
Android version:
14
Kernel build information:
Linux localhost 5.15.123-android13-8-28577532-abX910XXS4BXG5 #1 SMP PREEMPT Thu Jul 11 02:48:07 UTC 2024 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-X910
LD Variables:
LD_LIBRARY_PATH=:/data/data/com.termux/files/home/install/lib
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so
Installed termux plugins:
com.termux.widget versionCode:13
com.termux.x11 versionCode:14
com.termux.api versionCode:51
com.termux.window versionCode:15
com.termux.styling versionCode:1000

Any assistance greatly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant