ceph - ceph-devel - 2024-07-23

Timestamp (UTC)Message
2024-07-23T00:01:13.617Z
<rzarzynski> extending the unittest & fixing; I should have a PR tomorrow
2024-07-23T04:44:06.568Z
<Hanliang Xu> Hey everyone! I’m Hanliang, a first-time contributor to Ceph, with experience contributing to another open source project [OSIPI](https://osipi.github.io/index.html) as a GSoC student. I’m looking at this [good-first-issue](https://tracker.ceph.com/issues/66627) about OSD class display, but faced a package issue while following this [tutorial](https://docs.ceph.com/en/latest/dev/macos/) to build Ceph on MacOS. I got the following error while running the last chunk of cmake code. I googled “Verbs Libraries,” but found very little relevant information. Do I have to clone, build, and install [rdma-core](https://github.com/linux-rdma/rdma-core)? But it seems to target Linux, with May someone help me with
```CMake Error at /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find verbs (missing: VERBS_LIBRARIES VERBS_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/Findverbs.cmake:13 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)```
2024-07-23T04:44:36.550Z
<Hanliang Xu> Hey everyone! I’m Hanliang, a first-time contributor to Ceph, with experience contributing to another open source project [OSIPI](https://osipi.github.io/index.html) as a GSoC student. I’m looking at this [good-first-issue](https://tracker.ceph.com/issues/66627) about OSD class display, but faced a package issue while following this [tutorial](https://docs.ceph.com/en/latest/dev/macos/) to build Ceph on MacOS. I got the following error while running the last chunk of cmake code. I googled “Verbs Libraries,” but found very little relevant information. Do I have to clone, build, and install [rdma-core](https://github.com/linux-rdma/rdma-core)? But it seems to target Linux, with error running on my MacOS. May someone help me with this? I’m confused… Thank you
```CMake Error at /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find verbs (missing: VERBS_LIBRARIES VERBS_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/Findverbs.cmake:13 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)```
2024-07-23T04:44:40.596Z
<Hanliang Xu> Hey everyone! I’m Hanliang, a first-time contributor to Ceph, with experience contributing to another open source project [OSIPI](https://osipi.github.io/index.html) as a GSoC student. I’m looking at this [good-first-issue](https://tracker.ceph.com/issues/66627) about OSD class display, but faced a package issue while following this [tutorial](https://docs.ceph.com/en/latest/dev/macos/) to build Ceph on MacOS. I got the following error while running the last chunk of cmake code. I googled “Verbs Libraries,” but found very little relevant information. Do I have to clone, build, and install [rdma-core](https://github.com/linux-rdma/rdma-core)? But it seems to target Linux, with error running on my MacOS. May someone help me with this? I’m confused… Thank you
```CMake Error at /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find verbs (missing: VERBS_LIBRARIES VERBS_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/Findverbs.cmake:13 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)```
2024-07-23T04:45:32.024Z
<Hanliang Xu> Hey everyone! I’m Hanliang, a first-time contributor to Ceph, with experience contributing to another open source project [OSIPI](https://osipi.github.io/index.html) as a GSoC student. I’m looking at this [good-first-issue](https://tracker.ceph.com/issues/66627) about OSD class display, but faced a package issue while following this [tutorial](https://docs.ceph.com/en/latest/dev/macos/) to build Ceph on MacOS. I got the following error while running the last chunk of cmake code. I googled “Verbs Libraries,” but found very little relevant information. Do I have to clone, build, and install [rdma-core](https://github.com/linux-rdma/rdma-core)? But it seems to target Linux, with error running on my MacOS. May someone help me with this? I’m confused… Thank you
```CMake Error at /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find verbs (missing: VERBS_LIBRARIES VERBS_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/Findverbs.cmake:13 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)```
```CMake Error at CMakeLists.txt:374 (message):
  O_CLOEXEC/SOCK_CLOEXEC/fopen(..,"e") support is required but not found```
2024-07-23T04:45:52.828Z
<Hanliang Xu> Hey everyone! I’m Hanliang, a first-time contributor to Ceph, with experience contributing to another open source project [OSIPI](https://osipi.github.io/index.html) as a GSoC student. I’m looking at this [good-first-issue](https://tracker.ceph.com/issues/66627) about OSD class display, but faced a package issue while following this [tutorial](https://docs.ceph.com/en/latest/dev/macos/) to build Ceph on MacOS. I got the following error (first block) while running the last chunk of cmake code. I googled “Verbs Libraries,” but found very little relevant information. Do I have to clone, build, and install [rdma-core](https://github.com/linux-rdma/rdma-core)? But it seems to target Linux, with error running on my MacOS (second block). May someone help me with this? I’m confused… Thank you
```CMake Error at /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find verbs (missing: VERBS_LIBRARIES VERBS_INCLUDE_DIR)
Call Stack (most recent call first):
  /opt/homebrew/Cellar/cmake/3.30.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/Findverbs.cmake:13 (find_package_handle_standard_args)
  CMakeLists.txt:190 (find_package)```
```CMake Error at CMakeLists.txt:374 (message):
  O_CLOEXEC/SOCK_CLOEXEC/fopen(..,"e") support is required but not found```
2024-07-23T06:41:11.610Z
<Bill Scales> Building ceph on a Mac (in particular if its one of the newer ARM based ones) is not easy - be prepared for a fight. At a minimum you'll need some patches and will need to run CMake with a list of features disabled (see the tutorial). I'd start by grabbing the changes in this branch <https://github.com/leonid-s-usov/ceph-ceph/tree/mac-build-main> . See also Brewfile in that branch which will help install a lot of the prereqs that you'll need to be able to compile all the code.
2024-07-23T13:29:54.972Z
<rzarzynski> <https://github.com/ceph/ceph/pull/58749>
2024-07-23T16:17:26.078Z
<Hanliang Xu> Thank you Bill! I’ll try my best
2024-07-23T17:28:01.196Z
<Casey Bodley> i think the `backport-create-issue` script stopped running at some point

Any issue? please create an issue here and use the infra label.