Package: mriconvert Version: 1:2.0.8-3 Severity: important User: [email protected] Usertags: ftbfs-gcc-6 gcc-6-no-match
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. You may be able to find out more about this issue at https://gcc.gnu.org/gcc-6/changes.html > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > /usr/bin/c++ -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -isystem > /usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -isystem > /usr/include/wx-3.0 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -o > CMakeFiles/MRIConvert.dir/AnalyzeVolume.cpp.o -c > /<<PKGBUILDDIR>>/AnalyzeVolume.cpp > /<<PKGBUILDDIR>>/DicomFile.cpp: In member function 'bool > jcs::DicomFile::mFindElement(const jcs::DicomTag&, jcs::DicomElement&, > std::istream&)': > /<<PKGBUILDDIR>>/DicomFile.cpp:1049:17: error: no match for 'operator==' > (operand types are 'std::istream {aka std::basic_istream<char>}' and > 'std::ifstream {aka std::basic_ifstream<char>}') > if (input == mInputFile) { > ~~~~~~^~~~~~~~~~~~~ > > /<<PKGBUILDDIR>>/DicomFile.cpp:1049:17: note: candidate: operator==(int, int) > <built-in> > /<<PKGBUILDDIR>>/DicomFile.cpp:1049:17: note: no known conversion for > argument 2 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'int'

