Hi, I'm on FreeBSD 13.5-RELEASE-p6 GENERIC
I have 32G RAM
I've never seen this before and so I'm wondering how to handle it. Portupgrade had already updated a bunch of things and I guess it got to upgrading libimagequant, which I guess requires cargo, which requires rust. Correct me if I'm wrong on that. But it just stopped (details below). I opened htop in another terminal and it shows I was using 27.5G/31.9G Memory.
Should I try building rust first outside of Portupgrade? Can I prevent a build from using up all my RAM?
Thanks!
I have 32G RAM
I've never seen this before and so I'm wondering how to handle it. Portupgrade had already updated a bunch of things and I guess it got to upgrading libimagequant, which I guess requires cargo, which requires rust. Correct me if I'm wrong on that. But it just stopped (details below). I opened htop in another terminal and it shows I was using 27.5G/31.9G Memory.
Should I try building rust first outside of Portupgrade? Can I prevent a build from using up all my RAM?
Thanks!
Code:
GO_DEFAULT_LIB_METADATA="stable1.91.1" "/usr/ports/lang/rust/work/bootstrap/bin/cargo" "build" "--target" "x86_64-unknown-freebsd" "-Zbinary-dep-depinfo" "-j" "12" "-Zroot-dir=/usr/ports/lang/rust/work/rustc-1.91.1-src" "-v" "-v" "--frozen" "--release" "--manifest-path" "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/tools/cargo/Cargo.toml" "--message-format" "json-render-diagnostics" (failure_mode=Exit)
expected success, got: signal: 11 (SIGSEGV) (core dumped)
Traceback (most recent call last):
File "/usr/ports/lang/rust/work/rustc-1.91.1-src/x.py", line 53, in <module>
bootstrap.main()
File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py", line 1389, in main
bootstrap(args)
File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py", line 1364, in bootstrap
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
File "/usr/ports/lang/rust/work/rustc-1.91.1-src/src/bootstrap/bootstrap.py", line 237, in run
raise RuntimeError(err)
RuntimeError: failed to run: /usr/ports/lang/rust/work/_build/bootstrap/debug/bootstrap dist --jobs=12
*** Error code 1
Stop.
make[3]: stopped in /usr/ports/lang/rust
*** Error code 1
Stop.
make[2]: stopped in /usr/ports/lang/rust
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/devel/cargo-c
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/libimagequant