Hi,

On 2023-07-10 10:09, Simon McVittie wrote:
> On Sun, 09 Jul 2023 at 23:00:01 -0400, Eli Schwartz wrote:
> > The underlying cause is an additional feature
> > of meson:
> > 
> > https://mesonbuild.com/Release-notes-for-1-2-0.html#python-module-can-now-compile-bytecode
> > 
> > If this file is not desired in the debian package, please specify your
> > preferred value for this meson setting. For example, to avoid compiling
> > bytecode as part of `meson install`, you could setup the build system
> > with the `-Dpython.bytecompile=-1` option.
> 
> I think we probably want debhelper's meson build system backend
> (/usr/share/perl5/Debian/Debhelper/Buildsystem/meson.pm) to do this
> globally for all Meson-built packages, the same way it already handles
> cross-compilation, --prefix, --sysconfdir and so on, instead of having to
> do it per-package.

I understand the need to fix the issue globally on the debhelper or
meson side, and I have seen the bug #1042398. From my understanding we
won't have a solution soon, and in the meantime pycairo is not
buildable. This affects the riscv64 bootstrap, many packages are blocked
behind this.

Therefore I wonder if it should be possible to temporarily address the
issue directly in pycairo by passing -Dpython.bytecompile=-1 at the
configure step. I can offer to do a NMU if it can spare you some work.

Regards
Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurel...@aurel32.net                     http://aurel32.net

Reply via email to