Bonjour Dylan,

On 11/14/22 09:41, Dylan Aïssi wrote:
>> I've elected to just build it with the nocheck profile.
>
> Currently, without adding at least python3-distutils (and maybe other?) in BD,
> pcm fails at the dh_auto_configure step with:
>
>> ModuleNotFoundError: No module named 'distutils.core'
>> ../meson.build:31:0: ERROR: <ExternalProgram 'python3' -> 
>> ['/usr/bin/python3']> is not a valid python or it is missing setuptools
>> dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. 
>> --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc 
>> --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dkeyringd
>
> This is easily reproducible with salsa-ci by setting RELEASE to
> bullseye like I did here:
>> https://salsa.debian.org/daissi/pacman/-/jobs/3514447
>
> My point is this issue is hidden in sid because python3-distutils is
> pulled by dependencies,
> but it (or python3-all) must be added in the Build-Deps of pcm even
> for sid. Moreover,
> based on the meson.build, it looks like python3 is not an optional build-deps.

Interesting, didn't show up with my local sbuild runs for my personal
archive. I had unmodified backports build fine with a nodoc flag. But if
I test nodoc with Salsa it fails as you showed me. Strange.

Thanks,
--
Ben Westover

Attachment: OpenPGP_signature
Description: PGP signature

Reply via email to