[MacPorts] #61798: MongoDB installation error

MacPorts noreply at macports.org
Thu Dec 10 06:44:51 UTC 2020


#61798: MongoDB installation error
-------------------------+--------------------
 Reporter:  ParityError  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:
-------------------------+--------------------
 When attempting to install MongoDB I get a fatal error:


 {{{
 :info:build scons: *** [build/MP/mongo/db/libkeys_collection_document.a]
 Error 1
 :info:build /usr/bin/clang++ -o
 build/MP/mongo/transport/message_compressor_zstd.o -c -stdlib=libc++ -arch
 x86_64 -Woverloaded-virtual -Werror=unused-result -Wpessimizing-move
 -Wredundant-move -Wno-undefined-var-template -Wno-instantiation-after-
 specialization -fsized-deallocation -Wno-defaulted-function-deleted
 -Wunused-exception-parameter -stdlib=libc++ -std=c++17 -arch x86_64 -fno-
 omit-frame-pointer -fno-strict-aliasing -fasynchronous-unwind-tables -ggdb
 -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -Os -Wno-
 unused-local-typedefs -Wno-unused-function -Wno-unused-private-field -Wno-
 deprecated-declarations -Wno-tautological-constant-out-of-range-compare
 -Wno-tautological-constant-compare -Wno-tautological-unsigned-zero-compare
 -Wno-tautological-unsigned-enum-zero-compare -Wno-unused-const-variable
 -Wno-missing-braces -Wno-inconsistent-missing-override -Wno-potentially-
 evaluated-expression -Wno-unused-lambda-capture -Wno-exceptions
 -Wunguarded-availability -fstack-protector-strong -fno-builtin-memcmp
 -DSAFEINT_USE_INTRINSICS=0 -DNDEBUG -DBOOST_THREAD_VERSION=5
 -DBOOST_THREAD_USES_DATETIME -DBOOST_SYSTEM_NO_DEPRECATED
 -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
 -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DBOOST_LOG_NO_SHORTHAND_NAMES
 -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_THREAD_ATTR
 -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt
 -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0
 -Isrc/third_party/abseil-cpp-master/abseil-cpp -I/opt/local/include
 -Ibuild/MP -Isrc src/mongo/transport/message_compressor_zstd.cpp
 :info:build scons: building terminated because of errors.
 :info:build build/MP/mongo/db/libkeys_collection_document.a failed: Error
 1
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work
 /mongodb-src-r4.4.2" && /opt/local/bin/python3.8 buildscripts/scons.py
 -j12 install-core CC="/usr/bin/clang" CPPPATH="/opt/local/include"
 CXX="/usr/bin/clang++"
 DESTDIR="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work/destroot"
 LIBPATH="/opt/local/lib" PREFIX="/opt/local" --disable-warnings-as-errors
 --enable-http-client=on --install-action=hardlink --libc++ --opt=size
 --release --ssl=on --use-sasl-client --use-system-pcre --use-system-snappy
 --use-system-stemmer --use-system-yaml --use-system-zlib --use-system-zstd
 --wiredtiger=on --use-system-mongo-c=off VARIANT_DIR=MP TARGET_ARCH=x86_64
 CCFLAGS=" -arch x86_64" CXXFLAGS="-stdlib=libc++ -arch x86_64"
 LINKFLAGS="-Wl,-headerpad_max_install_names -arch x86_64"
 :info:build Exit code: 2
 :error:build Failed to build mongodb: command execution failed
 :debug:build Error code: CHILDSTATUS 14416 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec build"
 :debug:build     (procedure "portbuild::build_main" line 8)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/main.log
 for details.
 }}}

 It appears to be a problem with the `cd` command.

-- 
Ticket URL: <https://trac.macports.org/ticket/61798>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list