Attempt at adding tor 0.3.5.3-alpha
We are attempting to make use of some new Tor features and follow the cutting edge of tor. I tried adding to tor-versions.json
"0.3.5.3-alpha": {
"tor": "tor-0.3.5.3-alpha",
"libevent": "release-2.0.22-stable",
"openssl": "OpenSSL_1_0_2p",
"xz": "v5.2.4",
"zlib": "v1.2.11",
"zstd": "v1.3.5",
"tor-android": "e822160b00aaed587965547eacad0566eec7de73",
"tor_android_repo_url": "https://github.com/n8fr8/tor-android",
"ndk": {
"url": "https://dl.google.com/android/repository/android-ndk-r18b-linux-x86_64.zip",
"revision": "18.1.5063045",
"sha256": "4f61cbe4bbf6406aa5ef2ae871def78010eed6271af72de83f8bd0b07a9fd3fd"
}
},
but when I ran docker run briar/tor-reproducer:latest ./build-tor.py 0.3.5.3-alpha
(after building a new docker image)
it crashed with:
checking for arm-linux-androideabi-gcc... /opt/tor-reproducer/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/tor-reproducer/android-ndk/platforms/android-16/arch-arm
checking whether the C compiler works... no
configure: error: in `/opt/tor-reproducer/tor-android/external/xz':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [xz/Makefile] Error 77
Makefile:200: recipe for target 'xz/Makefile' failed
make: Leaving directory '/opt/tor-reproducer/tor-android/external'
Building Tor tor-0.3.5.3-alpha
Downloading Android NDK...
Unpacking Android NDK...
Checking out tor: tor-0.3.5.3-alpha
Checking out libevent: release-2.0.22-stable
Checking out openssl: OpenSSL_1_0_2p
Checking out xz: v5.2.4
Checking out zlib: v1.2.11
Checking out zstd: v1.3.5
Sha256 hash of tor before zipping tor_linux-x86_64.zip: 3d27eb29ac2d609bb1894d59f09f7ad9d3246a12af85d29f2a595edfcf33fadf
Traceback (most recent call last):
File "./build-tor.py", line 276, in <module>
main()
File "./build-tor.py", line 30, in main
build_android()
File "./build-tor.py", line 148, in build_android
build_android_arch('tor_arm_pie.zip')
File "./build-tor.py", line 168, in build_android_arch
check_call(['make', '-C', 'external', 'clean', 'tor'], cwd=REPO_DIR)
File "/usr/lib/python3.5/subprocess.py", line 271, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-C', 'external', 'clean', 'tor']' returned non-zero exit status 2
I'll probably continue to poke at this but you have much more experience with it, if anything jumps out at you, I'd love to hear. thanks!