After dev-cpp/abseil-cpp upgraded to the version 20230125.2 sci-libs/gdal-3.6.3 and the latest 3.6.4 can't be compiled. The first occurence: FAILED: ogr/ogrsf_frmts/flatgeobuf/CMakeFiles/ogr_FlatGeobuf.dir/packedrtree.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DDONT_DEPRECATE_SPRINTF -DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/apps -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/alg -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/gcore -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4_build/gcore -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/port -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4_build/port -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/frmts -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf -I/var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/generic -O2 -ggdb3 -pipe -march=znver2 -fvisibility=hidden -std=gnu++11 -fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations -Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security -Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time -Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wsuggest-override -fno-operator-names -Wzero-as-null-pointer-constant -MD -MT ogr/ogrsf_frmts/flatgeobuf/CMakeFiles/ogr_FlatGeobuf.dir/packedrtree.cpp.o -MF ogr/ogrsf_frmts/flatgeobuf/CMakeFiles/ogr_FlatGeobuf.dir/packedrtree.cpp.o.d -o ogr/ogrsf_frmts/flatgeobuf/CMakeFiles/ogr_FlatGeobuf.dir/packedrtree.cpp.o -c /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/packedrtree.cpp In file included from /usr/include/absl/base/config.h:86, from /usr/include/absl/base/attributes.h:37, from /usr/include/absl/strings/string_view.h:39, from /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base.h:237, from /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/array.h:20, from /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/flatbuffers.h:22, from /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/packedrtree.h:38, from /var/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4/ogr/ogrsf_frmts/flatgeobuf/packedrtree.cpp:38: /usr/include/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported." 79 | #error "C++ versions less than C++14 are not supported." | ^~~~~ /usr/include/absl/strings/string_view.h:52:26: error: ‘string_view’ in namespace ‘std’ does not name a type 52 | using string_view = std::string_view; | ^~~~~~~~~~~ Reproducible: Always emerge --info gdal Portage 3.0.46 (python 3.11.3-final-0, default/linux/amd64/17.1/no-multilib, gcc-12, glibc-2.37-r2, 6.2.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.2.10-gentoo-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.37 KiB Mem: 65773468 total, 10037220 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 23 Apr 2023 04:45:01 +0000 Head commit of repository gentoo: 9a48abe10c8e886860998506c2c207d6d97c4f57 Timestamp of repository palemoon: Tue, 18 Apr 2023 12:16:54 +0000 Head commit of repository palemoon: 2672a9c57e9b4985592cfee9fb869461bd65a673 Timestamp of repository pf4public: Sat, 22 Apr 2023 06:32:32 +0000 Head commit of repository pf4public: 85d8e919e3cd41cae49b2525ff9736f38474a40d sh bash 5.2_p15-r2 ld GNU ld (Gentoo 2.40 p4) 2.40.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p15-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r2::gentoo dev-lang/python: 2.7.18_p16-r1::gentoo, 3.10.11::gentoo, 3.11.3::gentoo dev-lang/rust-bin: 1.69.0::gentoo dev-util/cmake: 3.26.3::gentoo dev-util/meson: 1.1.0::gentoo sys-apps/baselayout: 2.13-r1::gentoo sys-apps/openrc: 0.47.1::gentoo sys-apps/sandbox: 2.30-r1::gentoo sys-devel/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r4::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 15.0.7-r1::gentoo, 16.0.2::gentoo sys-devel/gcc: 12.2.1_p20230304::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/lld: 15.0.7::gentoo, 16.0.2::gentoo sys-devel/llvm: 15.0.7::gentoo, 16.0.2::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r2::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 palemoon location: /var/db/repos/palemoon sync-type: git sync-uri: https://github.com/gentoo-mirror/palemoon.git masters: gentoo volatile: False pf4public location: /var/db/repos/pf4public sync-type: git sync-uri: https://github.com/gentoo-mirror/pf4public.git masters: gentoo volatile: False x-portage location: /usr/local/portage masters: gentoo priority: 0 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -ggdb3 -pipe -march=znver2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -ggdb3 -pipe -march=znver2" DISTDIR="/var/cache/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 -ggdb3 -pipe -march=znver2" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live compressdebug 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -ggdb3 -pipe -march=znver2" GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.leaseweb.com/gentoo/" LANG="cs_CZ.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="cs en" MAKEOPTS="-j9" PKGDIR="/var/cache/binpkgs" PORTAGE_COMPRESS="" 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 acl alsa amd64 blas bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord crypt cups dbus declarative djvu dri dts dv dvb dvd dvdr elogind encode exif ffmpeg fftw flac fontconfig fortran gdbm geoip gif gmp gnuplot graphviz gsl gsm hdf5 heif iconv idn imagemagick imlib ipv6 ithreads jbig jpeg jpeg2k kde ladspa lame lapack latex lcms libass libglvnd libsamplerate libtirpc lzma lzo mad matroska mms mng modplug mp3 mp4 mpeg mtp musepack musicbrainz ncurses nls nptl ogg opencl openexr opengl openmp pam pcre pdf plotutils png postscript pulseaudio qt5 quicktime rdp readline seccomp semantic-desktop slang smpsndfile sox speex spell split-usr ssl svg szip taglib test-rust theora threads tiff truetype udev unicode usb v4l vdpau vorbis wavpack wayland webp x264 xattr xcb xft xinerama xml xosd xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64" 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" APACHE2_MPMS="worker" 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 sse4a ssse3" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" 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="pc" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="cs en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="scripting-beanshell scripting-javascript nlpsolver" LLVM_TARGETS="AMDGPU BPF X86" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1 php8-2" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="lexmark net" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= sci-libs/gdal-3.6.3::gentoo was built with the following: USE="armadillo curl fits geos gif hdf5 heif jpeg jpeg2k lzma netcdf odbc opencl pdf png python spatialite sqlite webp xls zstd (-doc) -gml -java -mysql -ogdi -oracle -postgres -test" CPU_FLAGS_X86="avx avx2 sse sse2 sse4_1 ssse3" PYTHON_SINGLE_TARGET="python3_10 -python3_11 -python3_9" FEATURES="multilib-strict network-sandbox splitdebug news merge-sync sfperms buildpkg-live strict binpkg-dostrip protect-owned userpriv userfetch usersandbox ebuild-locks distlocks config-protect-if-modified fixlafiles pid-sandbox binpkg-logs binpkg-multi-instance unknown-features-warn usersync parallel-fetch preserve-libs xattr assume-digests unmerge-logs binpkg-docompress ipc-sandbox unmerge-orphans qa-unresolved-soname-deps compressdebug sandbox"
Created attachment 860599 [details] build.log.gz
Strange, considering your build.log is for 3.6.4, should be seeing a: * Applying gdal-3.6.4-abseil-cpp-20230125.2-c++17.patch ... But I don't see it anywhere -- and 3.6.4 never existed in-tree without the patch that I can see (3.6.3 doesn't have it). I tried a quick clean prepare and sure enough it's there for me: >>> Unpacking source... >>> Unpacking gdal-3.6.4.tar.xz to /tmp/portage/sci-libs/gdal-3.6.4/work >>> Source unpacked in /tmp/portage/sci-libs/gdal-3.6.4/work >>> Preparing source in /tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4 ... * Source directory (CMAKE_USE_DIR): "/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4" * Build directory (BUILD_DIR): "/tmp/portage/sci-libs/gdal-3.6.4/work/gdal-3.6.4_build" * Applying gdal-3.6.4-abseil-cpp-20230125.2-c++17.patch ... [ ok ] >>> Source prepared.
>Timestamp of repository gentoo: Sun, 23 Apr 2023 04:45:01 +0000 >Head commit of repository gentoo: 9a48abe10c8e886860998506c2c207d6d97c4f57 Oh, that was before 3.6.4 was added to the tree. Did you self-bump it without the patch?
I did, not knowing the real 3.6.4 is going to the tree, wanted to check if they enable C++17 or something else. Thank you very much!