From ceb3272fdae035d2a7376c423c69e5770f8e2fb1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 18 Oct 2025 22:23:56 +0800 Subject: [PATCH] debian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set Since commit 9b1d524839 ("debian: mark "crimson" specific deps with "pkg.ceph.crimson""), crimson-specific build dependencies have been gated by the Build-Profiles: tag. However, debian/rules was never updated to pass -DWITH_CRIMSON=ON when this build profile is active. This causes builds with the crimson profile enabled to fail during dh_install, as the crimson-osd binary is never built but the install file tries to package it: Failed to copy 'usr/bin/crimson-osd': No such file or directory dh_install: error: debian/ceph-crimson-osd.install returned exit code 127 Fix this by checking for pkg.ceph.crimson in DEB_BUILD_PROFILES and enabling the CMake option accordingly, following the same pattern used for pkg.ceph.arrow. Signed-off-by: Kefu Chai --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 99b8d52873792..8c0d38db4ea5d 100755 --- a/debian/rules +++ b/debian/rules @@ -15,6 +15,9 @@ endif ifneq ($(filter pkg.ceph.arrow,$(DEB_BUILD_PROFILES)),) extraopts += -DWITH_SYSTEM_ARROW=ON endif +ifneq ($(filter pkg.ceph.crimson,$(DEB_BUILD_PROFILES)),) + extraopts += -DWITH_CRIMSON=ON +endif extraopts += -DWITH_JAEGER=ON extraopts += -DWITH_SYSTEM_UTF8PROC=ON -- 2.39.5