Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'], chrootPath='/var/lib/mock/dist-an23-build-291180-65044/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1667779200 Wrote: /builddir/build/SRPMS/mongodb-3.6.8-1.0.1.an23.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'], chrootPath='/var/lib/mock/dist-an23-build-291180-65044/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1667779200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z6DbQg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mongo-r3.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/r3.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mongo-r3.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (python3-buildscripts-tests.patch):' Patch #1 (python3-buildscripts-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct patching file buildscripts/clang_format.py patching file buildscripts/cpplint.py patching file buildscripts/errorcodes.py patching file buildscripts/eslint.py patching file buildscripts/idl/idl/binder.py patching file buildscripts/idl/idl/bson.py patching file buildscripts/idl/idl/cpp_types.py patching file buildscripts/idl/idl/enum_types.py patching file buildscripts/idl/idl/generator.py patching file buildscripts/idl/idl/parser.py patching file buildscripts/idl/idl/struct_types.py patching file buildscripts/idl/idl/syntax.py patching file buildscripts/idl/tests/test_binder.py patching file buildscripts/lint.py patching file buildscripts/linter/base.py patching file buildscripts/linter/git.py patching file buildscripts/linter/parallel.py patching file buildscripts/resmokeconfig/loggers/__init__.py patching file buildscripts/resmokeconfig/suites/__init__.py patching file buildscripts/resmokelib/config.py patching file buildscripts/resmokelib/core/process.py patching file buildscripts/resmokelib/logging/buildlogger.py patching file buildscripts/resmokelib/selector.py patching file buildscripts/resmokelib/testing/executor.py patching file buildscripts/resmokelib/testing/fixtures/interface.py patching file buildscripts/resmokelib/testing/fixtures/replicaset.py patching file buildscripts/resmokelib/testing/fixtures/shardedcluster.py patching file buildscripts/resmokelib/testing/hooks/interface.py patching file buildscripts/resmokelib/testing/suite.py patching file buildscripts/resmokelib/testing/summary.py patching file buildscripts/resmokelib/testing/testcases/interface.py patching file buildscripts/resmokelib/testing/testcases/jstest.py patching file buildscripts/resmokelib/utils/__init__.py patching file buildscripts/resmokelib/utils/archival.py patching file buildscripts/resmokelib/utils/globstar.py patching file buildscripts/resmokelib/utils/jscomment.py patching file buildscripts/resmokelib/utils/queue.py patching file buildscripts/utils.py patching file site_scons/libdeps.py patching file site_scons/mongo/__init__.py patching file site_scons/mongo/generators.py patching file site_scons/site_tools/dagger/__init__.py patching file site_scons/site_tools/dagger/dagger.py patching file site_scons/site_tools/dagger/graph.py patching file site_scons/site_tools/dagger/graph_consts.py patching file site_scons/site_tools/dagger/graph_test.py patching file site_scons/site_tools/distsrc.py patching file site_scons/site_tools/icecream.py patching file site_scons/site_tools/idl_tool.py patching file site_scons/site_tools/jstoh.py patching file site_scons/site_tools/mongo_benchmark.py patching file site_scons/site_tools/mongo_integrationtest.py patching file site_scons/site_tools/mongo_unittest.py patching file site_scons/site_tools/split_dwarf.py patching file site_scons/site_tools/thin_archive.py patching file site_scons/site_tools/xcode.py patching file src/mongo/SConscript patching file src/mongo/base/generate_error_codes.py patching file src/mongo/db/auth/generate_action_types.py patching file src/mongo/db/fts/generate_stop_words.py patching file src/mongo/db/fts/unicode/gen_diacritic_map.py patching file src/mongo/db/query/collation/generate_icu_init_cpp.py + echo 'Patch #2 (boost-1.66.patch):' Patch #2 (boost-1.66.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/mongo/executor/network_interface_mock_test.cpp Patch #3 (ppc64le-fix-altivec.patch): + echo 'Patch #3 (ppc64le-fix-altivec.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file SConstruct + sed -i 's|\(#ifdef TLS1_3_VERSION\)|#undef TLS1_3_VERSION\n\1|' src/mongo/util/net/ssl_manager.cpp + sed -i 's/\r//' README + sed -i -r 's|third_party/libstemmer_c/include/libstemmer.h|libstemmer.h|' src/mongo/db/fts/stemmer.h + sed -i -r 's|third_party/yaml-cpp-0.5.1/include/yaml-cpp/yaml.h|yaml-cpp/yaml.h|' src/mongo/util/options_parser/options_parser.cpp + sed -i -r 's|os.curdir(, "mongo")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|os.curdir(, "mongod")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|os.curdir(, "mongos")|"/usr/bin"\1|' buildscripts/resmokelib/config.py + sed -i -r 's|/data/db|/usr/share/mongodb-test/var|' buildscripts/resmokelib/config.py + pathfix.py -i /usr/bin/python3 buildscripts/ recursedown('buildscripts/') recursedown('buildscripts/ciconfig') recursedown('buildscripts/gdb') recursedown('buildscripts/idl') recursedown('buildscripts/idl/idl') recursedown('buildscripts/idl/sample') recursedown('buildscripts/idl/tests') recursedown('buildscripts/linter') recursedown('buildscripts/package_test') recursedown('buildscripts/package_test/recipes') recursedown('buildscripts/package_test/test') recursedown('buildscripts/package_test/test/recipes') recursedown('buildscripts/package_test/test/recipes/service') recursedown('buildscripts/packaging') recursedown('buildscripts/packaging/msi') recursedown('buildscripts/resmokeconfig') recursedown('buildscripts/resmokeconfig/loggers') recursedown('buildscripts/resmokeconfig/suites') recursedown('buildscripts/resmokelib') recursedown('buildscripts/resmokelib/core') recursedown('buildscripts/resmokelib/logging') recursedown('buildscripts/resmokelib/testing') recursedown('buildscripts/resmokelib/testing/fixtures') recursedown('buildscripts/resmokelib/testing/hooks') recursedown('buildscripts/resmokelib/testing/testcases') recursedown('buildscripts/resmokelib/utils') recursedown('buildscripts/testdata') recursedown('buildscripts/tests') recursedown('buildscripts/tests/ciconfig') recursedown('buildscripts/tests/resmokelib') recursedown('buildscripts/tests/resmokelib/logging') recursedown('buildscripts/tests/resmokelib/testing') recursedown('buildscripts/tests/resmokelib/testing/hooks') recursedown('buildscripts/tests/resmokelib/utils') buildscripts/__init__.py: no change buildscripts/aggregate_tracefiles.py: no change buildscripts/aws_ec2.py: updating buildscripts/buildlogger.py: no change buildscripts/burn_in_tests.py: updating buildscripts/clang_format.py: updating buildscripts/cleanbb.py: updating buildscripts/collect_resource_info.py: updating buildscripts/combine_reports.py: updating buildscripts/cpplint.py: updating buildscripts/errorcodes.py: updating buildscripts/eslint.py: updating buildscripts/evergreen_run_tests.py: updating buildscripts/fetch_test_lifecycle.py: updating buildscripts/generate_compile_expansions.py: updating buildscripts/git.py: no change buildscripts/hang_analyzer.py: updating buildscripts/jiraclient.py: no change buildscripts/lint.py: no change buildscripts/make_archive.py: updating buildscripts/make_vcxproj.py: no change buildscripts/moduleconfig.py: no change buildscripts/mongosymb.py: updating buildscripts/msitrim.py: no change buildscripts/packager-enterprise.py: updating buildscripts/packager.py: updating buildscripts/promote_silent_failures.py: updating buildscripts/pylinters.py: updating buildscripts/remote_operations.py: updating buildscripts/resmoke.py: updating buildscripts/runiossim.py: updating buildscripts/scons.py: updating buildscripts/scons_cache_prune.py: updating buildscripts/setup_multiversion_mongodb.py: updating buildscripts/sha256sum.py: updating buildscripts/smoke.py: updating buildscripts/test_failures.py: updating buildscripts/update_test_lifecycle.py: updating buildscripts/utils.py: no change buildscripts/yaml_key_value.py: updating buildscripts/ciconfig/__init__.py: no change buildscripts/ciconfig/evergreen.py: no change buildscripts/ciconfig/tags.py: no change buildscripts/gdb/mongo.py: no change buildscripts/gdb/mongo_lock.py: no change buildscripts/gdb/mongo_printers.py: no change buildscripts/idl/idlc.py: updating buildscripts/idl/run_tests.py: updating buildscripts/idl/idl/__init__.py: no change buildscripts/idl/idl/ast.py: no change buildscripts/idl/idl/binder.py: no change buildscripts/idl/idl/bson.py: no change buildscripts/idl/idl/common.py: no change buildscripts/idl/idl/compiler.py: no change buildscripts/idl/idl/cpp_types.py: no change buildscripts/idl/idl/enum_types.py: no change buildscripts/idl/idl/errors.py: no change buildscripts/idl/idl/generator.py: no change buildscripts/idl/idl/parser.py: no change buildscripts/idl/idl/struct_types.py: no change buildscripts/idl/idl/syntax.py: no change buildscripts/idl/idl/writer.py: no change buildscripts/idl/tests/__init__.py: no change buildscripts/idl/tests/context.py: no change buildscripts/idl/tests/test_binder.py: updating buildscripts/idl/tests/test_generator.py: updating buildscripts/idl/tests/test_import.py: updating buildscripts/idl/tests/test_parser.py: updating buildscripts/idl/tests/testcase.py: no change buildscripts/linter/__init__.py: no change buildscripts/linter/base.py: no change buildscripts/linter/git.py: no change buildscripts/linter/mypy.py: no change buildscripts/linter/parallel.py: no change buildscripts/linter/pydocstyle.py: no change buildscripts/linter/pylint.py: no change buildscripts/linter/runner.py: no change buildscripts/linter/yapf.py: no change buildscripts/resmokeconfig/__init__.py: no change buildscripts/resmokeconfig/loggers/__init__.py: no change buildscripts/resmokeconfig/suites/__init__.py: no change buildscripts/resmokelib/__init__.py: no change buildscripts/resmokelib/config.py: no change buildscripts/resmokelib/errors.py: no change buildscripts/resmokelib/parser.py: no change buildscripts/resmokelib/reportfile.py: no change buildscripts/resmokelib/selector.py: no change buildscripts/resmokelib/sighandler.py: no change buildscripts/resmokelib/core/__init__.py: no change buildscripts/resmokelib/core/network.py: no change buildscripts/resmokelib/core/pipe.py: no change buildscripts/resmokelib/core/process.py: no change buildscripts/resmokelib/core/programs.py: no change buildscripts/resmokelib/logging/__init__.py: no change buildscripts/resmokelib/logging/buildlogger.py: no change buildscripts/resmokelib/logging/flush.py: no change buildscripts/resmokelib/logging/formatters.py: no change buildscripts/resmokelib/logging/handlers.py: no change buildscripts/resmokelib/logging/loggers.py: no change buildscripts/resmokelib/testing/__init__.py: no change buildscripts/resmokelib/testing/executor.py: no change buildscripts/resmokelib/testing/hook_test_archival.py: no change buildscripts/resmokelib/testing/job.py: no change buildscripts/resmokelib/testing/report.py: no change buildscripts/resmokelib/testing/suite.py: no change buildscripts/resmokelib/testing/summary.py: no change buildscripts/resmokelib/testing/fixtures/__init__.py: no change buildscripts/resmokelib/testing/fixtures/interface.py: no change buildscripts/resmokelib/testing/fixtures/masterslave.py: no change buildscripts/resmokelib/testing/fixtures/replicaset.py: no change buildscripts/resmokelib/testing/fixtures/shardedcluster.py: no change buildscripts/resmokelib/testing/fixtures/standalone.py: no change buildscripts/resmokelib/testing/hooks/__init__.py: no change buildscripts/resmokelib/testing/hooks/cleanup.py: no change buildscripts/resmokelib/testing/hooks/combine_benchmark_results.py: no change buildscripts/resmokelib/testing/hooks/dbhash.py: no change buildscripts/resmokelib/testing/hooks/initialsync.py: no change buildscripts/resmokelib/testing/hooks/interface.py: no change buildscripts/resmokelib/testing/hooks/jsfile.py: no change buildscripts/resmokelib/testing/hooks/oplog.py: no change buildscripts/resmokelib/testing/hooks/periodic_kill_secondaries.py: no change buildscripts/resmokelib/testing/hooks/stepdown.py: no change buildscripts/resmokelib/testing/hooks/validate.py: no change buildscripts/resmokelib/testing/testcases/__init__.py: no change buildscripts/resmokelib/testing/testcases/benchmark_test.py: no change buildscripts/resmokelib/testing/testcases/cpp_integration_test.py: no change buildscripts/resmokelib/testing/testcases/cpp_unittest.py: no change buildscripts/resmokelib/testing/testcases/dbtest.py: no change buildscripts/resmokelib/testing/testcases/interface.py: no change buildscripts/resmokelib/testing/testcases/json_schema_test.py: no change buildscripts/resmokelib/testing/testcases/jstest.py: no change buildscripts/resmokelib/testing/testcases/mongos_test.py: no change buildscripts/resmokelib/utils/__init__.py: no change buildscripts/resmokelib/utils/archival.py: no change buildscripts/resmokelib/utils/autoloader.py: no change buildscripts/resmokelib/utils/globstar.py: no change buildscripts/resmokelib/utils/jscomment.py: no change buildscripts/resmokelib/utils/queue.py: no change buildscripts/resmokelib/utils/registry.py: no change buildscripts/resmokelib/utils/scheduler.py: no change buildscripts/tests/__init__.py: no change buildscripts/tests/test_aws_ec2.py: updating buildscripts/tests/test_fetch_test_lifecycle.py: no change buildscripts/tests/test_git.py: no change buildscripts/tests/test_remote_operations.py: updating buildscripts/tests/test_test_failures.py: no change buildscripts/tests/test_update_test_lifecycle.py: no change buildscripts/tests/ciconfig/__init__.py: no change buildscripts/tests/ciconfig/test_evergreen.py: no change buildscripts/tests/ciconfig/test_tags.py: no change buildscripts/tests/resmokelib/__init__.py: no change buildscripts/tests/resmokelib/test_archival.py: updating buildscripts/tests/resmokelib/test_selector.py: no change buildscripts/tests/resmokelib/logging/test_buildlogger.py: no change buildscripts/tests/resmokelib/testing/__init__.py: no change buildscripts/tests/resmokelib/testing/hooks/__init__.py: no change buildscripts/tests/resmokelib/testing/hooks/test_combine_benchmark_results.py: updating buildscripts/tests/resmokelib/utils/__init__.py: no change buildscripts/tests/resmokelib/utils/test_rmtree.py: no change + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rSjARV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mongo-r3.6.8 + export LANG=en_US.UTF-8 + LANG=en_US.UTF-8 + cat ++ echo -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/-O. //' -e 's/-g //' + cat variables.list CCFLAGS="-flto=auto -ffat-lto-objects -fexceptions -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection" LINKFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory" VERBOSE=1 MONGO_VERSION="3.6.8" VARIANT_DIR="fedora" + cat ++ cat build-options + scons-3 core tools -j80 --use-system-pcre --use-system-boost --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-yaml --mmapv1=on --wiredtiger=on --ssl --nostrip --disable-warnings-as-errors --variables-files=variables.list scons: Reading SConscript files ... Using variable customization file variables.list Mkdir("build/scons") scons version: 4.3.0 python version: 3 10 12 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 "g++" is GCC... yes Checking if C compiler "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-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... yes Checking if C++ compiler supports -Wredundant-move... yes 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... yes 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... yes 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... no Checking whether d2i_ASN1_SEQUENCE_ANY is declared... yes Checking if SSL_[CTX_]_set_ecdh_auto is supported... 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 stemmer... yes Checking for C library yaml-cpp... no 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 scons: done reading SConscript files. scons: Building targets ... Target 'build/fedora/mongo/mongos' depends on the availability of a system provided library for 'yaml', but no suitable library was found during configuration. Target 'build/fedora/mongo/mongos' depends on the availability of a system provided library for 'yaml', but no suitable library was found during configuration. scons: done building targets. error: Bad exit status from /var/tmp/rpm-tmp.rSjARV (%build) RPM build warnings: RPM build errors: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.rSjARV (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/mongodb.spec