[Pkg-kde-extras] Bug#812008: partitionmanager: FTBFS with GCC 6: too few arguments to function

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:28:04 UTC 2016


Package: partitionmanager
Version: 1.0.3-2.1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

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
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/g++   -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=30 -DKDE_DEPRECATED_WARNINGS -DLIBPARTED_FS_RESIZE_LIBRARY_SUPPORT -DMAKE_PARTITIONMANAGERPRIVATE_LIB -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/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/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/uuid -I/usr/include/blkid  -g -O2 -fstack-p
> rotector-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 -DNDEBUG -DQT_NO_DEBUG -fPIC   -D'VERSION="1.0.3"' -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fexceptions -UQT_NO_EXCEPTIONS -o CMakeFiles/partitionmanagerprivate.dir/fs/ntfs.cpp.o -c /<<PKGBUILDDIR>>/src/fs/ntfs.cpp
> /<<PKGBUILDDIR>>/src/fs/ntfs.cpp: In member function 'virtual bool FS::ntfs::updateBootSector(Report&, const QString&) const':
> /<<PKGBUILDDIR>>/src/fs/ntfs.cpp:189:8: error: too few arguments to function 'double log(double)'
>     log() << i18nc("@info/plain", "Could not open partition <filename>%1</filename> for writing when trying to update the NTFS boot sector.", deviceNode);
>         ^
> 
> In file included from /usr/include/features.h:361:0,
>                  from /usr/include/string.h:25,
>                  from /usr/include/qt4/QtCore/qbytearray.h:48,
>                  from /usr/include/qt4/QtCore/qstring.h:46,
>                  from /usr/include/qt4/QtCore/qobject.h:48,
>                  from /usr/include/qt4/QtCore/qiodevice.h:46,
>                  from /usr/include/qt4/QtCore/qdatastream.h:46,
>                  from /usr/include/qt4/QtCore/qstringlist.h:46,
>                  from /usr/include/qt4/QtCore/QStringList:1,
>                  from /<<PKGBUILDDIR>>/src/fs/filesystem.h:25,
>                  from /<<PKGBUILDDIR>>/src/fs/ntfs.h:24,
>                  from /<<PKGBUILDDIR>>/src/fs/ntfs.cpp:20:
> /usr/include/x86_64-linux-gnu/bits/mathcalls.h:109:1: note: declared here
>  __MATHCALL_VEC (log,, (_Mdouble_ __x));
>  ^
> 
> /<<PKGBUILDDIR>>/src/fs/ntfs.cpp:195:8: error: too few arguments to function 'double log(double)'
>     log() << i18nc("@info/plain", "Could not seek to position 0x1c on partition <filename>%1</filename> when trying to update the NTFS boot sector.", deviceNode);
>         ^

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



More information about the pkg-kde-extras mailing list