Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790194 - net-irc/kvirc-5.2_pre20200605155236 w/ kde-frameworks/kwindowsystem-5.82.0: NotifierWindow.cpp: error: windowInfo is not a member of KWindowSystem
Summary: net-irc/kvirc-5.2_pre20200605155236 w/ kde-frameworks/kwindowsystem-5.82.0: N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Arfrever Frehtes Taifersar Arahesis
URL: https://github.com/kvirc/KVIrc/issues...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: frameworks-5.82-stable, plasma-5.21.5-stable
  Show dependency tree
 
Reported: 2021-05-14 12:55 UTC by Toralf Förster
Modified: 2021-05-31 23:04 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.47 KB, text/plain)
2021-05-14 12:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,272.37 KB, text/plain)
2021-05-14 12:55 UTC, Toralf Förster
Details
environment (environment,126.95 KB, text/plain)
2021-05-14 12:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,40.83 KB, application/x-bzip)
2021-05-14 12:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.88 KB, application/x-bzip)
2021-05-14 12:55 UTC, Toralf Förster
Details
net-irc:kvirc-5.2_pre20200605155236:20210514-124149.log.bz2 (net-irc:kvirc-5.2_pre20200605155236:20210514-124149.log.bz2,65.37 KB, application/x-bzip)
2021-05-14 12:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,93.81 KB, application/x-bzip)
2021-05-14 12:55 UTC, Toralf Förster
Details
kwindowsystem-5.82.patch (kwindowsystem-5.82.patch,493 bytes, patch)
2021-05-14 17:36 UTC, Andreas Sturmlechner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-14 12:55:04 UTC
/var/tmp/portage/net-irc/kvirc-5.2_pre20200605155236/work/KVIrc-e66a5106ef55a92e2532c38aa255ac376ba6afe1/src/modules/notifier/NotifierWindow.cpp: In function ‘bool active_window_is_full_screen()’:
/var/tmp/portage/net-irc/kvirc-5.2_pre20200605155236/work/KVIrc-e66a5106ef55a92e2532c38aa255ac376ba6afe1/src/modules/notifier/NotifierWindow.cpp:234:41: error: ‘windowInfo’ is not a member of ‘KWindowSystem’
  234 |         KWindowInfo wi = KWindowSystem::windowInfo(activeId, NET::WMState);
      |                                         ^~~~~~~~~~
make[2]: *** [src/modules/notifier/CMakeFiles/kvinotifier.dir/build.make:104: src/modules/notifier/CMakeFiles/kvinotifier.dir/NotifierWindow.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-irc/kvirc-5.2_pre20200605155236/work/kvirc-5.2_pre20200605155236_build'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j2-20210510-191355

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1
  [2]   rust-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri May 14 11:50:23 UTC 2021

emerge -qpvO net-irc/kvirc
[ebuild  N    ] net-irc/kvirc-5.2_pre20200605155236  USE="dbus kde nls perl phonon python spell ssl -audiofile -dcc_video -debug -doc -gsm -oss -profile -theora -webkit" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-05-14 12:55:06 UTC
Created attachment 708501 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-14 12:55:07 UTC
Created attachment 708504 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-14 12:55:09 UTC
Created attachment 708507 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-14 12:55:10 UTC
Created attachment 708510 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-14 12:55:11 UTC
Created attachment 708513 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-14 12:55:13 UTC
Created attachment 708516 [details]
net-irc:kvirc-5.2_pre20200605155236:20210514-124149.log.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-14 12:55:14 UTC
Created attachment 708519 [details]
temp.tar.bz2
Comment 8 Andreas Sturmlechner gentoo-dev 2021-05-14 13:19:35 UTC
Caused by kwindowsystem being built with -DKWINDOWSYSTEM_NO_WIDGETS=ON in Gentoo.

From kwindowsystem.h:

> #if KWINDOWSYSTEM_ENABLE_DEPRECATED_SINCE(5, 0)
>     /**
>      * Returns information about window @p win. It is recommended to check
>      * whether the returned info is valid by calling the valid() method.
>      * @param win the id of the window
>      * @param properties all properties that should be retrieved (see NET::Property
>      *    enum for details). Unlisted properties cause related information to be invalid
>      *    in the returned data, but make this function faster when not all data is needed.
>      * @param properties2 additional properties (see NET::Property2 enum)
>      * @return the window information
>      * @deprecated Since 5.0, use KWindowInfo directly
>      */
>     KWINDOWSYSTEM_DEPRECATED_VERSION(5, 0, "Use KWindowInfo(WId, NET::Properties, NET::Properties2")
>     static KWindowInfo windowInfo(WId win, NET::Properties properties, NET::Properties2 properties2 = NET::Properties2());
> #endif
Comment 9 Andreas Sturmlechner gentoo-dev 2021-05-14 17:36:03 UTC
Created attachment 708600 [details, diff]
kwindowsystem-5.82.patch
Comment 10 Arfrever Frehtes Taifersar Arahesis 2021-05-16 07:14:00 UTC
https://github.com/kvirc/KVIrc/issues/2504
Comment 11 Andreas Sturmlechner gentoo-dev 2021-05-20 19:50:38 UTC
Patch was applied upstream; will you backport?
Comment 12 Larry the Git Cow gentoo-dev 2021-05-31 23:04:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fd0020b33880ec63b66383c68204a17f95da26

commit 25fd0020b33880ec63b66383c68204a17f95da26
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2021-05-30 00:00:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-05-31 23:01:41 +0000

    net-irc/kvirc: Fix compatibility with >=kde-frameworks/kwindowsystem-5.82.0.
    
    Closes: https://bugs.gentoo.org/790194
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...pre20200605155236.ebuild => kvirc-5.2_pre20200605155236-r1.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)