[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#812001: smokekde: FTBFS with GCC 6: deleted function



Package: smokekde
Version: 4:4.14.3-1
Severity: important
User: debian-gcc@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
...
> /usr/bin/c++  -fPIC -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 -Wno-deprecated-declarations -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -Wl,-z,relro -Wl,--as-needed -shared -Wl,-soname,libsmokesolid.so.3 -o ../lib/libsmokesolid.so.3.0.0 CMakeFiles/smokesolid.dir/smokedata.o CMakeFiles/smokesolid.dir/x_1.o CMakeFiles/smokesolid.dir/x_2.o CMakeFiles/smokesolid.dir/x_3.o CMakeFiles/smokesolid.dir/x_4.o CMakeFiles/smokesolid.dir/x_5.o CMakeFiles/smokesolid.dir/x_6.o CMakeFiles/smokesolid.dir/x_7.o CMakeFiles/smokesolid.dir/x_8.o CMakeFiles/smokesolid.dir/x_9.o CMakeFiles/smokesolid.dir/x_10.o /usr/lib/x86_64-linux-gnu/libQtCore.so /usr/lib/x86_64-linux-gnu/libQtNetwork.so /usr/lib/x86_64-linux-gnu/libQtGui.
> so /usr/lib/x86_64-linux-gnu/libQtXml.so /usr/lib/x86_64-linux-gnu/libQtDBus.so /usr/lib/libsolid.so.4.14.14 -lsmokeqtcore -lsmokebase 
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/solid && /usr/bin/cmake -E cmake_symlink_library ../lib/libsmokesolid.so.3.0.0 ../lib/libsmokesolid.so.3 ../lib/libsmokesolid.so
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 18%] Built target smokesolid
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/nepomuk/x_8.cpp:12:7: error: deleted function 'virtual __smokenepomuk::x_Nepomuk__ResourceManager::~x_Nepomuk__ResourceManager()'
>  class x_Nepomuk__ResourceManager : public Nepomuk::ResourceManager {
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> In file included from /<<PKGBUILDDIR>>/nepomuk/nepomuk_includes.h:23:0,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/nepomuk/x_8.cpp:2:
> /usr/include/nepomuk/resourcemanager.h:278:9: error: overriding non-deleted function 'virtual Nepomuk::ResourceManager::~ResourceManager()'
>          ~ResourceManager();
>          ^
> 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/nepomuk/x_8.cpp:12:7: note: 'virtual __smokenepomuk::x_Nepomuk__ResourceManager::~x_Nepomuk__ResourceManager()' is implicitly deleted because the default definition would be ill-formed:
>  class x_Nepomuk__ResourceManager : public Nepomuk::ResourceManager {
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/nepomuk/x_8.cpp:12:7: error: 'virtual Nepomuk::ResourceManager::~ResourceManager()' is private within this context
> In file included from /<<PKGBUILDDIR>>/nepomuk/nepomuk_includes.h:23:0,
>                  from /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/nepomuk/x_8.cpp:2:
> /usr/include/nepomuk/resourcemanager.h:278:9: note: declared private here
>          ~ResourceManager();
>          ^
> 
> nepomuk/CMakeFiles/smokenepomuk.dir/build.make:292: recipe for target 'nepomuk/CMakeFiles/smokenepomuk.dir/x_8.o' failed
> make[3]: *** [nepomuk/CMakeFiles/smokenepomuk.dir/x_8.o] Error 1

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


Reply to: