Bug#909440: meson: missing dependency on python3-pkg-resources

2018-09-24 Thread Jeremy Bicha
On Sun, Sep 23, 2018 at 11:21 PM Jeremy Bicha  wrote:
> On Sun, Sep 23, 2018 at 10:53 PM Jussi Pakkanen  wrote:
> > On Sun, Sep 23, 2018 at 10:03 AM Jeremy Bicha  wrote:
> >
> > > I tried building a package (gnome-games-app) using meson but the build
> > > fails now. I guess meson needs to depend on python3-pkg-resources .
> >
> > No. We are not permitted to depend on anything outside of Python
> > standard library. Thought looking at the package info that package is
> > provided by setuptools which is a bit of an edge case because
> > distutils is a bit neglected AFAICT.
>
> This issue means that everything using meson in Debian fails to build
> right now. Specifically, this is blocking us from being able to do the
> GNOME 3.30.1 updates this week.
>
> So I think a temporary fix now would be appropriate and then you can
> take more time to figure out a different solution if you like.

You might want to look at
https://github.com/mesonbuild/meson/pull/4004 if you're still
wondering how this change happened.

May I do an NMU to add the dependency to unbreak things?

Thanks,
Jeremy Bicha



Bug#909440: meson: missing dependency on python3-pkg-resources

2018-09-23 Thread Jeremy Bicha
On Sun, Sep 23, 2018 at 10:53 PM Jussi Pakkanen  wrote:
> On Sun, Sep 23, 2018 at 10:03 AM Jeremy Bicha  wrote:
>
> > I tried building a package (gnome-games-app) using meson but the build
> > fails now. I guess meson needs to depend on python3-pkg-resources .
>
> No. We are not permitted to depend on anything outside of Python
> standard library. Thought looking at the package info that package is
> provided by setuptools which is a bit of an edge case because
> distutils is a bit neglected AFAICT.

This issue means that everything using meson in Debian fails to build
right now. Specifically, this is blocking us from being able to do the
GNOME 3.30.1 updates this week.

So I think a temporary fix now would be appropriate and then you can
take more time to figure out a different solution if you like.

Thanks,
Jeremy Bicha



Bug#909440: meson: missing dependency on python3-pkg-resources

2018-09-23 Thread Jussi Pakkanen
On Sun, Sep 23, 2018 at 10:03 AM Jeremy Bicha  wrote:

> I tried building a package (gnome-games-app) using meson but the build
> fails now. I guess meson needs to depend on python3-pkg-resources .

No. We are not permitted to depend on anything outside of Python
standard library. Thought looking at the package info that package is
provided by setuptools which is a bit of an edge case because
distutils is a bit neglected AFAICT.



Bug#909440: meson: missing dependency on python3-pkg-resources

2018-09-23 Thread Jeremy Bicha
Source: meson
Version: 0.48.0-1
Severity: serious
X-Debbugs-CC: mp...@debian.org

I tried building a package (gnome-games-app) using meson but the build
fails now. I guess meson needs to depend on python3-pkg-resources .

Build log excerpt
--
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>'
dh_auto_configure -- --bindir=/usr/games
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
--libexecdir=lib/x86_64-linux-gnu --bindir=/usr/games
Traceback (most recent call last):
  File "/usr/bin/meson", line 6, in 
from pkg_resources import load_entry_point
ModuleNotFoundError: No module named 'pkg_resources'

Thanks,
Jeremy Bicha