>>> mongodb r4.0.6 Extracting gzip -d -c /home/rclinux/rc-buildroot-test/scripts/instance-0/dl/mongodb/mongodb-r4.0.6.tar.gz | tar --strip-components=1 -C /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/mongodb-r4.0.6 -xf - >>> mongodb r4.0.6 Patching Applying 0001-ssl_manager.cpp-fix-build-with-gcc-7-and-fpermissive.patch using patch: patching file src/mongo/util/net/ssl_manager.cpp Hunk #1 succeeded at 410 (offset -372 lines). Hunk #2 succeeded at 427 (offset -372 lines). Hunk #3 succeeded at 472 (offset -372 lines). >>> mongodb r4.0.6 Configuring >>> mongodb r4.0.6 Building (cd /home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/mongodb-r4.0.6; /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/python2 /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/scons CC="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-amd-linux-gnu-gcc" CXX="/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-amd-linux-gnu-g++" -j"3" --disable-warnings-as-errors --use-system-boost --use-system-pcre --use-system-snappy --use-system-sqlite --use-system-yaml --use-system-zlib MONGO_VERSION=4.0.6- --wiredtiger=on --js-engine=mozjs --allocator=tcmalloc --enable-free-mon=on --ssl --ssl-provider=openssl mongod mongos mongo) scons: Reading SConscript files ... Mkdir("build/scons") scons version: 2.5.1 python version: 2 7 15 'final' 0 Checking whether the C compiler works... yes Checking whether the C++ compiler works... yes Checking that the C++ compiler can link a C++ program... yes Checking if C++ compiler "/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-amd-linux-gnu-g++" is GCC... yes Checking if C compiler "/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/x86_64-amd-linux-gnu-gcc" is GCC... yes Detected a x86_64 processor Checking if target OS linux is supported by the toolchain... yes Checking if C compiler is GCC 5.3.0 or newer...yes Checking if C++ compiler is GCC 5.3.0 or newer...yes Checking if C compiler supports -Wno-unused-local-typedefs... yes Checking if C compiler supports -Wno-unused-function... yes Checking if C compiler supports -Wno-unused-private-field... no Checking if C compiler supports -Wno-deprecated-declarations... yes Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no Checking if C compiler supports -Wno-tautological-constant-compare... no Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no Checking if C compiler supports -Wno-unused-const-variable... yes Checking if C compiler supports -Wno-unused-but-set-variable... yes Checking if C compiler supports -Wno-missing-braces... yes Checking if C compiler supports -Wno-inconsistent-missing-override... no Checking if C compiler supports -Wno-potentially-evaluated-expression... no Checking if C++ compiler supports -Wpessimizing-move... no Checking if C++ compiler supports -Wredundant-move... no Checking if C++ compiler supports -Wno-maybe-uninitialized... yes Checking if C++ compiler supports -Wno-undefined-var-template... no Checking if C++ compiler supports -Wno-instantiation-after-specialization... no Checking if C compiler supports -Wno-unused-lambda-capture... no Checking if C compiler supports -Wno-exceptions... no Checking -Wnon-virtual-dtor for false positives... no Checking if C compiler supports -fstack-protector-strong... yes Checking if we are using libstdc++... yes Checking if C++ compiler supports -std=c++14... yes Checking if C compiler supports -std=c11... yes WARNING: System versions of C++ libraries must be compiled with C++14 support Checking for C++14... yes Checking for memset_s... no Checking for C function strnlen()... yes Checking for libstdc++ 5.3.0 or better... yes Checking if we are on a POSIX system... yes Checking if the POSIX monotonic clock is supported... yes Checking off_t is 8 bytes... yes Checking if linker supports -fuse-ld=gold... no Checking if linker supports -Wl,--build-id... yes Checking if linker supports -Wl,--hash-style=gnu... yes Checking if linker supports -Wl,-z,noexecstack... yes Checking if linker supports -Wl,--warn-execstack... no Checking if linker supports -Wl,-z,relro... yes Checking for glibc with non-broken _FORTIFY_SOURCE...yes Checking if C compiler supports -fno-builtin-memcmp... yes Checking for storage class thread_local yes Checking for C++14 std::enable_if_t support...yes Checking for C++14 std::make_unique support... yes Checking if pthread_setname_np is supported... yes Checking for SSLeay_version(0) in C library crypto... yes Checking for SSL_version(NULL) in C library ssl... yes Checking that linking to OpenSSL works...yes Checking whether FIPS_mode_set is declared... yes Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... yes Using SSL Provider: openssl Checking for curl_global_init(0) in C library curl... yes Checking for C library pcre... yes Checking for C library pcrecpp... yes Checking for C library snappy... yes Checking for C library z... yes Checking for C library yaml-cpp... yes Checking for C++ header file sqlite3.h... yes Checking for C library sqlite3... yes Checking for C++ header file boost/filesystem/operations.hpp... yes Checking if system boost version is 1.49 or newer...yes Checking for C++ library boost_filesystem-mt... no Checking for C++ library boost_filesystem... yes Checking for C++ library boost_program_options-mt... no Checking for C++ library boost_program_options... yes Checking for C++ library boost_system-mt... no Checking for C++ library boost_system... yes Checking for C++ library boost_iostreams-mt... no Checking for C++ library boost_iostreams... yes Checking for C library rt... yes Checking for C library dl... yes Checking for C++ header file execinfo.h... yes Checking whether backtrace is declared... yes Checking whether backtrace_symbols is declared... yes Checking whether backtrace_symbols_fd is declared... yes Checking for C library pcap... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking if std::atomic works... yes Checking for extended alignment 64 for concurrency types... yes Checking for mongoc_get_major_version() in C library mongoc-1.0... no *** Run 'pip2 install --user regex' to speed up error code checking Checking if __malloc_hook is declared volatile... yes Checking for C function fallocate()... yes Checking for C function sync_file_range()... yes Checking for C header file x86intrin.h... yes Checking for C header file arm_neon.h... no scons: done reading SConscript files. scons: Building targets ... /home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/python2 src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp Creating 'build/opt/mongo/config.h' Traceback (most recent call last): File "buildscripts/idl/idlc.py", line 38, in import idl.compiler File "/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/mongodb-r4.0.6/buildscripts/idl/idl/compiler.py", line 40, in from typing import Any, List ImportError: No module named typing scons: *** [build/opt/mongo/db/pipeline/document_source_sample.o] CalledProcessError : Command '['/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/python2', 'buildscripts/idl/idlc.py', '--include', 'src', 'src/mongo/db/query/tailable_mode.idl', '--write-dependencies']' returned non-zero exit status 1 scons: building terminated because of errors. build/opt/mongo/db/pipeline/document_source_sample.o failed: CalledProcessError : Command '['/home/rclinux/rc-buildroot-test/scripts/instance-0/output/host/bin/python2', 'buildscripts/idl/idlc.py', '--include', 'src', 'src/mongo/db/query/tailable_mode.idl', '--write-dependencies']' returned non-zero exit status 1 package/pkg-generic.mk:238: recipe for target '/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/mongodb-r4.0.6/.stamp_built' failed make: *** [/home/rclinux/rc-buildroot-test/scripts/instance-0/output/build/mongodb-r4.0.6/.stamp_built] Error 2 make: Leaving directory '/home/rclinux/rc-buildroot-test/scripts/instance-0/buildroot'