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

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:27:45 UTC 2016


Package: hupnp
Version: 1.0.0-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
...
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -fPIC -DH_BUILD_UPNP_CORE_LIB -DDEBUG -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iinclude -Ilib/qtsoap-2.7-opensource/src -Iobj -o obj/moc_hdevicehost_ssdp_handler_p.o obj/moc_hdevicehost_ssdp_handler_p.cpp
> src/devicehosting/devicehost/hservermodel_creator_p.cpp: In member function 'Herqq::Upnp::HServerDevice* Herqq::Upnp::HServerModelCreator::parseDevice(const QDomElement&, Herqq::Upnp::HServerDevice*)':
> src/devicehosting/devicehost/hservermodel_creator_p.cpp:496:16: error: cannot convert 'bool' to 'Herqq::Upnp::HServerDevice*' in return
>          return false;
>                 ^~~~~
> 
> src/devicehosting/devicehost/hservermodel_creator_p.cpp:563:24: error: cannot convert 'bool' to 'Herqq::Upnp::HServerDevice*' in return
>                  return false;
>                         ^~~~~
> 
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -fPIC -DH_BUILD_UPNP_CORE_LIB -DDEBUG -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iinclude -Ilib/qtsoap-2.7-opensource/src -Iobj -o obj/moc_hdevicehost_http_server_p.o obj/moc_hdevicehost_http_server_p.cpp
> g++ -c -m64 -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -fPIC -DH_BUILD_UPNP_CORE_LIB -DDEBUG -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Iinclude -Ilib/qtsoap-2.7-opensource/src -Iobj -o obj/moc_hevent_subscriber_p.o obj/moc_hevent_subscriber_p.cpp
> Makefile.src:1328: recipe for target 'obj/hservermodel_creator_p.o' failed
> make[3]: *** [obj/hservermodel_creator_p.o] Error 1
> make[3]: *** Waiting for unfinished jobs....

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



More information about the pkg-kde-extras mailing list