Bug#811658: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:44:51 UTC 2016


Package: collada-dom
Version: 2.4.4+ds1-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
...
> cd /<<BUILDDIR>>/collada-dom-2.4.4+ds1/obj-x86_64-linux-gnu/dom && /usr/bin/c++   -DDOM_INCLUDE_LIBXML -Dcollada_dom_EXPORTS -I/usr/include/minizip -I/usr/include/libxml2 -I/<<BUILDDIR>>/collada-dom-2.4.4+ds1/dom/include  -Wdate-time -D_FORTIFY_SOURCE=2  -O2 -fPIC   -fno-strict-aliasing -Wall -DUSE_URIPARSER   -DCOLLADA_DOM_SUPPORT141 -DCOLLADA_DOM_SUPPORT150 -DCOLLADA_DOM_DAEFLOAT_IS64 -DCOLLADA_DOM_NAMESPACE -fPIC  -DDOM_DYNAMIC -DDOM_EXPORT -o CMakeFiles/collada-dom.dir/src/modules/stdErrPlugin/stdErrPlugin.cpp.o -c /<<BUILDDIR>>/collada-dom-2.4.4+ds1/dom/src/modules/stdErrPlugin/stdErrPlugin.cpp
> /<<BUILDDIR>>/collada-dom-2.4.4+ds1/dom/src/dae/daeMetaGroup.cpp: In member function 'virtual daeElement* daeMetaGroup::placeElement(daeElement*, daeElement*, daeUInt&, daeInt, daeElement*, daeElement*)':
> /<<BUILDDIR>>/collada-dom-2.4.4+ds1/dom/src/dae/daeMetaGroup.cpp:29:10: error: cannot convert 'bool' to 'daeElement*' in return
>    return false;
>           ^~~~~
> 
> dom/CMakeFiles/collada-dom.dir/build.make:713: recipe for target 'dom/CMakeFiles/collada-dom.dir/src/dae/daeMetaGroup.cpp.o' failed
> make[3]: *** [dom/CMakeFiles/collada-dom.dir/src/dae/daeMetaGroup.cpp.o] Error 1

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



More information about the debian-science-maintainers mailing list