Skip to content

Commit ceb3272

Browse files
tchaikovMatan-B
authored andcommitted
debian/rules: enable WITH_CRIMSON when pkg.ceph.crimson profile is set
Since commit 9b1d524 ("debian: mark "crimson" specific deps with "pkg.ceph.crimson""), crimson-specific build dependencies have been gated by the Build-Profiles: <pkg.ceph.crimson> 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 <[email protected]>
1 parent f504bb5 commit ceb3272

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

debian/rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ endif
1515
ifneq ($(filter pkg.ceph.arrow,$(DEB_BUILD_PROFILES)),)
1616
extraopts += -DWITH_SYSTEM_ARROW=ON
1717
endif
18+
ifneq ($(filter pkg.ceph.crimson,$(DEB_BUILD_PROFILES)),)
19+
extraopts += -DWITH_CRIMSON=ON
20+
endif
1821

1922
extraopts += -DWITH_JAEGER=ON
2023
extraopts += -DWITH_SYSTEM_UTF8PROC=ON

0 commit comments

Comments
 (0)