Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729348 - sci-visualization/paraview-5.8.0-r3 w/ Qt 5.15: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
Summary: sci-visualization/paraview-5.8.0-r3 w/ Qt 5.15: error: aggregate ‘QPainterPat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
: 741900 756700 756964 (view as bug list)
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-06-23 19:31 UTC by Antoine Lemoine
Modified: 2020-11-27 10:35 UTC (History)
7 users (show)

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


Attachments
build.log.gz (build.log.gz,802.77 KB, application/gzip)
2020-06-23 19:36 UTC, Antoine Lemoine
Details
qt-5.15.0-qpainterpath_bug726676.patch (qt-5.15.0-qpainterpath_bug726676.patch,756 bytes, patch)
2020-07-01 22:29 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Lemoine 2020-06-23 19:31:50 UTC
Paraview 5.8.0-r3 fails to build.

/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx: In member function ‘virtual vtkVector2i vt>
/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx:105:16: error: aggregate ‘QPainterPath path>
  105 |   QPainterPath path;
      |                ^~~~
/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx: In member function ‘virtual vtkVector2i vt>
/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx:136:16: error: aggregate ‘QPainterPath path>
  136 |   QPainterPath path;
      |                ^~~~
/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx: In member function ‘virtual int vtkQtStrin>
/var/tmp/portage/sci-visualization/paraview-5.8.0-r3/work/ParaView-v5.8.0/VTK/Rendering/Qt/vtkQtStringToImage.cxx:181:16: error: aggregate ‘QPainterPath path>
  181 |   QPainterPath path;
      |                ^~~~
make[2]: *** [VTK/Rendering/Qt/CMakeFiles/RenderingQt.dir/build.make:125: VTK/Rendering/Qt/CMakeFiles/RenderingQt.dir/vtkQtStringToImage.cxx.o] Error 1


Reproducible: Always




emerge --info =sci-visualization/paraview-5.8.0-r3
Portage 2.3.102 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.31-r5, 5.6.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700K_CPU_@_4.20GHz-with-gentoo-2.7
KiB Mem:    32883204 total,  16919044 free
KiB Swap:   33554416 total,  33539568 free
Timestamp of repository gentoo: Tue, 23 Jun 2020 11:05:19 +0000
Head commit of repository gentoo: af95efe93dea4cdcb2fb8999ca3c70414d4f3fb4

Head commit of repository betagarden: f3f63643329becce80559fc158104870224be865

Head commit of repository laurentb: b7c9de21c71417a8748e0b8ec4613f5f5e3fad73

Head commit of repository sabayon: 39b910fa1ed694d75649472c6eb750f4cc179747

Head commit of repository science: 644434c14f22d95edcf230733955076ecab0cf31

Head commit of repository steam-overlay: ae3e928b83b722ae6197fc1bc78859b592b819e5

Head commit of repository torbrowser: 469b00e26548ede85818a0ccad1ae96f13d8ba71

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
ccache version 3.7.10 [enabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo, 3.9.0_beta3::gentoo
dev-util/ccache:          3.7.10::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo, 10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/betagarden.git
    masters: gentoo
    priority: 50

laurentb
    location: /var/lib/layman/laurentb
    sync-type: git
    sync-uri: git://github.com/laurentb/gentoo-overlay.git
    masters: gentoo
    priority: 50

sabayon
    location: /var/lib/layman/sabayon
    sync-type: git
    sync-uri: git://github.com/Sabayon/for-gentoo.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: git
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: git
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirrors.evowise.com/gentoo/ http://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds emboss encode eselect-ldso evo exif fat ffmpeg flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk gtk3 iconv icu introspection ipc ipv6 jpeg jpeg2k lcms ldap libnotify libsecret libtirpc mad midi mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ntfs ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt5 readline sdl seccomp spell split-usr ssl startup-notification svg symlink systemd tcpd tiff tracker truetype udev udisks unicode upower usb vdpau vim-syntax vorbis wayland widevine wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 NVPTX" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-visualization/paraview-5.8.0-r3::gentoo was built with the following:
USE="boost cg ffmpeg openmp plugins qt5 sqlite webengine -coprocessing -development -doc -examples -mpi -mysql -nvcontrol -offscreen -python -test -tk" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_6 python3_7 -python3_8"
FEATURES="unmerge-orphans ccache qa-unresolved-soname-deps multilib-strict usersync fail-clean binpkg-docompress clean-logs usersandbox pid-sandbox ebuild-locks parallel-install protect-owned preserve-libs xattr news strict cgroup binpkg-logs config-protect-if-modified splitdebug sandbox ipc-sandbox userpriv unknown-features-warn candy merge-sync parallel-fetch userfetch unmerge-logs fixlafiles sfperms network-sandbox assume-digests binpkg-dostrip distlocks"
Comment 1 Antoine Lemoine 2020-06-23 19:36:29 UTC
Created attachment 645924 [details]
build.log.gz
Comment 2 Andreas Sturmlechner gentoo-dev 2020-07-01 21:20:53 UTC
Looks like they bundle VTK? (sigh) In that case, check out our already fixed VTK bug.

Also, VTK upstream commit: https://gitlab.kitware.com/vtk/vtk/-/commit/797f28697d5ba50c1fa2bc5596af626a3c277826
Comment 3 Attila Tóth 2020-07-01 22:29:07 UTC
Created attachment 647340 [details, diff]
qt-5.15.0-qpainterpath_bug726676.patch

Suggested patch based on VTK solution.
Comment 4 Larry the Git Cow gentoo-dev 2020-07-02 00:03:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27516179bd0c405eaea4c5d3c6df21414f183c5f

commit 27516179bd0c405eaea4c5d3c6df21414f183c5f
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-07-01 23:37:15 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-07-02 00:03:09 +0000

    sci-visualization/paraview: Fix build with Qt 5.15
    
    Closes: https://bugs.gentoo.org/729348
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/paraview-5.8.0-w-vtk-8.2.0-qt-5.15.patch | 37 ++++++++++++++++++++++
 .../paraview/paraview-5.8.0-r3.ebuild              |  1 +
 2 files changed, 38 insertions(+)
Comment 5 Andreas Sturmlechner gentoo-dev 2020-11-22 00:38:39 UTC
*** Bug 741900 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Sturmlechner gentoo-dev 2020-11-22 00:39:14 UTC
Re-opening for 5.8.1.
Comment 7 Olivier Huber 2020-11-23 18:32:38 UTC
Sorry to write a "+1" type comment, but using the patch from this bug report fixes the issue for 5.8.1. Patch applies cleanly.

Thanks for your hard work! It's a pleasure to have paraview packaged in Gentoo.
Comment 8 Simon 2020-11-24 14:56:28 UTC
Compilation is failing again with the same error for 5.8.1 because the patch that was added for 5.8.0 wasn't included in the 5.8.1 bump.
Comment 9 Andreas Sturmlechner gentoo-dev 2020-11-25 14:42:08 UTC
*** Bug 756700 has been marked as a duplicate of this bug. ***
Comment 10 Andreas Sturmlechner gentoo-dev 2020-11-25 14:49:28 UTC
No need to CC maintainer who is already assigned to the bug.
Comment 11 Larry the Git Cow gentoo-dev 2020-11-25 14:50:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54969ccfb580383e86b62f13fc9b1e4b27d24663

commit 54969ccfb580383e86b62f13fc9b1e4b27d24663
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-11-25 14:48:07 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-11-25 14:48:55 +0000

    sci-visualization/paraview: Re-apply fix build with Qt 5.15 to 5.8.1
    
    Closes: https://bugs.gentoo.org/729348
    Tested-by: Olivier Huber <oli.huber@gmail.com>
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 12 Larry the Git Cow gentoo-dev 2020-11-25 15:10:41 UTC
The bug has been referenced in the following commit(s):

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

commit e699f4564d0e6276fc8446410fcbacf9ad9f1ced
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-11-25 15:09:02 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-11-25 15:10:14 +0000

    sci-visualization/paraview: Redo gnome2-utils -> xdg-utils eclass use
    
    Change was lost in commit 4d8cfcc3f0e5925bb40fc55ed9fb4dadb89b3c3f
    
    Bug: https://bugs.gentoo.org/729348
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2020-11-25 16:10:56 UTC
The bug has been referenced in the following commit(s):

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

commit ce16b0c7816dd71057e0e3e54977fcf4ad0a0b17
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-11-25 15:14:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-11-25 16:10:40 +0000

    sci-visualization/paraview: Fix indendation
    
    Bug: https://bugs.gentoo.org/729348
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 39 ++++++++++++------------
 1 file changed, 19 insertions(+), 20 deletions(-)

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

commit 4a62383a86fb539d35f0227d78239169ad3d5972
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-11-25 15:13:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-11-25 16:10:40 +0000

    sci-visualization/paraview: cmake-utils -> cmake
    
    Bug: https://bugs.gentoo.org/729348
    Package-Manager: Portage-3.0.10, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-visualization/paraview/paraview-5.8.1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 14 Andreas Sturmlechner gentoo-dev 2020-11-27 10:35:37 UTC
*** Bug 756964 has been marked as a duplicate of this bug. ***