The entire build process succeed. But clickhouse-server binary startup with segmentfault.
It seems that OwnSplitChannel.h is ambiguous in same binary because of different `WITH_TEXT_LOG` compile flag.

**Operating system**
macOS 12.5.1

**Cmake version**
cmake version 3.22.2

**Ninja version**
1.10.2

**Compiler name and version**
llvm13

**Full cmake and/or ninja output**

{
    text_log = log;
    text_log_max_priority = max_priority;
}
#endif
void Loggers::buildLoggers(Poco::Util::AbstractConfiguration & config, Poco::Logger & logger , const std::string & cmd_name)
{
#ifdef WITH_TEXT_LOG
    if (split)
        if (auto log = text_log.lock())
            split->addTextLog(log, text_log_max_priority);
#endif
    auto current_logger = config.getString("logger", "");
    if (config_logger == current_logger) 
        return;
    config_logger = current_logger;
    bool is_daemon = config.getBool("application.runAsDaemon", false);
    
    
    split = new DB::OwnSplitChannel();
    auto log_level_string = config.getString("logger.level", "trace");
    
    
    int max_log_level = 0;
    const auto log_path = config.getString("logger.log", "");