Package: tagua
Version: 1.0~alpha2-12
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
...
> [ 12%] Building CXX object src/CMakeFiles/tagua.dir/controllers/editposition.o
> [ 13%] Building CXX object src/CMakeFiles/tagua.dir/controllers/entitytoken.o
> /<<PKGBUILDDIR>>/src/controllers/entitytoken.cpp: In member function 'bool
> EntityToken::valid() const':
> /<<PKGBUILDDIR>>/src/controllers/entitytoken.cpp:20:49: error: cannot convert
> 'boost::shared_ptr<Entity>' to 'bool' in return
> bool EntityToken::valid() const { return entity(); }
> ^
>
> src/CMakeFiles/tagua.dir/build.make:222: recipe for target
> 'src/CMakeFiles/tagua.dir/controllers/entitytoken.o' failed
> make[3]: *** [src/CMakeFiles/tagua.dir/controllers/entitytoken.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/BUILD'
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise