Hey Martin,

Could you also report this upstream[0]? 
The upstream version and the current debian version are already diverging by 
quite a bit
and I don't want to add even more patches on top.

Have you tried building the experimental branch from [1] with gcc6? It's a way 
more recent release
but seems to break some functionality in 0ad.

[0] https://github.com/castano/nvidia-texture-tools
[1] http://anonscm.debian.org/cgit/collab-maint/nvidia-texture-tools.git

January 20 2016 1:21 AM, "Martin Michlmayr" <t...@hpe.com> wrote:
> Package: nvidia-texture-tools
> Version: 2.0.8-1+dfsg-8
> Severity: important
> User: debian-...@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
> 
> ...
> 
>> [ 33%] Building CXX object src/nvimage/CMakeFiles/nvimage.dir/ImageIO.cpp.o
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp: In 
>> function
>> 'nv::FloatImage* nv::ImageIO::loadFloat(const char*)':
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:138:10:
>>  error: cannot
>> convert 'bool' to 'nv::FloatImage*' in return
>> return false;
>> ^~~~~
>> 
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp: In 
>> function 'nv::Image*
>> nv::ImageIO::loadTGA(nv::Stream&)':
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:236:12:
>>  error: cannot
>> convert 'bool' to 'nv::Image*' in return
>> return false;
>> ^~~~~
>> 
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:257:11:
>>  error: cannot
>> convert 'bool' to 'nv::Image*' in return
>> return false;
>> ^~~~~
>> 
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp: In 
>> function 'nv::Image*
>> nv::ImageIO::loadPNG(nv::Stream&)':
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:624:10:
>>  error: cannot
>> convert 'bool' to 'nv::Image*' in return
>> return false;
>> ^~~~~
>> 
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:632:10:
>>  error: cannot
>> convert 'bool' to 'nv::Image*' in return
>> return false;
>> ^~~~~
>> 
>> /<<BUILDDIR>>/nvidia-texture-tools-2.0.8-1+dfsg/src/nvimage/ImageIO.cpp:639:10:
>>  error: cannot
>> convert 'bool' to 'nv::Image*' in return
>> return false;
>> ^~~~~
>> 
>> src/nvimage/CMakeFiles/nvimage.dir/build.make:134: recipe for target
>> 'src/nvimage/CMakeFiles/nvimage.dir/ImageIO.cpp.o' failed
> 
> --
> Martin Michlmayr
> Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to