Package: projectm Version: 2.1.0+dfsg-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 ... > [ 30%] Building CXX object > libprojectM/MilkdropPresetFactory/CMakeFiles/MilkdropPresetFactory.dir/Parser.cpp.o > cd > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/build/libprojectM/MilkdropPresetFactory > && /usr/bin/c++ -DCMAKE_INSTALL_PREFIX="\"\\\"/usr\\\"\"" > -I/<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -o > CMakeFiles/MilkdropPresetFactory.dir/Parser.cpp.o -c > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp: > In static member function 'static PerFrameEqn* > Parser::parse_implicit_per_frame_eqn(std::istream&, char*, int, > MilkdropPreset*)': > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp:1409:10: > error: no match for 'operator==' (operand types are 'std::istream {aka > std::basic_istream<char>}' and 'long int') > if (fs == NULL) > ~~~^~~~ > > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp:1409:10: > note: candidate: operator==(int, long int) <built-in> > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp:1409:10: > note: no known conversion for argument 1 from 'std::istream {aka > std::basic_istream<char>}' to 'int' > In file included from /usr/include/c++/6/set:62:0, > from > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.hpp:82, > from > /<<BUILDDIR>>/projectm-2.1.0+dfsg/src/libprojectM/MilkdropPresetFactory/Parser.cpp:39: > /usr/include/c++/6/bits/stl_multiset.h:823:5: note: candidate: template<class > _Key, class _Compare, class _Alloc> bool std::operator==(const > std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, > _Alloc>&) > operator==(const multiset<_Key, _Compare, _Alloc>& __x, > ^~~~~~~~

