Package: libqalculate Version: 0.9.7-9.1 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 ... > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. > -I../ -DPACKAGE_DATA_DIR=\""/usr/share"\" > -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/glib-2.0 > -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 > -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -c -o MathStructure.lo MathStructure.cc > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../ > -DPACKAGE_DATA_DIR=\"/usr/share\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" > -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include > -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -c MathStructure.cc > -fPIC -DPIC -o .libs/MathStructure.o > In file included from /usr/include/c++/6/ext/hash_map:60:0, > from ../libqalculate/includes.h:40, > from MathStructure.h:15, > from MathStructure.cc:14: > /usr/include/c++/6/backward/backward_warning.h:32:2: warning: #warning This > file includes at least one deprecated or antiquated header which may be > removed without further notice at a future date. Please use a non-deprecated > interface with equivalent functionality instead. For a listing of replacement > headers and interfaces, consult the file backward_warning.h. To disable this > warning use -Wno-deprecated. [-Wcpp] > #warning \ > ^~~~~~~ > > MathStructure.cc: In function 'bool sr_gcd(const MathStructure&, const > MathStructure&, MathStructure&, std::vector<sym_desc>::const_iterator, const > EvaluationOptions&)': > MathStructure.cc:7166:53: error: no matching function for call to > 'MathStructure::gcd(MathStructure&, MathStructure&, MathStructure&, const > EvaluationOptions&, bool)' > MathStructure::gcd(cont_c, cont_d, gamma, eo, false); > ^ > > In file included from MathStructure.cc:14:0: > MathStructure.h:827:15: note: candidate: static bool MathStructure::gcd(const > MathStructure&, const MathStructure&, MathStructure&, const > EvaluationOptions&, MathStructure*, MathStructure*, bool) > static bool gcd(const MathStructure &m1, const MathStructure &m2, > MathStructure &mresult, const EvaluationOptions &eo, MathStructure *ca = > NULL, MathStructure *cb = NULL, bool check_args = true); > ^~~ > > MathStructure.h:827:15: note: no known conversion for argument 5 from > 'bool' to 'MathStructure*' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

