Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian 11 build problem #33

Open
iwikus opened this issue Apr 1, 2022 · 2 comments
Open

Debian 11 build problem #33

iwikus opened this issue Apr 1, 2022 · 2 comments

Comments

@iwikus
Copy link

iwikus commented Apr 1, 2022

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 <[email protected]>
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

@mutability
Copy link
Owner

This seems like the wrong solution given that mlat-client is python3-only

@iwikus
Copy link
Author

iwikus commented Apr 1, 2022

It does not mean that mlat-client it is run by python2. You just need that python2-minimal package to build mlat-client package on Debian 11. Yes, proper way is to fix build process somehow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants