Package Details: ceph-libs-bin 19.2.1-2

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-libs
Provides: ceph-libs
Submitter: pbazaah
Maintainer: pbazaah
Last Packager: pbazaah
Votes: 10
Popularity: 0.103019
First Submitted: 2022-08-14 16:06 (UTC)
Last Updated: 2025-02-18 14:48 (UTC)

Required by (5)

Sources (29)

Latest Comments

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

snack commented on 2023-05-15 06:08 (UTC)

@pbazaah Thanks for the investigation, I didn't catch the yay bug report. I will follow that.

pbazaah commented on 2023-05-13 13:37 (UTC)

Looking into it, this might be a yay specific issue:

https://github.com/Jguer/yay/issues/2157

Which explains why I haven't seen it, none of my tests run against yay 12 yet

pbazaah commented on 2023-05-13 12:05 (UTC)

@snack

I also use yay, and simply do not experience the issues you describe.

Unless you can either point out an issue in the PKGBUILD/SRCINFO, or provide a minimal reproducible case there's not much I can do.

snack commented on 2023-05-13 09:05 (UTC) (edited on 2023-05-13 09:07 (UTC) by snack)

@pbazaah I'm still getting troubles when trying to update ceph-bin and cehp-bin-libs using yay; if I'm correct you use yay too, so I'd like to hear your opinion.

$ sudo pacman -Qs ceph
local/ceph-bin 17.2.6-1
    Distributed, fault-tolerant storage platform delivering object, block, and file system
local/ceph-libs-bin 17.2.6-1
    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


$ yay
:: Synchronizing package databases...
 core                                                                                                                                  154.6 KiB   762 KiB/s 00:00 [####################################################################################################] 100%
 extra                                                                                                                                1767.6 KiB  7.60 MiB/s 00:00 [####################################################################################################] 100%
 community                                                                 7.5 MiB  8.31 MiB/s 00:01 [###########################################################] 100%########################################################################-------------------------]  75%
:: Searching AUR for updates...
:: Searching databases for updates...
 -> Packages not in AUR: libminilector38u-bit4id  plasma5-applets-redshift-control
 -> Flagged Out Of Date AUR Packages: boost-python2  boost-python2-libs  joplin-appimage  libcgroup  losslesscut-bin  mendeleydesktop-bundled  oidc-agent  teams-for-linux
:: 73 Packages to upgrade/install.
73  core/libbpf                                1.1.0-1   -> 1.2.0-1
72  core/libcurl-compat                                  -> 8.0.1-1
    (Make Dependency of ceph-libs)
71  core/libnghttp2                            1.52.0-2  -> 1.53.0-1
70  core/tpm2-tss                              3.2.0-3   -> 4.0.1-1
69  extra/bc                                             -> 1.07.1-4
    (Make Dependency of ceph-libs)
  .
  .
  .
4  community/xmlstarlet                                 -> 1.6.1-3
    (Make Dependency of ceph-libs)
 3  aur/ceph-bin                               17.2.6-1  -> 17.2.6-2
 2  aur/ceph-libs                                        -> 17.2.6-2  <---------
 1  aur/ceph-libs-bin                          17.2.6-1  -> 17.2.6-2

I have only -bin packages, still yay wants update wants to build a non-bin package (2 aur/ceph-libs, in this case). This smells as a wrong dependency, but I can't find any in your PKGBUILDs. Nevertheless this is a major annoyance on each update, especially for new users, so I wonder if here is anything that can be done to fix it (and also if anyone else experience the same behavior).

pbazaah commented on 2023-05-12 22:18 (UTC)

New artifacts for the post python 3.11 / gcc13 world have been built, and this package has been updated accordingly

https://github.com/bazaah/aur-ceph/releases/tag/v17.2.6-2

pbazaah commented on 2023-05-08 13:58 (UTC)

@Kevdog

Yes, I have a decent size ceph cluster that I fairly recently upgraded to 17.2.6 (2 weekends ago).

Running yay -S ceph-libs-bin ceph will invoke the from source build found in https://aur.archlinux.org/packages/ceph, but running yay -S ceph-libs-bin ceph-bin will not.

That said, the build (and likely the bin packages) are broken currently on account of the changes to python 3.11 and gcc 13.

You can watch the issues here: https://github.com/bazaah/aur-ceph/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Anext-pkgrel, which I'll fix as and when I have time

Kevdog commented on 2023-05-08 13:40 (UTC) (edited on 2023-05-08 13:41 (UTC) by Kevdog)

@pbazaah -- Just wondering if you've managed to install this package. It seems when doing a:

yay -S ceph-libs-bin ceph-bin

The compile process starts

==> Starting build()...
-- The CXX compiler identification is GNU 13.1.1
-- The C compiler identification is GNU 13.1.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped

This process takes hours and eventually craps out:

[ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o
cd /home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/build/src/msg && /usr/bin/c++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -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/home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/build/src/include -I/home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/src -isystem /home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/build/include -isystem /home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/src/xxHash -isystem /home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/src/rapidjson/include -march=x86-64 -mtune=generic -O2 -pipe  -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS  -DFMT_DEPRECATED_OSTREAM -O2 -g -DNDEBUG -std=c++17 -fPIC   -U_FORTIFY_SOURCE -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 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -MD -MT src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o -MF CMakeFiles/common-msg-objs.dir/Message.cc.o.d -o CMakeFiles/common-msg-objs.dir/Message.cc.o -c /home/kevdog/.cache/yay/ceph/src/ceph-17.2.6/src/msg/Message.cc
{standard input}: Assembler messages:
{standard input}:336088: Warning: end of file not at end of a line; newline inserted
{standard input}:337190: Error: bad register name `%'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
c++: fatal error: Killed signal terminated program cc1plus

pbazaah commented on 2023-05-06 23:08 (UTC) (edited on 2023-05-06 23:09 (UTC) by pbazaah)

So python 3.11 has been released to stable, which will require a rebuild and rerelease of this package, and I'm not sure how 3.11 will behave with all the fun things ceph uses python for.

and gcc 13 is out too, which will probably make fun things happen in the C++ compile, too

pbazaah commented on 2023-05-05 15:36 (UTC)

not wrong but yay -S ceph-libs-bin ceph-bin will give the desired result. This has been a thing since the beginning though

snack commented on 2023-05-05 15:26 (UTC)

@pbazaah You're right, my bad. I confused the package files, sorry for the stupid mistake.

Now updating the package with yay gives the correct behavior (i.e. just ceph-bin is updated). But installing from scratch after removing the -bin packages still tries to build the non-bin package:

]$ sudo pacman -R ceph-bin ceph-libs-bin
checking dependencies...

Packages (2) ceph-bin-17.2.6-1  ceph-libs-bin-17.2.6-1

Total Removed Size:  323.97 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/2) removing ceph-bin                                                                                                                                                                                                  [#########################################################################################################################################] 100%
(2/2) removing ceph-libs-bin                                                                                                                                                                                             [#########################################################################################################################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...

$ yay -S ceph-bin
AUR Explicit (1): ceph-bin-17.2.6-1
AUR Dependency (1): ceph-libs-17.2.6-1
Sync Make Dependency (50): python-flask-restful-0.3.9-5, python-tempora-5.2.2-2, python-protobuf-21.12-2, junit-4.13.2-1, fcgi-2.4.2-2, gperf-3.1-4, python-xmlsec-1.3.13-3, python-pyjwt-2.6.0-2, python-google-auth-2.16.2-2, cpio-2.13-3, python-cheroot-9.0.0-5, python-coverage-6.5.0-5, python-elasticsearch-7.9.0-3, python-pecan-1.4.2-3, gtest-1.13.0-1, python-pkgconfig-1.5.5-5, python-flask-2.2.2-3, bc-1.07.1-4, python-wrapt-1.14.1-2, libcurl-compat-8.0.1-1, jre11-openjdk-headless-11.0.19.u7-1, socat-1.7.4.4-1, python-py-1.11.0-4, python-astroid-2.15.4-2, cython-0.29.34-3, cunit-2.1.3-3, python-isort-5.12.0-2, python-google-api-python-client-2.83.0-2, python-cherrypy-18.8.0-3, python-pbr-5.11.1-5, python-pluggy-1.0.0-4, python-google-auth-httplib2-0.1.0-4, python-werkzeug-2.3.2-1, python-lazy-object-proxy-1.9.0-3, lsb-release-2.0.r48.3cf5103-1, libcroco-0.6.13-2, yasm-1.3.0-6, python-portend-3.1.0-3, yaml-cpp-0.7.0-2, rabbitmq-3.11.9-1, python-mccabe-0.7.0-5, xmlstarlet-1.6.1-3, crypto++-8.7.0-1, python-virtualenv-20.21.0-1, python-prometheus_client-0.16.0-2, coffeescript-2.7.0-1, python-isodate-0.6.1-3, python-scipy-1.10.1-3, python-scikit-learn-1.2.2-3, python-defusedxml-0.7.1-5
Sync Check Dependency (6): python-pytest-7.3.1-4, python-pycodestyle-2.10.0-2, python-nose-1.3.7-15, python-mock-3.0.5-11, python-pytest-cov-4.0.0-3, python-pylint-2.17.3-2
:: PKGBUILD up to date, skipping download: ceph-bin
:: PKGBUILD up to date, skipping download: ceph
  2 ceph-bin                         (Build Files Exist)
  1 ceph                             (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)

This is certainly a major issue for new users of the -bin package.