Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726954 - media-gfx/pencil-0.6.4 : src/.../bitmapimage.cpp: error: path has incomplete type
Summary: media-gfx/pencil-0.6.4 : src/.../bitmapimage.cpp: error: path has incomplete ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-06-03 16:42 UTC by Toralf Förster
Modified: 2020-06-14 23:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2020-06-03 16:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,183.94 KB, text/plain)
2020-06-03 16:42 UTC, Toralf Förster
Details
environment (environment,71.65 KB, text/plain)
2020-06-03 16:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.61 KB, application/x-bzip)
2020-06-03 16:42 UTC, Toralf Förster
Details
media-gfx:pencil-0.6.4:20200603-125129.log (media-gfx:pencil-0.6.4:20200603-125129.log,5.07 KB, text/plain)
2020-06-03 16:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.57 KB, application/x-bzip)
2020-06-03 16:42 UTC, Toralf Förster
Details

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-03 16:42:04 UTC
src/graphics/bitmap/bitmapimage.cpp:608:41: error: path has incomplete type
  608 | void BitmapImage::drawPath(QPainterPath path, QPen pen, QBrush brush,
      |                            ~~~~~~~~~~~~~^~~~
In file included from /usr/include/qt5/QtGui/qtransform.h:43,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200530-101706

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

gcc-config -l:
 [1] 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)
  [6]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.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 03 Jun 2020 11:05:46 AM UTC
/var/db/repos/libressl	Tue 02 Jun 2020 02:35:03 AM UTC

emerge -qpvO media-gfx/pencil
[ebuild  N    ] media-gfx/pencil-0.6.4  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-06-03 16:42:07 UTC
Created attachment 643264 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-06-03 16:42:10 UTC
Created attachment 643266 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-06-03 16:42:12 UTC
Created attachment 643268 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-06-03 16:42:15 UTC
Created attachment 643270 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-06-03 16:42:18 UTC
Created attachment 643272 [details]
media-gfx:pencil-0.6.4:20200603-125129.log
Comment 6 Toralf Förster gentoo-dev 2020-06-03 16:42:20 UTC
Created attachment 643274 [details]
temp.tbz2
Comment 7 Ben Kohler gentoo-dev 2020-06-10 12:36:05 UTC
Fixed upstream [1] but it's a pretty big patch so I'm going to wait a bit and see if there's a new release soon.

[1] https://github.com/pencil2d/pencil/commit/ce30ae18d957c42e5c7b67ca53f9aca47e770bdb
Comment 8 Andreas Sturmlechner gentoo-dev 2020-06-14 22:45:06 UTC
(In reply to Ben Kohler from comment #7)
> Fixed upstream [1] but it's a pretty big patch so I'm going to wait a bit
> and see if there's a new release soon.

For this error, only QPainterPath header is relevant, that reduces the necessary patch to exactly two hunks.
Comment 9 Ben Kohler gentoo-dev 2020-06-14 23:15:00 UTC
One more QPainter path was fixed in an earlier commit, gonna combine the patch chunks to get something that builds
Comment 10 Larry the Git Cow gentoo-dev 2020-06-14 23:19:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b8b29f059386fe67063003b214032824b42722

commit 02b8b29f059386fe67063003b214032824b42722
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-06-14 23:15:19 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-06-14 23:19:22 +0000

    media-gfx/pencil: revbump for qt-5.15.0 fix
    
    Closes: https://bugs.gentoo.org/726954
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../files/pencil-0.6.4-fixes-for-qt-5.15.0.patch   | 30 ++++++++++
 media-gfx/pencil/pencil-0.6.4-r1.ebuild            | 65 ++++++++++++++++++++++
 2 files changed, 95 insertions(+)
Comment 11 Andreas Sturmlechner gentoo-dev 2020-06-14 23:21:17 UTC
fyi, I don't revbump for only build-fixing some missing headers.