Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851270 - kde-plasma/systemsettings-5.24.5-r1 implicitly depends on >=kde-frameworks/kwindowsystem-5.91.0 due to backporting c48ecf5e
Summary: kde-plasma/systemsettings-5.24.5-r1 implicitly depends on >=kde-frameworks/kw...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://invent.kde.org/plasma/systems...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2022-06-11 21:28 UTC by Héctor Barreras
Modified: 2022-07-04 16:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Héctor Barreras 2022-06-11 21:28:56 UTC
Hi,

currently trying to emerge kde-plasma/systemsettings-5.24.5-r1. Halfway through compilation, I get the following error:

```
 FAILED: app/CMakeFiles/systemsettings.dir/main.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DKCOREADDONS_LIB -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x055700 -DKGUIADDONS_LIB -DPROJECT_VERSION=\"5.24.5\" -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x050f02 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5_build/app -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5_build/app/systemsettings_autogen/include -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app/ToolTips -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5_build/core -I/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/core -isystem /usr/include/KF5/KItemViews -isystem /usr/include/KF5 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/KF5/KCMUtils -isystem /usr/include/KF5/KConfigWidgets -isystem /usr/include/KF5/KCodecs -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KAuth -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/KF5/KService -isystem /usr/include/KF5/KI18n -isystem /usr/include/KF5/KIOWidgets -isystem /usr/include/KF5/KIOGui -isystem /usr/include/KF5/KIOCore -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtDBus -isystem /usr/include/KF5/KWindowSystem -isystem /usr/include/KF5/KJobWidgets -isystem /usr/include/KF5/Solid -isystem /usr/include/KF5/KCompletion -isystem /usr/include/KF5/KIconThemes -isystem /usr/include/KF5/KActivities -isystem /usr/include/KF5/KCrash -isystem /usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KDBusAddons -isystem /usr/include/KF5/KDeclarative -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml -isystem /usr/include/KF5/KGuiAddons -isystem /usr/include/kworkspace5  -DQT_NO_DEBUG -O2 -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -std=gnu++11 -MD -MT app/CMakeFiles/systemsettings.dir/main.cpp.o -MF app/CMakeFiles/systemsettings.dir/main.cpp.o.d -o app/CMakeFiles/systemsettings.dir/main.cpp.o -c /var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app/main.cpp
/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app/main.cpp: In lambda function:
/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app/main.cpp:175:24: error: ‘updateStartupId’ is not a member of ‘KWindowSystem’
  175 |         KWindowSystem::updateStartupId(mainWindow->windowHandle());
```

I have been reviewing the relevant include files (more specifically `/usr/include/KF5/KWindowSystem/kwindowsystem.h`) and it indeed does not define the `updateStartupId` static function (nor `activateWindow`) for the `KWindowSystem` class.

`equery b` reports the include file belongs to kde-frameworks/kwindowsystem, which I have emerged at ebuild revision 5.90-r1 (currently out of tree, I have not updated for a while). `equery g kde-plasma/systemsettings-5.24.5-r1` reports the ebuild depends on `>=kde-frameworks/kwindowsystem-5.90.0`, which matches my current installation.




Reproducible: Always

Steps to Reproduce:
1.Install old (5.90-r1) revision of kde-frameworks/kwindowsystem
2.Attempt to emerge kde-plasma/systemsettings-5.24.5-r1
Actual Results:  
Compilation error:
/var/tmp/portage/kde-plasma/systemsettings-5.24.5-r1/work/systemsettings-5.24.5/app/main.cpp:175:24: error: ‘updateStartupId’ is not a member of ‘KWindowSystem’


Expected Results:  
No compilation error, emerge proceeds normally.

Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11.3.0, glibc-2.34-r13, 5.15.32-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.32-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4710HQ_CPU_@_2.50GHz-with-glibc2.34
KiB Mem:     8060260 total,   1105644 free
KiB Swap:    8388604 total,   8387324 free
Timestamp of repository gentoo: Mon, 06 Jun 2022 19:00:01 +0000
Head commit of repository gentoo: d2dc297b3648001be1cf39fcef2b75e56441e8cb
Timestamp of repository dlang: Tue, 17 May 2022 03:23:07 +0000
Head commit of repository dlang: 6f1dad0a96c2e6c260f1c2a2b5e2b96ed27682f8

sh bash 5.1_p16
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.3::gentoo
app-shells/bash:           5.1_p16::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.0-r9::gentoo
dev-lang/python:           2.7.18_p15::gentoo, 3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo
dev-lang/rust:             1.58.1::gentoo
dev-util/cmake:            3.22.2::gentoo
dev-util/meson:            0.60.3::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/openrc:           0.44.10::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.6-r6::gentoo
sys-devel/llvm:            13.0.1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.34-r13::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
DISTDIR="/var/cache/distfiles"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.soeasyto.com/distfiles.gentoo.org/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ https://mirror.netcologne.de/gentoo/ https://ftp.rnl.tecnico.ulisboa.pt/pub/gentoo/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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 a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis vulkan widgets wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel nvidia" 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, 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
Comment 1 Andreas Sturmlechner gentoo-dev 2022-06-11 21:48:26 UTC
Thanks, this comes from the last 5.24.6 backport I made, which should not raise the minimum KF requirement. I've forwarded this to upstream, via IRC for now.

You should update to the latest stable Frameworks version anyway, but this is a bug nevertheless (and us raising the minimum is not the correct fix).
Comment 2 Larry the Git Cow gentoo-dev 2022-07-04 16:13:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=9cb4d813187389b27ec0d29758884c1daa28e4ee

commit 9cb4d813187389b27ec0d29758884c1daa28e4ee
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-07-04 16:09:20 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-07-04 16:09:25 +0000

    kde-plasma: Raise Plasma 5.24 KFMIN baseline to 5.92.0
    
    The issue was raised with upstream and recorded in their Monday meeting
    notes, can't do more than that. Fix it for Gentoo by simply raising KFMIN
    to current stable KF5 baseline.
    
    See also:
    https://invent.kde.org/plasma/systemsettings/-/merge_requests/142
    https://mail.kde.org/pipermail/plasma-devel/2022-July/122440.html
    
    Closes: https://bugs.gentoo.org/851270
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/bluedevil/bluedevil-5.24.49.9999.ebuild                      | 2 +-
 kde-plasma/breeze-plymouth/breeze-plymouth-5.24.49.9999.ebuild          | 2 +-
 kde-plasma/breeze/breeze-5.24.49.9999.ebuild                            | 2 +-
 kde-plasma/discover/discover-5.24.49.9999.ebuild                        | 2 +-
 kde-plasma/drkonqi/drkonqi-5.24.49.9999.ebuild                          | 2 +-
 kde-plasma/kactivitymanagerd/kactivitymanagerd-5.24.49.9999.ebuild      | 2 +-
 kde-plasma/kde-cli-tools/kde-cli-tools-5.24.49.9999.ebuild              | 2 +-
 kde-plasma/kde-gtk-config/kde-gtk-config-5.24.49.9999.ebuild            | 2 +-
 kde-plasma/kdecoration/kdecoration-5.24.49.9999.ebuild                  | 2 +-
 kde-plasma/kdeplasma-addons/kdeplasma-addons-5.24.49.9999.ebuild        | 2 +-
 kde-plasma/kgamma/kgamma-5.24.49.9999.ebuild                            | 2 +-
 kde-plasma/khotkeys/khotkeys-5.24.49.9999.ebuild                        | 2 +-
 kde-plasma/kinfocenter/kinfocenter-5.24.49.9999.ebuild                  | 2 +-
 kde-plasma/kmenuedit/kmenuedit-5.24.49.9999.ebuild                      | 2 +-
 kde-plasma/kscreen/kscreen-5.24.49.9999.ebuild                          | 2 +-
 kde-plasma/kscreenlocker/kscreenlocker-5.24.49.9999.ebuild              | 2 +-
 kde-plasma/ksshaskpass/ksshaskpass-5.24.49.9999.ebuild                  | 2 +-
 kde-plasma/ksystemstats/ksystemstats-5.24.49.9999.ebuild                | 2 +-
 kde-plasma/kwallet-pam/kwallet-pam-5.24.49.9999.ebuild                  | 2 +-
 .../kwayland-integration/kwayland-integration-5.24.49.9999.ebuild       | 2 +-
 kde-plasma/kwayland-server/kwayland-server-5.24.49.9999.ebuild          | 2 +-
 kde-plasma/kwin/kwin-5.24.49.9999.ebuild                                | 2 +-
 kde-plasma/kwrited/kwrited-5.24.49.9999.ebuild                          | 2 +-
 kde-plasma/layer-shell-qt/layer-shell-qt-5.24.49.9999.ebuild            | 2 +-
 kde-plasma/libkscreen/libkscreen-5.24.49.9999.ebuild                    | 2 +-
 kde-plasma/libksysguard/libksysguard-5.24.49.9999.ebuild                | 2 +-
 kde-plasma/libkworkspace/libkworkspace-5.24.49.9999.ebuild              | 2 +-
 kde-plasma/milou/milou-5.24.49.9999.ebuild                              | 2 +-
 kde-plasma/oxygen/oxygen-5.24.49.9999.ebuild                            | 2 +-
 .../plasma-browser-integration-5.24.49.9999.ebuild                      | 2 +-
 kde-plasma/plasma-desktop/plasma-desktop-5.24.49.9999.ebuild            | 2 +-
 kde-plasma/plasma-disks/plasma-disks-5.24.49.9999.ebuild                | 2 +-
 kde-plasma/plasma-firewall/plasma-firewall-5.24.49.9999.ebuild          | 2 +-
 kde-plasma/plasma-integration/plasma-integration-5.24.49.9999.ebuild    | 2 +-
 kde-plasma/plasma-nm/plasma-nm-5.24.49.9999.ebuild                      | 2 +-
 kde-plasma/plasma-pa/plasma-pa-5.24.49.9999.ebuild                      | 2 +-
 kde-plasma/plasma-sdk/plasma-sdk-5.24.49.9999.ebuild                    | 2 +-
 .../plasma-systemmonitor/plasma-systemmonitor-5.24.49.9999.ebuild       | 2 +-
 kde-plasma/plasma-thunderbolt/plasma-thunderbolt-5.24.49.9999.ebuild    | 2 +-
 kde-plasma/plasma-vault/plasma-vault-5.24.49.9999.ebuild                | 2 +-
 kde-plasma/plasma-workspace/plasma-workspace-5.24.49.9999.ebuild        | 2 +-
 kde-plasma/plymouth-kcm/plymouth-kcm-5.24.49.9999.ebuild                | 2 +-
 kde-plasma/polkit-kde-agent/polkit-kde-agent-5.24.49.9999.ebuild        | 2 +-
 kde-plasma/powerdevil/powerdevil-5.24.49.9999.ebuild                    | 2 +-
 kde-plasma/sddm-kcm/sddm-kcm-5.24.49.9999.ebuild                        | 2 +-
 kde-plasma/systemsettings/systemsettings-5.24.49.9999.ebuild            | 2 +-
 .../xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.24.49.9999.ebuild   | 2 +-
 kde-plasma/xembed-sni-proxy/xembed-sni-proxy-5.24.49.9999.ebuild        | 2 +-
 48 files changed, 48 insertions(+), 48 deletions(-)