Package: libkolabxml Version: 1.1.1-3 Severity: important User: [email protected] 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 ... > In file included from /<<PKGBUILDDIR>>/./src/xcalconversions.h:24:0, > from /<<PKGBUILDDIR>>/tests/conversiontest.cpp:4: > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcal.hxx:3006:25: > warning: 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > ::std::auto_ptr< x_kolab_version_type >); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/xsd/cxx/tree/elements.hxx:23, > from > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcal.hxx:61, > from /<<PKGBUILDDIR>>/./src/xcalconversions.h:24, > from /<<PKGBUILDDIR>>/tests/conversiontest.cpp:4: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from /usr/include/qt4/QtTest/qtest.h:46:0, > from /usr/include/qt4/QtTest/QTest:1, > from /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp:21: > /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp: In member function 'void > KolabConversationTest::configurationDeserialationTest()': > /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp:30:5: error: cannot convert > 'boost::shared_ptr<Kolab::Configuration>' to 'bool' for argument '1' to 'bool > QTest::qVerify(bool, const char*, const char*, const char*, int)' > QVERIFY(ptr); > ^ > > In file included from /<<PKGBUILDDIR>>/./src/xcalconversions.h:24:0, > from /<<PKGBUILDDIR>>/tests/conversiontest.cpp:4: > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcal.hxx:3158:10: > warning: 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > ::std::auto_ptr< ::icalendar_2_0::IcalendarType > > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/xsd/cxx/tree/elements.hxx:23, > from > /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/bindings/kolabformat-xcal.hxx:61, > from /<<PKGBUILDDIR>>/./src/xcalconversions.h:24, > from /<<PKGBUILDDIR>>/tests/conversiontest.cpp:4: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp: In member function 'void > KolabConversationTest::noteDeserialationTest()': > /<<PKGBUILDDIR>>/tests/kolabconversationtest.cpp:39:5: error: cannot convert > 'boost::shared_ptr<Kolab::Note>' to 'bool' for argument '1' to 'bool > QTest::qVerify(bool, const char*, const char*, const char*, int)' > QVERIFY(ptr); > ^ > -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

