Created attachment 649300 [details] build.log The usual stuff. IacPlot.cpp: In member function ‘void IacPlot::drawIacLine(std::vector<IAC_Point*>&, bool, QPainter&, Projection*)’: IacPlot.cpp:275:20: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined 275 | QPainterPath path; | ^~~~ IacPlot.cpp: In member function ‘void IacPlot::makeBezierPath(QPainterPath&, std::vector<IAC_Point*>&, double, Projection*)’: IacPlot.cpp:296:2: error: invalid use of incomplete type ‘class QPainterPath’ 296 | path.moveTo(mi1,mj1); // start = middle of first segment | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:307:3: error: invalid use of incomplete type ‘class QPainterPath’ 307 | path.cubicTo(i1,j1, i1,j1, mi2,mj2); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:325:3: error: invalid use of incomplete type ‘class QPainterPath’ 325 | path.cubicTo(i1,j1, i1,j1, mi2,mj2); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:333:3: error: invalid use of incomplete type ‘class QPainterPath’ 333 | path.moveTo(i0, j0); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:334:3: error: invalid use of incomplete type ‘class QPainterPath’ 334 | path.lineTo(mi1,mj1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:340:3: error: invalid use of incomplete type ‘class QPainterPath’ 340 | path.moveTo(mi1,mj1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ IacPlot.cpp:341:3: error: invalid use of incomplete type ‘class QPainterPath’ 341 | path.lineTo(i1, j1); | ^~~~ In file included from /usr/include/qt5/QtGui/qtransform.h:43, from /usr/include/qt5/QtGui/qimage.h:48, from /usr/include/qt5/QtGui/qpixmap.h:49, from /usr/include/qt5/QtGui/qpainter.h:48, from /usr/include/qt5/QtGui/QPainter:1, from IacPlot.h:32, from IacPlot.cpp:19: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’ 54 | class QPainterPath; | ^~~~~~~~~~~~ make[1]: *** [Makefile:2635: objs/IacPlot.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-misc/zygrib-8.0.1-r1/work/zyGrib-8.0.1/src' make: *** [Makefile:40: zyGrib] Error 2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c commit 4c2e2f64bd3905ce43a55f96a497e95e74f9ca2c Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-07-15 12:23:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-07-15 12:28:04 +0000 app-misc/zygrib: Fix build with Qt 5.15 Closes: https://bugs.gentoo.org/732732 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> app-misc/zygrib/files/zygrib-8.0.1-qt-5.15.patch | 38 ++++++++++++++++++++++++ app-misc/zygrib/zygrib-8.0.1-r1.ebuild | 1 + 2 files changed, 39 insertions(+)