Opened 5 weeks ago

Closed 5 weeks ago

#32426 closed defect (fixed)

Build of tbb-9.5a2-build5 fails

Reported by: boklm Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: TorBrowserTeam201911
Cc: Actual Points: 0.1
Parent ID: Points: 0.1
Reviewer: Sponsor:

Description

While building tbb-9.5a2-build5, the Android build worked, however the linux64 build failed with the following error:

23:42.07    Compiling gkrust v0.1.0 (/var/tmp/build/firefox-f1f9fa028698/toolkit/library/rust)
23:42.07      Running `CARGO_PKG_VERSION=0.1.0 CARGO_PKG_HOMEPAGE= CARGO_PKG_REPOSITORY= CARGO_PKG_VERSION_PRE= CARGO_PRIMARY_PACKAGE=1 CARGO_PKG_VERSION_PATCH=0 CARGO=/var/tmp/dist/rust/bin/cargo CARGO_PKG_NAME=gkrust CARGO_PKG_AUTHORS='nobody@mozilla.org' CARGO_PKG_VERSION_MINOR=1 CARGO_MANIFEST_DIR=/var/tmp/build/firefox-f1f9fa028698/toolkit/library/rust CARGO_PKG_VERSION_MAJOR=0 LD_LIBRARY_PATH='/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/release/deps:/var/tmp/dist/rust/lib:/var/tmp/dist/gcc/lib64:/var/tmp/dist/gcc/lib32' CARGO_PKG_DESCRIPTION='Rust code for libxul' /var/tmp/dist/rust/bin/rustc --crate-name gkrust toolkit/library/rust/lib.rs --color never --crate-type staticlib --emit=dep-info,link -C opt-level=1 -C panic=abort -C codegen-units=1 -C lto --cfg 'feature="bindgen"' --cfg 'feature="cubeb-remoting"' --cfg 'feature="cubeb_pulse_rust"' --cfg 'feature="gecko_profiler"' --cfg 'feature="gkrust-shared"' --cfg 'feature="moz_memory"' --cfg 'feature="moz_places"' --cfg 'feature="quantum_render"' --cfg 'feature="servo"' -C metadata=dcd4ffc931c663f1 -C extra-filename=-dcd4ffc931c663f1 --out-dir /var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C linker=/var/tmp/build/firefox-f1f9fa028698/build/cargo-linker -C incremental=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/incremental -L dependency=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps -L dependency=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/release/deps --extern gkrust_shared=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libgkrust_shared-bcf6be2ebeec79e5.rlib --extern mozilla_central_workspace_hack=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/deps/libmozilla_central_workspace_hack-cc0cdad8c05e6c62.rlib -C opt-level=1 -C debuginfo=2 --cap-lints warn -L native=/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/build/lmdb-rkv-sys-322a9df1118f6bca/out`
28:02.89     Finished release [optimized] target(s) in 27m 30s
28:02.94 /var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/_virtualenvs/init/bin/python -m mozbuild.action.check_binary --target --networking /var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a
28:04.66 TEST-UNEXPECTED-FAIL | check_networking | libgkrust.a | Identified 1 networking function(s) being imported in the rust static library (getsockname)
28:04.70 make[4]: *** [/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a] Error 1
28:04.70 make[4]: *** Deleting file `/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/x86_64-unknown-linux-gnu/release/libgkrust.a'
28:04.70 make[4]: Leaving directory `/var/tmp/build/firefox-f1f9fa028698/obj-x86_64-pc-linux-gnu/toolkit/library/rust'

Child Tickets

Change History (2)

comment:1 Changed 5 weeks ago by boklm

I am wondering if it related with the workaround for #32053.

comment:2 in reply to:  1 Changed 5 weeks ago by gk

Actual Points: 0.1
Keywords: TorBrowserTeam201911 added
Points: 0.1
Resolution: fixed
Status: newclosed

Replying to boklm:

I am wondering if it related with the workaround for #32053.

It is, alas. Backing out the workaround solves the problem. This is done in commit b223504c86b01d2e8d80daad4efe8f009e6b8879 on tor-browser-68.2.0esr-9.5-1.

Note: See TracTickets for help on using tickets.