On 2020-08-02 23:10, Drew Parsons wrote:
On 2020-07-29 23:45, mat...@debian.org wrote:
On Wed, Jul 29, 2020 at 11:09:37AM +0200, Bastian Germann wrote:
Shouldn't pdebuild make sure that all the build dependencies are
installed?
I certainly would have expected it to check build dependencies, just
as dpkg-buildpackage does.
You are both confusing pdebuild with pbuilder here.
That's the `clean` step that is failing, which is done outside of the
chroot. That's responsability of whoever is calling `pdebuild` to
satisfy.
...
It certainly is true that I didn't have python3-setuptools-scm
installed. Installing it enables pdebuild to proceed normally.
...
I'll file a bug against pbuilder about the pdebuild problem.
Actually pdebuild already has the --use-pdebuild-internal option which
runs clean inside the chroot. So the freetype-py build can be done with
pdebuild this way, without needing to install python3-setuptools-scm on
the local host system. A little non-intuitive, but it will do the job
for me.
Drew