Bug#975160: librecad: FTBFS: lib/engine/lc_splinepoints.cpp:1564:23: error: invalid use of incomplete type ‘class QPainterPath’

Lucas Nussbaum lucas at debian.org
Thu Nov 19 09:35:47 GMT 2020


Source: librecad
Version: 2.1.3-1.2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201119 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> g++ -c -pipe -g -fext-numeric-literals -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.1.3" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I../../generated/librecad/moc -I../../generated/librecad/ui -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../generated/librecad/obj/rs_undo.o lib/engine/rs_undo.cpp
> lib/engine/rs_text.cpp: In member function ‘virtual RS_VectorSolutions RS_Text::getRefPoints() const’:
> lib/engine/rs_text.cpp:432:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>   432 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_entitycontainer.h:32,
>                  from lib/engine/rs_text.h:31,
>                  from lib/engine/rs_text.cpp:30:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In member function ‘virtual RS_VectorSolutions LC_SplinePoints::getRefPoints() const’:
> lib/engine/lc_splinepoints.cpp:704:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>   704 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In function ‘double DrawPatternLine(const std::vector<double>&, int, double, QPainterPath&, RS_Vector&, RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:1564:23: error: invalid use of incomplete type ‘class QPainterPath’
>  1564 |  if(pdPattern[i] < 0) qPath.moveTo(QPointF(p2.x, p2.y));
>       |                       ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1565:7: error: invalid use of incomplete type ‘class QPainterPath’
>  1565 |  else qPath.lineTo(QPointF(p2.x, p2.y));
>       |       ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1588:24: error: invalid use of incomplete type ‘class QPainterPath’
>  1588 |   if(pdPattern[i] < 0) qPath.moveTo(QPointF(p2.x, p2.y));
>       |                        ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1589:8: error: invalid use of incomplete type ‘class QPainterPath’
>  1589 |   else qPath.lineTo(QPointF(p2.x, p2.y));
>       |        ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp: In function ‘double DrawPatternQuad(const std::vector<double>&, int, double, QPainterPath&, RS_Vector&, RS_Vector&, RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:1648:23: error: invalid use of incomplete type ‘class QPainterPath’
>  1648 |  if(pdPattern[i] < 0) qPath.moveTo(QPointF(p2.x, p2.y));
>       |                       ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1652:3: error: invalid use of incomplete type ‘class QPainterPath’
>  1652 |   qPath.quadTo(QPointF(c2.x, c2.y), QPointF(p2.x, p2.y));
>       |   ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1676:24: error: invalid use of incomplete type ‘class QPainterPath’
>  1676 |   if(pdPattern[i] < 0) qPath.moveTo(QPointF(p2.x, p2.y));
>       |                        ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp:1680:4: error: invalid use of incomplete type ‘class QPainterPath’
>  1680 |    qPath.quadTo(QPointF(c2.x, c2.y), QPointF(p2.x, p2.y));
>       |    ^~~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtGui/qbrush.h:49,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtGui/qpalette.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:48,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qaction.h:46,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QAction:1,
>                  from lib/gui/rs_graphicview.h:39,
>                  from lib/engine/lc_splinepoints.cpp:30:
> /usr/include/x86_64-linux-gnu/qt5/QtGui/qmatrix.h:54:7: note: forward declaration of ‘class QPainterPath’
>    54 | class QPainterPath;
>       |       ^~~~~~~~~~~~
> lib/engine/lc_splinepoints.cpp: In member function ‘void LC_SplinePoints::drawPattern(RS_Painter*, RS_GraphicView*, double&, const RS_LineTypePattern*)’:
> lib/engine/lc_splinepoints.cpp:1716:29: error: variable ‘QPainterPath qPath’ has initializer but incomplete type
>  1716 |  QPainterPath qPath(QPointF(vx1.x, vx1.y));
>       |                             ^~~
> lib/engine/lc_splinepoints.cpp: In member function ‘void LC_SplinePoints::drawSimple(RS_Painter*, RS_GraphicView*)’:
> lib/engine/lc_splinepoints.cpp:1816:29: error: variable ‘QPainterPath qPath’ has initializer but incomplete type
>  1816 |  QPainterPath qPath(QPointF(vStart.x, vStart.y));
>       |                             ^~~~~~
> lib/engine/lc_splinepoints.cpp: In member function ‘virtual RS_VectorSolutions LC_SplinePoints::getTangentPoint(const RS_Vector&) const’:
> lib/engine/lc_splinepoints.cpp:2071:19: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  2071 |  if(n < 3) return ret;
>       |                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:2106:11: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  2106 |    return ret;
>       |           ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:2129:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  2129 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In function ‘RS_VectorSolutions getLineLineIntersect(const RS_Vector&, const RS_Vector&, const RS_Vector&, const RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:3049:39: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3049 |  if(fabs(dDet) < RS_TOLERANCE) return ret;
>       |                                       ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3054:32: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3054 |  if(dt < -RS_TOLERANCE) return ret;
>       |                                ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3055:32: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3055 |  if(ds < -RS_TOLERANCE) return ret;
>       |                                ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3056:37: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3056 |  if(dt > 1.0 + RS_TOLERANCE) return ret;
>       |                                     ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3057:37: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3057 |  if(ds > 1.0 + RS_TOLERANCE) return ret;
>       |                                     ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3066:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3066 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In member function ‘RS_VectorSolutions LC_SplinePoints::getLineIntersect(const RS_Vector&, const RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:3075:19: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3075 |  if(n < 2) return ret;
>       |                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3081:20: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3081 |   if(n < 3) return ret;
>       |                    ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3118:11: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3118 |    return ret;
>       |           ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3140:12: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3140 |     return ret;
>       |            ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> g++ -c -pipe -g -fext-numeric-literals -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DDWGSUPPORT -DQC_APPDIR="librecad" -DLC_VERSION="2.1.3" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../libraries/libdxfrw/src -I../../libraries/jwwlib/src -Icmd -Ilib/actions -Ilib/creation -Ilib/debug -Ilib/engine -Ilib/fileio -Ilib/filters -Ilib/generators -Ilib/gui -Ilib/information -Ilib/math -Ilib/modification -Ilib/printing -Iactions -Imain -Itest -Iplugins -Iui -Iui/forms -Iui/generic -I../res -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I../../generated/librecad/moc -I../../generated/librecad/ui -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ../../generated/librecad/obj/rs_undoable.o lib/engine/rs_undoable.cpp
> lib/engine/lc_splinepoints.cpp: In member function ‘RS_VectorSolutions LC_SplinePoints::getSplinePointsIntersect(LC_SplinePoints*)’:
> lib/engine/lc_splinepoints.cpp:3295:19: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3295 |  if(n < 2) return ret;
>       |                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3301:20: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3301 |   if(n < 3) return ret;
>       |                    ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3338:11: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3338 |    return ret;
>       |           ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3360:12: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3360 |     return ret;
>       |            ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In function ‘RS_VectorSolutions getQuadraticLineIntersect(std::vector<double>, const RS_Vector&, const RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:3367:35: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3367 |  if(dQuadCoefs.size() < 3) return ret;
>       |                                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3409:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  3409 |             if(d > 1.0) d = 1.0;
>       |             ^~
> lib/engine/lc_splinepoints.cpp:3410:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  3410 |    ret.push_back(vx1*(1.0 - d) + vx2*d);
>       |    ^~~
> lib/engine/lc_splinepoints.cpp:3414:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3414 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In function ‘void addQuadraticQuadIntersect(RS_VectorSolutions*, std::vector<double>, const RS_Vector&, const RS_Vector&, const RS_Vector&)’:
> lib/engine/lc_splinepoints.cpp:3487:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
>  3487 |             if(d > 1.0) d = 1.0;
>       |             ^~
> lib/engine/lc_splinepoints.cpp:3488:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
>  3488 |    pVS->push_back(GetQuadAtPoint(vx1, vc1, vx2, d));
>       |    ^~~
> lib/engine/lc_splinepoints.cpp: In member function ‘RS_VectorSolutions LC_SplinePoints::getQuadraticIntersect(const RS_Entity*)’:
> lib/engine/lc_splinepoints.cpp:3498:19: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3498 |  if(n < 2) return ret;
>       |                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3507:20: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3507 |   if(n < 3) return ret;
>       |                    ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3544:11: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3544 |    return ret;
>       |           ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3566:12: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3566 |     return ret;
>       |            ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp: In static member function ‘static RS_VectorSolutions LC_SplinePoints::getIntersection(const RS_Entity*, const RS_Entity*)’:
> lib/engine/lc_splinepoints.cpp:3575:51: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3575 |  if(e1->rtti() != RS2::EntitySplinePoints) return ret;
>       |                                                   ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> lib/engine/lc_splinepoints.cpp:3592:9: warning: implicitly-declared ‘RS_VectorSolutions::RS_VectorSolutions(const RS_VectorSolutions&)’ is deprecated [-Wdeprecated-copy]
>  3592 |  return ret;
>       |         ^~~
> In file included from lib/engine/rs_entity.h:33,
>                  from lib/engine/rs_atomicentity.h:31,
>                  from lib/engine/lc_splinepoints.h:29,
>                  from lib/engine/lc_splinepoints.cpp:25:
> lib/engine/rs_vector.h:196:24: note: because ‘RS_VectorSolutions’ has user-provided ‘RS_VectorSolutions RS_VectorSolutions::operator=(const RS_VectorSolutions&)’
>   196 |     RS_VectorSolutions operator = (const RS_VectorSolutions& s);
>       |                        ^~~~~~~~
> In file included from lib/engine/rs_undo.cpp:28:
> main/qc_applicationwindow.h:258:60: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
>   258 |  void createNewDocument(const QString& fileName = QString::null, RS_Document* doc=nullptr);
>       |                                                            ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
>                  from main/mainwindowx.h:4,
>                  from main/qc_applicationwindow.h:30,
>                  from lib/engine/rs_undo.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:949:23: note: declared here
>   949 |     static const Null null;
>       |                       ^~~~
> In file included from lib/engine/rs_undo.cpp:28:
> main/qc_applicationwindow.h:258:60: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
>   258 |  void createNewDocument(const QString& fileName = QString::null, RS_Document* doc=nullptr);
>       |                                                            ^~~~
> In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:47,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmainwindow.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMainWindow:1,
>                  from main/mainwindowx.h:4,
>                  from main/qc_applicationwindow.h:30,
>                  from lib/engine/rs_undo.cpp:28:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:949:23: note: declared here
>   949 |     static const Null null;
>       |                       ^~~~
> make[3]: *** [Makefile:6130: ../../generated/librecad/obj/lc_splinepoints.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/librecad_2.1.3-1.2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list