Package: fuzzylite Version: 5.1+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 ... > /usr/bin/c++ -DFL_BACKTRACE_OFF > -DFL_BUILD_PATH=\"/<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite\" > -DFL_DATE=\"1507\" -DFL_VERSION=\"5.1\" > -I/<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/. -pedantic -Wall -Wextra -g > -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time > -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/fl-obj.dir/src/hedge/Not.cpp.o -c > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/hedge/Not.cpp > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:158:28: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > #define FL_unique_ptr std::auto_ptr > ^ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:81:13: note: > in expansion of macro 'FL_unique_ptr' > FL_unique_ptr<Element> element; > ^~~~~~~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:33, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:158:28: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > #define FL_unique_ptr std::auto_ptr > ^ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:82:13: note: > in expansion of macro 'FL_unique_ptr' > FL_unique_ptr<Node> left; > ^~~~~~~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:33, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:158:28: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > #define FL_unique_ptr std::auto_ptr > ^ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:83:13: note: > in expansion of macro 'FL_unique_ptr' > FL_unique_ptr<Node> right; > ^~~~~~~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:33, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:158:28: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > #define FL_unique_ptr std::auto_ptr > ^ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:116:9: note: > in expansion of macro 'FL_unique_ptr' > FL_unique_ptr<Node> _root; > ^~~~~~~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:33, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/ConstructionFactory.h:28, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/TermFactory.h:29, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Headers.h:31:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/Console.cpp:27: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Engine.h:76:56: error: > invalid conversion from 'long int' to 'std::__cxx11::string* {aka > std::__cxx11::basic_string<char>*}' [-fpermissive] > virtual bool isReady(std::string* status = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Engine.h:95:51: error: > invalid conversion from 'long int' to 'std::__cxx11::string* {aka > std::__cxx11::basic_string<char>*}' [-fpermissive] > virtual Type type(std::string* name = fl::null, std::string* reason > = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Engine.h:95:83: error: > invalid conversion from 'long int' to 'std::__cxx11::string* {aka > std::__cxx11::basic_string<char>*}' [-fpermissive] > virtual Type type(std::string* name = fl::null, std::string* reason > = fl::null) const; > > ^~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:34:0: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:87:62: error: > invalid conversion from 'long int' to 'fl::Function::Node*' [-fpermissive] > explicit Node(Element* element, Node* left = fl::null, Node* > right = fl::null); > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:87:86: error: > invalid conversion from 'long int' to 'fl::Function::Node*' [-fpermissive] > explicit Node(Element* element, Node* left = fl::null, Node* > right = fl::null); > > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:96:37: error: > invalid conversion from 'long int' to 'const > std::map<std::__cxx11::basic_string<char>, double>*' [-fpermissive] > variables = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:101:65: > error: invalid conversion from 'long int' to 'const fl::Function::Node*' > [-fpermissive] > virtual std::string toPrefix(const Node* node = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:102:64: > error: invalid conversion from 'long int' to 'const fl::Function::Node*' > [-fpermissive] > virtual std::string toInfix(const Node* node = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:103:66: > error: invalid conversion from 'long int' to 'const fl::Function::Node*' > [-fpermissive] > virtual std::string toPostfix(const Node* node = fl::null) const; > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:122:77: > error: invalid conversion from 'long int' to 'const fl::Engine*' > [-fpermissive] > const std::string& formula = "", const Engine* engine = > fl::null); > > ^~~~ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Function.h:130:44: > error: invalid conversion from 'long int' to 'const fl::Engine*' > [-fpermissive] > const Engine* engine = fl::null); // throw (fl::Exception); > ^~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Console.h:28:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/Console.cpp:25: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:158:28: warning: > 'template<class> class std::auto_ptr' is deprecated > [-Wdeprecated-declarations] > #define FL_unique_ptr std::auto_ptr > ^ > > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/factory/FactoryManager.h:42:9: > note: in expansion of macro 'FL_unique_ptr' > FL_unique_ptr<TNormFactory> _tnorm; > ^~~~~~~~~~~~~ > > In file included from /usr/include/c++/6/memory:81:0, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/fuzzylite.h:33, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/Console.h:28, > from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/Console.cpp:25: > /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here > template<typename> class auto_ptr; > ^~~~~~~~ > > In file included from > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/src/factory/TermFactory.cpp:37:0: > /<<BUILDDIR>>/fuzzylite-5.1+dfsg/fuzzylite/./fl/term/Linear.h:40:44: error: > invalid conversion from 'long int' to 'const fl::Engine*' [-fpermissive] > const Engine* engine = fl::null); > ^~~~ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

