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**

{
    ExtendedLogMessage msg_ext = ExtendedLogMessage::getFrom(msg);
    
    for (auto & [name, channel] : channels)
    {
        if (channel.second)
            channel.second->logExtended(msg_ext); 
        else
            channel.first->log(msg); 
    }
#ifdef WITH_TEXT_LOG
    auto logs_queue = CurrentThread::getInternalTextLogsQueue();
    
    if (logs_queue && logs_queue->isNeeded(msg.getPriority(), msg.getSource()))
    {
        MutableColumns columns = InternalTextLogsQueue::getSampleColumns();
        size_t i = 0;
        columns[i++]->insert(msg_ext.time_seconds);
        columns[i++]->insert(msg_ext.time_microseconds);
        columns[i++]->insert(DNSResolver::instance().getHostName());
        columns[i++]->insert(msg_ext.query_id);
        columns[i++]->insert(msg_ext.thread_id);
        columns[i++]->insert(static_cast<Int64>(msg.getPriority()));
        columns[i++]->insert(msg.getSource());
        columns[i++]->insert(msg.getText());
        [[maybe_unused]] bool push_result = logs_queue->emplace(std::move(columns));
    }
    
    auto text_log_max_priority_loaded = text_log_max_priority.load(std::memory_order_relaxed);
    if (text_log_max_priority_loaded && msg.getPriority() <= text_log_max_priority_loaded)