What is mongo_tooling_metrics in 7.0-alpha?

Hi,

I’m trying to build MongoDB 7.0-alpha on FreeBSD. (Maintaining ports for 4.2 - 6.0)
The build immediately crashes with:
“ModuleNotFoundError: No module named ‘mongo_tooling_metrics’”

Where does this symbol come from? I don’t find it in the source or in the mongodb github repos.

Regards,
Ronald.

[00:03:42] /wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.0-alpha/buildscripts/scons.py	-C /wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.0-alpha --cxx-std=17  --disable-warnings-as-errors  --libc++  --runtime-hardening=on  --use-system-icu  --use-system-libunwind  --use-system-pcre  --use-system-snappy  --use-system-stemmer  --use-system-yaml  --use-system-zlib  --use-system-zstd  -j2  AR=llvm-ar  MONGO_VERSION=7.0.0-alpha  VERBOSE=on --lto=on --use-sasl-client --ssl CC="cc"  CCFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPPPATH="/usr/local/include"  CXX="c++"  CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  LIBPATH="/usr/local/lib"  LINKFLAGS="  -fstack-protector-strong "  PKGCONFIGDIR=""  PREFIX="/usr/local"  destdir=/wrkdirs/usr/ports/databases/mongodb70/work/stage DESTDIR=/wrkdirs/usr/ports/databases/mongodb70/work/stage
[00:03:43] scons: Entering directory `/wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.0-alpha'
[00:03:43] scons: Reading SConscript files ...
[00:03:44] ModuleNotFoundError: No module named 'mongo_tooling_metrics':
[00:03:44]   File "/wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.0-alpha/SConstruct", line 26:
[00:03:44]     from mongo_tooling_metrics.client import get_mongo_metrics_client
[00:03:44] *** Error code 2
[00:03:44] 
[00:03:44] Stop.
[00:03:44] make: stopped in /usr/ports/databases/mongodb70

I see the same issue with 7.0.0-RC0.

I commented out the lines in SConstruct which uses this feature and now it builds fine.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.