Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729474 - app-misc/datovka-4.15.0 w/ Qt 5.15: src/.../tag_item.cpp: error: aggregate QPainterPath path has incomplete type and cannot be defined
Summary: app-misc/datovka-4.15.0 w/ Qt 5.15: src/.../tag_item.cpp: error: aggregate QP...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on: 730238
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-06-24 21:48 UTC by Toralf Förster
Modified: 2020-08-04 18:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-06-24 21:48 UTC, Toralf Förster
Details
app-misc:datovka-4.15.0:20200624-213236.log (app-misc:datovka-4.15.0:20200624-213236.log,87.70 KB, text/plain)
2020-06-24 21:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.41 KB, text/plain)
2020-06-24 21:48 UTC, Toralf Förster
Details
environment (environment,63.01 KB, text/plain)
2020-06-24 21:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,47.77 KB, application/x-bzip)
2020-06-24 21:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.63 KB, application/x-bzip)
2020-06-24 21:48 UTC, Toralf Förster
Details
adds include statement (datovka-4.15.0-qt-5.15.patch,344 bytes, patch)
2020-06-30 12:37 UTC, karel.slany
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 2020-06-24 21:48:10 UTC
src/delegates/tag_item.cpp: In member function int TagItem::paint(QPainter*, const QStyleOptionViewItem&) const:
src/delegates/tag_item.cpp:59:15: error: aggregate QPainterPath path has incomplete type and cannot be defined
   59 |  QPainterPath path;
      |               ^~~~
make: *** [Makefile:3182: gen_objects/src/delegates/tag_item.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20200617-221319

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.44.1
  [2]   rust-1.44.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 24 Jun 2020 09:05:19 PM UTC

emerge -qpvO app-misc/datovka
[ebuild  N    ] app-misc/datovka-4.15.0
Comment 1 Toralf Förster gentoo-dev 2020-06-24 21:48:14 UTC
Created attachment 646108 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-24 21:48:20 UTC
Created attachment 646110 [details]
app-misc:datovka-4.15.0:20200624-213236.log
Comment 3 Toralf Förster gentoo-dev 2020-06-24 21:48:23 UTC
Created attachment 646112 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-06-24 21:48:27 UTC
Created attachment 646114 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-06-24 21:48:30 UTC
Created attachment 646116 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-06-24 21:48:33 UTC
Created attachment 646118 [details]
temp.tbz2
Comment 7 karel.slany 2020-06-30 12:37:15 UTC
Created attachment 647210 [details, diff]
adds include statement

The attached patch fixes the failing compilation when using Qt-5.15. This patch is safe to use with all supported versions of Qt.
Comment 8 Larry the Git Cow gentoo-dev 2020-08-04 18:54:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b721d5e38aa84d54aaca4e77c60e5304c9526d8

commit 7b721d5e38aa84d54aaca4e77c60e5304c9526d8
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2020-08-04 18:53:57 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2020-08-04 18:54:44 +0000

    app-misc/datovka: fix include QPainterPath
    
    Closes: https://bugs.gentoo.org/729474
    Submitted-by:  <karel.slany@nic.cz>
    Package-Manager: Portage-2.3.99, Repoman-2.3.20
    Signed-off-by: Amy Liffey <amynka@gentoo.org>

 app-misc/datovka/datovka-4.15.0.ebuild                         |  3 ++-
 .../datovka/files/datovka-4.15.0-include-QPainterPath.patch    | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)