Raspberry Pi Debian images - Latest Releases

Resolution of Failure to build mlat-client from source code on Debian Bullseye arm64 / RPi Model 4

 

@obj : After Googling, found the reason for failure: Missing build dependency dh-python

The build dependency dh-python is not included in file debian/control, so initially I did not install it.

After adding dh-python, I could successfully build & install mlat-client, and RB24 feeder’s mlat is active now.

## Install dependencies
pi@rpi4-20210823:~$ sudo apt-get install git curl build-essential debhelper python3-dev 

## To avoid conflict, the package dh-python should be installed only after 
## above dependencies have been installed
pi@rpi4-20210823:~$ sudo apt-get install dh-python


## Clone source-code and build the package
pi@rpi4-20210823:~$ git clone https://github.com/mutability/mlat-client.git 
pi@rpi4-20210823:~$ cd mlat-client 
pi@rpi4-20210823:~/mlat-client$ sudo 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 arm64
 dpkg-source --before-build .
 debian/rules clean
... ... ... ...
... ... ... ...
... ... ... ...
dpkg-deb: building package 'mlat-client-dbgsym' in '../mlat-client-dbgsym_0.2.11_arm64.deb'.
dpkg-deb: building package 'mlat-client' in '../mlat-client_0.2.11_arm64.deb'.
 dpkg-genbuildinfo --build=binary
 dpkg-genchanges --build=binary >../mlat-client_0.2.11_arm64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)

 

pi@rpi4-20210823:~$ sudo dpkg -i mlat-client_0.2.11_arm64.deb  
... ... ... ...
Setting up mlat-client (0.2.11) ... 

pi@rpi4-20210823:~$ sudo apt-mark hold mlat-client
mlat-client set on hold.

image