Error building tor in tor browser nightly builds
We currently have an error when building tor for linux i686 and x86_64, using master commit.
The build fails with the following error:
CC src/feature/dirauth/src_core_libtor_app_testing_a-shared_random_state.o
( cd "/var/tmp/build/tor-df444e482bc0/src/rust" ; \
CARGO_TARGET_DIR="/var/tmp/build/tor-df444e482bc0/src/rust/target" \
CARGO_HOME="/var/tmp/build/tor-df444e482bc0/src/rust" \
cargo build --release \
--frozen \
--manifest-path "/var/tmp/build/tor-df444e482bc0/src/rust/tor_rust/Cargo.toml" )
cargo: /var/tmp/dist/tor/Tor/libssl.so.1.0.0: no version information available (required by cargo)
cargo: /var/tmp/dist/tor/Tor/libssl.so.1.0.0: no version information available (required by cargo)
cargo: /var/tmp/dist/tor/Tor/libcrypto.so.1.0.0: no version information available (required by cargo)
cargo: /var/tmp/dist/tor/Tor/libcrypto.so.1.0.0: no version information available (required by cargo)
cargo: /var/tmp/dist/tor/Tor/libcrypto.so.1.0.0: no version information available (required by cargo)
error: process didn't exit successfully: `rustc -vV` (exit code: 101)
--- stdout
rustc 1.26.1
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.26.1
--- stderr
error: couldn't load codegen backend "/var/tmp/dist/rust/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_trans-llvm.so": "/var/tmp/dist/rust/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends/librustc_trans-llvm.so: undefined symbol: _ZNKSt3_V214error_category10_M_messageB5cxx11Ei"
make[1]: *** [src/rust/target/release/libtor_rust.a] Error 101
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/build/tor-df444e482bc0'
make: *** [all] Error 2
We don't have this error on our Windows and macOS build, but it is probably because we only use rust for the Linux build for now.
I started seeing this error on August 8.