Hi folks.
I use a Poudriere under FreeBSD 13.2-RELEASE-p3.
For some clients, I need to build security/py-certbot (with lang/python311), which needs security/py-cryptography. However, since last july, this port requires lang/rust.
And you know what...After 3,5 hours, and at 90%, the building of Rust failed...
Here the last entries (log size is 1,5 Mo).
Any ideas? If I can't build lang/rust, I can't build security/py-certbot too, and I need it. For year, Certbot was a light tool to build, I don't understand this requirement (it's really huge to build...), and I don't understand the failed.
Thanks a lot.
Regards
I use a Poudriere under FreeBSD 13.2-RELEASE-p3.
For some clients, I need to build security/py-certbot (with lang/python311), which needs security/py-cryptography. However, since last july, this port requires lang/rust.
And you know what...After 3,5 hours, and at 90%, the building of Rust failed...
Here the last entries (log size is 1,5 Mo).
Code:
[ 90% 2838/3148] Linking CXX executable bin/llvm-dwarfutil
[ 90% 2839/3148] Linking CXX executable bin/llvm-dwp
[ 90% 2840/3148] Building CXX object tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o
FAILED: tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/llvm/build/tools/llvm-exegesis -I/wrkdirs/usr/ports/lang/rust/work/rustc-1.71.0-src/src/llvm-project/llvm/tools/llvm-exegesis -I/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/llvm/build/include -I/wrkdirs/usr/ports/lang/rust/work/rustc-1.71.0-src/src/llvm-project/llvm/include -ffunction-sections -fdata-sections -fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -w -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fno-exceptions -fno-rtti -MD -MT tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o -MF tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o.d -o tools/llvm-exegesis/CMakeFiles/llvm-exegesis.dir/llvm-exegesis.cpp.o -c /wrkdirs/usr/ports/lang/rust/work/rustc-1.71.0-src/src/llvm-project/llvm/tools/llvm-exegesis/llvm-exegesis.cpp
ninja: build stopped: subcommand failed.
thread 'main' panicked at '
command did not execute successfully, got: exit status: 1
build script failed, must exit now', /wrkdirs/usr/ports/lang/rust/work/rustc-1.71.0-src/vendor/cmake/src/lib.rs:975:5
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: cmake::fail
3: cmake::run
4: cmake::Config::build
5: <bootstrap::llvm::Llvm as bootstrap::builder::Step>::run
at ./src/bootstrap/llvm.rs:489:9
6: bootstrap::builder::Builder::ensure
at ./src/bootstrap/builder.rs:2069:23
7: bootstrap::compile::rustc_llvm_env
at ./src/bootstrap/compile.rs:894:48
8: bootstrap::compile::rustc_cargo_env
at ./src/bootstrap/compile.rs:881:13
9: bootstrap::compile::rustc_cargo
at ./src/bootstrap/compile.rs:818:5
10: <bootstrap::compile::Rustc as bootstrap::builder::Step>::run
at ./src/bootstrap/compile.rs:703:9
11: bootstrap::builder::Builder::ensure
at ./src/bootstrap/builder.rs:2069:23
12: <bootstrap::compile::Assemble as bootstrap::builder::Step>::run
at ./src/bootstrap/compile.rs:1419:9
13: bootstrap::builder::Builder::ensure
at ./src/bootstrap/builder.rs:2069:23
14: bootstrap::builder::Builder::compiler
at ./src/bootstrap/builder.rs:967:9
15: <bootstrap::compile::Assemble as bootstrap::builder::Step>::run
at ./src/bootstrap/compile.rs:1403:30
16: bootstrap::builder::Builder::ensure
at ./src/bootstrap/builder.rs:2069:23
17: bootstrap::builder::Builder::compiler
at ./src/bootstrap/builder.rs:967:9
18: <bootstrap::dist::Rustc as bootstrap::builder::Step>::make_run
at ./src/bootstrap/dist.rs:364:39
19: bootstrap::builder::StepDescription::maybe_run
at ./src/bootstrap/builder.rs:302:13
20: bootstrap::builder::StepDescription::run
at ./src/bootstrap/builder.rs:339:21
21: bootstrap::builder::Builder::run_step_descriptions
at ./src/bootstrap/builder.rs:959:9
22: bootstrap::builder::Builder::execute_cli
at ./src/bootstrap/builder.rs:940:9
23: bootstrap::Build::build
at ./src/bootstrap/lib.rs:690:13
24: bootstrap::main
at ./src/bootstrap/bin/main.rs:60:5
25: core::ops::function::FnOnce::call_once
at /wrkdirs/usr/ports/lang/rust-bootstrap/work-amd64/rustc-1.70.0-src/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
finished in 12785.043 seconds
Build completed unsuccessfully in 3:36:55
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/rust
=>> Cleaning up wrkdir
===> Cleaning for rust-1.71.0
build of lang/rust | rust-1.71.0 ended at Thu Sep 7 17:05:07 CEST 2023
build time: 03:39:15
!!! build failure encountered !!!
Any ideas? If I can't build lang/rust, I can't build security/py-certbot too, and I need it. For year, Certbot was a light tool to build, I don't understand this requirement (it's really huge to build...), and I don't understand the failed.
Thanks a lot.
Regards