proot-termux: unstable-2024-05-04 -> unstable-2026-02-20#529
Open
newAM wants to merge 1 commit into
Open
Conversation
This contains a patch to fix the TCSETS2 syscall used by tcgetattr.
Author
|
I did more testing, and eventually this broke. I'm not sure if that was from restarting the app, or one of my rebuilds, or if this fix never really worked in the first place... I think it's a good idea to update proot anyway, even if this isn't a complete fix. Edit: Found the problem, I pointed my |
worldofgeese
added a commit
to worldofgeese/den
that referenced
this pull request
May 7, 2026
glibc 2.42 uses TCSETS2/TCGETS2 ioctls that proot can't handle, causing "getting pseudoterminal attributes: Permission denied" during nix-on-droid activation. Pin to nixpkgs 88d3861 (2026-01-21, last working commit). Track removal at: nix-community/nix-on-droid#529 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
worldofgeese
added a commit
to worldofgeese/den
that referenced
this pull request
May 7, 2026
glibc 2.42 uses TCSETS2/TCGETS2 ioctls that proot can't handle, causing "getting pseudoterminal attributes: Permission denied" during nix-on-droid activation. Pin to nixpkgs 88d3861 (2026-01-21, last working commit). Track removal at: nix-community/nix-on-droid#529 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #495
The proot-termux update contains patches to fix the TCSETS2 syscall used by
tcgetattr.I have tested this on a fresh nix-on-droid install using the F-Droid apk. Steps to test:
nixpkgsinput fornix-on-droidin yourflake.nix(assume you pinned to workaround Activation failed with the latest nixos-unstable #495)nix build .#prootTermux-x86_64andnix build .#prootTermux-aarch64modules/environment/nix.nix/nix/storeproot paths inmodules/environment/login/default.nixto whatever you uploaded to the cachenix build ".#bootstrapZip-aarch64" --impureand copy the resulting .zip to a public https server (http didn't work for me)