Source: grpc
Version: 1.26.0-2
Severity: important
Tags: ftbfs
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx2.4

Hi,

grpc fails to build with Sphinx 2.4, currently available in
experimental.

Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> rm -f -rf /<<PKGBUILDDIR>>/objs /<<PKGBUILDDIR>>/libs /<<PKGBUILDDIR>>/bins 
> /<<PKGBUILDDIR>>/gens cache.mk
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:217: python3.7 setup.py clean 
> Compiling src/python/grpcio/grpc/_cython/cygrpc.pyx because it changed.
> [1/1] Cythonizing src/python/grpcio/grpc/_cython/cygrpc.pyx
> /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: 
> Cython directive 'language_level' not set, using 2 for now (Py2). This will 
> change in a later release! File: 
> /<<PKGBUILDDIR>>/src/python/grpcio/grpc/_cython/cygrpc.pxd
>   tree = Parsing.p_module(s, pxd, full_module_name)
> WARNING: The pip package is not available, falling back to EasyInstall for 
> handling setup_requires/test_requires; this is deprecated and will be removed 
> in a future version.
> 
> Note: Bypassing https://pypi.org/simple/Sphinx/ (disallowed host; see 
> http://bit.ly/2hrImnY for details).
> 
> 
> Note: Bypassing https://pypi.org/simple/ (disallowed host; see 
> http://bit.ly/2hrImnY for details).
> 
> No local packages or working download links found for Sphinx~=1.8.1
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 62, in 
> fetch_build_egg
>     pkg_resources.get_distribution('pip')
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 481, 
> in get_distribution
>     dist = get_provider(dist)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 357, 
> in get_provider
>     return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, 
> in require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, 
> in resolve
>     raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'pip' distribution was not found and 
> is required by the application
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
>   File "setup.py", line 400, in <module>
>     cmdclass=COMMAND_CLASS,
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in 
> setup
>     _install_setup_requires(attrs)
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 139, in 
> _install_setup_requires
>     dist.fetch_build_eggs(dist.setup_requires)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 721, in 
> fetch_build_eggs
>     replace_conflicting=True,
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 782, 
> in resolve
>     replace_conflicting=replace_conflicting
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1065, 
> in best_match
>     return self.obtain(req, installer)
>   File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1077, 
> in obtain
>     return installer(requirement)
>   File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 777, in 
> fetch_build_egg
>     return fetch_build_egg(self, req)
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 70, in 
> fetch_build_egg
>     return _legacy_fetch_build_egg(dist, req)
>   File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 53, in 
> _legacy_fetch_build_egg
>     return cmd.easy_install(req)
>   File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", 
> line 704, in easy_install
>     raise DistutilsError(msg)
> distutils.errors.DistutilsError: Could not find suitable distribution for 
> Requirement.parse('Sphinx~=1.8.1')
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit code=1: 
> python3.7 setup.py clean 
> dh_auto_clean: error: pybuild --clean -i python{version} -p "3.7 3.8" 
> returned exit code 13
> make[1]: *** [debian/rules:38: override_dh_auto_clean] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/03/26/grpc_1.26.0-2_unstable_sphinx243.log

Please see [1] for Sphinx changelog, which may give a hint of what changes in
Sphinx caused this error.

Also see [2] for the list of deprecated/removed APIs and possible alternatives
to them.

Sphinx 2.4 is going to be uploaded to unstable in a couple of weeks. When that
happens, the severity of this bug will be bumped to serious.

In case you have questions, please Cc sph...@packages.debian.org on reply.

[1]: https://www.sphinx-doc.org/en/2.0/changes.html
[2]: 
https://www.sphinx-doc.org/en/2.0/extdev/deprecated.html#dev-deprecated-apis

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to