Package: starplot
Version: 0.95.5-8.1
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
...
> g++ -DHAVE_CONFIG_H -I. -I..    -Wall -DDOCDIR=\"/usr/share/doc/starplot\" 
> -DSTARPLOT_VERSION=\"0.95.5\" -DDATADIR=\"/usr/share/starplot\" 
> -DLOCALEDIR=\"/usr/share/locale\" -Wall -pedantic -O2 -g -MT 
> starconvert-convert.o -MD -MP -MF .deps/starconvert-convert.Tpo -c -o 
> starconvert-convert.o `test -f 'convert/convert.cc' || echo 
> './'`convert/convert.cc
> convert/convert.cc: In function 'void parse_star_file(std::istream&, 
> std::ostream&, const parsedata&, bool, bool)':
> convert/convert.cc:67:48: error: cannot convert 'std::basic_istream<char>' to 
> 'bool' in assignment
>      moredata = infile.getline(record, 999, '\n');
>                                                 ^
> 
> Makefile:700: recipe for target 'starconvert-convert.o' failed
> make[3]: *** [starconvert-convert.o] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'

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

Reply via email to