-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
DevProd Build
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
[2025/12/17 13:30:33.774] Symbol check failed for: //src/mongo/util:fail_point[2025/12/17 13:30:33.774] Missing symbols:[2025/12/17 13:30:33.774] - mongo::LogicalTime::kUninitialized[2025/12/17 13:30:33.774] - mongo::ServerParameter::ServerParameter(mongo::StringData, mongo::ServerParameterType)[2025/12/17 13:30:33.774] - mongo::ServerParameter::set(mongo::BSONElement const&, boost::optional<mongo::TenantId> const&)[2025/12/17 13:30:33.774] - mongo::ServerParameter::warnIfDeprecated(mongo::StringData)[2025/12/17 13:30:33.774] - mongo::bsonExtractIntegerField(mongo::BSONObj const&, mongo::StringData, long long*)[2025/12/17 13:30:33.774] - mongo::registerServerParameter(std::unique_ptr<mongo::ServerParameter, std::default_delete<mongo::ServerParameter> >)[2025/12/17 13:30:33.774] Please check to see if //src/mongo/util:fail_point is missing any deps that would include the symbols above[2025/12/17 13:30:33.774] To reproduce:[2025/12/17 13:30:33.774] bazel build --config=symbol-checker //src/mongo/util:fail_point
From this error, running the exact invocation
bazel build --config=symbol-checker //src/mongo/util:fail_point
doesn't produce any errors.
Here is the example target:
mongo_cc_library( name = "fail_point", srcs = [ "fail_point.cpp", ], deps = [ "//src/mongo:base", ], )
Running this symbol checker locally for other targets also doesn't seem to produce errors when it should.