afiore's android build fixes#10486
Merged
SomberNight merged 5 commits intospesmilo:masterfrom May 6, 2026
Merged
Conversation
added 2 commits
February 11, 2026 11:24
The previous layers were somewhat senseless; as the buildozer user's UID and environment must remain static across the entire build. Resolves: "Usage of undefined variable '$HOME_DIR'" Refactoring command args also keeps things sane.
Resolves:
ERROR: Could not open requirements file: [Errno 13] Permission
denied: '/opt/deterministic-build/requirements-build-base.txt'
SomberNight
commented
Feb 19, 2026
SomberNight
pushed a commit
to SomberNight/electrum
that referenced
this pull request
May 6, 2026
A continuation of 99b0df0, as requested in spesmilo#10486.
SomberNight
pushed a commit
to SomberNight/electrum
that referenced
this pull request
May 6, 2026
A continuation of 99b0df0, as requested in spesmilo#10486.
SomberNight
commented
May 6, 2026
| -v "$PROJECT_ROOT_OR_FRESHCLONE_ROOT":/home/user/wspace/electrum \ | ||
| -v "$PROJECT_ROOT_OR_FRESHCLONE_ROOT"/.buildozer/.gradle:/home/user/.gradle \ | ||
| $DOCKER_RUN_FLAGS \ | ||
| --user user \ |
Member
Author
There was a problem hiding this comment.
The Dockerfile already has a USER user directive.
What effect would this docker run --user user have then? Shouldn't it be a NO-OP?
Member
Author
There was a problem hiding this comment.
I have dropped that commit (3d7d7ac) for now.
A continuation of 99b0df0, as requested in spesmilo#10486.
- both "ELECBUILD_COMMIT fresh_clone builds" and "local dev builds" should work even when the unix user has a different UID than 1000 on the host machine - though I guess running as root does not work but that's prob ok issue was: ``` $ echo $UID 1111 $ ./contrib/build-linux/appimage/build.sh 🗯 ERROR: Building outside a git clone is not supported. ```
d9db1f3 to
b3be2a0
Compare
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.
from https://gitea.com/AaronFiore/electrum/commits/branch/android-docker-build-fixes