FlightAware Discussions

Dump1090-mutability ver 1.15~dev package now available in Repository!

I’m not involved with this, I’d guess it’s a snapshot version with modifications by the debian maintainer. I can’t provide any support for it.

2 Likes

Hi @obj, thanks for the confirmation.

https://manpages.debian.org/testing/dump1090-mutability/dump1090-mutability.1.en.html

Regards.

Download dump1090-mutability - For Buster

Architecture Package Size Installed Size Files
amd64 508.2 kB 2,723.0 kB [list of files]
arm64 504.8 kB 2,699.0 kB [list of files]
armel 504.6 kB 2,705.0 kB [list of files]
armhf 502.2 kB 2,657.0 kB [list of files]
i386 511.8 kB 2,733.0 kB [list of files]
mips 510.1 kB 2,734.0 kB [list of files]
mips64el 508.0 kB 2,744.0 kB [list of files]
mipsel 510.1 kB 2,734.0 kB [list of files]
ppc64el 512.5 kB 2,831.0 kB [list of files]
s390x 502.4 kB
1 Like

Hi Oliver
Thanks for the clarification.

Raspbian Buster On RPi Model 2 - Building Package of dump1090-mutability ver 1.15~dev from Source Code Failed:

sudo apt update
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
Do you want to accept these changes and continue updating from this repository? [y/N] y

.

sudo apt install -y git debhelper librtlsdr-dev lighttpd
sudo apt install -y rtl-sdr build-essential cron curl
sudo apt install -y fakeroot libusb-1.0-0-dev pkg-config 

git clone https://github.com/mutability/dump1090.git
cd /home/pi/dump1090
sudo dpkg-buildpackage -b

dpkg-buildpackage: info: source package dump1090-mutability
dpkg-buildpackage: info: source version 1.15~dev
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: info: host architecture armhf
 dpkg-source --before-build .
 debian/rules clean
dh clean
dh: Compatibility levels before 9 are deprecated (level 8 in use)
   dh_auto_clean
dh_auto_clean: Compatibility levels before 9 are deprecated (level 8 in use)
        make -j1 clean
make[1]: Entering directory '/home/pi/dump1090'
.... .... .... ....
.... .... .... ....
/usr/bin/ld: dump1090.o: in function `rtlsdrCallback':
./dump1090.c:414: undefined reference to `rtlsdr_cancel_async'
/usr/bin/ld: dump1090.o: in function `verbose_device_search':
./dump1090.c:867: undefined reference to `rtlsdr_get_device_count'
/usr/bin/ld: ./dump1090.c:874: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:890: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:894: undefined reference to `rtlsdr_get_device_name'
/usr/bin/ld: dump1090.o: in function `modesInitRTLSDR':
./dump1090.c:287: undefined reference to `rtlsdr_get_device_count'
/usr/bin/ld: ./dump1090.c:295: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:303: undefined reference to `rtlsdr_open'
/usr/bin/ld: ./dump1090.c:310: undefined reference to `rtlsdr_set_tuner_gain_mode'
/usr/bin/ld: ./dump1090.c:316: undefined reference to `rtlsdr_get_tuner_gains'
/usr/bin/ld: ./dump1090.c:323: undefined reference to `rtlsdr_get_tuner_gains'
/usr/bin/ld: ./dump1090.c:358: undefined reference to `rtlsdr_set_tuner_gain'
/usr/bin/ld: ./dump1090.c:365: undefined reference to `rtlsdr_set_freq_correction'
/usr/bin/ld: ./dump1090.c:367: undefined reference to `rtlsdr_set_center_freq'
/usr/bin/ld: ./dump1090.c:368: undefined reference to `rtlsdr_set_sample_rate'
/usr/bin/ld: ./dump1090.c:370: undefined reference to `rtlsdr_reset_buffer'
/usr/bin/ld: ./dump1090.c:372: undefined reference to `rtlsdr_get_tuner_gain'
/usr/bin/ld: ./dump1090.c:366: undefined reference to `rtlsdr_set_agc_mode'
/usr/bin/ld: dump1090.o: in function `verbose_device_search':
./dump1090.c:900: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:910: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: ./dump1090.c:917: undefined reference to `rtlsdr_get_device_name'
/usr/bin/ld: dump1090.o: in function `readerThreadEntryPoint':
./dump1090.c:612: undefined reference to `rtlsdr_read_async'
/usr/bin/ld: ./dump1090.c:629: undefined reference to `rtlsdr_close'
/usr/bin/ld: ./dump1090.c:618: undefined reference to `rtlsdr_close'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:54: dump1090] Error 1
make[2]: Leaving directory '/home/pi/dump1090-mut'
dh_auto_build: make -j1 "EXTRACFLAGS=-DHTMLPATH=\\\"/usr/share/dump1090-mutability/html\\\" -DMODES_DUMP1090_VARIANT=\\\"dump1090-mutability\\\"" returned exit code 2
make[1]: *** [debian/rules:21: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/pi/dump1090-mut'
make: *** [debian/rules:30: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

@obj

[S O L V E D]

(1) Purged librtlsdr-dev (0.6-1+rpt1) and librtlsdr0 (0.6-1+rpt1) installed from apt

sudo apt purge librtlsdr-dev
sudo apt purge librtlsdr0

(2) Downloaded and installed librtlsdr0 (0.5.3-11) and librtlsdr-dev (0.5.3-11) from Debian Package repository

wget -O ~/librtlsdr0_0.5.3-11+b2_armhf.deb "http://ftp.us.debian.org/debian/pool/main/r/rtl-sdr/librtlsdr0_0.5.3-11+b2_armhf.deb"
sudo dpkg -i librtlsdr0_0.5.3-11+b2_armhf.deb

wget -O ~/librtlsdr-dev_0.5.3-11+b2_armhf.deb "http://ftp.us.debian.org/debian/pool/main/r/rtl-sdr/librtlsdr-dev_0.5.3-11+b2_armhf.deb"
sudo dpkg -i librtlsdr-dev_0.5.3-11+b2_armhf.deb

(3) Build & Installed dump1090-mutability v1.15~dev package

cd dump1090
sudo dpkg-buildpackage -b

cd ../
sudo dpkg -i dump1090-mutability_1.15~dev_armhf.deb

sudo wget -O  /etc/udev/rules.d/rtl-sdr.rules "https://raw.githubusercontent.com/osmocom/rtl-sdr/master/rtl-sdr.rules"

sudo dpkg-reconfigure dump1090-mutability

sudo reboot

EDIT: (July 20, 2019)

FlightRadar24 datafeeder fails to install due to degrading of librtlsdr0 and librtlsdr-dev from (0.6-1+rpt1) to (0.5.3-11+b2).

The dump1090-mutability needs old version (0.5.3-11+b2) only during building the package and during its installation. Once the dump1090-mutability is installed, upgrading librtlsdr0 and rtlsdr-dev to ( 0.6-1+rpt1) does not affect it.

Therefore following additional step should be done after installation of dump1090-mutability and before installation of Flightradar24 data feeder (and possibly some other data feeders also). These commands will upgrade librtlsdr0 and librtlsdr-dev to latest version.

sudo apt update
sudo apt install librtlsdr0 librtlsdr-dev

.
image

I mean who cares if there is a package for it in the repository?

Anyway nicely done! :wink:

Maybe this will solve PI4 issue also.
I mean replacing
librtlsdr-dev (0.6-1+rpt1) and librtlsdr0 (0.6-1+rpt1)
by
librtlsdr0 (0.5.3-11) and librtlsdr-dev (0.5.3-11)

No, that’s so much of a different problem, literally another species :wink:

The problem with compiling dump1090-mutability on buster is probably that you need to include some other file into the code.
As you can see from the compiler error it’s just not finding the library functions.

I am not maintaining this code.

I am aware of this. Maintaining both fa and mutability versions is neither easy nor necessary.

I pointed my post to you for your information only.

1 Like

Maintainers for dump1090-mutability Package are “Debian Hamradio Maintainers”

https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=dump1090-mutability

Please see this update:

What is the main utilty of Repository?

Which one do you mean?
The repository of debian packages?
It holds debian packages.

I don’t think i understand your question.

The repository package:

  1. Is not available in Stretch Repository, only in Buster Repository
  2. Requires 3 new dependencies which were not required earlier:
  • libjs-excanvas
  • libjs-jquery-ui
  • libjs-jquery-ui-theme-smoothness
pi@raspberrypi:~ $ sudo apt install dump1090-mutability
... ... ...
... ... ...
The following NEW packages will be installed:
  dump1090-mutability libjs-excanvas libjs-jquery-ui
  libjs-jquery-ui-theme-smoothness
0 upgraded, 4 newly installed, 0 to remove and 9 not upgraded.
Need to get 830 kB of archives.
After this operation, 5,413 kB of additional disk space will be used.
Do you want to continue? [Y/n]

tried today on freshly written Raspbian Buster (No software or packages whatsoever installed).
More dependencies were installed today:

dump1090-mutability
libfam0
libjs-excanvas
libjs-jquery-ui
libjs-jquery-ui-theme-smoothness
libmariadb3
librtlsdr0
lighttpd
lighttpd-modules-ldap
lighttpd-modules-mysql
mariadb-common
mysql-common
spawn-fcgi

.

cat /etc/os-release | grep PRETTY
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"

uname -a
Linux raspberrypi 4.19.57-v7+ #1244 SMP Thu Jul 4 18:45:25 BST 2019 armv7l GNU/Linux

.

sudo apt update
sudo apt install dump1090-mutability
... ... ...
The following additional packages will be installed:
  libfam0 libjs-excanvas libjs-jquery-ui libjs-jquery-ui-theme-smoothness
  libmariadb3 librtlsdr0 lighttpd lighttpd-modules-ldap lighttpd-modules-mysql
  mariadb-common mysql-common spawn-fcgi

Suggested packages:
  fam libjs-jquery-ui-docs rrdtool php-cgi apache2-utils lighttpd-doc
The following NEW packages will be installed:
  dump1090-mutability libfam0 libjs-excanvas libjs-jquery-ui
  libjs-jquery-ui-theme-smoothness libmariadb3 librtlsdr0 lighttpd
  lighttpd-modules-ldap lighttpd-modules-mysql mariadb-common mysql-common
  spawn-fcgi
0 upgraded, 13 newly installed, 0 to remove and 9 not upgraded.
Need to get 1,411 kB of archives.
After this operation, 7,184 kB of additional disk space will be used.
Do you want to continue? [Y/n]

Future plans

Packages following the same model for MalcolmRobb & FlightAware’s forks of dump1090 are in the pipeline. So is a repackaged version of piaware.

.

Great news for users of Linux amd64 on Intel PC.
If this materializes, for architectures other than arm (RPI), piaware packages could be installed by command sudo apt install piaware and sudo apt install dump1090-fa. No need to build from source code.

1 Like

Building from source

Note about Bias-t support: Bias-t support is available for RTL-SDR.com V3 dongles. If you wish to enable bias-t support, you must insure that you are building this package with a version of librtlsdr that supports this capability. You can find suitable source packages here and here. To enable the necessary support code when building, be sure to include preprocessor define macro HAVE_RTL_BIAST.