Source: python-grpc-tools
Version: 1.14.1-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20221023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary  --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:240: python3.10 setup.py config 
> /<<PKGBUILDDIR>>/setup.py:15: DeprecationWarning: The distutils package is 
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 
> 632 for potential alternatives
>   from distutils import cygwinccompiler
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: 
> Distutils was imported before Setuptools, but importing Setuptools also 
> replaces the `distutils` module in `sys.modules`. This may lead to 
> undesirable behaviors or errors. To avoid these issues, avoid using distutils 
> directly, ensure that setuptools is installed in the traditional way (e.g. 
> not an editable install), and/or make sure that setuptools is always imported 
> before distutils.
>   warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: 
> Setuptools is replacing distutils.
>   warnings.warn("Setuptools is replacing distutils.")
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:240: /usr/bin/python3 setup.py build 
> /<<PKGBUILDDIR>>/setup.py:15: DeprecationWarning: The distutils package is 
> deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 
> 632 for potential alternatives
>   from distutils import cygwinccompiler
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:18: UserWarning: 
> Distutils was imported before Setuptools, but importing Setuptools also 
> replaces the `distutils` module in `sys.modules`. This may lead to 
> undesirable behaviors or errors. To avoid these issues, avoid using distutils 
> directly, ensure that setuptools is installed in the traditional way (e.g. 
> not an editable install), and/or make sure that setuptools is always imported 
> before distutils.
>   warnings.warn(
> /usr/lib/python3/dist-packages/_distutils_hack/__init__.py:33: UserWarning: 
> Setuptools is replacing distutils.
>   warnings.warn("Setuptools is replacing distutils.")
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools
> copying grpc_tools/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools
> copying grpc_tools/protoc.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools
> copying grpc_tools/command.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/wrappers.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/type.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/timestamp.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/struct.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/source_context.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/field_mask.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/empty.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/duration.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/descriptor.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf/compiler
> copying grpc_tools/_proto/google/protobuf/compiler/plugin.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf/compiler
> copying grpc_tools/_proto/google/protobuf/api.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> copying grpc_tools/_proto/google/protobuf/any.proto -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_grpcio-tools/build/grpc_tools/_proto/google/protobuf
> running build_ext
> error: each element of 'ext_modules' option must be an Extension instance or 
> 2-tuple
> E: pybuild pybuild:379: build: plugin distutils failed with: exit code=1: 
> /usr/bin/python3 setup.py build 
> dh_auto_build: error: pybuild --build -i python{version} -p 3.10 returned 
> exit code 13
> make: *** [debian/rules:11: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/10/23/python-grpc-tools_1.14.1-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221023;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221023&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to