Bug#1064726: 0ad: FTBFS: ImportError: cannot import name 'dist' from 'distutils' (/usr/lib/python3.11/distutils/__init__.py)
David W. Kennedy
dave_k at reasoned.us
Sun Mar 17 20:34:54 GMT 2024
Hi,
I found that adding Build-Depends: python3-distutils solves this
problem.
The natural question is why did build of 0ad work in the past, but not
now. I found that python3-distutils was being pulled in only as a side
effect of one of the dependencies, libsdl2-dev. The build failure is
caused by the fact that the Debian package of glib2.0 stopped depending
on python3-distutils as of 23 Jan 2024.
Specifically, libsdl2-dev depends on libibus-1.0-dev, which depends on
libglib2.0-dev, which depends on libglib2.0-dev-bin, which used to
depend on python3-distutils, but now depends on python3-packaging. This
change was made to libglib2.0-dev-bin in version 2.78.3-2 on 23 Jan
2024.
I've committed the Build-Depends change to Debian Salsa.
Thanks.
--
David W. Kennedy
More information about the Pkg-games-devel
mailing list