The problem could be scons. It looks like https://github.com/mongodb/mongo/blob/r4.2.0/SConstruct
requires Python 3.5 but Scons runs against Python 2.7: $ head /opt/local/bin/scons #!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 So try changing python.default_version in scons’ portfile and rebuilding it. Blair > On Aug 31, 2019, at 6:27 PM, Ralph Seichter <ab...@monksofcool.net> wrote: > > Dang, forgot the link: > > [1] https://github.com/mongodb/mongo/blob/master/docs/building.md >