Package: metview Version: 4.6.1-4 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-reference-ambiguous
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 ... > [ 7%] Building CXX object src/libUtil/CMakeFiles/Util.dir/MvFlextra.cc.o > cd /<<PKGBUILDDIR>>/debian/build/src/libUtil && /usr/bin/c++ > -DH_INCLUDES_CC -DLITTLE_END -DMETVIEW -DMETVIEW_QT5 -DQT_NO_DEBUG_OUTPUT > -DR64 -DUSE_NEW_IO -I/<<PKGBUILDDIR>>/debian/build/module > -I/<<PKGBUILDDIR>>/src/libMetview -I/<<PKGBUILDDIR>>/src/libUtil > -I/<<PKGBUILDDIR>>/src/libMarsClient -I/<<PKGBUILDDIR>>/src/libMars > -I/<<PKGBUILDDIR>>/debian/build/src/libMars -I/<<PKGBUILDDIR>>/src > -I/<<PKGBUILDDIR>>/src/libFTimeUtil -I/<<PKGBUILDDIR>>/src/libMvNetCDF > -I/usr/include/x86_64-linux-gnu/qt5 > -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets > -I/usr/include/x86_64-linux-gnu/qt5/QtGui > -I/usr/include/x86_64-linux-gnu/qt5/QtCore > -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 > -I/usr/include/x86_64-linux-gnu/qt5/QtXml > -I/usr/include/x86_64-linux-gnu/qt5/QtXmlPatterns > -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork > -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/lib/include > -I/usr/include/hdf5/serial -g -O2 -fPIE -fstack-protector-strong -Wdate-time > -D_FORTIFY_SOURCE= > 2 -pipe -fpermissive -Wno-write-strings -Wno-deprecated -O3 -DNDEBUG -fPIC > -o CMakeFiles/Util.dir/MvFlextra.cc.o -c > /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc > In file included from /<<PKGBUILDDIR>>/src/libMarsClient/mars.h:203:0, > from /<<PKGBUILDDIR>>/src/libMetview/MvDate.h:13, > from /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc:12: > /<<PKGBUILDDIR>>/debian/build/src/libMars/rpcmars.h:38:2: error: reference to > 'void_t' is ambiguous > void_t data; > ^~~~~~ > > /<<PKGBUILDDIR>>/debian/build/src/libMars/rpcmars.h:19:15: note: candidates > are: typedef void* void_t > typedef void *void_t; > ^~~~~~ > > In file included from /usr/include/c++/6/bits/move.h:57:0, > from /usr/include/c++/6/bits/nested_exception.h:40, > from /usr/include/c++/6/exception:171, > from /usr/include/c++/6/ios:39, > from /usr/include/c++/6/istream:38, > from /usr/include/c++/6/fstream:38, > from /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.h:13, > from /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc:10: > /usr/include/c++/6/type_traits:2536:44: note: template<class > ...> using void_t = void > template<typename...> using void_t = void; > ^ > > /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc: In member function 'void > MvFlextra::decode()': > /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc:685:59: error: no matching function > for call to 'make_pair(std::__cxx11::string&, bool&)' > pair<string,bool> p=make_pair<string,bool>(comment,cstep); > ^ > > In file included from /usr/include/c++/6/bits/stl_algobase.h:64:0, > from /usr/include/c++/6/bits/char_traits.h:39, > from /usr/include/c++/6/ios:40, > from /usr/include/c++/6/istream:38, > from /usr/include/c++/6/fstream:38, > from /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.h:13, > from /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc:10: > /usr/include/c++/6/bits/stl_pair.h:406:5: note: candidate: template<class > _T1, class _T2> constexpr std::pair<typename > std::__decay_and_strip<_Tp>::__type, typename > std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) > make_pair(_T1&& __x, _T2&& __y) > ^~~~~~~~~ > > /usr/include/c++/6/bits/stl_pair.h:406:5: note: template argument > deduction/substitution failed: > /<<PKGBUILDDIR>>/src/libUtil/MvFlextra.cc:685:59: note: cannot convert > 'comment' (type 'std::__cxx11::string {aka > std::__cxx11::basic_string<char>}') to type > 'std::__cxx11::basic_string<char>&&' > pair<string,bool> p=make_pair<string,bool>(comment,cstep); > ^ > > src/libUtil/CMakeFiles/Util.dir/build.make:305: recipe for target > 'src/libUtil/CMakeFiles/Util.dir/MvFlextra.cc.o' failed > make[3]: *** [src/libUtil/CMakeFiles/Util.dir/MvFlextra.cc.o] Error 1 > make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise