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

Build issues on Raspberry Pi's Debian #36

Open
cnlohr opened this issue Jul 14, 2023 · 0 comments
Open

Build issues on Raspberry Pi's Debian #36

cnlohr opened this issue Jul 14, 2023 · 0 comments

Comments

@cnlohr
Copy link

cnlohr commented Jul 14, 2023

I get the following error after installing prerequisites:

pi@cabinpi:~/mlat-client $ 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 armhf
 dpkg-source --before-build .
 fakeroot debian/rules clean
dh clean --with python3
dh: warning: Compatibility levels before 10 are deprecated (level 8 in use)
dh: error: unable to load addon python3: Can't locate Debian/Debhelper/Sequence/python3.pm in @INC (you may need to install the Debian::Debhelper::Sequence::python3 module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/arm-linux-gnueabihf/perl5/5.32 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl-base /usr/lib/arm-linux-gnueabihf/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at (eval 4) line 1.
BEGIN failed--compilation aborted at (eval 4) line 1.

make: *** [debian/rules:36: clean] Error 255
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2

Solution: include dh-python to the prerequisites. And add dh-python to the debian/conrol file's build-depends.

Then, I get the following error:

dh_auto_clean: error: failed to run pyversions

I tried installing it via pip3, but to no avail.

Any ideas?

I was able to "get around it" by just symlinking py3versions to pyversions. That feels incredibly ugly, though. It looks like the build tool ignores the override in debian/rules.

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

1 participant