I saw a failing builds in comment:42:ticket:27977 and later on complaining about missing tor-android-binary resources (*.pom and *.aar). Today I saw a build where Gradle is even downloading both files during build. I double-checked and they are available in gradle-dependecies-3 which we use during build, which is pretty concerning.
We should figure our what is going on here.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
Gradle offline is flagged so it shouldn't download anything (although there can always be a bug in gradle). It could be that the files are not actually downloading even though the logs say it is attempting download. Did the build say it was downloading and then pass the build. Or did it say it was downloading and then fail the build?
Gradle offline is flagged so it shouldn't download anything (although there can always be a bug in gradle). It could be that the files are not actually downloading even though the logs say it is attempting download. Did the build say it was downloading and then pass the build. Or did it say it was downloading and then fail the build?
and then the build passed. My guess is that in the rare cases I saw the build failures this resulted in the download failing for some reason. And later on the missing dependencies were not available.
The big question is why it is downloading those things and just those two even though we bundled everything.
We don't see the tor-android-binary download during the orbot build but we see it in the firefox build. The reason is that orbot is moving the artifact to the correct gradle cache location during its build. Firefox build is not. I'll get in a fix shortly.
I've got the fix ready but the current build is giving me an error in the firefox-locale-bundle. It looks like a perl module isn't installed.
Can't locate JSON.pm in @INC (you may need to install the JSON module)....BEGIN failed--compilation aborted at /home/shane/github/tor-browser-4/projects/firefox-locale-bundle/get_hg_hash line 4.
I've got the fix ready but the current build is giving me an error in the firefox-locale-bundle. It looks like a perl module isn't installed.
{{{
Can't locate JSON.pm in @INC (you may need to install the JSON module)
....
BEGIN failed--compilation aborted at /home/shane/github/tor-browser-4/projects/firefox-locale-bundle/get_hg_hash line 4.
}}}
Yes, you need to install that perl module on your build machine, see the README and the commit message of commit 56ce89fe1a99c304b7292a7087ae8d0ad2412273.