Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923838 - net-analyzer/netdata-1.44.0: fails to compile (C++ versions less than C++14 are not supported)
Summary: net-analyzer/netdata-1.44.0: fails to compile (C++ versions less than C++14 a...
Status: RESOLVED DUPLICATE of bug 912790
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major with 1 vote (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 15:52 UTC by Alexey Skobkin
Modified: 2024-02-06 09:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,638.06 KB, text/x-log)
2024-02-05 15:52 UTC, Alexey Skobkin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Skobkin 2024-02-05 15:52:29 UTC
Portage 3.0.61 (python 3.10.13-final-0, default/linux/amd64/17.1/no-multilib/systemd/merged-usr, gcc-13, glibc-2.38-r7, 6.7.3-gentoo-skobkin x86_64)
=================================================================
System uname: Linux-6.7.3-gentoo-skobkin-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-with-glibc2.38
KiB Mem:    31984064 total,    634212 free
KiB Swap:    8191996 total,   8026364 free
Timestamp of repository gentoo: Mon, 05 Feb 2024 15:18:30 +0000
Head commit of repository gentoo: ecd892427d00d7cef5c2500780d9b12779ef5fe4

sh bash 5.2_p21-r1
ld GNU ld (Gentoo 2.41 p4) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p21-r1::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r1::gentoo
dev-build/cmake:           3.28.1::gentoo
dev-build/libtool:         2.4.7-r1::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.0-r2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin:         1.74.1::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.1::gentoo
sys-devel/binutils:        2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20231216::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=x86-64-v2 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe -march=x86-64-v2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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="-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 metadata-transfer multilib-strict network-sandbox news nodoc parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted 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://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/packages"
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/zsh"
USE="aac acl acpi amd64 avx branding bzip2 cli crypt curl curlwrappers cxx dbus dga dri dv exif fbcon ffmpeg flac fortran gdbm gif git gnutls gzip hddtemp iconv idn imagemagick inotify ipv6 jit jpeg lame libass libnotify libtirpc lm_sensors lzma lzo mad matroska mhash mime mmap mmx mmxext mp3 mp4 mpeg ncurses nls ogg openmp pam pcre png posix readline samba sasl seccomp session sharedmem smp sockets sse sse2 sse3 sse4_1 ssl ssse3 syslog systemd taglib tcmalloc test-rust threads truetype udev udisks unicode upnp upnp-av upower usb v4l vhosts videos vorbis x264 x265 xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser cache_purge charset dav empty_gif fancyindex fastcgi gzip headers_more limit_conn limit_req map memcached proxy referer rewrite upload_progress" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby25" VIDEO_CARDS="vesa amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Reproducible: Always

Steps to Reproduce:
1. emerge netdata
Actual Results:  
netdata fails to build

Expected Results:  
netdata installed
Comment 1 Alexey Skobkin 2024-02-05 15:52:48 UTC
Created attachment 884277 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 09:20:01 UTC
[01m[K/usr/include/absl/base/policy_checks.h:79:2:[m[K [01;31m[Kerror: [m[K#error "C++ versions less than C++14 are not supported."
   79 | #[01;31m[Kerror[m[K "C++ versions less than C++14 are not supported."
      |  [01;31m[K^~~~~[m[K
In file included from [01m[K/usr/include/absl/base/config.h:86[m[K,
                 from [01m[K/usr/include/absl/base/attributes.h:37[m[K,
                 from [01m[K/usr/include/absl/strings/string_view.h:39[m[K,
                 from [01m[K/usr/include/google/protobuf/stubs/common.h:44[m[K,
                 from [01m[K/usr/include/google/protobuf/io/coded_stream.h:130[m[K,
                 from [01m[K/var/tmp/portage/net-analyzer/netdata-1.44.0/work/netdata-v1.44.0/aclk/aclk-schemas/proto/agent/v1/cmds.pb.h:24[m[K,
                 from [01m[Kaclk/aclk-schemas/proto/agent/v1/cmds.pb.cc:4[m[K:
[01m[K/usr/include/absl/base/policy_checks.h:79:2:[m[K [01;31m[Kerror: [m[K#error "C++ versions less than C++14 are not supported."
   79 | #[01;31m[Kerror[m[K "C++ versions less than C++14 are not supported."
      |  [01;31m[K^~~~~[m[K
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.   -DVARLIB_DIR="\"/var/lib/netdata\"" 

broken by recent protobuf bump, I guess.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 09:21:02 UTC

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