Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887481 - sys-cluster/ceph-17.2.5-r1 failed to rebuild after system upgrade
Summary: sys-cluster/ceph-17.2.5-r1 failed to rebuild after system upgrade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: boost-1.83 boost-1.82
  Show dependency tree
 
Reported: 2022-12-20 18:13 UTC by Leonid Kopylov
Modified: 2023-08-12 09:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,47.21 KB, application/xz)
2022-12-20 18:13 UTC, Leonid Kopylov
Details
build.log.xz (build.log.xz,99.61 KB, text/plain)
2022-12-22 07:41 UTC, Leonid Kopylov
Details
Fix absent to_string method in the boost::core::basic_string_view (ceph-17.2.5-string_view-fix.patch,1.60 KB, patch)
2022-12-22 08:55 UTC, Michael Uleysky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2022-12-20 18:13:17 UTC
# emerge -pqv '=sys-cluster/ceph-17.2.5-r1::gentoo'
[ebuild   R   ] sys-cluster/ceph-17.2.5-r1  USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc -test -zfs" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"

# emerge --info '=sys-cluster/ceph-17.2.5-r1::gentoo'
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/systemd/merged-usr, gcc-12, glibc-2.36-r6, 6.1.0-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.0-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-1260P-with-glibc2.36
KiB Mem:    65423272 total,  47092580 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Tue, 20 Dec 2022 16:00:01 +0000
Head commit of repository gentoo: 7990d94c427aa4844723f696687d1e27ea0e0527
sh bash 5.2_p15
ld GNU ld (Gentoo 2.39 p5) 2.39.0
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.2_p15::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.10.9::gentoo, 3.11.1::gentoo, 3.12.0_alpha3-r1::gentoo
dev-lang/rust:             1.66.0::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.1::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          252.3::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.2.1_p20221210::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.6::gentoo
sys-devel/make:            4.4::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

darkelf
    location: /var/lib/layman/darkelf
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/repo/user/darkelf.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aalib acl alsa amd64 aspell audit berkdb bidi bluetooth bluray boost branding brotli btrfs bzip2 cairo cddb cdio cgi cli client colord contrib corefonts cron crypt cryptsetup cups curl dbi dbus device-mapper djvu doc dri dts dvb emacs enchant examples executable exif expat experimental extra extras fam fastcgi fbcon ffmpeg fftw firebird flac fontconfig fontforge fortran fpx freetds ftp fuse games gcrypt gd gdbm gdk-pixbuf geoip gif git glib glusterfs gme gmp gnutls go gpg gphoto2 gpm graphite graphviz gsm gssapi gtk-doc guile harfbuzz hdf5 hdri heif highlight hscolour html http http2 iconv icu idn imagemagick imap imlib introspection iodbc ipv6 jack java javascript jbig jemalloc jpeg jpeg2k jpegxl json kerberos ladspa latex lcms ldap libass libcaca libevent libglvnd libsamplerate libtirpc libxml2 lm-sensors lmdb lqr lua lv2 lvm lz4 lzma lzo mad magic maildir mbedtls mbox memcached midi mmap mng modplug mongodb mp3 mpi mssql multilib musepack mysql nas ncurses netlink nettle nfs nls nptl nss ntlm odbc offensive ogg openexr openmp openssl opus pam pango pcap pcre pdf perl pkcs11 plugins png policykit portaudio postgres postscript python qdbm qrcode raw rdma readline redis samba sasl screencast sctp sdl seccomp sftp smtp snappy sndfile sndio snmp sound source speex spell sqlite ssh ssl svg symlink syslog systemd tcl test-rust theora threads tiff tools tpm truetype twolame udev unicode unwind upower usb utils uuid v4l vala vcd vim-syntax vnc vorbis vpx wavpack webkit webp wifi wmf x264 x265 xattr xface xft xinerama xml xpm xv xvid yaml zeroconf zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev joystick libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sys-cluster/ceph-17.2.5-r1::gentoo was built with the following:
USE="babeltrace cephfs diskprediction fuse grafana kafka kerberos ldap lttng mgr parquet pmdk rabbitmq radosgw rbd-rwl rbd-ssd rdma rgw-lua spdk sqlite ssl (system-boost) systemd tcmalloc uring xfs zbd -custom-cflags (-dpdk) -jaeger -jemalloc -test -zfs" ABI_X86="(64)" CPU_FLAGS_X86="avx2 pclmul sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" LUA_SINGLE_TARGET="lua5-4 -lua5-3" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
FEATURES="binpkg-docompress unmerge-orphans multilib-strict news userfetch config-protect-if-modified usersync binpkg-dostrip protect-owned pid-sandbox binpkg-logs assume-digests sfperms unmerge-logs preserve-libs strict-keepdir strict qa-unresolved-soname-deps unknown-features-warn xattr ebuild-locks network-sandbox ipc-sandbox usersandbox sandbox userpriv merge-sync binpkg-multi-instance parallel-fetch fixlafiles distlocks buildpkg-live"
Comment 1 Leonid Kopylov 2022-12-20 18:13:41 UTC
Created attachment 844245 [details]
build.log.xz
Comment 2 Michael Uleysky 2022-12-21 03:16:17 UTC
Fixed for me with boost-1.81.0-r1
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-21 03:48:21 UTC
(In reply to Michael Uleysky from comment #2)
> Fixed for me with boost-1.81.0-r1

Thanks.
Comment 4 Leonid Kopylov 2022-12-21 13:31:04 UTC
(In reply to Sam James from comment #3)
> (In reply to Michael Uleysky from comment #2)
> > Fixed for me with boost-1.81.0-r1
> 
> Thanks.

it still failed for me with exactly same error, after upgrading boost
Comment 5 Leonid Kopylov 2022-12-21 13:48:11 UTC
# emerge boost -pvq
[ebuild   R   ] dev-libs/boost-1.81.0-r1  USE="bzip2 context doc icu lzma mpi nls numpy python tools zlib zstd -debug" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-22 02:26:26 UTC
(In reply to Leonid Kopylov from comment #4)
> (In reply to Sam James from comment #3)
> > (In reply to Michael Uleysky from comment #2)
> > > Fixed for me with boost-1.81.0-r1
> > 
> > Thanks.
> 
> it still failed for me with exactly same error, after upgrading boost

Can you upload the build.log please?
Comment 7 Leonid Kopylov 2022-12-22 07:41:41 UTC
Created attachment 844613 [details]
build.log.xz
Comment 8 Michael Uleysky 2022-12-22 08:55:31 UTC
Created attachment 844697 [details, diff]
Fix absent to_string method in the boost::core::basic_string_view

Try attached patch
Comment 9 Michael Uleysky 2022-12-22 09:01:12 UTC
It was a different error, it didn't show up for me because of the disabled radosgw flag.
Comment 10 Leonid Kopylov 2022-12-22 11:24:38 UTC
(In reply to Michael Uleysky from comment #8)
> Created attachment 844697 [details, diff] [details, diff]
> Fix absent to_string method in the boost::core::basic_string_view
> 
> Try attached patch

it was built successfully with this patch
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 08:18:16 UTC
(In reply to Michael Uleysky from comment #8)
> Created attachment 844697 [details, diff] [details, diff]
> Fix absent to_string method in the boost::core::basic_string_view
> 
> Try attached patch

Thanks. Could you consider sending it upstream?
Comment 12 Larry the Git Cow gentoo-dev 2022-12-30 06:33:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3b86c8057583ba85cb568b61795bd4a4ee37227

commit a3b86c8057583ba85cb568b61795bd4a4ee37227
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-30 04:55:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-30 04:55:04 +0000

    sys-cluster/ceph: fix build w/ boost 1.81
    
    Thanks-to: Michael Uleysky <uleysky@gmail.com>
    Closes: https://bugs.gentoo.org/887481
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ceph/ceph-17.2.5-r2.ebuild             | 477 +++++++++++++++++++++
 .../ceph/files/ceph-17.2.5-boost-1.81.patch        |  49 +++
 2 files changed, 526 insertions(+)
Comment 13 Larry the Git Cow gentoo-dev 2023-01-18 22:44:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0132b9f4acb50071ea339e9812e9c51280a3227a

commit 0132b9f4acb50071ea339e9812e9c51280a3227a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-18 22:27:05 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-18 22:38:56 +0000

    sys-cluster/ceph: apply Boost 1.81 patch to 16.2.10 too
    
    Closes: https://bugs.gentoo.org/889543
    Bug: https://bugs.gentoo.org/887481
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/ceph/ceph-16.2.10-r5.ebuild | 474 ++++++++++++++++++++++++++++++++
 1 file changed, 474 insertions(+)