On Thu, 27 Jul 2023 at 13:49:33 +0200, Timo Röhling wrote:
> recently there have been two independent changes in the Python and
> CMake world which conspired to FTBFS a number of packages.
> 
> TL;DR: export DEB_PYTHON_INSTALL_LAYOUT=deb_system in d/rules

Is "deb_system" and not "deb" the canonical thing to use here? The GNOME
team has been using "DEB_PYTHON_INSTALL_LAYOUT = deb" to work around
the corresponding issue with Meson-built packages.

> The patched sysconfig and distutils.sysconfig modules in Debian
> have a (somewhat poorly documented) override for package
> builds: set the DEB_PYTHON_INSTALL_LAYOUT environment variable to
> "deb_system". This is used internally by pybuild

Would it make sense for debhelper to set this, either unconditionally
or in a sufficiently new compat level, and either unconditionally or
for the cmake and meson build systems?

    smcv

Reply via email to