Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866039 - sys-cluster/ceph-17.2.3 with gcc 12 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]
Summary: sys-cluster/ceph-17.2.3 with gcc 12 src/common/dout.h:185:56: error: call to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 857465 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-08-22 15:46 UTC by strites
Modified: 2022-08-24 06:55 UTC (History)
2 users (show)

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


Attachments
build log (build.log,175.38 KB, text/plain)
2022-08-22 15:48 UTC, strites
Details
build log 17.2.3-r1 with gcc 12 (build.log,154.94 KB, text/plain)
2022-08-23 08:22 UTC, strites
Details

Note You need to log in before you can comment on or make changes to this bug.
Description strites 2022-08-22 15:46:22 UTC
attaching log

Reproducible: Always




Portage 3.0.34 (python 3.10.6-final-0, default/linux/amd64/17.1, gcc-12.2.0, glibc-2.35-r8, 5.10.102.1-microsoft-standard-WSL2 x86_64)
=================================================================
System uname: Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-AMD_Ryzen_7_5800X_8-Core_Processor-with-glibc2.35
KiB Mem:    52569356 total,  49703412 free
KiB Swap:   13631488 total,  13631488 free
Timestamp of repository gentoo: Sun, 21 Aug 2022 01:15:01 +0000
Head commit of repository gentoo: efdee14e338440b65508eb1d3da75334d15b14fe
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.6_p2::gentoo, 3.11.0_rc1::gentoo
dev-lang/rust:             1.62.1::gentoo
dev-util/cmake:            3.24.1::gentoo
dev-util/meson:            0.63.1::gentoo
sys-apps/baselayout:       2.8-r2::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.2.0::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.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
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="/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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 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"
MAKEOPTS=" -j40 -l4 -s "
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 audit bzip2 cli crypt dri fortran gdbm glusterfs iconv ipv6 libglvnd libtirpc lvm multilib ncurses nfs nftables nls nptl ntfs openmp pam pcre rbd readline script seccomp split-usr ssh ssl unicode usbredir xattr xtables 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_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, 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 strites 2022-08-22 15:48:30 UTC
Created attachment 800471 [details]
build log
Comment 2 strites 2022-08-22 18:02:08 UTC
Can compile with gcc 11.3.0
Problem is with gcc 12.2.0
Comment 3 Larry the Git Cow gentoo-dev 2022-08-22 20:29:38 UTC
The bug has been closed via the following commit(s):

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

commit bf4283275302cbdf950f965f94920071068a2a8d
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2022-08-22 20:27:40 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-08-22 20:29:27 +0000

    sys-cluster/ceph: gcc12 (bug #866039), boost dep (bug #865509)
    
    Also reduce filesdir usage a bit.
    
    Closes: https://bugs.gentoo.org/865509
    Closes: https://bugs.gentoo.org/866039
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 sys-cluster/ceph/Manifest                          |  1 +
 ...{ceph-16.2.10.ebuild => ceph-16.2.10-r1.ebuild} |  5 ++-
 .../ceph/files/ceph-15.2.15-snappy-1.1.9.patch     | 22 -----------
 sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch    | 45 ++++++++++++++++++++++
 4 files changed, 49 insertions(+), 24 deletions(-)

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

commit 1fc10bd005747daa1917f0c4d9394ae0ef1a70c9
Author:     Patrick McLean <chutzpah@gentoo.org>
AuthorDate: 2022-08-22 18:35:21 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-08-22 20:29:27 +0000

    sys-cluster/ceph: 17.2.3 more gcc12 fixes (bug #866039), bug #865509
    
    - Fix system-boost boost dependency (bug #865509)
    - Remove some documentation from patches to reduce the size of the files
      directory
    - Drop old snappy dep since it's no longer in the tree
    
    Bug: https://bugs.gentoo.org/865509
    Closes: https://bugs.gentoo.org/866039
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 .../{ceph-17.2.3.ebuild => ceph-17.2.3-r1.ebuild}  |  4 +--
 .../ceph/files/ceph-17.2.0-cyclic-deps.patch       | 29 -------------------
 sys-cluster/ceph/files/ceph-17.2.1-python310.patch | 23 ---------------
 sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch     | 33 +++++++++++++++++-----
 4 files changed, 28 insertions(+), 61 deletions(-)
Comment 4 strites 2022-08-23 08:21:34 UTC
didn't compile
Comment 5 strites 2022-08-23 08:22:05 UTC
Created attachment 800559 [details]
build log 17.2.3-r1 with gcc 12
Comment 6 Stephan Hartmann (RETIRED) gentoo-dev 2022-08-23 10:52:06 UTC
This may fix it:
  https://github.com/ceph/ceph/commit/963d756ded40f5adf2efef53893c917bec1845c1
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 06:50:34 UTC
(In reply to Stephan Hartmann from comment #6)
> This may fix it:
>  
> https://github.com/ceph/ceph/commit/963d756ded40f5adf2efef53893c917bec1845c1

Looks like that was included in...


commit c479f734d92b2c44f51c2d85b1ec32be8306517a
Author: Patrick Lauer <patrick@gentoo.org>
Date:   Tue Aug 23 09:09:42 2022 +0000

    sys-cluster/ceph: Fix patches and compilation for 16.2.10

    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

commit 624ff5962199a2fb0891a96e1afbaac0677d5578
Author: Patrick Lauer <patrick@gentoo.org>
Date:   Tue Aug 23 07:44:05 2022 +0000

    sys-cluster/ceph: More gcc12 fixes

    Patches from
    https://github.com/lgirdk/meta-virtualization/tree/master/recipes-extended/ceph/ceph

    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 06:55:30 UTC
*** Bug 857465 has been marked as a duplicate of this bug. ***