-
Notifications
You must be signed in to change notification settings - Fork 20
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
Feature request: Handle Termux PREFIX #148
Comments
This also seems to cause networking issues. I ran
Then I used Looking at the strace, it looked all over for ssl/tls stuff, eventually finding it in the PREFIX. It also tried and failed to access
So, it doesn't know how to look up dns settings. It was able to find the SSL files after looking all over the place. Looking at the strace for wget (which succeeds), it looks under the prefix to find the file:
|
This is probably going to take quite a bit of effort to get working. I'll poke at it every now and then to try and make progress. Today's progress was identifying the core incompatibilities. Next time I will try building scie-pants for Termux. I suspect I will run into issues with PBS since that does not have any of the Termux-specific patches. Anyway, I'm assigning this to myself. |
I'm closer. Apparently, Termux has https://wiki.termux.com/wiki/Differences_from_Linux
So, using proot allowed DNS resolution and downloading python to succeed. Now python is having issues starting:
strace didn't help (it had to be outside of proot with:
|
I'm on Android, trying to use this in Termux.
One issue I've found so far is best summarized by https://github.com/termux/termux-exec:
I ran into this issue when attempting to run this in a clone of the pantsbuild/pants repo:
Which appears to be triggered here:
scie-pants/src/main.rs
Lines 130 to 145 in 9646e81
scie-pants/src/main.rs
Lines 70 to 72 in 9646e81
I suspect rust does not use
LD_PRELOAD
which is how https://github.com/termux/termux-exec fixes this error.Is there something else scie-pants could do to detect it is running in a prefix, and so should use PATH or PREFIX vars?
note: there are probably other issues running with Termux. I will file separate issues.
The text was updated successfully, but these errors were encountered: