starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

[Bug] Build Failure on main branch: RemoteStarletLocationProvider not a member of starrocks::lake

Open arvindKandpal-ksolves opened this issue 1 month ago • 0 comments

Version Info

Branch: main (upstream/main)

Describe the bug

I encountered a compilation error while building the Backend (BE) on the latest main branch. The build fails in lake_replication_txn_manager.h due to a missing class definition.

Steps to reproduce

  1. Sync with latest main.
  2. Run clean build: build.sh --be -j 2 (with default configuration).

Error Log

In file included from be/src/agent/agent_task.cpp:29: be/src/storage/lake/lake_replication_txn_manager.h:79:27: error: ‘RemoteStarletLocationProvider’ is not a member of ‘starrocks::lake’ 79 | std::unique_ptrlake::RemoteStarletLocationProvider _remote_location_provider; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Image

Analysis

It seems like RemoteStarletLocationProvider is being used without proper #ifdef USE_STAROS guards or missing headers, causing build failures in environments where StarOS/SharedData might be disabled or not fully configured.

arvindKandpal-ksolves avatar Dec 12 '25 10:12 arvindKandpal-ksolves