[Debian-med-packaging] Bug#811641: FTBFS with GCC 6: multiple errors
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 00:32:48 UTC 2016
Package: relion
Version: 1.4+dfsg-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++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o src/apps/postprocess.o src/apps/postprocess.cpp
> g++ -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o src/apps/autopick.o src/apps/autopick.cpp
> src/Healpix_2.15a/cxxutils.cc: In function 'bool file_present(const string&)':
> src/Healpix_2.15a/cxxutils.cc:58:10: error: cannot convert 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool' in return
> return dummy;
> ^~~~~
>
> src/Healpix_2.15a/cxxutils.cc: In function 'void parse_file(const string&, std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&)':
> src/Healpix_2.15a/cxxutils.cc:264:63: error: no matching function for call to 'planck_assert(std::ifstream&, std::__cxx11::basic_string<char>)'
> planck_assert (inp,"Could not open parameter file "+filename);
> ^
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debian-med-packaging
mailing list