]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
ceph.git
2 weeks agodo_cmake: use Python 3.12 on ubuntu >= 24 reef-build-fixes 66693/head
Kefu Chai [Fri, 14 Feb 2025 10:53:58 +0000 (18:53 +0800)]
do_cmake: use Python 3.12 on ubuntu >= 24

the "official" Python shipped along with Ubuntu 24.04 (Noble Numbat) is
Python 3.12. And some of our building have been upgraded to Ubuntu
24.04. But we are still using Python 3.10 on Ubuntu >= 22, this breaks
the build. And CMake fails like:

```
CMake Error at /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_EXECUTABLE Python3_INCLUDE_DIRS
  Python3_LIBRARIES Interpreter Development Development.Module
  Development.Embed) (Required is exact version "3.10")

      Reason given by package:
          Interpreter: Wrong version for the interpreter "/bin/python3"

Call Stack (most recent call first):
  /usr/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindPython/Support.cmake:3863 (find_package_handle_standard_args)
  cmake/modules/FindPython3.cmake:545 (include)
  CMakeLists.txt:597 (find_package)
```

This build failure should also happen on developers who build Ceph on
Ubuntu >= 24.

In this change, we use Python 3.12 on Ubuntu >= 24

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 4df368381d3a7c09cdc4859eb52b5d29d206aa5a)

2 weeks agoinstall-deps: Update Pyyaml version
Brad Hubbard [Thu, 7 Mar 2024 04:13:11 +0000 (14:13 +1000)]
install-deps: Update Pyyaml version

Move to 6.0.1 to overcome https://github.com/yaml/pyyaml/issues/601

Fixes: https://tracker.ceph.com/issues/63591
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 7863d297eaf03a57ce910ab7f7a08e22789ed8d8)

2 weeks agobuild: Fix opentelemetry-cpp build failure on Noble
Adam C. Emerson [Tue, 1 Apr 2025 21:00:32 +0000 (17:00 -0400)]
build: Fix opentelemetry-cpp build failure on Noble

The version of the opentelemetry-cpp we currently use has a missing
include in the Jaeger exporter.

Newer versions remove the Jaeger exporter entirely.

While upgrading sometime would be good, it doesn't have to happen
right now.

Thus do I hereby update the opentelemetry-cpp submodule.

Fixes: https://tracker.ceph.com/issues/62804
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
(cherry picked from commit 9c797f52a46edcd4ceb4bfb1a5c42c221230168b)

3 weeks agoMerge pull request #64748 from kshtsk/wip-72328-reef
kyr [Fri, 12 Dec 2025 20:33:06 +0000 (21:33 +0100)]
Merge pull request #64748 from kshtsk/wip-72328-reef

reef: qa/tasks/ceph_manager: population must be a sequence