Package: fityk Version: 1.2.1-0.1 Severity: important User: [email protected] 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 ... > > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -c swig/fityk_lua.cpp -o > swig/libfityk_la-fityk_lua.o > /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. > -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -c -o > cmpfit/libfityk_la-mpfit.lo `test -f 'cmpfit/mpfit.c' || echo > './'`cmpfit/mpfit.c > mgr.cpp: In member function 'int > fityk::VariableManager::add_variable(fityk::Variable*)': > mgr.cpp:251:5: warning: 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > auto_ptr<Variable> var(new_var); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/config/no_tr1/memory.hpp:21, > from /usr/include/boost/smart_ptr/shared_ptr.hpp:23, > from /usr/include/boost/shared_ptr.hpp:17, > from tplate.h:9, > from mgr.h:9, > from mgr.cpp:5: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time > -D_FORTIFY_SOURCE=2 -I/usr/include/lua5.1 -g -O2 -fstack-protector-strong > -Wformat -Werror=format-security -c cmpfit/mpfit.c -o > cmpfit/libfityk_la-mpfit.o > logic.cpp: In member function 'void fityk::Ftk::import_dataset(int, const > string&, const string&, const string&)': > logic.cpp:234:13: warning: 'template<class> class std::auto_ptr' is > deprecated [-Wdeprecated-declarations] > auto_ptr<Data> data(new Data(this)); > ^~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from /usr/include/boost/smart_ptr/scoped_ptr.hpp:21, > from /usr/include/boost/scoped_ptr.hpp:14, > from logic.h:8, > from logic.cpp:5: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > guess.cpp:23:7: error: reference to 'array' is ambiguous > const array<string, 3> Guess::linear_traits = > ^~~~~ > > In file included from guess.h:9:0, > from guess.cpp:5: > /usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, > long unsigned int N> class boost::array > class array { > ^~~~~ > > In file included from /usr/include/c++/6/tuple:39:0, > from /usr/include/c++/6/functional:55, > from /usr/include/c++/6/memory:79, > from model.h:9, > from guess.cpp:12: > /usr/include/c++/6/array:90:12: note: template<class _Tp, > long unsigned int _Nm> struct std::array > struct array > ^~~~~ > > guess.cpp:25:7: error: reference to 'array' is ambiguous > const array<string, 4> Guess::peak_traits = > ^~~~~ > > In file included from guess.h:9:0, > from guess.cpp:5: > /usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, > long unsigned int N> class boost::array > class array { > ^~~~~ > > In file included from /usr/include/c++/6/tuple:39:0, > from /usr/include/c++/6/functional:55, > from /usr/include/c++/6/memory:79, > from model.h:9, > from guess.cpp:12: > /usr/include/c++/6/array:90:12: note: template<class _Tp, > long unsigned int _Nm> struct std::array > struct array > ^~~~~ > > guess.cpp:108:1: error: reference to 'array' is ambiguous > array<double,4> Guess::estimate_peak_parameters() > ^~~~~ > > In file included from guess.h:9:0, > from guess.cpp:5: > /usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, > long unsigned int N> class boost::array > class array { > ^~~~~ > > In file included from /usr/include/c++/6/tuple:39:0, > from /usr/include/c++/6/functional:55, > from /usr/include/c++/6/memory:79, > from model.h:9, > from guess.cpp:12: > /usr/include/c++/6/array:90:12: note: template<class _Tp, > long unsigned int _Nm> struct std::array > struct array > ^~~~~ > > guess.cpp:139:1: error: reference to 'array' is ambiguous > array<double,3> Guess::estimate_linear_parameters() > ^~~~~ > > In file included from guess.h:9:0, > from guess.cpp:5: > /usr/include/boost/array.hpp:60:11: note: candidates are: template<class T, > long unsigned int N> class boost::array > class array { > ^~~~~ > > In file included from /usr/include/c++/6/tuple:39:0, > from /usr/include/c++/6/functional:55, > from /usr/include/c++/6/memory:79, > from model.h:9, > from guess.cpp:12: > /usr/include/c++/6/array:90:12: note: template<class _Tp, > long unsigned int _Nm> struct std::array > struct array > ^~~~~ > > runner.cpp: In member function 'void > fityk::Runner::execute_command(fityk::Command&, int)': > runner.cpp:728:34: warning: ignoring return value of 'int system(const > char*)', declared with attribute warn_unused_result [-Wunused-result] > system(c.args[0].str); > ^ > > Makefile:777: recipe for target 'libfityk_la-guess.lo' failed > make[4]: *** [libfityk_la-guess.lo] Error 1 > make[4]: *** Waiting for unfinished jobs.... -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

