[Pkg-kde-extras] Bug#842715: skrooge: FTBFS with Qt 5.7.1

Lisandro Damián Nicanor Pérez Meyer lisandro at debian.org
Mon Oct 31 14:58:19 UTC 2016


Source: skrooge
Version: 2.4.0-2
Severity: important

Hi! Skrooge FTBFS with Qt 5.7.1. We are about to start the transition
to get 5.7.1 into testing.

The relevant build log part is:

/<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.cpp: In member function 'virtual SKGDocument::SKGModelTemplateList SKGDocument::getDisplaySchemas(const QString&) const':
/<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.cpp:2530:47: error: call of overloaded 'qAsConst(SKGStringListList&)' is ambiguous
         for (const auto& line : qAsConst(lines)) {
                                               ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:43:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstringlist.h:41,
                 from /<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.h:24,
                 from /<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.cpp:22:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1130:58: note: candidate: constexpr typename QtPrivate::QAddConst<T>::Type& qAsConst(T&) [with T = QList<QStringList>; typename QtPrivate::QAddConst<T>::Type = const QList<QStringList>]
 Q_DECL_CONSTEXPR typename QtPrivate::QAddConst<T>::Type &qAsConst(T &t) Q_DECL_NOTHROW { return t; }
                                                          ^~~~~~~~
In file included from /<<PKGBUILDDIR>>/skgbasemodeler/skgerror.h:28:0,
                 from /<<PKGBUILDDIR>>/skgbasemodeler/skgservices.h:31,
                 from /<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.h:30,
                 from /<<PKGBUILDDIR>>/skgbasemodeler/skgdocument.cpp:22:
/<<PKGBUILDDIR>>/skgbasemodeler/skgdefine.h:38:47: note: candidate: constexpr typename QAddConst<T>::Type& qAsConst(T&) [with T = QList<QStringList>; typename QAddConst<T>::Type = const QList<QStringList>]
 Q_DECL_CONSTEXPR typename QAddConst<T>::Type& qAsConst(T& t) Q_DECL_NOTHROW { return t; }

It might be possible that this is not a Qt5-related bug, will try to rebuild against current 5.6 to check.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'buildd-unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)



More information about the pkg-kde-extras mailing list