Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873640 - [qt overlay] dev-qt/qttools-6.4.0 - error: ‘void LupdatePPCallbacks::InclusionDirective(/*...*/)' marked ‘override’, but does not override void InclusionDirective(/*...*/)
Summary: [qt overlay] dev-qt/qttools-6.4.0 - error: ‘void LupdatePPCallbacks::Inclusio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 838970
  Show dependency tree
 
Reported: 2022-09-30 14:02 UTC by Bernd
Modified: 2022-10-16 15:14 UTC (History)
0 users

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


Attachments
qttools-6.4.0:20220930-135329.log (qttools-6.4.0:20220930-135329.log,176.24 KB, text/plain)
2022-09-30 14:03 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2022-09-30 14:02:18 UTC
Trying to upgrade my Qt6 stack to 6.4.0 led to this issue:

FAILED: src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DLUPDATE_CLANG_VERSION_MAJOR=15 -DLUPDATE_CLANG_VERSION_MINOR=0 -DLUPDATE_CL
ANG_VERSION_PATCH=1 -DLUPDATE_CLANG_VERSION_STR=\"\"15.0.1\"\" -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FRO
M_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_
CONVERSIONS_IN_CONNECT -DQT_QMLINTEGRATION_LIB -DQT_QML_LIB -DQT_TOOLS_LIB -DQT_USE_QSTRINGBUILDER -D_LARGEFIL
E64_SOURCE -D_LARGEFILE_SOURCE -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build
/src/linguist/lupdate/lupdate_autogen/include -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/src/linguist/lupdate -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/../shared -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/include -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/include/QtTools -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/global -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/src/global -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/include/QtTools/6.4.0 -I/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0_build/include/QtTools/6.4.0/QtTools -isystem /usr/include/qt6/QtCore -isystem /usr/include/qt6 -isystem /usr/lib64/qt6/mkspecs/linux-g++ -isystem /usr/include/qt6/QtCore/6.4.0 -isystem /usr/include/qt6/QtCore/6.4.0/QtCore -isystem /usr/include/qt6/QtQml/6.4.0 -isystem /usr/include/qt6/QtQml/6.4.0/QtQml -isystem /usr/include/qt6/QtQml -isystem /usr/include/qt6/QtQmlIntegration -isystem /usr/include/qt6/QtNetwork -isystem /usr/lib/llvm/15/include  -O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -MD -MT src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o -MF src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o.d -o src/linguist/lupdate/CMakeFiles/lupdate.dir/lupdatepreprocessoraction.cpp.o -c /var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/lupdatepreprocessoraction.cpp
In file included from /var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/lupdatepreprocessoraction.cpp:4:
/var/tmp/portage/dev-qt/qttools-6.4.0/work/qttools-everywhere-src-6.4.0/src/linguist/lupdate/lupdatepreprocessoraction.h:52:10: error: ‘void LupdatePPCallbacks::InclusionDirective(clang::SourceLocation, const clang::Token&, llvm::StringRef, bool, clang::CharSourceRange, const clang::FileEntry*, llvm::StringRef, llvm::StringRef, const clang::Module*, clang::SrcMgr::CharacteristicKind)’ marked ‘override’, but does not override
   52 |     void InclusionDirective(clang::SourceLocation /*hashLoc*/, const clang::Token &/*includeTok*/,
      |          ^~~~~~~~~~~~~~~~~~


Reproducible: Always




emerge --info qttools:
Portage 3.0.37 (python 3.10.7-final-0, default/linux/amd64/17.1/systemd, gcc-11.3.1, glibc-2.36-r3, 5.19.12-gentoo-0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.19.12-gentoo-0-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.36
KiB Mem:    32822692 total,   3027064 free
KiB Swap:   33554428 total,  32613532 free
Head commit of repository guru: b9b5e468a91d4268927f3f66ab00dd1ec6b4c2c6

Timestamp of repository steam-overlay: Wed, 07 Sep 2022 08:26:00 +0000
Head commit of repository steam-overlay: 78208ca83614c4cc031ca8f8ec9b023a5c9c3b1e

Head commit of repository qt: b273683f8b9c95091c2d9f919725d8ec08e3afcf

Head commit of repository science: bba59ca9e35c1fc190bf3e8e86a8d716b79afe62

Head commit of repository gentoo-git: cdfd95eafe9efed0d4c57fbe0b2ffc2b5a514893

Head commit of repository waebbl: acbc8feed95301e6a73de4ea4bd290f43b3c5f88

Timestamp of repository gentoo: Fri, 30 Sep 2022 12:02:00 +0000
Head commit of repository gentoo: 514194477510679deaff37eaf0f121b6cd0f6d02

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p4) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.7::gentoo, 3.11.0_rc2::gentoo
dev-lang/rust:             1.64.0::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.4::gentoo
sys-devel/autoconf:        2.13-r3::gentoo, 2.71-r4::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           13.0.1::gentoo, 14.0.6-r1::gentoo, 15.0.1::gentoo
sys-devel/gcc:             11.3.1_p20220909::gentoo, 12.2.0::gentoo
sys-devel/gcc-config:      2.6::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             15.0.1::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r3::gentoo
sys-libs/libselinux:       3.4::gentoo
Repositories:

guru
    location: /mnt/data/code/github/portage-overlays/guru
    sync-type: git
    sync-uri: git@git.gentoo.org:repo/proj/guru.git
    masters: gentoo
    priority: -1000

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

qt
    location: /mnt/data/code/github/portage-overlays/qt
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/qt.git
    masters: gentoo
    priority: 60

science
    location: /mnt/data/code/github/portage-overlays/sci
    sync-type: git
    sync-uri: git://github.com/waebbl/sci.git
    masters: gentoo
    priority: 60

gentoo-git
    location: /mnt/data/code/github/portage-overlays/gentoo-git
    sync-type: git
    sync-uri: https://github.com/waebbl/gentoo.git
    masters: gentoo
    priority: 99

waebbl
    location: /mnt/data/code/github/portage-overlays/waebbl
    sync-type: git
    sync-uri: https://github.com/waebbl/waebbl-gentoo.git
    masters: gentoo
    priority: 99

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: 100

Installed sets: @3D, @Qt6, @admin-tools, @desktop, @dev-tools, @docs, @esteam, @fonts, @games, @net-tools, @science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --keep-going --fail-clean --usepkg --buildpkg --buildpkg-exclude='x11-drivers/nvidia-drivers virtual/* acct-user/* acct-group/* app-eselect/* dev-util/nvidia-cuda-toolkit' --autounmask=n --binpkg-respect-use=y --binpkg-changed-deps=y"
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 -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg buildpkg-live buildsyspkg cgroup clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-elog split-log strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=znver2 -frecord-gcc-switches -fstack-protector-strong -fstack-check"
GENTOO_MIRRORS="https://ftp.fau.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/         https://ftp.halifax.rwth-aachen.de/gentoo/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/de* -/usr/share/locale/en*"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
MAKEOPTS="-j4"
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="X acl alsa amd64 branding bzip2 cli crypt dbus dri egl emacs fortran gdbm gif gnome gtk-doc iconv ipv6 jpeg jpeg2k kde lcms libglvnd libinput libtirpc man multilib ncurses networkmanager nls nptl offensive ogg opengl openmp pam pcre pic png policykit pulseaudio python qml qt5 readline seccomp sound split-usr ssl svg systemd tga theora threads tiff udev unicode vorbis webp wifi x264 x265 xattr xpm zlib zstd" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" GRUB_PLATFORMS="pc multiboot qemu" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="de de-DE en en-GB en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LLVM_TARGETS="NVPTX WebAssembly" 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="ruby31" STEAMGAMES="witcher2" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nvidia vesa" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, 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

=================================================================
                        Package Settings
=================================================================

dev-qt/qttools-6.3.2::gentoo was built with the following:
USE="assistant designer distancefieldgenerator linguist pixeltool qdbus qdoc qtattributionsscanner qtdiag qtplugininfo -debug -test" ABI_X86="(64)"                                                                         
FEATURES="fail-clean buildpkg-live parallel-fetch split-elog unmerge-logs userpriv unknown-features-warn downgrade-backup usersync preserve-libs pid-sandbox fixlafiles network-sandbox xattr unmerge-orphans split-log binpkg-dostrip distlocks protect-owned usersandbox strict assume-digests binpkg-docompress strict-keepdir ipc-sandbox cgroup sfperms config-protect-if-modified multilib-strict sandbox qa-unresolved-soname-deps clean-logs ebuild-locks merge-sync sign binpkg-logs userfetch buildpkg news buildsyspkg"
Comment 1 Bernd 2022-09-30 14:03:08 UTC
Created attachment 814780 [details]
qttools-6.4.0:20220930-135329.log

build log
Comment 2 cyrillic 2022-10-02 19:51:49 UTC
The patch from this bugreport allows qttools to build :

https://bugreports.qt.io/browse/QTBUG-106224
Comment 3 Bernd 2022-10-03 07:48:56 UTC
Thanks! The patch works for me.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-14 16:06:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=f467a5768a9098bdf81aec76c7fd6392dc74ca6c

commit f467a5768a9098bdf81aec76c7fd6392dc74ca6c
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2022-10-14 15:56:09 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2022-10-14 16:00:13 +0000

    dev-qt/qttools: fix linguist build with clang 15
    
    Closes: https://bugs.gentoo.org/873640
    Thanks-to: cyrillic <cyrilmaley@hotmail.com>
    Tested-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 .../files/qttools-6.4.0-clang-15-build.patch       | 75 ++++++++++++++++++++++
 dev-qt/qttools/qttools-6.4.0.ebuild                |  4 ++
 2 files changed, 79 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-10-16 15:14:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=5f2beee881abef5c9f7cdbe6d3cdc697ba674d20

commit 5f2beee881abef5c9f7cdbe6d3cdc697ba674d20
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2022-10-16 13:54:52 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2022-10-16 15:12:44 +0000

    dev-qt/qttools: replace patch with another from upstream
    
    The previous was superseded by this one.
    
    Bug: https://bugs.gentoo.org/873640
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 .../files/qttools-6.4.0-clang-15-build.patch       | 50 +++++++++++-----------
 1 file changed, 24 insertions(+), 26 deletions(-)