[MacPorts] #63871: mongodb 5.0.3: Fails at configure stage on Mac OS Monterey
MacPorts
noreply at macports.org
Tue Nov 9 01:35:31 UTC 2021
#63871: mongodb 5.0.3: Fails at configure stage on Mac OS Monterey
------------------------+---------------------
Reporter: knightcode | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: mongodb
------------------------+---------------------
Followed the migration guide after upgrading Mac OS to 12.0.1 on a 2019
MacBook Pro x86_64 (i9). Mongo server failed to install (among others).
The excerpt from the log below shows that it can't find sasl2. The cyrus-
sasl2 port did install correctly beforehand and is listed amongst the
installed ports. I also tried uninstalling all ports, reclaiming, and just
installing 'mongodb' alone. Same result.
{{{
:info:build Checking for C library snappy... no
:info:build Checking for C library z... no
:info:build Checking for C library zstd... no
:info:build Checking for C library stemmer... no
:info:build Checking for C library yaml-cpp... no
:info:build Checking for C library rt... no
:info:build Checking for C library dl... yes
:info:build Checking for C++ header file execinfo.h... yes
:info:build Checking whether backtrace is declared... yes
:info:build Checking whether backtrace_symbols is declared... yes
:info:build Checking whether backtrace_symbols_fd is declared... yes
:info:build Checking for C library pcap... no
:info:build Checking for C library wpcap... no
:info:build Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library
sasl2... no
:info:build Couldn't find SASL header/libraries
:info:build See
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_mongodb/mongodb/work
/mongodb-src-r5.0.3/build/scons/config.log for details
: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-r5.0.3" && /opt/local/bin/python3.9 buildscripts/scons.py
-j16 install-core CC="/usr/bin/clang" CFLAGS=""
CPPPATH="/opt/local/include" CXX="/usr/bin/clang++"
CXXFLAGS="-stdlib=libc++"
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" LINKFLAGS="-Wl,-headerpad_max_install_names -arch
x86_64"
:info:build Exit code: 1
:error:build Failed to build mongodb: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63871>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list