Date: Fri, 9 Oct 2020 13:15:51 -0300 From: Renato Botelho <garga@FreeBSD.org> To: ports@FreeBSD.org Cc: tobik@FreeBSD.org Subject: Re: lang/rust failing to build on aarch64 Message-ID: <2a8f0b28-af6b-eb71-8b5e-8f69119293b5@FreeBSD.org> In-Reply-To: <dc86cf15-2a3a-7820-b83d-fbb54345a503@FreeBSD.org> References: <dc86cf15-2a3a-7820-b83d-fbb54345a503@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/10/20 09:16, Renato Botelho wrote: > Here at pfSense we follow ports tree quarterly branch. This week I > merged 2020Q4 and then rust stop building on 12.x aarch64. > > Before the merge we had rust version 1.44.1_1 and now we got 1.46.0. > > We do native build on a ThunderX running 13-CURRENT from January > (r357002) and poudriere jail is running stable/12 based src. When I try > to build I got the following error (full log at [1]): > > rustc command: > "LD_LIBRARY_PATH"="/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib:/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-std/release/deps:/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib" > "/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/rustc" "--crate-name" > "rustc_std_workspace_core" "--edition=2018" > "src/tools/rustc-std-workspace-core/lib.rs" "--error-format=json" > "--json=diagnostic-rendered-ansi,artifacts" "--crate-type" "lib" > "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-Cembed-bitcode=no" > "-C" "debuginfo=0" "-C" "metadata=6ef567c55f0253ba" "-C" > "extra-filename=-6ef567c55f0253ba" "--out-dir" > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps" > "--target" "aarch64-unknown-freebsd" "-C" "linker=cc" "-L" > "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps" > "-L" > "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-std/release/deps" > "--extern" > "core=/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-std/aarch64-unknown-freebsd/release/deps/libcore-65643217d9192060.rmeta" > "--cfg=bootstrap" "-Zmacro-backtrace" > "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Cprefer-dynamic" > "-Zbinary-dep-depinfo" "-Wrust_2018_idioms" "-Wunused_lifetimes" > "-Dwarnings" "--sysroot" > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-sysroot" > "-Z" "force-unstable-if-unmarked" > sysroot: > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-freebsd/stage0-sysroot" > > libdir: "/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib" > command did not execute successfully: > "/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" > "--target" "aarch64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "12" > "-v" "--release" "--frozen" "--features" "panic-unwind backtrace > compiler-builtins-c" "--manifest-path" > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/src/libtest/Cargo.toml" > "--message-format" "json-render-diagnostics" > expected success, got: signal: 11 > Traceback (most recent call last): > File "x.py", line 11, in <module> > bootstrap.main() > File > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/src/bootstrap/bootstrap.py", > line 981, in main > bootstrap(help_triggered) > File > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/src/bootstrap/bootstrap.py", > line 967, in bootstrap > run(args, env=env, verbose=build.verbose) > File > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/src/bootstrap/bootstrap.py", > line 143, in run > raise RuntimeError(err) > RuntimeError: failed to run: > /wrkdirs/usr/ports/lang/rust/work/rustc-1.46.0-src/build/bootstrap/debug/bootstrap > install --jobs=12 > *** Error code 1 > > [1] https://gist.github.com/rbgarga/b2a31ffed23cd761f8dd30b8850eec68 FYI, 1.44.1_1 still builds fine. I'm downgrading it on pfSense repos for now. -- Renato Botelho
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a8f0b28-af6b-eb71-8b5e-8f69119293b5>