Source: giac
Version: 2.0.0.21+dfsg2-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]
Dear maintainer,
giac FTBFS:
In file included from gen.h:70:
fraction.h:38:16: warning: template-id not allowed for constructor in C++20
[-Wtemplate-id-cdtor]
38 | Tfraction<T> (const T & n,const T & d) : num(n),den(d) {};
| ^
fraction.h:38:16: note: remove the '< >'
fraction.h:39:16: warning: template-id not allowed for constructor in C++20
[-Wtemplate-id-cdtor]
39 | Tfraction<T> (const T & n) : num(n),den(T(1)) {}; // does not work
properly??
| ^
fraction.h:39:16: note: remove the '< >'
fraction.h:40:16: warning: template-id not allowed for constructor in C++20
[-Wtemplate-id-cdtor]
40 | Tfraction<T> (const Tfraction<T> & f) : num(f.num), den(f.den) {};
| ^
fraction.h:40:16: note: remove the '< >'
In file included from gen.h:71:
poly.h:226:19: warning: template-id not allowed for constructor in C++20
[-Wtemplate-id-cdtor]
226 | Tref_tensor<T>(const tensor<T> & P): ref_count(1),t(P) {}
| ^
poly.h:226:19: note: remove the '< >'
poly.h:227:19: warning: template-id not allowed for constructor in C++20
[-Wtemplate-id-cdtor]
227 | Tref_tensor<T>(int dim): ref_count(1),t(dim) {}
| ^
poly.h:227:19: note: remove the '< >'
optimization.cc: In function 'void giac::vars_arrangements(matrice,
ipdiff::ivectors&, const context*)':
optimization.cc:1274:9: error: reference to 'bitset' is ambiguous
1274 | bitset<32> b(k);
| ^~~~~~
• there are 2 candidates
In file included from graphe.h:37,
from optimization.cc:25:
• candidate 1: 'template<long unsigned int _Nb> class std::bitset'
/usr/include/c++/16/bitset:820:11:
820 | class bitset
| ^~~~~~
In file included from /usr/include/x86_64-linux-gnu/pari/pari.h:47,
from optimization.cc:31:
• candidate 2: 'void bitset(GEN, long int)'
/usr/include/x86_64-linux-gnu/pari/paridecl.h:3030:9:
3030 | void bitset(GEN x, long n);
| ^~~~~~
optimization.cc:1274:20: error: 'b' was not declared in this scope
1274 | bitset<32> b(k);
| ^
optimization.cc: In function 'bool giac::find_global_extrema_recursively(const
gen&, const vecteur&, const vecteur&, const vecteur&, const vecteur&, const
gen_map&, const std::map<int, bool>&, const std::map<int, gen>&, gen&, gen&,
vecteur&, vecteur&, const context*)':
optimization.cc:2096:35: warning: using value of assignment with
'volatile'-qualified left operand is deprecated [-Wvolatile]
2096 | interrupted=ctrl_c=false;
| ~~~~~~^~~~~~
optimization.cc: In member function 'int
giac::nlp_problem::ipt_solver::ls_filter_barrier_method(giac::vecteur&,
giac::vecteur&, giac::vecteur&, double)':
optimization.cc:5196:35: warning: using value of assignment with
'volatile'-qualified left operand is deprecated [-Wvolatile]
5196 | ctrl_c=interrupted=false;
| ~~~~~~~~~~~^~~~~~
optimization.cc: In member function 'bool
giac::nlp_problem::branch_and_bound(const meth_parm&, const giac::vecteur&,
optimum_t&)':
optimization.cc:5728:31: warning: using value of assignment with
'volatile'-qualified left operand is deprecated [-Wvolatile]
5728 | interrupted=ctrl_c=false;
| ~~~~~~^~~~~~
optimization.cc: In member function 'bool
giac::nlp_problem::outer_approximation(const meth_parm&, const giac::vecteur&,
optimum_t&)':
optimization.cc:5798:31: warning: using value of assignment with
'volatile'-qualified left operand is deprecated [-Wvolatile]
5798 | interrupted=ctrl_c=false;
| ~~~~~~^~~~~~
make[3]: *** [Makefile:984: optimization.lo] Error 1
See
https://buildd.debian.org/status/fetch.php?pkg=giac&arch=amd64&ver=2.0.0.21%2Bdfsg2-2%2Bb1&stamp=1791791084&raw=0
for details.
Cheers
--
Sebastian Ramacher