Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811342 - app-text/coolreader-3.2.59 - /.../view.cpp: error: no matching function for call to LVDocView::setBatteryState(int&)
Summary: app-text/coolreader-3.2.59 - /.../view.cpp: error: no matching function for c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-01 18:22 UTC by Toralf Förster
Modified: 2021-09-13 14:52 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.58 KB, text/plain)
2021-09-01 18:22 UTC, Toralf Förster
Details
app-text:coolreader-3.2.59:20210901-172445.log (app-text:coolreader-3.2.59:20210901-172445.log,352.89 KB, text/plain)
2021-09-01 18:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,479.60 KB, text/plain)
2021-09-01 18:22 UTC, Toralf Förster
Details
environment (environment,95.29 KB, text/plain)
2021-09-01 18:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,53.63 KB, application/x-bzip)
2021-09-01 18:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.61 KB, application/x-bzip)
2021-09-01 18:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,40.94 KB, application/x-bzip)
2021-09-01 18:22 UTC, Toralf Förster
Details
Fix for the issue 811342 (coolreader-3.2.59-wxwidgets-view-api-change.patch,3.57 KB, patch)
2021-09-13 11:31 UTC, Vladislav Mikhailikov
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-09-01 18:22:47 UTC
/var/tmp/portage/app-text/coolreader-3.2.59/work/coolreader-cr3.2.59/cr3wx/src/view.cpp: In member function ‘void cr3view::Paint()’:
/var/tmp/portage/app-text/coolreader-3.2.59/work/coolreader-cr3.2.59/cr3wx/src/view.cpp:336:34: error: no matching function for call to ‘LVDocView::setBatteryState(int&)’
  336 |     getDocView()->setBatteryState( battery_state );
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/app-text/coolreader-3.2.59/work/coolreader-cr3.2.59/crengine/include/crengine.h:149,
                 from /var/tmp/portage/app-text/coolreader-3.2.59/work/coolreader-cr3.2.59/cr3wx/src/view.cpp:5:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20210826-190021

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0
  [2]   rust-1.54.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 80351206503ae87c59c4bddb54ead3102e1dfb9d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 1 16:52:08 2021 +0000

    2021-09-01 16:52:05 UTC

emerge -qpvO app-text/coolreader
[ebuild     U ] app-text/coolreader-3.2.59 [3.2.58] USE="wxwidgets"
Comment 1 Toralf Förster gentoo-dev 2021-09-01 18:22:48 UTC
Created attachment 737062 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-01 18:22:50 UTC
Created attachment 737065 [details]
app-text:coolreader-3.2.59:20210901-172445.log
Comment 3 Toralf Förster gentoo-dev 2021-09-01 18:22:53 UTC
Created attachment 737068 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-01 18:22:54 UTC
Created attachment 737071 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-01 18:22:56 UTC
Created attachment 737074 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-01 18:22:57 UTC
Created attachment 737077 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-09-01 18:22:58 UTC
Created attachment 737080 [details]
temp.tar.bz2
Comment 8 Aleksey Chernov 2021-09-09 07:02:39 UTC
Fixed in upstream: https://github.com/buggins/coolreader/pull/312
Comment 9 Vladislav Mikhailikov 2021-09-13 11:31:13 UTC
Created attachment 739186 [details, diff]
Fix for the issue 811342

Instruction for immediate fix:

1. Put the patch somewhere in /etc/portage/patches
2. Rebuild.
Comment 10 Adrian Bassett 2021-09-13 13:15:22 UTC
(In reply to Vladislav Mikhailikov from comment #9)
> Created attachment 739186 [details, diff] [details, diff]
> Fix for the issue 811342
> 
> Instruction for immediate fix:
> 
> 1. Put the patch somewhere in /etc/portage/patches
> 2. Rebuild.

This patches fixes the build of 3.2.59 for me, thanks!

(But, I was initally confused when I checked the version of the updated cr3 under the 'About' option:  i.e. 3.2.59 advertises itself as 3.2.58-1, whilst 3.2.58 claims to be 3.2.56-1, reflecting underlying library versioning, no doubt.)
Comment 11 Larry the Git Cow gentoo-dev 2021-09-13 14:52:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ae56240c49bb10a7a0109adada6611bfe22471

commit 68ae56240c49bb10a7a0109adada6611bfe22471
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2021-09-13 14:51:37 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2021-09-13 14:52:25 +0000

    app-text/coolreader: fix compiling with USE=wxwidgets
    
    Also missing dependencies added
    Closes: https://bugs.gentoo.org/811342
    Closes: https://bugs.gentoo.org/812245
    Package-Manager: Portage-3.0.23, Repoman-3.0.3
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

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