Package Details: ceph-erasure 20.2.1-1

Git Clone URL: https://aur.archlinux.org/ceph.git (read-only, click to copy)
Package Base: ceph
Description: Ceph Storage erasure coding libs
Upstream URL: https://ceph.com/
Licenses: GPL-2.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later
Submitter: foxxx0
Maintainer: pbazaah
Last Packager: pbazaah
Votes: 8
Popularity: 0.000995
First Submitted: 2022-08-08 09:09 (UTC)
Last Updated: 2026-04-06 22:04 (UTC)

Required by (1)

Sources (17)

Pinned Comments

pbazaah commented on 2022-10-05 13:03 (UTC) (edited on 2022-10-05 13:03 (UTC) by pbazaah)

For future commenters:

TLDR:

https://aur.archlinux.org/pkgbase/ceph | From source build (slow)

https://aur.archlinux.org/pkgbase/ceph-bin | Pre-built binaries (fast)


Unlike the original community version, this repo builds ceph from source. Ceph is a large, complicated project so this takes several hours on a good build server.

To get a similar experience to how community/ceph worked (pre-built binaries) use ceph-bin instead.

Latest Comments

1 2 3 4 5 6 .. 16 Next › Last »

pbazaah commented on 2026-04-10 16:28 (UTC) (edited on 2026-04-10 16:28 (UTC) by pbazaah)

I can't reproduce that failure in a clean chroot. I get:

just cexec ninja -C build heap_profiler
arch-nspawn /usr/local/pacman/chroot/20.2.1_1 --chdir /build/ceph/src/ceph-20.2.1/. sh -c 'ninja -C build heap_profiler'
ninja: Entering directory `build'
[2/2] Linking CXX static library lib/libheap_profiler.a

Are you using the latest Archlinux deps?

daurnimator commented on 2026-04-10 15:38 (UTC)

@pbazaah thanks for updating to v20!

I do get a failed build though. I think the relevant error is:

FAILED: [code=1] src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o 
/usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-20.2.1/build/src/include -I/build/ceph/src/ceph-20.2.1/src -isystem /build/ceph/src/ceph-20.2.1/build/include -isystem /build/ceph/src/ceph-20.2.1/src/xxHash -isystem /build/ceph/src/ceph-20.2.1/src/fmt/include -march=x86-64 -mtune=generic -O2 -pipe  -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/ceph/src=/usr/src/debug/ceph -Wno-maybe-uninitialized -O2 -g -DNDEBUG -std=c++20 -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -DBOOST_ALLOW_DEPRECATED_HEADERS -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fstack-protector-strong -fdiagnostics-color=auto -MD -MT src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o -MF src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o.d -o src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o -c /build/ceph/src/ceph-20.2.1/src/perfglue/heap_profiler.cc
/build/ceph/src/ceph-20.2.1/src/perfglue/heap_profiler.cc: In function ‘void get_profile_name(char*, int)’:
/build/ceph/src/ceph-20.2.1/src/perfglue/heap_profiler.cc:102:48: error: ‘class ConfigValues’ has no member named ‘log_file’
  102 |   snprintf(path, sizeof(path), "%s", g_conf()->log_file.c_str());
      |                                                ^~~~~~~~

pbazaah commented on 2026-04-06 22:28 (UTC)

Ceph v20.2.1 has been released.

This release brings with it several core improvements, notably to erasure coded (EC) pools via the new FastEC feature and RGW (S3) with the small STS shim that enables OIDC access to buckets, and general AWS IAM users to be created and assigned using the normal aws API calls.

The zabbix and restful mgr modules have been removed in this version, though both have been deprecated for a couple years now.

I recommend you read the release notes for the full set of changes: https://ceph.io/en/news/blog/2025/v20-2-0-tentacle-released/


On the Arch specific side the mgr dashboard should be semi-functional for the first time in a while, though anything to do with cephadm will still crash the mgr, but supposedly there are fixes for this coming in v20.2.2, so we'll see what happens in the coming months.

In addition to the suite of fixes in 20.2.1 including multiple data loss bugs, I have included an additional fix that didn't make it into the merge window for lifecycle deletion events in RGW, but overall managed to decrease the number patches I maintain by about 15, with most of the remaining ones being strict backports from the upstream, making our build much easier to maintain.

I recommend you read the upgrade guide before upgrading: https://ceph.io/en/news/blog/2025/v20-2-0-tentacle-released/#upgrading-non-cephadm-clusters

pbazaah commented on 2026-04-06 17:05 (UTC)

So, I have a functional v20 build, but I can release one last -7 pkgrel for 19.2.3 that fixes the build issues, if users would prefer.

I'll leave this here for 2-3 hours and if nobody has asked for it, I'll release the v20 build directly

pbazaah commented on 2026-04-04 08:49 (UTC)

I'm working on the v20.2.1 build1, as it seems very likely Ceph will release it on Monday2.

I got a successful build overnight and will be running my normal testing over the weekend

daurnimator commented on 2026-04-04 05:14 (UTC)

Build failing again:

[126/2624] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o
FAILED: [code=1] src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o 
/usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/build/ceph/src/ceph-19.2.3/build/src/include -I/build/ceph/src/ceph-19.2.3/src -isystem /build/ceph/src/ceph-19.2.3/build/include -isystem /build/ceph/src/ceph-19.2.3/src/xxHash -isystem /build/ceph/src/ceph-19.2.3/src/fmt/include -march=x86-64 -mtune=generic -O2 -pipe  -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/ceph/src=/usr/src/debug/ceph -O2 -g -DNDEBUG -std=c++20 -fPIC   -U_FORTIFY_SOURCE -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -DBOOST_PHOENIX_STL_TUPLE_H_ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fstack-protector-strong -fdiagnostics-color=auto -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o -MF src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o.d -o src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o -c /build/ceph/src/ceph-19.2.3/src/msg/async/net_handler.cc
/build/ceph/src/ceph-19.2.3/src/msg/async/net_handler.cc: In member function ‘int ceph::NetHandler::generic_connect(const entity_addr_t&, const entity_addr_t&, bool)’:
/build/ceph/src/ceph-19.2.3/src/msg/async/net_handler.cc:186:37: error: ‘class ConfigValues’ has no member named ‘ms_tcp_nodelay’
  186 |   set_socket_options(s, cct->_conf->ms_tcp_nodelay, cct->_conf->ms_tcp_rcvbuf);
      |                                     ^~~~~~~~~~~~~~
/build/ceph/src/ceph-19.2.3/src/msg/async/net_handler.cc:186:65: error: ‘class ConfigValues’ has no member named ‘ms_tcp_rcvbuf’
  186 |   set_socket_options(s, cct->_conf->ms_tcp_nodelay, cct->_conf->ms_tcp_rcvbuf);
      |                                                                 ^~~~~~~~~~~~~
/build/ceph/src/ceph-19.2.3/src/msg/async/net_handler.cc:190:21: error: ‘class ConfigValues’ has no member named ‘ms_bind_before_connect’
  190 |     if (cct->_conf->ms_bind_before_connect && (!addr.is_blank_ip())) {
      |                     ^~~~~~~~~~~~~~~~~~~~~~
[127/2624] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o
[128/2624] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o
[129/2624] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o
[130/2624] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o
[131/2624] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o
[132/2624] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o
[133/2624] Building CXX object src/CMakeFiles/common-objs.dir/global/global_context.cc.o
[134/2624] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[135/2624] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o
[136/2624] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o
[137/2624] Building CXX object src/CMakeFiles/common-objs.dir/librbd/io/IoOperations.cc.o
[138/2624] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o
FAILED: [code=1] src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o 

I note that the main arch repos have boost 1.90 now.

pbazaah commented on 2026-03-15 09:37 (UTC)

I have a fix for this now, I'll push a -6 sometime today, if I don't forgot later after the build finishes

pbazaah commented on 2026-03-12 14:35 (UTC)

I think this is basically down to the fact that ceph v19 bundles an absolutely ancient version of liburing (https://github.com/axboe/liburing/tree/liburing-0.7), which gcc has decided it doesn't like for whatever reason.

You can work around this with -DWITH_SYSTEM_LIBURING=ON and adding liburing to makedepends, but I don't know if you'll hit a bug later down. For what it's worth, this is fixed in v20, but I'm still waiting for 20.2.1 to release. I'll take a look at this on the weekend

daurnimator commented on 2026-03-12 03:47 (UTC)

Oh found an error way up in the build log:

[73/2624] Performing build step for 'liburing_ext'
FAILED: [code=1] liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build /build/ceph/src/ceph-19.2.3/src/liburing/src/liburing.a /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build 
cd /build/ceph/src/ceph-19.2.3/src/liburing && /usr/bin/cmake -P /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build-RelWithDebInfo.cmake && /usr/bin/cmake -E touch /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build
CMake Error at /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build-RelWithDebInfo.cmake:37 (message):
  Command failed: 2

   '/usr/bin/make' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe  -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/ceph/src=/usr/src/debug/ceph -fPIC' '-C' 'src' '-s'

  See also

    /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build.log


-- Log output is:
     CC setup.ol
In file included from setup.c:12:
include/liburing.h:409:66: warning: ‘struct open_how’ declared inside parameter list will not be visible outside of this definition or declaration
  409 |                                         const char *path, struct open_how *how)
      |                                                                  ^~~~~~~~
include/liburing.h: In function ‘io_uring_prep_openat2’:
include/liburing.h:411:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct open_how’
  411 |         io_uring_prep_rw(IORING_OP_OPENAT2, sqe, dfd, path, sizeof(*how),
      |                                                                   ^
make: *** [Makefile:44: setup.ol] Error 1

CMake Error at /build/ceph/src/ceph-19.2.3/build/liburing_ext-prefix/src/liburing_ext-stamp/liburing_ext-build-RelWithDebInfo.cmake:47 (message):
  Stopping after outputting logs.