[Pkg-kde-extras] Bug#811623: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:23:38 UTC 2016


Package: basket
Version: 2.10~beta+git20150905.faa6dce-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/Qt -I/usr/share/qt4/mkspecs/default -I/usr/include/qt4 -I/usr/include/qimageblitz  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -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_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/basketcommon.dir/linklabel.cpp.o -c "/<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/linklabel.cpp"
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/crashhandler.cpp:75:32: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
>                  "Build date: " __DATE__ "\n"
>                                 ^~~~~~~~
> 
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/crashhandler.cpp: In static member function 'static void Crash::crashHandler(int)':
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/crashhandler.cpp:112:55: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
>          ::write(handle, gdb_batch, gdb_batch.length());
>                                                        ^
> 
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/backgroundmanager.cpp: In member function 'QPixmap* BackgroundManager::preview(const QString&)':
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/backgroundmanager.cpp:262:16: error: cannot convert 'bool' to 'QPixmap*' in return
>          return false;
>                 ^~~~~
> 
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/basketview.cpp: In member function 'virtual void BasketView::resizeEvent(QResizeEvent*)':
> /<<BUILDDIR>>/basket-2.10~beta+git20150905.faa6dce/src/basketview.cpp:34:46: warning: unused parameter 'event' [-Wunused-parameter]
>  void BasketView::resizeEvent( QResizeEvent * event )
>                                               ^~~~~
> 
> [ 67%] Building CXX object src/CMakeFiles/basketcommon.dir/note.cpp.o

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



More information about the pkg-kde-extras mailing list