Bugzilla – Bug 1218111
ceph: fails to build with cmake 3.28
Last modified: 2023-12-20 13:56:06 UTC
ceph is failing to build with newer cmake 3.28 See https://build.opensuse.org/request/show/1133366 [ 71s] -- Found Curses: /usr/lib64/libncurses.so [ 71s] -- Found nl: /usr/lib64/libnl-3.so [ 71s] -- Checking for module 'libcap-ng' [ 71s] -- Found libcap-ng, version 0.8.3 [ 71s] -- Setting civetweb to use OPENSSL >= 1.1 [ 71s] -- Found the following ICU libraries: [ 71s] -- uc (required): /usr/lib64/libicuuc.so [ 71s] -- Found ICU: /usr/include (found suitable version "73.2", minimum required is "52.0") [ 71s] -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) [ 71s] CMake Error at cmake/modules/CTags.cmake:19 (string): [ 71s] string sub-command REPLACE requires at least four arguments. [ 71s] Call Stack (most recent call first): [ 71s] CMakeLists.txt:714 (add_tags) [ 71s] [ 71s] [ 71s] CMake Error at cmake/modules/CTags.cmake:22 (string): [ 71s] string sub-command REPLACE requires at least four arguments. [ 71s] Call Stack (most recent call first): [ 71s] CMakeLists.txt:714 (add_tags) [ 71s] [ 71s] [ 71s] -- exclude following files under src: *.js;*.css;.tox;python-common/build [ 71s] -- Configuring incomplete, errors occurred! [ 71s] error: Bad exit status from /var/tmp/rpm-tmp.WWPOhI (%build)
Would be great to get a Git bisect to pinpoint the CMake change that caused this error. From the error message, I would guess it is a problem in the Ceph code. I checked both issue trackers for CMake and Ceph and nobody else reported this. Strange. Needs more investigations.
It's a combination of things that need to happen: * cmake 3.28 or newer (not many distros have that yet I guess) * command 'git' not existing (i.e building from tarball in clean build env; excludes all ceph devs from seeing this) https://github.com/ceph/ceph/pull/54963
(In reply to Dominique Leuenberger from comment #2) > It's a combination of things that need to happen: > > * cmake 3.28 or newer (not many distros have that yet I guess) > * command 'git' not existing (i.e building from tarball in clean build env; > excludes all ceph devs from seeing this) > > > https://github.com/ceph/ceph/pull/54963 Accepted by devel prj and forwarded to Facrory