Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 930190

Summary: dev-qt/qtwebengine-5.15.13_p20240322: Fails to build: ‘requires’ is a keyword in C++20
Product: Gentoo Linux Reporter: Jan Essert <netz>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: netz
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jan Essert 2024-04-18 08:26:51 UTC
When building the package, the compilation fails with:

gen/services/service_manager/public/mojom/interface_provider_spec.mojom-shared-internal.h:206:162: warning: identifier ‘requires’ is a keyword in C++20 [-Wc++20-compat]

This is using a fully updated ~amd64 system with the latest GCC.

Reproducible: Always




Portage 3.0.63 (python 3.11.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.39-r3, 6.8.4-gentoo x86_64)                                                                                        
=================================================================                                                                                                                                                   
System uname: Linux-6.8.4-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.39                                                                                                                            
KiB Mem:    16339644 total,   3342348 free                                                                                                                                                                          
KiB Swap:   16383996 total,  15672316 free                                                                                                                                                                          
Timestamp of repository gentoo: Thu, 18 Apr 2024 05:49:24 +0000                                                                                                                                                     
Head commit of repository gentoo: a179a63fdba479c6f0cbbe636ee79b3dd5aea5b6                                                                                                                                          
                                                                                                                                                                                                                    
Timestamp of repository guru: Wed, 17 Apr 2024 15:24:01 +0000                                                                                                                                                       
Head commit of repository guru: c802c082a8cd641e9896205fb38e48e114f6dc13                                                                                                                                            
                                                                                                                                                                                                                    
Timestamp of repository moulay: Sat, 27 Jan 2024 17:35:27 +0000                                                                                                                                                     
Head commit of repository moulay: bcf0bb77ad57b94ff6c1e52e338c84866bd1434e                                                                                                                                          
                                                     
Timestamp of repository steam-overlay: Thu, 04 Apr 2024 01:22:27 +0000                                                                                                                                              
Head commit of repository steam-overlay: aca6eb772e0d5474b6d44072998af0082f36d08a                                                                                                                                   

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.2::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.9::gentoo, 3.12.3::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.3::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r3::gentoo
Repositories:

gentoo                                                                                                                                                                                            10:25:39 [27/7861]
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

localrepo
    location: /usr/local/portage
    masters: gentoo
    volatile: True

moulay
    location: /var/db/repos/moulay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/moulay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

crossdev
    location: /var/db/repos/portage-crossdev
    masters: gentoo
    priority: 10
    volatile: False


Installed sets: @esteam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x skype-4.0.0.7-copyright Intel-SDP FraunhoferFDK intel-ucode MBROLA Moria FESTIVAL AVASYS MPEG-4 ValveSteamLicense freedist unRAR vim.org CC-BY-NC-4.0 arj SIFT free-noncomm Tu
rkowski NVIDIA-r1 Snes9x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /et
c/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --quiet-build y --backtrack=30 --ignore-built-slot-operator-deps=y"
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 XD
G_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
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 merge-wa
it mount-sandbox multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-log
s unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.utf8"
LDFLAGS="-Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j7"
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 --exclud
e=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X a52 aac acl acpi alsa amd64 avahi bluray branding bs2b bzip2 cairo cdda cdr cet crypt css cups dbus djvu dri dts dvb dvd dvdr encode exif ffmpeg flac gdbm gif gstreamer gui handbook hbci iconv icu imap ipo
d ipv6 jpeg jpeg2k kde kdehiddenvisibility kipi latex lcms libnotify libtirpc lzma mad matroska metis mng mp3 mp4 mpeg mtp multilib musepack ncurses nls ogg openexr opengl openmp opus pam pango pcre pdf pipewire 
png policykit pop ppds pulseaudio qt5 readline romio sdl seccomp smtp sound speex spell ssl startup-notification svg systemd test-rust theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vd
pau vim-syntax vorbis vpx vulkan wayland wxwidgets x264 x265 xattr xcb xcomposite xft xkb xml xv xvid zeroconf zlib zsh-completion" ABI_X86="64" ADA_TARGET="gcc_12" 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 fil
e_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" CAMERAS="directory
 ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PRO
TOCOLS="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" GRUB_PLATFORM
S="efi-64" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libre
office" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" SANE_BACKENDS="escl" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADD
ONS="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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLA
GS, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-18 08:29:18 UTC
That's not the error, it's a warning.

Please include the full build.log (compressed if necessary).
Comment 2 Jan Essert 2024-04-18 08:30:53 UTC
Sorry, I realised that while trying to cut the build.log to size (it's > 40 MB) to attach it. Please ignore this bug and the noise.
Instead, I have simply hit #930107.

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