Bug#951707: gringo ftbfs with Python 3.8

Matthias Klose doko at debian.org
Thu Feb 20 11:38:22 GMT 2020


Package: src:gringo
Version: 5.3.0-10
Severity: important
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.8

gringo ftbfs with Python 3.8:

[...]
packages/tmp/p/gringo-5.3.0/libclingo/clingo.hh:3871:32: warning: catching
polymorphic type ‘struct Clingo::Control::ground(Clingo::PartSpan,
Clingo::GroundCallback)::<lambda(const clingo_location_t*, const char*, const
clingo_symbol_t*, size_t, void*, clingo_symbol_callback_t, void*)>::Ret’ by
value [-Wcatch-value=]
                     catch (Ret e) { return false; }
                                ^
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc: In instantiation of
‘PyTypeObject {anonymous}::ObjectBase<{anonymous}::Symbol>::type’:
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1610:15:   required from here
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1125:14: error: cannot
convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
 PyTypeObject ObjectBase<T>::type = {
              ^~~~~~~~~~~~~
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc: In instantiation of
‘PyTypeObject {anonymous}::ObjectBase<{anonymous}::Flag>::type’:
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:7103:94:   required from here
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1125:14: error: cannot
convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc: In instantiation of
‘PyTypeObject {anonymous}::ObjectBase<{anonymous}::TheoryTerm>::type’:
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1065:21:   required from
‘static {anonymous}::SharedObject<T> {anonymous}::ObjectBase<T>::new_() [with T
= {anonymous}::TheoryTerm]’
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1298:26:   required from here
/packages/tmp/p/gringo-5.3.0/libpyclingo/pyclingo.cc:1125:14: error: cannot
convert ‘std::nullptr_t’ to ‘Py_ssize_t’ {aka ‘long int’} in initialization



More information about the debian-science-maintainers mailing list