Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857465 - sys-cluster/ceph-17.2.3 fails to compile: dout.h:185:56: error: call to non-‘constexpr’ function ‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T = unsigned int]’
Summary: sys-cluster/ceph-17.2.3 fails to compile: dout.h:185:56: error: call to non-‘...
Status: RESOLVED DUPLICATE of bug 866039
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-10 15:05 UTC by Patrick Lauer
Modified: 2022-08-24 06:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2022-07-10 15:05:32 UTC
[49/1493] /usr/bin/x86_64-pc-linux-gnu-g++ -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/var/tmp/portage/sys-cluster/ceph-17.2.1/work/
ceph-17.2.1_build/src/include -I/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src -isystem /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1_build/include -isystem /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/xxHash -isystem /var/tmp/portage/sys-c
luster/ceph-17.2.1/work/ceph-17.2.1/src/rapidjson/include  -O2 -pipe -fPIC   -U_FORTIFY_SOURCE -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-qualifie
rs -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/CMake
Files/common-objs.dir/mon/MonClient.cc.o -MF src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o.d -o src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o -c /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/MonClient.cc
FAILED: src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -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/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.
1_build/src/include -I/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src -isystem /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1_build/include -isystem /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/xxHash -isystem /var/tmp/portage/sys-cluster/cep
h-17.2.1/work/ceph-17.2.1/src/rapidjson/include  -O2 -pipe -fPIC   -U_FORTIFY_SOURCE -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 -ftempl
ate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/CMakeFiles/comm
on-objs.dir/mon/MonClient.cc.o -MF src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o.d -o src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o -c /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/MonClient.cc
In file included from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/Session.h:22,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/messages/PaxosServiceMessage.h:7,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/messages/MAuth.h:24,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/MonClient.cc:34:
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/include/xlist.h:162:24: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  162 |   class iterator: std::iterator<std::forward_iterator_tag, T> {
      |                        ^~~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_algobase.h:65,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/algorithm:60,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/MonClient.cc:15:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/include/xlist.h:186:30: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  186 |   class const_iterator: std::iterator<std::forward_iterator_tag, T> {
      |                              ^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/librados/ListObjectImpl.h:19,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/osd/osd_types.h:51,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/osd/OSDMap.h:38,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/Session.h:29:
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/include/rados/librados.hpp:107:54: warning: ‘template<class _Category, class _Tp, class _Distance, class _Pointer, class _Reference> struct std::iterator’ is deprecated [-Wdeprecated-declarations]
  107 |   class CEPH_RADOS_API NObjectIterator : public std::iterator <std::forward_iterator_tag, ListObject> {
      |                                                      ^~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/stl_iterator_base_types.h:127:34: note: declared here
  127 |     struct _GLIBCXX17_DEPRECATED iterator
      |                                  ^~~~~~~~
In file included from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/include/Context.h:19,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/msg/Message.h:24,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/messages/MMonGetMap.h:18,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/mon/MonClient.cc:28:
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/osd/osd_types.h: In lambda function:
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/common/dout.h:185:56: error: call to non-‘constexpr’ function ‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T = unsigned int]’
  185 |     dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \
      |                                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/common/dout.h:156:58: note: in definition of macro ‘dout_impl’
  156 |       return (cctX->_conf->subsys.template should_gather<sub, v>());    \
      |                                                          ^~~

[...]

/var/tmp/portage/sys-cluster/ceph-17.2.1/work/ceph-17.2.1/src/common/dout.h:106:21: note: ‘ceph::dout::dynamic_marker_t<T> ceph::dout::need_dynamic(T&&) [with T = unsigned int]’ declared here
  106 | dynamic_marker_t<T> need_dynamic(T&& t) {
      |                     ^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
 * ERROR: sys-cluster/ceph-17.2.1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 all failed


Portage 3.0.30 (python 3.11.0-beta-3, default/linux/amd64/17.1, gcc-12.1.1, glibc-2.35-r8, 5.17.15-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.17.15-gentoo-x86_64-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.35
KiB Mem:    65762352 total,  16448768 free
KiB Swap:   20971516 total,  20971516 free
sh bash 5.1_p16
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.5::gentoo, 3.11.0_beta3_p2::gentoo
dev-lang/rust:             1.62.0::gentoo
dev-util/cmake:            3.23.2::gentoo
dev-util/meson:            0.63.0::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.45.2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.1.1_p20220625::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.18-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" 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_11 python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-11 00:39:17 UTC
Please include the full build.log.
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-03 06:49:55 UTC
ci has reproduced this issue with version 17.2.3 - Updating summary.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 06:55:30 UTC

*** This bug has been marked as a duplicate of bug 866039 ***