Package Details: ceph-bin 18.2.4-4

Git Clone URL: https://aur.archlinux.org/ceph-bin.git (read-only, click to copy)
Package Base: ceph-bin
Description: Distributed, fault-tolerant storage platform delivering object, block, and file system
Upstream URL: https://ceph.com/
Licenses: GPL-2.0-or-later OR LGPL-2.1-or-later OR LGPL-3.0-or-later
Conflicts: ceph
Submitter: pbazaah
Maintainer: pbazaah
Last Packager: pbazaah
Votes: 10
Popularity: 0.77
First Submitted: 2022-08-14 16:06 (UTC)
Last Updated: 2024-12-01 16:12 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

snack commented on 2023-05-05 05:55 (UTC)

@pbazaah I use yay as well, and trying to upgrade with it I got the request to install the makedependencies of the non-bin packages. That's what triggered my suspects. Then I decided to buid the packages with makepkg and then install with pacman -U. That way I did not get any problem with the makedependencies, but then at install time I got the request to remove ceph-bin since it conflicts with ceph, even if I was installing ceph-bin. Now pacman believes the non-bin packages are installed on my system. I inspected the PKGBUILD and I see no evident error so I'm a bit clueless. I'll try to remove ceph and install ceph-bin from scratch using yay.

pbazaah commented on 2023-05-04 22:04 (UTC)

@snack

Nope, but I don't use -U for installs. All I can say is that I've just updated a decent number of machines myself, and never ran into this problem.

Does this problem present itself if you yay -S ceph-libs-bin ceph-bin? If not, I'd guess its a problem with pacman/libalpm dependency resolution, because the ceph packages have a provides clause for the src variant, and a strict dependency on equal versioned sister packages.

@Kevdog

I'm fairly surprised you managed to trigger a cmake error, given this package doesn't invoke cmake at all.


Lastly as PSA: this package will likely need (several) rebuilds in the coming days, as python 3.11 is imminent. I have no idea how much work will be involved in the fixing, as the changes from 3.10 are considerable.

snack commented on 2023-05-04 14:04 (UTC) (edited on 2023-05-04 14:06 (UTC) by snack)

@pbazaah I built and installed ceph-bin and ceph-libs-bin. As I wrote in my previous post pacman removed the installed -bin versions and installed the packages as non -bin. This is the complete output:

$ sudo pacman -U ceph-bin-17.2.6-1.tar.zst ceph-libs-bin-17.2.6-1.tar.zst 
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ceph and ceph-bin are in conflict. Remove ceph-bin? [y/N] y
:: ceph-libs and ceph-libs-bin are in conflict. Remove ceph-libs-bin? [y/N] y

Packages (4) ceph-bin-17.2.5-6 [removal]  ceph-libs-bin-17.2.5-6 [removal]  ceph-17.2.6-1  ceph-libs-17.2.6-1

Total Installed Size:  323.97 MiB
Net Upgrade Size:        1.08 MiB

:: Proceed with installation? [Y/n] 
(2/2) checking keys in keyring                                                                                                                                     [####################################################################################################] 100%
(2/2) checking package integrity                                                                                                                                   [####################################################################################################] 100%
(2/2) loading package files                                                                                                                                        [####################################################################################################] 100%
(2/2) checking for file conflicts                                                                                                                                  [####################################################################################################] 100%
(4/4) checking available disk space                                                                                                                                [####################################################################################################] 100%
:: Processing package changes...
(1/2) removing ceph-bin                                                                                                                                            [####################################################################################################] 100%
(2/2) removing ceph-libs-bin                                                                                                                                       [####################################################################################################] 100%
(1/2) installing ceph-libs                                                                                                                                         [####################################################################################################] 100%
(2/2) installing ceph                                                                                                                                              [####################################################################################################] 100%
warning: directory permissions differ on /etc/sudoers.d/
filesystem: 750  package: 755
warning: directory permissions differ on /var/log/ceph/
filesystem: 750  package: 755
Optional dependencies for ceph
    smartmontools: disk monitoring via S.M.A.R.T [installed]
    nvme-cli: disk monitoring for NVMe drives
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
(2/4) Reloading system manager configuration...
(3/4) Creating temporary files...
(4/4) Arming ConditionNeedsUpdate...
[15:59 mori@stryke ceph-bin]$ pacman -Qi ceph-bin
error: package 'ceph-bin' was not found
[15:59 mori@stryke ceph-bin]$ pacman -Qi ceph    
Name            : ceph
Version         : 17.2.6-1
Description     : Distributed, fault-tolerant storage platform delivering object, block, and file system
Architecture    : x86_64
URL             : https://ceph.com/
Licenses        : GPL
Groups          : None
Provides        : ceph=17.2.6-1
Depends On      : ceph-libs=17.2.6-1  boost-libs  curl  fuse3  fmt  glibc  gperftools  java-runtime  keyutils  libaio  libutil-linux  librdkafka  cryptsetup  libnl  ncurses  nss  oath-toolkit  python  snappy  sudo  systemd-libs  lua  gawk
Optional Deps   : smartmontools: disk monitoring via S.M.A.R.T [installed]
                  nvme-cli: disk monitoring for NVMe drives
Required By     : None
Optional For    : None
Conflicts With  : ceph-bin
Replaces        : None
Installed Size  : 214.86 MiB
Packager        : Unknown Packager
Build Date      : sab 29 apr 2023, 14:21:31
Install Date    : gio 4 mag 2023, 15:59:44
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

So it can be seen that even if I installed the -bin packages now it seems that pacman believes that non -bin versions are installed. I believe this is not correct, do you have any clue about this? Anybody experiencing the same?

Kevdog commented on 2023-05-04 00:57 (UTC) (edited on 2023-05-04 01:00 (UTC) by Kevdog)

When trying to install ceph-bin I get the following:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Development) (found version "11.0.19")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindJava.cmake:314 (find_package_handle_standard_args)
  src/java/CMakeLists.txt:1 (find_package)

I have the following java installed:

java --version
openjdk 11.0.19 2023-04-18
OpenJDK Runtime Environment (build 11.0.19+7)
OpenJDK 64-Bit Server VM (build 11.0.19+7, mixed mode

snack commented on 2023-05-01 17:18 (UTC)

@pbazaah On my system there are just -bin packages as you can see in the output of pacman -Qs ceph below. Still, when trying to install ceph-bin 17.2.6-1 it asks me to remove ceph-bin itself since it conflicts with ceph; but there's no ceph packagebon my system, nor I'm trying to install it. This sounds strange to me.

pbazaah commented on 2023-05-01 12:32 (UTC) (edited on 2023-05-01 12:34 (UTC) by pbazaah)

They are different. Quoting https://aur.archlinux.org/packages/ceph#comment-884150

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.

I'd recommend you only use bin packages, or src packages but not both at the same time

snack commented on 2023-05-01 12:06 (UTC)

I get a strange behavior while updating to 17.2.6. It seems that the ceph-bin package thinks to be ceph, and tries to remove itself on installing:

$ pacman -Qs ceph
local/ceph-bin 17.2.5-6
    Distributed, fault-tolerant storage platform delivering object, block, and file system
local/ceph-libs-bin 17.2.5-6
    Distributed, fault-tolerant storage platform delivering object, block, and file system
local/cephadm 17.2.6-1
    Cephadm deploys and manages a Ceph cluster by connection to hosts from the manager daemon via SSH to add, remove, or update Ceph daemon containers

$ sudo pacman -U /tmp/yay/ceph-bin/ceph-bin-17.2.6-1.tar.zst /tmp/yay/ceph-bin/ceph-libs-bin-17.2.6-1.tar.zst
loading packages...
resolving dependencies...
looking for conflicting packages...
:: ceph and ceph-bin are in conflict. Remove ceph-bin? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: ceph and ceph-bin are in conflict

Am I missing something?

pbazaah commented on 2023-03-07 17:16 (UTC)

v17.2.5-6 has been released.

https://github.com/bazaah/aur-ceph/releases/tag/v17.2.5-6

pbazaah commented on 2023-01-28 19:47 (UTC) (edited on 2023-01-28 19:48 (UTC) by pbazaah)

@mimhof

Yes, however, rdkafka is currently broken which is blocking a rebuild.

See:

mimhof commented on 2023-01-28 16:35 (UTC)

Dependency for boost-libs is broken. Boost-Libs are now on 1.81.0