Skip to content

Debian 11 build problem #33

@iwikus

Description

@iwikus

On Debian 11 package python2-minimal need to be installed. When it is missing, build fails with missing pyversions

root@rx:~/install/mlat-client-master# dpkg-buildpackage -b -uc
dpkg-buildpackage: info: source package mlat-client
dpkg-buildpackage: info: source version 0.2.11
dpkg-buildpackage: info: source distribution stable
dpkg-buildpackage: info: source changed by Oliver Jowett <oliver.jowett@flightaware.com>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean --with python3
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/root/install/mlat-client-master'
dh_auto_clean
dh_auto_clean: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh_auto_clean: warning: Please use the third-party "pybuild" build system instead of python-distutils
dh_auto_clean: warning: This feature will be removed in compat 12.
Can't exec "pyversions": No such file or directory at /usr/share/perl5/Debian/Debhelper/Buildsystem/python_distutils.pm line 124.
dh_auto_clean: error: failed to run pyversions
make[1]: *** [debian/rules:31: override_dh_auto_clean] Error 255
make[1]: Leaving directory '/root/install/mlat-client-master'
make: *** [debian/rules:36: clean] Error 2
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
root@rx:~/install/mlat-client-master# cat /etc/debian_version
11.3

apt install python2-minimal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions