Source: merkaartor
Version: 0.18.4+ds-4
Severity: serious
Tags: ftbfs
merkaartor fails to build from source in unstable, A build ends with:
| g++ -c -pipe -g -O2 -fdebug-prefix-map=/<>=.
-fstack-protector-strong -Wformat -Werror=format-security
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include/gdal -g -O2 -fdebug-prefix-map=/<>=.
-fstack-protector-strong -Wformat -Werror=format-security
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2
-std=gnu++11 -frtti -Wall -Wextra -Wno-reorder -D_REENTRANT -fPIC
-DVERSION=0.18.4 -DREVISION=0.18.4-64bit -DPRODUCT=Merkaartor -DUSE_LIBPROXY
-D_TTY_POSIX_ -DUSE_GPS -DUSE_GPSD_LIB
-DPLUGINS_DIR=/usr/lib/merkaartor/plugins -DSHARE_DIR=/usr/share/merkaartor
-DTRANSDIR_MERKAARTOR=/usr/share/merkaartor/translations
-DTRANSDIR_SYSTEM=/usr/share/qt5/translations/ -DGEOIMAGE -DQT_NO_DEBUG
-DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB
-DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I.
-I../3rdparty/qtsingleapplication-2.6_1-opensource/src -I. -I../include
-I../interfaces -Icommon -IBackend -IPaintStyle -IPaintStyle -IFeatures
-ILayers -IPreferences -ISync -ICommands -IInteractions -IDocks -IQMapControl
-IImportExport -IRender -Iqextserialport -IGPS -ITools -ITagTemplate
-INameFinder -IUtils -IQToolBarDialog -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/QtNetwork
-I/usr/include/x86_64-linux-gnu/qt5/QtXml
-I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -I.
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/Global.o
common/Global.cpp
| In file included from Features/Feature.h:7,
| from Features/Features.h:2,
| from Backend/MemoryBackend.h:4,
| from common/Global.h:19,
| from common/Global.cpp:13:
| common/Coord.h: In function ‘Coord operator/(const Coord&, qreal)’:
| common/Coord.h:95:41: warning: ‘QTextStream&
QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl
[-Wdeprecated-declarations]
|95 | qDebug()<<"Error: divide by 0"< QList::toSet() const [with T =
unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead.
[-Wdeprecated-declarations]
|92 | retList.unite(list.toSet());
| | ^
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52,
| from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtDebug:1,
| from common/Coord.h:9,
| from Features/Feature.h:7,
| from Features/Features.h:2,
| from Backend/MemoryBackend.h:4,
| from common/Global.h:19,
| from common/Global.cpp:13:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here
| 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const
| | ^~~~
| common/Global.cpp:94:53: warning: ‘QSet QList::toSet() const [with T =
unsigned int]’ is deprecated: Use QSet(list.begin(), list.end()) instead.
[-Wdeprecated-declarations]
|94 | retList = tagList[tagKeys.indexOf(k)].toSet();
| | ^
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdebug.h:52,
| from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtDebug:1,
| from common/Coord.h:9,
| from Features/Feature.h:7,
| from Features/Features.h:2,
| from Backend/MemoryBackend.h:4,
| from common/Global.h:19,
| from common/Global.cpp:13:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qset.h:406:30: note: declared here
| 406 | Q_OUTOFLINE_TEMPLATE QSet QList::toSet() const
| | ^~~~
| common/Global.cpp: In function ‘QStringList g_getTagKeyList()’:
| common/Global.cpp:115:26: warning: ‘QSet QList::toSet() const [with T =
QString]’ is deprecated: Use QSet(list.begin(), list.end()) instead.
[-Wdeprecated-declarations]
| 115 | return tagKeys.toSet().toList();
| | ^
| In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/QList:1,
| from common/Global.h:15,
| from common/Global.cpp:13:
| /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:413:13: note: declared here
| 413 | QSet toSet() const;
| | ^
| common/Global.cpp:115:35: warning: ‘QList QSet::toList() const [with T
= QString]’ is deprecated: Use values() instead. [-Wdeprecated-declarations]
| 115 | return tagKeys.toSet().toList();
| |