[Pkg-kde-extras] Bug#811874: kftpgrabber: FTBFS with GCC 6: no matching function for call to

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:52:37 UTC 2016


Package: kftpgrabber
Version: 0.8.99~svn1214766-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> [ 79%] Building CXX object src/CMakeFiles/kftpgrabber.dir/checksumverifier.cpp.o
> cd "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" && /usr/bin/g++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=25 -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_REENTRANT -D_XOPEN_SOURCE=500 -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src" -I"/<<PKGBUILDDIR>>/src" -I"/<<PKGBUILDDIR>>" -I"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu" -I"/<<PKGBUILDDIR>>/src/misc" -I"/<<PKGBUILDDIR>>/src/widgets" -I/usr/include/KDE -I/usr/include/qt4/phonon -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtHelp -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtDBus -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/q
> t4/mkspecs/default -I/usr/include/qt4  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -O2 -g -DNDEBUG -DQT_NO_DEBUG   -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kftpgrabber.dir/checksumverifier.cpp.o -c "/<<PKGBUILDDIR>>/src/checksumverifier.cpp"
> /<<PKGBUILDDIR>>/src/checksumverifier.cpp: In member function 'void KFTPCore::ChecksumVerifierThread::checkSFV(const QString&, const QString&)':
> /<<PKGBUILDDIR>>/src/checksumverifier.cpp:67:50: error: no matching function for call to 'KUrl::directory(bool)'
>    QString fileDir = KUrl(sfvfile).directory(false);
>                                                   ^
> 
> In file included from /<<PKGBUILDDIR>>/src/checksumverifier.cpp:46:0:
> /usr/include/kurl.h:781:11: note: candidate: QString KUrl::directory(const DirectoryOptions&) const
>    QString directory( const DirectoryOptions& options = IgnoreTrailingSlash ) const;
>            ^~~~~~~~~
> 
> /usr/include/kurl.h:781:11: note:   no known conversion for argument 1 from 'bool' to 'const DirectoryOptions& {aka const QFlags<KUrl::DirectoryOption>&}'

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the pkg-kde-extras mailing list