Hi, I can't build databases/mongodb36 on 12.0-RELEASE in poudriere. Build fails with the following message: ---log-excerpt-start--- c++ -o build/opt/mongo/s/commands/commands_public.o -c -O2 -pipe -fstack-protector -fno-strict-aliasing -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-specialization -stdlib=libc++ -std=c++14 -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-omit-frame-pointer -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Wno-unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-deprecated-declarations -Wno-tautological-constant-out-of-range-compare -Wno-unused-const-variable -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions -fstack-protector-strong -fno-builtin-memcmp -fpic -DNDEBUG -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -I/usr/local/include -Ibuild/opt -Isrc src/mongo/s/commands/commands_public.cpp c++: error: unable to execute command: Killed c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script. *** Signal 9 Stop. make: stopped in /usr/ports/databases/mongodb36 c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/commands_public-fcf244.cpp c++: note: diagnostic msg: /tmp/commands_public-fcf244.sh c++: note: diagnostic msg: ******************** ---log-excerpt-end--- Thank you in advance,
Can you test if the upgrade+patch in 234316 fixes the issue ?
Marko, it looks like you are running out of memory. Can you check dmesg for "swap_pager_getswapspace: failed" messages? As a workaround, you can try adding more swap, or lower the -j level.
(In reply to Dimitry Andric from comment #2) Thanks, the problem appears to be related to my poudriere setup being tight on hardware resources. I'm closing this as I am successfully building mongodb if it is not concurrent with other big builds (chromium, libreoffice etc.)