Hello,
5 hour build marathon - ended up like this:
In /var/log/messages:
Now the question, how many RAM do I need to build clamav now days ? Or is there a way to limit somehow ram usage for that ?
Thanks
5 hour build marathon - ended up like this:
Code:
c Assemble { target_compiler: Compiler { stage: 0, host: TargetSelection { triple: "x86_64-unknown-freebsd", file: None } } }
c RustInstaller { compiler: Compiler { stage: 0, host: TargetSelection { triple: "x86_64-unknown-freebsd", file: None } }, target: TargetSelection { triple: "x86_64-unknown-freebsd", file: None } }
c Assemble { target_compiler: Compiler { stage: 0, host: TargetSelection { triple: "x86_64-unknown-freebsd", file: None } } }
Dist rustc-dev-1.60.0-x86_64-unknown-freebsd
running: "/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage0-tools-bin/fabricate" "generate" "--image-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd/image" "--component-name=rustc-dev" "--rel-manifest-dir=rustlib" "--legacy-manifest-dirs=rustlib,cargo" "--product-name=Rust" "--success-message=rustc-dev installed." "--package-name=rustc-dev-1.60.0-x86_64-unknown-freebsd" "--non-installed-overlay" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd/overlay" "--output-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/dist" "--work-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd"
command did not execute successfully: "/wrkdirs/usr/ports/lang/rust/work/_build/x86_64-unknown-freebsd/stage0-tools-bin/fabricate" "generate" "--image-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd/image" "--component-name=rustc-dev" "--rel-manifest-dir=rustlib" "--legacy-manifest-dirs=rustlib,cargo" "--product-name=Rust" "--success-message=rustc-dev installed." "--package-name=rustc-dev-1.60.0-x86_64-unknown-freebsd" "--non-installed-overlay" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd/overlay" "--output-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/dist" "--work-dir" "/wrkdirs/usr/ports/lang/rust/work/_build/tmp/tarball/rustc-dev/x86_64-unknown-freebsd"
expected success, got: signal: 9
Traceback (most recent call last):
File "x.py", line 27, in <module>
bootstrap.main()
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 1325, in main
bootstrap(help_triggered)
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 1311, in bootstrap
run(args, env=env, verbose=build.verbose, is_bootstrap=True)
File "/wrkdirs/usr/ports/lang/rust/work/rustc-1.60.0-src/src/bootstrap/bootstrap.py", line 185, in run
raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust/work/_build/bootstrap/debug/bootstrap dist --jobs=1
*** Error code 1
Stop.
make: stopped in /usr/ports/lang/rust
=>> Cleaning up wrkdir
===> Cleaning for rust-1.60.0
build of lang/rust | rust-1.60.0 ended at Fri May 27 22:33:22 +04 2022
build time: 04:28:53
!!! build failure encountered !!!
Code:
May 27 17:33:15 backup kernel: swp_pager_getswapspace(10): failed
May 27 17:57:08 backup kernel: swp_pager_getswapspace(29): failed
May 27 22:29:30 backup kernel: swap_pager: out of swap space
Now the question, how many RAM do I need to build clamav now days ? Or is there a way to limit somehow ram usage for that ?
Thanks