Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726046 - app-office/scribus-1.5.5-r1 with Qt 5.15: " error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined"
Summary: app-office/scribus-1.5.5-r1 with Qt 5.15: " error: aggregate ‘QPainterPath pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: qt-5.15
  Show dependency tree
 
Reported: 2020-05-29 08:44 UTC by Kobboi
Modified: 2020-05-30 09:31 UTC (History)
3 users (show)

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


Attachments
build.log.gz (build.log.gz,61.42 KB, application/gzip)
2020-05-29 08:48 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2020-05-29 08:44:51 UTC
FAILED: scribus/CMakeFiles/scribus.dir/ui/scresizecursor.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DAPPDATADIR=\"/usr/share/metainfo/\" -DDESKTOPDIR=\"/usr/share/applications/\" -DDOCDIR=\"/usr/share/doc/scribus-1.5.5-r1/\" -DHAVE_CONFIG_H -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DICONDIR=\"/usr/share/scribus/icons/\" -DLIBDIR=\"/usr/lib64/scribus/\" -DPLUGINDIR=\"/usr/lib64/scribus/plugins/\" -DQMLDIR=\"/usr/share/scribus/qml/\" -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB -DSAMPLESDIR=\"/usr/share/scribus/samples/\" -DSCRIPTSDIR=\"/usr/share/scribus/scripts/\" -DSHAREDIR=\"/usr/share/scribus/\" -DTEMPLATEDIR=\"/usr/share/scribus/templates/\" -Iscribus -I/var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5/scribus -I. -I/usr/include/libxml2 -I/usr/include/minizip -I/var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtPrintSupport  -DHAVE_MEMRCHR -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -fPIE   -fPIC -std=gnu++11 -MD -MT scribus/CMakeFiles/scribus.dir/ui/scresizecursor.cpp.o -MF scribus/CMakeFiles/scribus.dir/ui/scresizecursor.cpp.o.d -o scribus/CMakeFiles/scribus.dir/ui/scresizecursor.cpp.o -c /var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5/scribus/ui/scresizecursor.cpp
/var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5/scribus/ui/scresizecursor.cpp: In member function ‘void ScResizeCursor::initCursorDb(int)’:
/var/tmp/portage/app-office/scribus-1.5.5-r1/work/scribus-1.5.5/scribus/ui/scresizecursor.cpp:39:15: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
   39 |  QPainterPath path;
      |               ^~~~


Reproducible: Always
Comment 1 Kobboi 2020-05-29 08:48:52 UTC
Created attachment 642470 [details]
build.log.gz
Comment 2 Kobboi 2020-05-29 08:52:02 UTC
This is a rebuild that I think was triggered by the bump of poppler to 0.89 though the problem is obviously not caused by it.
Comment 3 Andreas Sturmlechner gentoo-dev 2020-05-29 10:15:39 UTC
Trivial missing header fix.
Comment 4 Dennis Schridde 2020-05-30 08:13:18 UTC
(In reply to Andreas Sturmlechner from comment #3)
> Trivial missing header fix.

Patch: https://github.com/scribusproject/scribus/commit/17d6a9833488163d7c33c3f2233916b18550e253
Comment 5 Andreas Sturmlechner gentoo-dev 2020-05-30 09:26:30 UTC
Thanks for hunting it down! Surprisingly, still applies cleanly.
Comment 6 Larry the Git Cow gentoo-dev 2020-05-30 09:31:19 UTC
The bug has been closed via the following commit(s):

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

commit a97286f1925b40327ab2e35aa468ed3c0902285b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-05-30 09:20:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-05-30 09:31:06 +0000

    app-office/scribus: Fix build with Qt 5.15
    
    Reported-by: Kobboi <gentoo@lermytte.be>
    Thanks-to: Dennis Schridde <devurandom@gmx.net>
    Closes: https://bugs.gentoo.org/726046
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../scribus/files/scribus-1.5.5-qt-5.15.patch      | 22 ++++++++++++++++++++++
 app-office/scribus/scribus-1.5.5-r1.ebuild         |  1 +
 2 files changed, 23 insertions(+)