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

Bug 664532

Summary: sci-visualization/kst-2.0.8 : /.../view.h:153:19: error: QMenu has not been declared
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 653646    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-visualization:kst-2.0.8:20180825-033612.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-25 06:10:23 UTC
In file included from /var/tmp/portage/sci-visualization/kst-2.0.8/work/Kst-2.0.8/src/libkstapp/graphicsfactory.h:21,
                 from /var/tmp/portage/sci-visualization/kst-2.0.8/work/Kst-2.0.8/src/libkstapp/graphicsfactory.cpp:13:
/var/tmp/portage/sci-visualization/kst-2.0.8/work/Kst-2.0.8/src/libkstapp/view.h:153:19: error: ‘QMenu’ has not been declared
     void addTitle(QMenu *menu) const;
                   ^~~~~
make[2]: *** [src/libkstapp/CMakeFiles/kst2app.dir/build.make:1524: src/libkstapp/CMakeFiles/kst2app.dir/graphicsfactory.cpp.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20180820-193302

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-visualization/kst
[ebuild  N    ] sci-visualization/kst-2.0.8  USE="-debug -test"
Comment 1 Toralf Förster gentoo-dev 2018-08-25 06:10:26 UTC
Created attachment 544938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-25 06:10:30 UTC
Created attachment 544940 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-25 06:10:33 UTC
Created attachment 544942 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-25 06:10:36 UTC
Created attachment 544944 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-25 06:10:39 UTC
Created attachment 544946 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-25 06:10:43 UTC
Created attachment 544948 [details]
sci-visualization:kst-2.0.8:20180825-033612.log
Comment 7 Toralf Förster gentoo-dev 2018-08-25 06:10:46 UTC
Created attachment 544950 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2018-08-26 18:24:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=901e0196c41d8c1b57e327370c6f9bbeba4d309f

commit 901e0196c41d8c1b57e327370c6f9bbeba4d309f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-08-26 17:37:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-08-26 18:23:49 +0000

    sci-visualization/kst: Fix build with Qt 5.11
    
    Closes: https://bugs.gentoo.org/664532
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 .../kst/files/kst-2.0.8-qt-5.11.patch              | 46 ++++++++++++++++++++++
 .../kst/files/kst-2.0.8-qt-5.11b3.patch            | 25 ------------
 sci-visualization/kst/kst-2.0.8.ebuild             |  2 +-
 3 files changed, 47 insertions(+), 26 deletions(-)