[Debian-astro-maintainers] Bug#975171: dpuser: FTBFS: QFitsWidgets/QFitsWidgetContour.cpp:630:113: error: return type ‘class QPainterPath’ is incomplete

Lucas Nussbaum lucas at debian.org
Thu Nov 19 09:34:38 GMT 2020


Source: dpuser
Version: 4.0+dfsg-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 -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>/QFitsView=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DHAS_VTK -DDPQT -DHAS_PGPLOT -DNO_READLINE -DLINUX -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_DATAVISUALIZATION_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../utils -I../libfits -I../include -I../dpuser -I../dpuser/parser -I../QFitsView/QFitsBuffers -I../QFitsView/QFitsWidgets -I../QFitsView/QFitsViews -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtDataVisualization -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o QFitsWidgetContour.o QFitsWidgets/QFitsWidgetContour.cpp
> In file included from ../dpuser/functions.h:9,
>                  from ../dpuser/dpuser_utils.h:51,
>                  from ../libfits/fits.h:30,
>                  from ./QFitsMainWindow.h:20,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:6:
> ../dpuser/dpuserAST.h: In member function ‘virtual ASTNode* ASTNode::append(ASTNode*)’:
> ../dpuser/dpuserAST.h:36:40: warning: no return statement in function returning non-void [-Wreturn-type]
>    36 |   virtual ASTNode *append(ASTNode *) { }
>       |                                        ^
> ../dpuser/dpuserAST.h: In member function ‘virtual ASTNode* ASTNode::append(std::string)’:
> ../dpuser/dpuserAST.h:37:49: warning: no return statement in function returning non-void [-Wreturn-type]
>    37 |   virtual ASTNode *append(std::string option) { }
>       |                                                 ^
> ../dpuser/dpuserAST.h:37:39: warning: unused parameter ‘option’ [-Wunused-parameter]
>    37 |   virtual ASTNode *append(std::string option) { }
>       |                           ~~~~~~~~~~~~^~~~~~
> In file included from ../dpuser/functions.h:9,
>                  from ../dpuser/dpuser_utils.h:51,
>                  from ../libfits/fits.h:30,
>                  from ./QFitsMainWindow.h:20,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:6:
> ../dpuser/dpuserAST.h: In destructor ‘virtual functionNode::~functionNode()’:
> ../dpuser/dpuserAST.h:244:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ASTNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>   244 |  virtual ~functionNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); }
>       |                                            ~~^~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In destructor ‘virtual procedureNode::~procedureNode()’:
> ../dpuser/dpuserAST.h:258:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ASTNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>   258 |     virtual ~procedureNode() { for (int i = 0; i < args.size(); i++) delete args.at(i); }
>       |                                                ~~^~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In constructor ‘statementNode::statementNode(ASTNode*)’:
> ../dpuser/dpuserAST.h:272:6: warning: ‘statementNode::id’ will be initialized after [-Wreorder]
>   272 |  int id;
>       |      ^~
> ../dpuser/dpuserAST.h:271:11: warning:   ‘ASTNode* statementNode::stmt’ [-Wreorder]
>   271 |  ASTNode *stmt = NULL;
>       |           ^~~~
> ../dpuser/dpuserAST.h:273:2: warning:   when initialized here [-Wreorder]
>   273 |  statementNode(ASTNode *s) : id(0), stmt(s) { }
>       |  ^~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In destructor ‘virtual listNode::~listNode()’:
> ../dpuser/dpuserAST.h:284:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ASTNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>   284 |  virtual ~listNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); }
>       |                                        ~~^~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In destructor ‘virtual rangeNode::~rangeNode()’:
> ../dpuser/dpuserAST.h:295:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<ASTNode*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
>   295 |     virtual ~rangeNode() { for (int i = 0; i < list.size(); i++) delete list.at(i); }
>       |                                            ~~^~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In constructor ‘extractrangeNode::extractrangeNode(ASTNode*, ASTNode*)’:
> ../dpuser/dpuserAST.h:310:14: warning: ‘extractrangeNode::argument’ will be initialized after [-Wreorder]
>   310 |     ASTNode *argument;
>       |              ^~~~~~~~
> ../dpuser/dpuserAST.h:309:14: warning:   ‘ASTNode* extractrangeNode::range’ [-Wreorder]
>   309 |     ASTNode *range;
>       |              ^~~~~
> ../dpuser/dpuserAST.h:311:5: warning:   when initialized here [-Wreorder]
>   311 |     extractrangeNode(ASTNode *arg, ASTNode *newrange) : argument(arg), range(newrange) { }
>       |     ^~~~~~~~~~~~~~~~
> ../dpuser/dpuserAST.h: In constructor ‘forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*, ASTNode*)’:
> ../dpuser/dpuserAST.h:374:45: warning: ‘forloopNode::change’ will be initialized after [-Wreorder]
>   374 |  ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL;
>       |                                             ^~~~~~
> ../dpuser/dpuserAST.h:374:34: warning:   ‘ASTNode* forloopNode::commands’ [-Wreorder]
>   374 |  ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL;
>       |                                  ^~~~~~~~
> ../dpuser/dpuserAST.h:375:2: warning:   when initialized here [-Wreorder]
>   375 |  forloopNode(ASTNode *s, ASTNode *c, ASTNode *e, ASTNode *co) : start(s), check(c), change(e), commands(co) { }
>       |  ^~~~~~~~~~~
> ../dpuser/dpuserAST.h: In constructor ‘forloopNode::forloopNode(ASTNode*, ASTNode*, ASTNode*)’:
> ../dpuser/dpuserAST.h:374:61: warning: ‘forloopNode::limit’ will be initialized after [-Wreorder]
>   374 |  ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL;
>       |                                                             ^~~~~
> ../dpuser/dpuserAST.h:374:34: warning:   ‘ASTNode* forloopNode::commands’ [-Wreorder]
>   374 |  ASTNode *start, *check = NULL, *commands, *change = NULL, *limit = NULL;
>       |                                  ^~~~~~~~
> ../dpuser/dpuserAST.h:376:2: warning:   when initialized here [-Wreorder]
>   376 |  forloopNode(ASTNode *s, ASTNode *c, ASTNode *co) : start(s), limit(c), commands(co) { }
>       |  ^~~~~~~~~~~
> ../dpuser/dpuserAST.h: In member function ‘virtual dpuserType userprocedureNode::evaluate()’:
> ../dpuser/dpuserAST.h:403:44: warning: no return statement in function returning non-void [-Wreturn-type]
>   403 |  dpuserType evaluate() { body->evaluate(); }
>       |                                            ^
> In file included from ./QFitsMainWindow.h:20,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:6:
> ../libfits/fits.h: In constructor ‘FitsIndexRef::FitsIndexRef(const Fits*, const INDEX&)’:
> ../libfits/fits.h:161:86: warning: implicitly-declared ‘INDEX& INDEX::operator=(const INDEX&)’ is deprecated [-Wdeprecated-copy]
>   161 |  FitsIndexRef(const Fits *source, const INDEX &I) { parent = (Fits *)source; index = I; }
>       |                                                                                      ^
> In file included from ./QFitsMainWindow.h:20,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:6:
> ../libfits/fits.h:120:2: note: because ‘INDEX’ has user-provided ‘INDEX::INDEX(const INDEX&)’
>   120 |  INDEX(const INDEX &I) { X = I.x(); Y = I.y(); Z = I.z(); N = I.n(); }
>       |  ^~~~~
> In file included from ../QFitsView/QFitsBuffers/QFitsSingleBuffer.h:5,
>                  from QFitsWidgets/QFitsWidgetContour.h:11,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:8:
> ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h: In member function ‘virtual void QFitsBaseBuffer::setCubeMode(dpCubeMode, bool)’:
> ../QFitsView/QFitsBuffers/QFitsBaseBuffer.h:87:52: warning: unused parameter ‘allSB’ [-Wunused-parameter]
>    87 |     virtual void    setCubeMode(dpCubeMode m, bool allSB = false)  { cubeMode = m; }
>       |                                               ~~~~~^~~~~~~~~~~~~
> In file included from QFitsWidgets/QFitsWidgetContour.cpp:18:
> ./resources/action_stop.xpm: At global scope:
> ./resources/action_stop.xpm:4:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     4 | "16 16 32 1",
>       | ^~~~~~~~~~~~
> ./resources/action_stop.xpm:5:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     5 | "  c #591A1A",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:6:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     6 | ". c #5F3F3F",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:7:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     7 | "X c #6A3838",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:8:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     8 | "o c #792727",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:9:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     9 | "O c #674242",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:10:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    10 | "+ c #7A4646",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:11:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    11 | "@ c #852F2F",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:12:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    12 | "# c #8B5C5C",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:13:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    13 | "$ c #936D6D",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:14:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    14 | "% c #D83B3B",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:15:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    15 | "& c #D45353",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:16:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    16 | "* c #D75555",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:17:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    17 | "= c #D85656",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:18:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    18 | "- c #DE5E5E",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:19:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    19 | "; c #F15F5F",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:20:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    20 | ": c #E16363",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:21:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    21 | "> c #E66A6A",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:22:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    22 | ", c #E86F6F",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:23:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    23 | "< c #EB7474",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:24:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    24 | "1 c #ED7777",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:25:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    25 | "2 c #FD6565",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:26:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    26 | "3 c #FE6A6A",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:27:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    27 | "4 c #FF7878",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:28:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    28 | "5 c #988C8C",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:29:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    29 | "6 c #FC9595",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:30:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    30 | "7 c #FEA6A6",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:31:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    31 | "8 c #F6B4B4",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:32:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    32 | "9 c #FFC9C9",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:33:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    33 | "0 c #FED8D8",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:34:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    34 | "q c #FDFDFD",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:35:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    35 | "w c gray100",
>       | ^~~~~~~~~~~~~
> ./resources/action_stop.xpm:36:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    36 | "e c None",
>       | ^~~~~~~~~~
> ./resources/action_stop.xpm:38:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    38 | "eeeewwwwwwweeeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:39:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    39 | "eeew+555$$+weeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:40:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    40 | "eew#0997666 at weee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:41:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    41 | "ew#011<<,,>4 at wee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:42:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    42 | "wO011<<,,>>:4 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:43:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    43 | "wO8<<w,,%w::4Xwe",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:44:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    44 | "wO8,,,w%w4::3Xwe",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:45:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    45 | "wO8>>>%w4::-3 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:46:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    46 | "wO8>:%w4w---3 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:47:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    47 | "wO8::w4--w--3 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:48:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    48 | "wO6*******=&3 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:49:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    49 | "ew.1*&&&&&&3owee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:50:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    50 | "eew.<2;;;;2owwee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:51:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    51 | "eeewX at ooo@ wweee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:52:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    52 | "eeeewwwwwwweeeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/action_stop.xpm:53:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    53 | "eeeeeeeeeeeeeeee"
>       | ^~~~~~~~~~~~~~~~~~
> In file included from QFitsWidgets/QFitsWidgetContour.cpp:19:
> ./resources/icon_accept.xpm:4:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     4 | "16 16 32 1",
>       | ^~~~~~~~~~~~
> ./resources/icon_accept.xpm:5:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     5 | "  c #36591A",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:6:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     6 | ". c #4C603C",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:7:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     7 | "X c #4B702E",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:8:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     8 | "o c #526742",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:9:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>     9 | "O c #5D7A46",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:10:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    10 | "+ c #52822C",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:11:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    11 | "@ c #69B83E",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:12:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    12 | "# c #718B5C",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:13:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    13 | "$ c #7E936D",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:14:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    14 | "% c #71BF44",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:15:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    15 | "& c #76C347",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:16:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    16 | "* c #7ED547",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:17:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    17 | "= c #80CB4F",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:18:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    18 | "- c #83CD53",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:19:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    19 | "; c #80D948",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:20:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    20 | ": c #8BD258",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:21:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    21 | "> c #8BCE60",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:22:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    22 | ", c #91D069",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:23:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    23 | "< c #89E44C",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:24:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    24 | "1 c #8CE550",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:25:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    25 | "2 c #93E657",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:26:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    26 | "3 c #A4DA77",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:27:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    27 | "4 c #A8E577",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:28:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    28 | "5 c #91988C",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:29:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    29 | "6 c #B3DD96",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:30:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    30 | "7 c #C2E6A9",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:31:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    31 | "8 c #CDE6B9",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:32:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    32 | "9 c #D4EDC5",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:33:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    33 | "0 c #ECF7E5",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:34:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    34 | "q c #F9FCF7",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:35:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    35 | "w c gray100",
>       | ^~~~~~~~~~~~~
> ./resources/icon_accept.xpm:36:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    36 | "e c None",
>       | ^~~~~~~~~~
> ./resources/icon_accept.xpm:38:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    38 | "eeeewwwwwwweeeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:39:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    39 | "eeewO555$$Oweeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:40:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    40 | "eew#8874444+weee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:41:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    41 | "ew#8::::--=2+wee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:42:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    42 | "wo8:---==,8>2 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:43:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    43 | "wo6:--==,0w,2Xwe",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:44:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    44 | "wo6---=>0w9-1Xwe",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:45:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    45 | "wo6>90,9w6%&1 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:46:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    46 | "wo6,7q0w6%%&1 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:47:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    47 | "wo6&&,06%%%%< we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:48:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    48 | "wo3@&&%%%%@@1 we",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:49:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    49 | "ew.:%@@@@@@<Xwee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:50:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    50 | "eew.:<***;<Xwqee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:51:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    51 | "eeew.+++++ wweee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:52:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    52 | "eeeewwwwwwweeeee",
>       | ^~~~~~~~~~~~~~~~~~
> ./resources/icon_accept.xpm:53:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
>    53 | "eeeeeeeeeeeeeeee"
>       | ^~~~~~~~~~~~~~~~~~
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘virtual void EscLineEdit::resizeEvent(QResizeEvent*)’:
> QFitsWidgets/QFitsWidgetContour.cpp:70:45: warning: unused parameter ‘r’ [-Wunused-parameter]
>    70 | void EscLineEdit::resizeEvent(QResizeEvent *r) {
>       |                               ~~~~~~~~~~~~~~^
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘virtual void dpContour::paintEvent(QPaintEvent*)’:
> QFitsWidgets/QFitsWidgetContour.cpp:102:84: warning: ‘QStringList QString::split(const QString&, QString::SplitBehavior, Qt::CaseSensitivity) const’ is deprecated: Use Qt::SplitBehavior variant instead [-Wdeprecated-declarations]
>   102 |         QStringList l = myParent->levels->text().split(",", QString::SkipEmptyParts);
>       |                                                                                    ^
> 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/qdialog.h:44,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qmessagebox.h:45,
>                  from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QMessageBox:1,
>                  from QFitsWidgets/QFitsWidgetContour.cpp:1:
> /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:604:17: note: declared here
>   604 |     QStringList split(const QString &sep, SplitBehavior behavior,
>       |                 ^~~~~
> QFitsWidgets/QFitsWidgetContour.cpp:98:41: warning: unused parameter ‘e’ [-Wunused-parameter]
>    98 | void dpContour::paintEvent(QPaintEvent *e) {
>       |                            ~~~~~~~~~~~~~^
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘virtual void dpContour::enterEvent(QEvent*)’:
> QFitsWidgets/QFitsWidgetContour.cpp:298:36: warning: unused parameter ‘e’ [-Wunused-parameter]
>   298 | void dpContour::enterEvent(QEvent *e) {
>       |                            ~~~~~~~~^
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘virtual void dpContour::leaveEvent(QEvent*)’:
> QFitsWidgets/QFitsWidgetContour.cpp:303:37: warning: unused parameter ‘e’ [-Wunused-parameter]
>   303 | void dpContour::leaveEvent (QEvent *e) {
>       |                             ~~~~~~~~^
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘virtual void QFitsWidgetContour::resizeEvent(QResizeEvent*)’:
> QFitsWidgets/QFitsWidgetContour.cpp:386:52: warning: unused parameter ‘e’ [-Wunused-parameter]
>   386 | void QFitsWidgetContour::resizeEvent(QResizeEvent *e) {
>       |                                      ~~~~~~~~~~~~~~^
> QFitsWidgets/QFitsWidgetContour.cpp: In member function ‘void QFitsWidgetContour::setScaling(int)’:
> QFitsWidgets/QFitsWidgetContour.cpp:437:41: warning: unused parameter ‘scaling’ [-Wunused-parameter]
>   437 | void QFitsWidgetContour::setScaling(int scaling) {
>       |                                     ~~~~^~~~~~~
> QFitsWidgets/QFitsWidgetContour.cpp: At global scope:
> QFitsWidgets/QFitsWidgetContour.cpp:630:113: error: return type ‘class QPainterPath’ is incomplete
>   630 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) {
>       |                                                                                                                 ^
> QFitsWidgets/QFitsWidgetContour.cpp: In function ‘void dpCN01(Fits&, int, int, int, int, int, int, double, int, int, int)’:
> QFitsWidgets/QFitsWidgetContour.cpp:633:18: error: aggregate ‘QPainterPath plot’ has incomplete type and cannot be defined
>   633 |     QPainterPath plot;
>       |                  ^~~~
> QFitsWidgets/QFitsWidgetContour.cpp:630:34: warning: unused parameter ‘MX’ [-Wunused-parameter]
>   630 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) {
>       |                              ~~~~^~
> QFitsWidgets/QFitsWidgetContour.cpp:630:42: warning: unused parameter ‘MY’ [-Wunused-parameter]
>   630 | QPainterPath dpCN01(Fits &Z, int MX, int MY, int IA, int IB, int JA, int JB, double Z0, int IS, int JS, int SDIR) {
>       |                                      ~~~~^~
> QFitsWidgets/QFitsWidgetContour.cpp: In function ‘void dpPGCNSC(Fits&, int, int, int, int, int, int, double, QPainter&)’:
> QFitsWidgets/QFitsWidgetContour.cpp:762:18: error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
>   762 |     QPainterPath path;
>       |                  ^~~~
> QFitsWidgets/QFitsWidgetContour.cpp:761:24: warning: unused variable ‘P’ [-Wunused-variable]
>   761 |     double Z1, Z2, Z3, P, P1, P2;
>       |                        ^
> QFitsWidgets/QFitsWidgetContour.cpp:761:27: warning: unused variable ‘P1’ [-Wunused-variable]
>   761 |     double Z1, Z2, Z3, P, P1, P2;
>       |                           ^~
> QFitsWidgets/QFitsWidgetContour.cpp:761:31: warning: unused variable ‘P2’ [-Wunused-variable]
>   761 |     double Z1, Z2, Z3, P, P1, P2;
>       |                               ^~
> QFitsWidgets/QFitsWidgetContour.cpp: In function ‘void dpPGCONX(Fits*, Fits&, QPainter&)’:
> QFitsWidgets/QFitsWidgetContour.cpp:849:46: warning: unused variable ‘LS’ [-Wunused-variable]
>   849 |     int NNX,NNY, KX,KY, KI,KJ, IA,IB, JA,JB, LS, PX, PY;
>       |                                              ^~
> make[3]: *** [qfitsview.mk:1643: QFitsWidgetContour.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/11/19/dpuser_4.0+dfsg-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-astro-maintainers mailing list