[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965018: RFS: freetype-py/2.2.0-1 -- Freetype Python bindings for Python 3



Am 29.07.20 um 06:10 schrieb Drew Parsons:
> Hi Bastian, freetype-py builds fine with dpkg-buildpackage, but fails in
> chroot (pdebuild pbuilder):
> 
> $ pdebuild
> dpkg-checkbuilddeps: error: Unmet build dependencies:
> python3-setuptools-scm
> W: Unmet build-dependency in source
> dh clean --with python3 --buildsystem=pybuild
>    dh_auto_clean -O--buildsystem=pybuild
>     install -d
> /projects/freetype-py/debian/.debhelper/generated/_source/home
>     pybuild --clean --test-pytest -i python{version} -p 3.8
> I: pybuild base:217: python3.8 setup.py clean
> # Will use the system-provided FreeType.
> Traceback (most recent call last):
>   File "setup.py", line 103, in <module>
>     setup(
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
> 143, in setup
> ...
>     raise DistutilsError('the `allow-hosts` option is not supported '
> distutils.errors.DistutilsError: the `allow-hosts` option is not
> supported when using pip to install requirements.
> E: pybuild pybuild:352: clean: plugin distutils failed with: exit
> code=1: python3.8 setup.py clean
> dh_auto_clean: error: pybuild --clean --test-pytest -i python{version}
> -p 3.8 returned exit code 13
> make: *** [debian/rules:8: clean] Error 25
> 
> 
> 
> 
> Are you able to interpret that error, or do you have a clean chroot to
> inspect?
> 
> Drew
> 

The python3-setuptools-scm build dependency could not be installed in
your environment which causes setuptools to try download this package.
That obviously fails.

Shouldn't pdebuild make sure that all the build dependencies are installed?


Reply to: