Package Details: ceph-libs-bin 18.2.4-3

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: 1.45
First Submitted: 2022-08-14 16:06 (UTC)
Last Updated: 2024-09-17 15:04 (UTC)

Required by (5)

Sources (29)

Latest Comments

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

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.

pbazaah commented on 2023-05-05 14:56 (UTC)

Actually, there's a rub (I think this is your issue too)

There are two similarly named tars that are relevant:

  • ceph-bin-17.2.6-1.tar.zst
  • ceph-bin-17.2.6-1-x86_64.pkg.tar.zst

The first is the downloaded artifacts from the src build I upload to Github. Naturally, this will have all of the trappings of the ceph project.

The latter is the package this repo produces and is tagged correctly

pbazaah commented on 2023-05-05 14:49 (UTC)

@snack

I can reproduce this behavior, and agree this seems wrong. I can't see anything that would have caused this in the most recent release -- https://aur.archlinux.org/cgit/aur.git/commit/?h=ceph-bin&id=69d8607bb198c477a40a4923c61725b33acc2abe -- so I'm inclined to think there might be a bug in current makepkg.

I'll see if I can track down older packages (built with an older makepkg) to compare

snack commented on 2023-05-05 06:31 (UTC) (edited on 2023-05-05 07:44 (UTC) by snack)

Inspecting the ceph-bin-17.2.6-1.tar.zst produced by makepkg I found that in the .BUILDINFO and .PKGINFO files there are the following lines:

pkgname = ceph
pkgbase = ceph
pkgver = 17.2.6-1
. . . 

which explains why pacman believes to be installing ceph rather than ceph-bin. But I cannot figure out the reason for this.

Edit: in the .PKGINFO I also found:

conflict = ceph-bin
provides = ceph=17.2.6-1

which is complete nonsense. I'm 100% sure I'm building ceph-bin and not ceph, I did it several times from scratch and I consistently get the same result. Still I absolutely cannot figure out why, since the PKGBUILD and the .SRCINFO seems ok, e.g. from the .SRCINFO:

pkgname = ceph-bin
        depends = ceph-libs=17.2.6-1
        . . . 
        depends = gawk
        optdepends = smartmontools: disk monitoring via S.M.A.R.T
        optdepends = nvme-cli: disk monitoring for NVMe drives
        provides = ceph=17.2.6-1
        conflicts = ceph
        . . . 

snack commented on 2023-05-05 06:03 (UTC)

So I removed ceph-bin and ceph-libs-bin, but I still get problems with yay trying to build also ceph when I try to install ceph-bin:

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