Created attachment 600052 [details] build.log Portage 2.3.82 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.4-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.4.4-gentoo-x86_64-AMD_Ryzen_5_2600X_Six-Core_Processor-with-gentoo-2.6 KiB Mem: 16419720 total, 2505568 free KiB Swap: 33554428 total, 33550076 free Timestamp of repository gentoo: Wed, 18 Dec 2019 15:30:01 +0000 Head commit of repository gentoo: 713c88382c59087274b078e42deaf3598aa3aaca sh bash 5.0_p11 ld GNU ld (Gentoo 2.33.1 p1) 2.33.1 app-shells/bash: 5.0_p11::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.6.9-r1::lto-overlay, 3.7.5-r2::lto-overlay dev-util/cmake: 3.16.1::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r2::gentoo sys-devel/binutils: 2.33.1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 tvbrowser-bin location: /usr/local/portage masters: gentoo lto-overlay location: /var/lib/layman/lto-overlay sync-type: laymansync sync-uri: https://github.com/InBetweenNames/gentooLTO.git masters: gentoo mv priority: 50 mv location: /var/lib/layman/mv sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/user/mv.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -flto=12 -fuse-linker-plugin -pipe -ftree-vectorize" 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" CXXFLAGS="-march=native -O2 -flto=12 -fuse-linker-plugin -pipe -ftree-vectorize" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 candy config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/ http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ http://gentoo.mirror.web4u.cz/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12" 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" USE="7zip X a52 aac acl acpi activities alsa amd64 berkdb branding bzip2 cairo cdda cdr cli crypt cups cxx dav1d dbus declarative dns-over-tls dri dropbox dts dvd dvdr emboss encode epub exif fam ffmpeg flac fortran gdbm gif gpm grub gtk iconv icu ipv6 ithreads jpeg jumbo-build kde kipi kwallet lcms ldap libnotify libtirpc lightning lm-sensors lto mad matroska mng mp3 mp4 mpeg mtp multilib ncurses nls nptl offload ogg opencl opengl openmp pam pango pcre pdf pgo phonon pim plasma png policykit postproc ppds pulseaudio qml qt5 rar readline scanner sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg sync-plugin-portage system-llvm systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vc vdpau vorbis vpx vulkan wayland webp widgets wxwidgets x264 x265 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="sony_dscf1" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt 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="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= kde-frameworks/kcalendarcore-5.65.0::gentoo was built with the following: USE="-debug -doc -test" ABI_X86="(64)" CFLAGS="-march=native -O2 -flto=12 -fuse-linker-plugin -pipe -ftree-vectorize -Wl,-O1 -Wl,--as-needed" CXXFLAGS="-march=native -O2 -flto=12 -fuse-linker-plugin -pipe -ftree-vectorize -Wl,-O1 -Wl,--as-needed" FEATURES="news preserve-libs sandbox usersync xattr parallel-fetch candy multilib-strict usersandbox binpkg-docompress userpriv binpkg-logs pid-sandbox binpkg-dostrip strict sfperms fixlafiles network-sandbox userfetch merge-sync distlocks unmerge-logs ebuild-locks unknown-features-warn ipc-sandbox unmerge-orphans assume-digests config-protect-if-modified fail-clean protect-owned" LDFLAGS="-Wl,-O1 -Wl,--as-needed -march=native -O2 -flto=12 -fuse-linker-plugin -pipe -ftree-vectorize"
CMake Error at /usr/lib64/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake:4 (_populate_Gui_plugin_properties): _populate_Gui_plugin_properties Macro invoked with incorrect arguments for macro named: _populate_Gui_plugin_properties Call Stack (most recent call first): /usr/lib64/cmake/Qt5Gui/Qt5GuiConfig.cmake:213 (include) /usr/lib64/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:48 (find_package) ^ are you sure your Qt installation is consistent?
No, there is an update running to qt 5.14. And in this update I had this update of kcalendarcore.
After the update of qt to 5.14 was complete, I was able to build kcalendarcore-5.65.0-r1.
*** Bug 703312 has been marked as a duplicate of this bug. ***
It seems a Qt cmake macro changed its arguments in a backwards incompatible way, sometimes this will result in an error esp. with parallelised jobs. Here are the results of `equery b /usr/lib64/cmake/Qt5Gui/*Plugin.cmake` on my system: dev-qt/qtgui-5.14.0 (obviously) dev-qt/qtimageformats-5.14.0 dev-qt/qtsvg-5.14.0 dev-qt/qtvirtualkeyboard-5.14.0 dev-qt/qtwayland-5.14.0 Should we add blockers to these packages against <dev-qt/qtgui-5.14.0 to help Portage get it ordered correctly?
Or maybe in addition, as dev-qt/qtgui will come first in the depgraph, add blockers against the older versions of said packages.
(In reply to Andreas Sturmlechner from comment #6) > Or maybe in addition, as dev-qt/qtgui will come first in the depgraph, add > blockers against the older versions of said packages. Could this be fixed with some subslot stuff? Looking at the package I had issues with, the package only cares about the slot, so I guess it's possible for the direct dependencies being fulfilled with differing subslots from qtcore package (they should all be same subslot to build correctly with this backwards incompatible change to Qt's CMake stuff)
Since all revdeps already depend on qtgui-${PV} anyway, the only place to put blockers indeed is qtgui. (In reply to Michael Cook from comment #7) > Could this be fixed with some subslot stuff? That might fix it as well, but 1) this is a one-time issue with >=Qt-5.14 upgrade 2) that would extend the way Qt subslots are used 3) slot ops are costly
I got bit by this bug. But I did find a workaround. emerge -1av $(qlist -CI dev-qt/*) After doing the above, world update should work. On my system, this bug was blocking an update of 224 packages.
Similarly to c9 I hit this as well, and it failed enough that portage eventually gave up entirely, even with --keep-going. I tried updating/rebuilding dev-qt/qtgui explicitly with no effect. Ultimately I used `eix -\#ICu dev-qt | xargs emerge -1a` to rebuild any Qt packages needing update, which subsequently allowed a world update to complete.
*** Bug 703456 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdaf78687b564b5ce82dc11187181de85d601cec commit fdaf78687b564b5ce82dc11187181de85d601cec Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-18 21:19:49 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-21 09:08:10 +0000 dev-qt/qtgui: Block known old users of _populate_Gui_plugin_properties With sufficiently parallelised emerge, if dev-qt/qtgui reverse dependencies are scheduled before modules installing Qt5Gui plugins have been rebuilt, these revdeps will fail cmake after an incompatible change in macro args. Bug: https://bugs.gentoo.org/703306 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtgui/qtgui-5.14.0.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
*** Bug 703406 has been marked as a duplicate of this bug. ***
(In reply to Larry the Git Cow from comment #12) > With sufficiently parallelised emerge I don't think this has anything to do with parallel emerge, since I don't use --jobs at all (meaning I end up using --jobs 1).
(In reply to Nikos Chantziaras from comment #14) > I don't think this has anything to do with parallel emerge, since I don't > use --jobs at all (meaning I end up using --jobs 1). That's no contradiction, you can have bad luck with --jobs 1 but chances are higher the more parallised you run emerge.
Still getting failures even with the blockers in place.
(In reply to Michael Cook from comment #16) > Still getting failures even with the blockers in place. Basically, kde-frameworks/kwidgetsaddons is being rebuilt before dev-qt/qtimageformats-5.14.0 is.
We can escalate the blockers to !! but then everyone will have to manually unmerge these packages before Qt upgrade is possible...
I'm probably wrong here due to ignorance, but isn't this what build-time deps are used for? If kwidgetsaddons needs an updated cmake file, then whatever package owns that cmake file should be in the build-time deps of kwidgetsaddons?
No.
*** Bug 703568 has been marked as a duplicate of this bug. ***
I meet this issue too and I workaround it by rebuiding all QT modules. ```shell emerge -av1 $(qlist -IvC /qt | grep 5 | sed s/-5.\*//) ``` then continue your kde build.
For anyone who comes across this bug looking for answers, this command finally unwedged Qt for me. emerge -av1 $(qlist -IC dev-qt) --ignore-built-slot-operator-deps=y After that, update @world as normal. Other suggestions in this thread did not work for me. Thanks to josef64 on #gentoo for this tip.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=71a6ccc1bcc9b66bbb891365ab17edcd49f7b1c9 commit 71a6ccc1bcc9b66bbb891365ab17edcd49f7b1c9 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-25 15:51:30 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-25 17:30:33 +0000 dev-qt/qtgui: Sync with Gentoo ebuild repository - Fix build with CXXFLAGS="-march=native" - Block known old users of _populate_Gui_plugin_properties With sufficiently parallelised emerge, if dev-qt/qtgui reverse dependencies are scheduled before modules installing Qt5Gui plugins have been rebuilt, these revdeps will fail cmake after an incompatible change in macro args. - Raise minimum dependency for USE=tslib Bug: https://bugs.gentoo.org/672946 Bug: https://bugs.gentoo.org/703306 Bug: https://bugs.gentoo.org/703336 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtgui/files/qt-5.12-gcc-avx2.patch | 29 +++++++++++++++++++++++++++++ dev-qt/qtgui/qtgui-5.12.9999.ebuild | 2 ++ dev-qt/qtgui/qtgui-5.14.9999.ebuild | 15 ++++++++++++--- dev-qt/qtgui/qtgui-5.15.9999.ebuild | 15 ++++++++++++--- dev-qt/qtgui/qtgui-5.9999.ebuild | 2 +- 5 files changed, 56 insertions(+), 7 deletions(-)
May as well reopen it as it is clear the soft blockers are not enough to help with package build order.
kde-frameworks/kguiaddons-5.64.0 failed today with an uptodate tree, it blocks further updating of dev-qt/*. As a result qt is broken (some packages are updated, most aren't and wont), and kde can't be updated neither.
Yes, you're re-iterating what we already know. Know try to solve it with the solutions also presented in this bug.
Hello, this also made lxqt not able to start - as said, the solution presented in this ticked fixed it for me as well,lxqt can start after rebuilding Qt.
Currently testing a patch that adds a fallback function call to qtcore's cmake.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f10d5690b0a924021f54c7b09b4ce152fd37e0b commit 9f10d5690b0a924021f54c7b09b4ce152fd37e0b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-02-09 16:23:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-09 18:51:03 +0000 dev-qt/qtgui: Fix cmake macro compat. for upgrade from <Qt-5.14 Closes: https://bugs.gentoo.org/703306 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../qtgui-5.14.1-cmake-macro-backward-compat.patch | 50 ++++++ dev-qt/qtgui/qtgui-5.14.1-r2.ebuild | 188 +++++++++++++++++++++ 2 files changed, 238 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1eb44a73d1a8e99aae1eeb2b7504b326df2cd1 commit fe1eb44a73d1a8e99aae1eeb2b7504b326df2cd1 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-02-09 10:59:22 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-09 18:51:02 +0000 dev-qt/qtcore: Fix cmake macro compat. for upgrade from <Qt-5.14 Closes: https://bugs.gentoo.org/703306 Closes: https://bugs.gentoo.org/705198 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> ...qtcore-5.14.1-cmake-macro-backward-compat.patch | 50 +++++++++++++ dev-qt/qtcore/qtcore-5.14.1-r1.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 135 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=bb3e4735560877bc5e06bb6f5cc36ce3869c7249 commit bb3e4735560877bc5e06bb6f5cc36ce3869c7249 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-02-09 16:23:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-09 19:22:20 +0000 dev-qt/qtgui: Fix cmake macro compat. for upgrade from <Qt-5.14 Closes: https://bugs.gentoo.org/703306 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit 9f10d5690b0a924021f54c7b09b4ce152fd37e0b) .../qtgui-5.14.1-cmake-macro-backward-compat.patch | 50 ++++++++++++++++++++++ dev-qt/qtgui/qtgui-5.14.9999.ebuild | 5 ++- dev-qt/qtgui/qtgui-5.15.9999.ebuild | 5 ++- 3 files changed, 58 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/proj/qt.git/commit/?id=91b38cc3ab9bb6c70c9e40ba6a5fbbe41b2da753 commit 91b38cc3ab9bb6c70c9e40ba6a5fbbe41b2da753 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-02-09 10:59:22 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-02-09 19:22:20 +0000 dev-qt/qtcore: Fix cmake macro compat. for upgrade from <Qt-5.14 Closes: https://bugs.gentoo.org/703306 Closes: https://bugs.gentoo.org/705198 Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> (cherry picked from commit fe1eb44a73d1a8e99aae1eeb2b7504b326df2cd1) ...qtcore-5.14.1-cmake-macro-backward-compat.patch | 50 ++++++++++++++++++++++ dev-qt/qtcore/qtcore-5.14.9999.ebuild | 4 +- dev-qt/qtcore/qtcore-5.15.9999.ebuild | 4 +- 3 files changed, 56 insertions(+), 2 deletions(-)