-
-
Notifications
You must be signed in to change notification settings - Fork 156
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
v0.7.6 build fails: package android.support.annotation does not exist #1496
Comments
Just checked, and the same issue was already present in v0.7.5, which is marked as the currently released version on GitHub. |
The EACCESS happens if you run the build twice I think. The docker container is acting as root and leaving the node_modules owned by root. The build error ... can confirm. |
We'll still address this issue, but try running as root; it should produce a deterministic build. I hadn't caught this earlier because the react-native-community Docker image doesn't support Apple silicon which my machine uses. When I build I typically pull down a fresh box and just run everything as root. |
I've updated the libraries that were giving problems. I've tested that the app compiles now, but as some libraries contain more than 3 years of changes, maybe we need to test the app before merging to master? I'll do some app testing if somebody don't do it before, but I'm traveling during the weekend, so I don't have a lot of time to do it now :) |
@kaloudis I also forgot to say that another fix would be upgrading the container to version 9.0 ( As a fix, it could be worse because I don't know how it fixes the problem, but the good part would be that we are not touching the code or the libraries, so we don't need to extra-test the app. |
For WalletScrutiny, running as root is not practical but I also don't know what is fair to expect and what not. The current reproducible build instructions require root and use a huge docker image of 3.5GB and of course the 1GB for the NDK. Emanuel showed for an older version how building can be done without requiring root and with a much slimmer (and more "standard") docker image here. I might be able to test the current version using root at some point - renting a server would be my choice for ease of use but I'm also looking into headless qemu/virtualbox. It needs to be possible to automate the testing of new versions without running blindly whatever the |
Root is not needed if you use my PR, or use version 9.0 of the |
I can confirm that v0.7.7-beta1 is reproducible. We will mark Zeus as reproducible in WalletScrutiny soon. |
This was published two days ago. |
Fixed in v0.7.7 |
Describe the bug
Fatal, see log file below.
Further above there are more errors, probably unrelated:
Reproduce
From a clean workspace, run
./build.sh
.Zeus version
v0.7.6
Node interface
LND (REST)
Network
Tor
Device
Dell XPS
Device operating system
Ubuntu 22.04.2
Docker version 20.10.21, build 20.10.21-0ubuntu1~22.04.3
Log output
The text was updated successfully, but these errors were encountered: