Re: error -9 on build cluster?

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Fri, 30 May 2025 09:39:05 UTC
Ronald Klop <ronald-lists@klop.ws> writes:
> My port databases/mongodb60 sometimes fails with an "error -9".
> ports fallout: https://portsfallout.com/fallout?port=databases%2Fmongodb60%24
> build report: https://lists.freebsd.org/archives/freebsd-pkg-fallout/2025-May/760518.html
> full log (large): 
> https://pkg-status.freebsd.org/beefy22/data/142amd64-default/a3de54ab2200/logs/mongodb60-6.0.23_1.log
>
> There is no output of the compiler which makes clear what happened. Only this output:
>
> scons: *** [build/59f4f0dd/mongo/db/catalog/multi_index_block.o] Error -9
> scons: building terminated because of errors.
> build/59f4f0dd/mongo/db/catalog/multi_index_block.o failed: Error -9
> *** Error code 2

This is preceded by an 800-line list of warnings from a single source
file (multi_index_block.cpp).  This list is clearly truncated as it's
missing the final “N warnings generated” line, so my guess is there is
at least one error there as well which just doesn't get displayed.  I
would suggest trying to silence some of those warnings (maybe by adding
-Wno-deprecated-builtins to CXXFLAGS).

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org