Package: src:protobuf
Version: 3.0.0-9.1
Severity: serious
Tags: sid buster
protobuf ftbfs with python3.7 as a supported version:
390x-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I../src
-I/usr/include/python3.7m -c google/protobuf/pyext/descriptor_pool.cc -o
build/temp.linux-s390x-3.7/google/protobuf/pyext/descriptor_pool.o
-Wno-write-strings -Wno-invalid-offsetof -Wno-sign-compare
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindMessageByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:176:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindFileByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:224:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindFieldByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:242:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindExtensionByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:260:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindEnumTypeByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:277:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindOneofByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:294:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindServiceByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:311:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindMethodByName(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:328:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc: In function ‘PyObject*
google::protobuf::python::cdescriptor_pool::FindFileContainingSymbol(google::protobuf::python::PyDescriptorPool*,
PyObject*)’:
google/protobuf/pyext/descriptor_pool.cc:50:45: error: invalid conversion from
‘const char*’ to ‘char*’ [-fpermissive]
((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
google/protobuf/pyext/descriptor_pool.cc:345:7: note: in expansion of macro
‘PyString_AsStringAndSize’
if (PyString_AsStringAndSize(arg, &name, &name_size) < 0) {
^~~~~~~~~~~~~~~~~~~~~~~~
error: command 's390x-linux-gnu-gcc' failed with exit status 1
debian/rules:30: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 1