D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/pencil2d-0.6.4-2.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Eckg8T + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pencil2d-v0.6.4 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/pencil2d-v0.6.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pencil2d-v0.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.ty5r0T + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pencil2d-v0.6.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' QMAKE_STRIP= PREFIX=/usr Info: creating stash file /home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/.qmake.stash + /usr/bin/make -O -j8 V=1 VERBOSE=1 cd core_lib/ && ( test -e Makefile || /usr/lib64/qt5/bin/qmake -o Makefile /home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib/core_lib.pro libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' QMAKE_STRIP= PREFIX=/usr ) && /usr/bin/make -f Makefile make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' /usr/lib64/qt5/bin/uic ui/camerapropertiesdialog.ui -o ui_camerapropertiesdialog.h make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/vertexref.o src/graphics/vector/vertexref.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/vectorselection.o src/graphics/vector/vectorselection.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/bitmapimage.o src/graphics/bitmap/bitmapimage.cpp 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, 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 src/graphics/bitmap/bitmapimage.h:21, from src/graphics/bitmap/bitmapimage.cpp:17: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/bitmap/bitmapimage.cpp: In member function 'void BitmapImage::drawPath(QPainterPath, QPen, QBrush, QPainter::CompositionMode, bool)': src/graphics/bitmap/bitmapimage.cpp:624:38: warning: 'void QPainter::setMatrixEnabled(bool)' is deprecated: Use setWorldMatrixEnabled() instead [-Wdeprecated-declarations] 624 | painter.setMatrixEnabled(true); | ^ In file included from /usr/include/qt5/QtGui/QPainter:1, from src/graphics/bitmap/bitmapimage.h:21, from src/graphics/bitmap/bitmapimage.cpp:17: /usr/include/qt5/QtGui/qpainter.h:263:10: note: declared here 263 | void setMatrixEnabled(bool enabled); | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:1062: .obj/bitmapimage.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/colourref.o src/graphics/vector/colourref.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/beziercurve.o src/graphics/vector/beziercurve.cpp src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::drawPath(QPainter&, Object*, QTransform, bool, bool)': src/graphics/vector/beziercurve.cpp:440:49: error: invalid use of incomplete type 'class QPainterPath' 440 | painter.drawPath(myCurve.getStrokedPath()); | ^ 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 src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp:447:48: warning: 'const QMatrix& QPainter::matrix() const' is deprecated: Use transform() instead [-Wdeprecated-declarations] 447 | renderedWidth = 1.0/painter.matrix().m11(); | ^ In file included from /usr/include/qt5/QtGui/QPainter:1, from src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qpainter.h:243:20: note: declared here 243 | const QMatrix &matrix() const; | ^~~~~~ src/graphics/vector/beziercurve.cpp:477:22: error: variable 'QPainterPath path' has initializer but incomplete type 477 | QPainterPath path = myCurve.getSimplePath(); | ^~~~ src/graphics/vector/beziercurve.cpp:477:51: error: invalid use of incomplete type 'class QPainterPath' 477 | QPainterPath path = myCurve.getSimplePath(); | ^ 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 src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp:486:46: warning: 'const QMatrix& QPainter::matrix() const' is deprecated: Use transform() instead [-Wdeprecated-declarations] 486 | qreal lineWidth = 1.5/painter.matrix().m11(); | ^ In file included from /usr/include/qt5/QtGui/QPainter:1, from src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qpainter.h:243:20: note: declared here 243 | const QMatrix &matrix() const; | ^~~~~~ src/graphics/vector/beziercurve.cpp:489:66: error: invalid use of incomplete type 'class QPainterPath' 489 | if (isSelected()) painter.drawPath(myCurve.getSimplePath()); | ^ 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 src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp: At global scope: src/graphics/vector/beziercurve.cpp:513:43: error: return type 'class QPainterPath' is incomplete 513 | QPainterPath BezierCurve::getStraightPath() | ^ src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::getStraightPath()': src/graphics/vector/beziercurve.cpp:515:18: error: aggregate 'QPainterPath path' has incomplete type and cannot be defined 515 | QPainterPath path; | ^~~~ src/graphics/vector/beziercurve.cpp: At global scope: src/graphics/vector/beziercurve.cpp:525:41: error: return type 'class QPainterPath' is incomplete 525 | QPainterPath BezierCurve::getSimplePath() | ^ src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::getSimplePath()': src/graphics/vector/beziercurve.cpp:527:18: error: aggregate 'QPainterPath path' has incomplete type and cannot be defined 527 | QPainterPath path; | ^~~~ src/graphics/vector/beziercurve.cpp: At global scope: src/graphics/vector/beziercurve.cpp:536:42: error: return type 'class QPainterPath' is incomplete 536 | QPainterPath BezierCurve::getStrokedPath() | ^ src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::getStrokedPath()': src/graphics/vector/beziercurve.cpp:538:34: error: invalid use of incomplete type 'class QPainterPath' 538 | return getStrokedPath( width ); | ^ 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 src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp: At global scope: src/graphics/vector/beziercurve.cpp:541:53: error: return type 'class QPainterPath' is incomplete 541 | QPainterPath BezierCurve::getStrokedPath(qreal width) | ^ src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::getStrokedPath(qreal)': src/graphics/vector/beziercurve.cpp:543:38: error: invalid use of incomplete type 'class QPainterPath' 543 | return getStrokedPath(width, true); | ^ 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 src/graphics/vector/beziercurve.h:20, from src/graphics/vector/beziercurve.cpp:18: /usr/include/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of 'class QPainterPath' 54 | class QPainterPath; | ^~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp: At global scope: src/graphics/vector/beziercurve.cpp:547:71: error: return type 'class QPainterPath' is incomplete 547 | QPainterPath BezierCurve::getStrokedPath(qreal width, bool usePressure) | ^ src/graphics/vector/beziercurve.cpp: In member function 'void BezierCurve::getStrokedPath(qreal, bool)': src/graphics/vector/beziercurve.cpp:549:18: error: aggregate 'QPainterPath path' has incomplete type and cannot be defined 549 | QPainterPath path; | ^~~~ src/graphics/vector/beziercurve.cpp: In member function 'QRectF BezierCurve::getBoundingRect()': src/graphics/vector/beziercurve.cpp:620:25: error: invalid use of 'void' 620 | return getSimplePath().boundingRect(); | ~~~~~~~~~~~~~^~ src/graphics/vector/beziercurve.cpp:620:28: error: expected ';' before 'boundingRect' 620 | return getSimplePath().boundingRect(); | ^~~~~~~~~~~~ | ; src/graphics/vector/beziercurve.cpp:620:28: error: 'boundingRect' was not declared in this scope; did you mean 'getBoundingRect'? 620 | return getSimplePath().boundingRect(); | ^~~~~~~~~~~~ | getBoundingRect src/graphics/vector/beziercurve.cpp: In member function 'bool BezierCurve::intersects(QPointF, qreal)': src/graphics/vector/beziercurve.cpp:809:24: error: invalid use of 'void' 809 | if ( getStrokedPath(distance, false).contains(point) ) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ src/graphics/vector/beziercurve.cpp:809:42: error: expected ')' before 'contains' 809 | if ( getStrokedPath(distance, false).contains(point) ) | ~ ^~~~~~~~ | ) src/graphics/vector/beziercurve.cpp:806:38: warning: unused parameter 'point' [-Wunused-parameter] 806 | bool BezierCurve::intersects(QPointF point, qreal distance) | ~~~~~~~~^~~~~ src/graphics/vector/beziercurve.cpp: In member function 'bool BezierCurve::intersects(QRectF)': src/graphics/vector/beziercurve.cpp:820:23: error: invalid use of 'void' 820 | if ( getSimplePath().controlPointRect().intersects(rectangle)) | ~~~~~~~~~~~~~^~ src/graphics/vector/beziercurve.cpp:820:26: error: expected ')' before 'controlPointRect' 820 | if ( getSimplePath().controlPointRect().intersects(rectangle)) | ~ ^~~~~~~~~~~~~~~~ | ) make[1]: *** [Makefile:1076: .obj/beziercurve.o] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/bezierarea.o src/graphics/vector/bezierarea.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/recentfilemenu.o src/interface/recentfilemenu.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/flowlayout.o src/interface/flowlayout.cpp src/interface/flowlayout.cpp: In member function 'virtual Qt::Orientations FlowLayout::expandingDirections() const': src/interface/flowlayout.cpp:127:12: warning: 'constexpr QFlags::QFlags(QFlags::Zero) [with Enum = Qt::Orientation; QFlags::Zero = int QFlags::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations] 127 | return nullptr; | ^~~~~~~ In file included from /usr/include/qt5/QtCore/qglobal.h:1302, from /usr/include/qt5/QtCore/QtCore:4, from /usr/include/qt5/QtWidgets/QtWidgetsDepends:3, from /usr/include/qt5/QtWidgets/QtWidgets:3, from src/interface/flowlayout.cpp:51: /usr/include/qt5/QtCore/qflags.h:123:80: note: declared here 123 | QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {} | ^~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/editor.o src/interface/editor.cpp In file included from src/interface/editor.cpp:39: src/interface/backupelement.h: In constructor 'BackupVectorElement::BackupVectorElement(VectorImage*)': src/interface/backupelement.h:58:59: warning: implicitly-declared 'VectorImage& VectorImage::operator=(const VectorImage&)' is deprecated [-Wdeprecated-copy] 58 | BackupVectorElement(VectorImage* vi) { vectorImage = *vi; } | ^~ In file included from src/interface/editor.cpp:33: src/graphics/vector/vectorimage.h:37:5: note: because 'VectorImage' has user-provided 'VectorImage::VectorImage(const VectorImage&)' 37 | VectorImage(const VectorImage&); | ^~~~~~~~~~~ src/graphics/vector/vectorimage.h: In member function 'VectorImage& VectorImage::operator=(const VectorImage&)': src/graphics/vector/vectorimage.h:33:7: warning: implicitly-declared 'KeyFrame& KeyFrame::operator=(const KeyFrame&)' is deprecated [-Wdeprecated-copy] 33 | class VectorImage : public KeyFrame | ^~~~~~~~~~~ In file included from src/graphics/vector/vectorimage.h:26, from src/interface/editor.cpp:33: src/structure/keyframe.h:33:14: note: because 'KeyFrame' has user-provided 'KeyFrame::KeyFrame(const KeyFrame&)' 33 | explicit KeyFrame(const KeyFrame& k2); | ^~~~~~~~ In file included from src/interface/editor.cpp:39: src/interface/backupelement.h: In constructor 'BackupVectorElement::BackupVectorElement(VectorImage*)': src/interface/backupelement.h:58:59: note: synthesized method 'VectorImage& VectorImage::operator=(const VectorImage&)' first required here 58 | BackupVectorElement(VectorImage* vi) { vectorImage = *vi; } | ^~ src/interface/backupelement.h: In constructor 'BackupSoundElement::BackupSoundElement(SoundClip*)': src/interface/backupelement.h:70:52: warning: implicitly-declared 'SoundClip& SoundClip::operator=(const SoundClip&)' is deprecated [-Wdeprecated-copy] 70 | BackupSoundElement(SoundClip* sound) { clip = *sound; } | ^~~~~ In file included from src/interface/editor.cpp:35: src/structure/soundclip.h:31:14: note: because 'SoundClip' has user-provided 'SoundClip::SoundClip(const SoundClip&)' 31 | explicit SoundClip(const SoundClip&); | ^~~~~~~~~ src/structure/soundclip.h: In member function 'SoundClip& SoundClip::operator=(const SoundClip&)': src/structure/soundclip.h:27:7: warning: implicitly-declared 'KeyFrame& KeyFrame::operator=(const KeyFrame&)' is deprecated [-Wdeprecated-copy] 27 | class SoundClip : public KeyFrame | ^~~~~~~~~ In file included from src/graphics/vector/vectorimage.h:26, from src/interface/editor.cpp:33: src/structure/keyframe.h:33:14: note: because 'KeyFrame' has user-provided 'KeyFrame::KeyFrame(const KeyFrame&)' 33 | explicit KeyFrame(const KeyFrame& k2); | ^~~~~~~~ In file included from src/interface/editor.cpp:39: src/interface/backupelement.h: In constructor 'BackupSoundElement::BackupSoundElement(SoundClip*)': src/interface/backupelement.h:70:52: note: synthesized method 'SoundClip& SoundClip::operator=(const SoundClip&)' first required here 70 | BackupSoundElement(SoundClip* sound) { clip = *sound; } | ^~~~~ src/interface/editor.cpp: In member function 'virtual void BackupVectorElement::restore(Editor*)': src/interface/editor.cpp:399:82: warning: implicitly-declared 'VectorImage& VectorImage::operator=(const VectorImage&)' is deprecated [-Wdeprecated-copy] 399 | *pVectorImage->getLastVectorImageAtFrame(this->frame, 0) = this->vectorImage; // restore the image | ^~~~~~~~~~~ In file included from src/interface/editor.cpp:33: src/graphics/vector/vectorimage.h:37:5: note: because 'VectorImage' has user-provided 'VectorImage::VectorImage(const VectorImage&)' 37 | VectorImage(const VectorImage&); | ^~~~~~~~~~~ src/interface/editor.cpp: In member function 'void Editor::copy()': src/interface/editor.cpp:526:116: warning: implicitly-declared 'VectorImage& VectorImage::operator=(const VectorImage&)' is deprecated [-Wdeprecated-copy] 526 | g_clipboardVectorImage = *((static_cast(layer))->getLastVectorImageAtFrame(currentFrame(), 0)); // copy the image | ^ In file included from src/interface/editor.cpp:33: src/graphics/vector/vectorimage.h:37:5: note: because 'VectorImage' has user-provided 'VectorImage::VectorImage(const VectorImage&)' 37 | VectorImage(const VectorImage&); | ^~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -std=c++11 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -fPIC -std=gnu++11 -D_REENTRANT -Wall -Wextra -DAPP_VERSION=\"0.6.4\" -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/graphics -Isrc/graphics/bitmap -Isrc/graphics/vector -Isrc/interface -Isrc/structure -Isrc/tool -Isrc/util -Iui -Isrc/managers -Isrc/external -Isrc/external/linux -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtMultimedia -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/vectorimage.o src/graphics/vector/vectorimage.cpp make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pencil2d-v0.6.4/core_lib' make: *** [Makefile:49: sub-core_lib-make_first-ordered] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ty5r0T (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.ty5r0T (%build) I: [iurt_root_command] ERROR: chroot