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

Bug 888851

Summary: app-text/coolreader-3.2.59-r3 - /.../crgui.h: error: wxImage was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andrey Grozin <grozin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:coolreader-3.2.59-r3:20221229-013626.log
emerge-history.txt.bz2
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-12-29 10:02:42 UTC
  847 |         wxBitmap _wxbitmap;
      |         ^~~~~~~~
/var/tmp/portage/app-text/coolreader-3.2.59-r3/work/coolreader-cr3.2.59/crengine/src/../include/crgui.h:911:9: error: wxBitmap does not name a type
  911 |         wxBitmap getWxBitmap() { return _wxbitmap; }
      |         ^~~~~~~~
/var/tmp/portage/app-text/coolreader-3.2.59-r3/work/coolreader-cr3.2.59/crengine/src/../include/crgui.h: In member function virtual void CRWxScreen::update(const lvRect&, bool):
/var/tmp/portage/app-text/coolreader-3.2.59-r3/work/coolreader-cr3.2.59/crengine/src/../include/crgui.h:850:13: error: wxImage was not declared in this scope
  850 |             wxImage img;
      |             ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-j4-20221226-050004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 3ecd5fedc21439fdd0c92102d6796a70736a0a53
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 29 01:18:04 2022 +0000

    2022-12-29 01:18:04 UTC

emerge -qpvO app-text/coolreader
[ebuild  N    ] app-text/coolreader-3.2.59-r3  USE="wxwidgets"
Comment 1 Toralf Förster gentoo-dev 2022-12-29 10:02:43 UTC
Created attachment 845575 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-29 10:02:45 UTC
Created attachment 845577 [details]
app-text:coolreader-3.2.59-r3:20221229-013626.log
Comment 3 Toralf Förster gentoo-dev 2022-12-29 10:02:46 UTC
Created attachment 845579 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-12-29 10:02:47 UTC
Created attachment 845581 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-29 10:02:48 UTC
Created attachment 845583 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-29 10:02:49 UTC
Created attachment 845585 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-29 10:02:50 UTC
Created attachment 845587 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-29 10:02:51 UTC
Created attachment 845589 [details]
temp.tar.bz2
Comment 9 Andrey Grozin gentoo-dev 2022-12-31 10:14:35 UTC
Probably, wxGTK[X] is needed. Could you please try: if the bug disappears with wxGTK[X] installed then I'll update the CDEPEND x11-libs/wxGTK to include [X].
Comment 10 Larry the Git Cow gentoo-dev 2023-01-03 10:51:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3f6fbe057830f64095775236c95eb2eb061512

commit 4e3f6fbe057830f64095775236c95eb2eb061512
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2023-01-03 10:51:15 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2023-01-03 10:51:15 +0000

    app-text/coolreader: depend on wxGTK[X]
    
    Closes: https://bugs.gentoo.org/888851
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 app-text/coolreader/coolreader-3.2.59-r4.ebuild | 71 +++++++++++++++++++++++++
 1 file changed, 71 insertions(+)