--- Begin Message ---
Package: fslview
Version: 4.0.1-5
Severity: important
User: debian-...@lists.debian.org
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
...
> [ 86%] Building CXX object src/fslview/CMakeFiles/fslview.dir/clusterbrowser.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fslview && /usr/bin/c++
> -DHAVE_VTK -DQT3_SUPPORT -DQT_3SUPPORT_LIB -DQT_CORE_LIB -DQT_GUI_LIB
> -DQT_XML_LIB -I/<<PKGBUILDDIR>>/fsl -I/<<PKGBUILDDIR>>/fsl/newmat
> -I/<<PKGBUILDDIR>>/fsl/niftiio -I/<<PKGBUILDDIR>>/fsl/znzlib
> -I/<<PKGBUILDDIR>>/src -I/<<PKGBUILDDIR>>/fsl/extras/include/zlib -isystem
> /usr/include/qt4 -isystem /usr/include/qt4/Qt3Support -isystem
> /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem
> /usr/include/qt4/QtCore -I/usr/include/qwt-qt4 -I/usr/include/vtk-5.10
> -I/<<PKGBUILDDIR>>/fsl/include -I/<<PKGBUILDDIR>>/fsl/extras/include/newmat
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fslview
> -I/<<PKGBUILDDIR>>/src/fslview/.. -I/<<PKGBUILDDIR>>/fsl/libprob
> -I/usr/include/newmat -I/usr/include/qwt-qt4 -I/usr/include/nifti
> -I/<<PKGBUILDDIR>>/fsl/libprob -I/usr/include/newmat -I/usr/include/qwt-qt4
> -I/usr/include/nifti -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-deprecated -g
> -o CMakeFiles/fslview.dir/clusterbrow
> ser.o -c /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp
> /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp: In constructor
> 'ClusterBrowser::ClusterBrowser(QWidget*, Image::Handle, Cursor::Handle,
> ModelFit::Handle)':
> /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp:118:57: error: no matching
> function for call to 'std::vector<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >
> >::push_back(std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >)'
> m_clusterTables.push_back(std::make_pair(name, cp));
> ^
>
> In file included from /usr/include/c++/6/vector:64:0,
> from /usr/include/c++/6/bits/random.h:34,
> from /usr/include/c++/6/random:49,
> from /usr/include/c++/6/bits/stl_algo.h:66,
> from /usr/include/c++/6/algorithm:62,
> from /usr/include/qt4/QtCore/qglobal.h:68,
> from /usr/include/qt4/QtCore/qnamespace.h:45,
> from /usr/include/qt4/QtCore/qobjectdefs.h:45,
> from /usr/include/qt4/QtGui/qwindowdefs.h:45,
> from /usr/include/qt4/QtGui/qwidget.h:46,
> from /usr/include/qt4/QtGui/qframe.h:45,
> from /usr/include/qt4/Qt3Support/q3frame.h:45,
> from /usr/include/qt4/Qt3Support/Q3Frame:1,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fslview/clusterbrowserbase.h:12,
> from /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.h:18,
> from /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp:15:
> /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate: void
> std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =
> std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >; _Alloc =
> std::allocator<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >; std::vector<_Tp,
> _Alloc>::value_type = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >]
> push_back(const value_type& __x)
> ^~~~~~~~~
>
> /usr/include/c++/6/bits/stl_vector.h:914:7: note: no known conversion for
> argument 1 from 'std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >' to 'const
> value_type& {aka const std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >&}'
> /usr/include/c++/6/bits/stl_vector.h:932:7: note: candidate: void
> std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&)
> [with _Tp = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >; _Alloc =
> std::allocator<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >; std::vector<_Tp,
> _Alloc>::value_type = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >]
> push_back(value_type&& __x)
> ^~~~~~~~~
>
> /usr/include/c++/6/bits/stl_vector.h:932:7: note: no known conversion for
> argument 1 from 'std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >' to
> 'std::vector<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >::value_type&& {aka
> std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >&&}'
> /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp:138:57: error: no matching
> function for call to 'std::vector<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >
> >::push_back(std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >)'
> m_clusterTables.push_back(std::make_pair(name, cp));
> ^
>
> In file included from /usr/include/c++/6/vector:64:0,
> from /usr/include/c++/6/bits/random.h:34,
> from /usr/include/c++/6/random:49,
> from /usr/include/c++/6/bits/stl_algo.h:66,
> from /usr/include/c++/6/algorithm:62,
> from /usr/include/qt4/QtCore/qglobal.h:68,
> from /usr/include/qt4/QtCore/qnamespace.h:45,
> from /usr/include/qt4/QtCore/qobjectdefs.h:45,
> from /usr/include/qt4/QtGui/qwindowdefs.h:45,
> from /usr/include/qt4/QtGui/qwidget.h:46,
> from /usr/include/qt4/QtGui/qframe.h:45,
> from /usr/include/qt4/Qt3Support/q3frame.h:45,
> from /usr/include/qt4/Qt3Support/Q3Frame:1,
> from
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/fslview/clusterbrowserbase.h:12,
> from /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.h:18,
> from /<<PKGBUILDDIR>>/src/fslview/clusterbrowser.cpp:15:
> /usr/include/c++/6/bits/stl_vector.h:914:7: note: candidate: void
> std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp =
> std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >; _Alloc =
> std::allocator<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >; std::vector<_Tp,
> _Alloc>::value_type = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >]
> push_back(const value_type& __x)
> ^~~~~~~~~
>
> /usr/include/c++/6/bits/stl_vector.h:914:7: note: no known conversion for
> argument 1 from 'std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >' to 'const
> value_type& {aka const std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >&}'
> /usr/include/c++/6/bits/stl_vector.h:932:7: note: candidate: void
> std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&)
> [with _Tp = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >; _Alloc =
> std::allocator<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >; std::vector<_Tp,
> _Alloc>::value_type = std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >]
> push_back(value_type&& __x)
> ^~~~~~~~~
>
> /usr/include/c++/6/bits/stl_vector.h:932:7: note: no known conversion for
> argument 1 from 'std::pair<QString,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >' to
> 'std::vector<std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > > >::value_type&& {aka
> std::pair<std::__cxx11::basic_string<char>,
> std::pair<std::__cxx11::list<boost::shared_ptr<BaseCluster> >,
> std::__cxx11::list<boost::shared_ptr<BaseCluster> > > >&&}'
> src/fslview/CMakeFiles/fslview.dir/build.make:1009: recipe for target
> 'src/fslview/CMakeFiles/fslview.dir/clusterbrowser.o' failed
> make[3]: *** [src/fslview/CMakeFiles/fslview.dir/clusterbrowser.o] Error 1
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
--- End Message ---