• Bug#1064726: 0ad: FTBFS: ImportError: cannot import name 'dist' from 'd

    From David W. Kennedy@21:1/5 to All on Sun Mar 17 22:00:01 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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)