Hi!
Want to update my FreeBSD server with
FreeBSD 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC amd64
up to 13.0-RELEASE.
As a step need to upgrade all the ports. One of them wants lang/rust.
I use Poudriere for compiling packages and then update my soft from the local repo.
I build the package like that:
and got the error:
The server with Poudriere itself has just been updated to 13.0.
The jail for 13.0-Release has been created and the ports tree is up-to-date...
Any ideas?
Want to update my FreeBSD server with
FreeBSD 12.1-RELEASE-p8 FreeBSD 12.1-RELEASE-p8 GENERIC amd64
up to 13.0-RELEASE.
As a step need to upgrade all the ports. One of them wants lang/rust.
I use Poudriere for compiling packages and then update my soft from the local repo.
I build the package like that:
Code:
poudriere bulk -j amd64-13-0 -p default -f /usr/local/etc/poudriere.d/port-list-v13
and got the error:
Code:
[RUSTC-SHIM] rustc core env[41]: "RUST_BACKTRACE"="1"
[RUSTC-SHIM] rustc core env[42]: "RUST_COMPILER_RT_ROOT"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/llvm-project/compiler-rt"
[RUSTC-SHIM] rustc core env[43]: "RUST_SAVE_ANALYSIS_CONFIG"="{\"output_file\": null,\"full_docs\": false,\"pub_only\": true,\"reachable_only\": false,\"distro_crate\": true,\"signatures\": false,\"borrow_data\": false}"
[RUSTC-SHIM] rustc core env[44]: "RUST_TEST_THREADS"="1"
[RUSTC-SHIM] rustc core working directory: /wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src
[RUSTC-SHIM] rustc core command: "LD_LIBRARY_PATH"="/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1/lib:/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/release/deps:/wrkdirs/usr/ports/lang/rust/work/bootstrap/lib" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1/bin/rustc" "--crate-name" "core" "--edition=2018" "library/core/src/lib.rs" "--error-format=json" "--json=diagnostic-rendered-ansi,artifacts" "--crate-type" "lib" "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-C" "embed-bitcode=no" "-C" "debuginfo=0" "-C" "metadata=4ee7510cd643b335" "-C" "extra-filename=-4ee7510cd643b335" "--out-dir" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps" "--target" "x86_64-unknown-freebsd" "-C" "linker=cc" "-L" "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps" "-L" "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/release/deps" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Zsave-analysis" "-Cprefer-dynamic" "-Cembed-bitcode=yes" "-Z" "binary-dep-depinfo" "-Wrust_2018_idioms" "-Wunused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1" "-Z" "force-unstable-if-unmarked"
[RUSTC-SHIM] rustc core sysroot: "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1"
[RUSTC-SHIM] rustc core libdir: "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1/lib"
rustc exited with signal: 9
Did not run successfully: signal: 9
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1/bin/rustc" "--crate-name" "core" "--edition=2018" "library/core/src/lib.rs" "--error-format=json" "--json=diagnostic-rendered-ansi,artifacts" "--crate-type" "lib" "--emit=dep-info,metadata,link" "-C" "opt-level=3" "-C" "embed-bitcode=no" "-C" "debuginfo=0" "-C" "metadata=4ee7510cd643b335" "-C" "extra-filename=-4ee7510cd643b335" "--out-dir" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps" "--target" "x86_64-unknown-freebsd" "-C" "linker=cc" "-L" "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps" "-L" "dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/release/deps" "-Zmacro-backtrace" "-Clink-args=-Wl,-rpath,$ORIGIN/../lib" "-Zsave-analysis" "-Cprefer-dynamic" "-Cembed-bitcode=yes" "-Z" "binary-dep-depinfo" "-Wrust_2018_idioms" "-Wunused_lifetimes" "--sysroot" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1" "-Z" "force-unstable-if-unmarked"
-------------
error: could not compile `core`
Caused by:
process didn't exit successfully: `/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/rustc --crate-name core --edition=2018 library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -C metadata=4ee7510cd643b335 -C extra-filename=-4ee7510cd643b335 --out-dir /wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps --target x86_64-unknown-freebsd -C linker=cc -L dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/x86_64-unknown-freebsd/release/deps -L dependency=/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/x86_64-unknown-freebsd/stage1-std/release/deps -Zmacro-backtrace '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Zsave-analysis -Cprefer-dynamic -Cembed-bitcode=yes -Z binary-dep-depinfo` (exit code: 254)
command did not execute successfully: "/wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target" "x86_64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "1" "-v" "--release" "--frozen" "--features" "panic-unwind backtrace compiler-builtins-c" "--manifest-path" "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/library/test/Cargo.toml" "--message-format" "json-render-diagnostics"
expected success, got: exit code: 101
Traceback (most recent call last):
File "x.py", line 27, in <module>
bootstrap.main()
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 1191, in main
bootstrap(help_triggered)
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 1177, in bootstrap
run(args, env=env, verbose=build.verbose)
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/src/bootstrap/bootstrap.py", line 153, in run
raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust/work/rustc-1.53.0-src/build/bootstrap/debug/bootstrap build --jobs=1
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/rust
=>> Cleaning up wrkdir
===> Cleaning for rust-1.53.0
build of lang/rust | rust-1.53.0 ended at Wed Aug 18 17:50:07 MSK 2021
build time: 03:56:51
!!! build failure encountered !!!
The server with Poudriere itself has just been updated to 13.0.
The jail for 13.0-Release has been created and the ports tree is up-to-date...
Any ideas?