FlightAware Discussions

Anyone working with the new x86 Raspbian


#183

I also thought it was shmutz.

S


#184

Finally followed all the good advice and did complete, bootable USB, with persistance, with successful build of Piaware on x86 PC. But what now? I don’t know bash commands to see if Dmp1090-mutability is running? Assuming it is, do I need to unclaimed my Pi version in order to see the PC version? I created a new FA user thinking that user could ‘claim’ the PC version. But no, even when I use the ‘claim my device’ link, there is no device to claim. So, back to the beginning of this post. What next?


#185
  1. What is the output of following command?

    sudo systemctl status piaware

  2. This command will output the feeder-id currently in use as guest (unclaimed).

    sudo piaware-config -show feeder-id

  3. When claiming, the computer running Piaware, and the computer from which you are claiming should be on the same LAN (Local Area Network)


#186

I have rebooted the PC today:

pi@raspberrypi:~ $ sudo systemctl status piaware
Unit piaware.service could not be found.

pi@raspberrypi:~ $ sudo piaware-config -show feeder-id
sudo: piaware-config: command not found


#187

Piaware is not installed or not configured.
How you installed it. Please give link to post or web page where this method is documented.


#188

3rd question: everthing on same home wifi


#189

I thought it was you in message that gave me 3 commands to test that dmp1090_mutability was installed and running. Perhaps not you. It included a bash command that ‘will show me the data page for my adsb data.’ Didn’t work.

Dmp1090_mutability was installed and running yesterday. Did I loose it with the reboot. I was running a ‘persistance’ system when I got it all loaded.


#190

There are 2 independent pieces of software, and BOTH are required to feed Flightaware:

  1. The receiver-decoder software, i.e. dump1090-fa OR dump1090-mutability.

  2. Piaware data feeder.

It seems you have installed dump1090-mutability, but did NOT install Piaware data feeder.

To check Installed status, use these commands:

Piaware data feeder
sudo apt-cache policy piaware

Dump1090-mutability
sudo apt-cache policy dump1090-mutability

To check the operational status, use these commands

Piaware data feeder
sudo systemctl status piaware

Dump1090-mutability
sudo systemctl status dump1090-mutability

.
.


#191

As a side-note…

I was running VirtualBox 5.0.x and the rtl-sdr feed to dump1090-fa would die almost immediately.

Upgraded to virtualbox 6.0.0 and poof. Seems to be running nice and stable now.

(just in case anyone wonders.)

Cheers,

-Ben


#192

UPDATE XENIALPUP-7.5 (32 bit)

To summerize what I have done uptill now:

  1. Clicked “Install” icon on Desktop, and loaded modules “devx.sfs” and “sources.sfs”

  2. Downloaded and installed package “dpkg-dev_1.18.4ubuntu1.5_all.deb” from this Web Page:
    https://launchpad.net/ubuntu/xenial/i386/dpkg-dev/1.18.4ubuntu1.5

  3. Used PPM and installed following packages:
    (a) “git-hub_0.9.0-2”
    (b) “debhelper_9.20160115ubuntu3”
    (c ) “build-essential_12.1ubuntu2”
    (d) “dh-systemd_1.29ubuntu4”

  4. Downloaded & installed .deb package “librtlsdr-dev” (dependency for dump1090, but not available in PPM) from following web page:
    https://launchpad.net/ubuntu/xenial/i386/librtlsdr-dev/0.5.3-5

  5. Downloaded & installed .deb package “libncurses5-dev” (dependency for dump1090, but not available in PPM) from following web page:
    https://launchpad.net/ubuntu/xenial/i386/libncurses5-dev/6.0+20160213-1ubuntu1

6. followed steps in post #102, and got this:

root# dpkg-buildpackage -b
dpkg-buildpackage: source package dump1090-fa
dpkg-buildpackage: source version 3.6.3
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build dump1090
dpkg-checkbuilddeps: error: cannot open /var/lib/dpkg/status: No such file or directory
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

.
7. Created missing file

root# touch /var/lib/dpkg/status

8. Again started build process.

Strange that found dependency problem althoug I have installed these dependencies as listed above.

root# dpkg-buildpackage -b
dpkg-buildpackage: source package dump1090-fa
dpkg-buildpackage: source version 3.6.3
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build dump1090
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) librtlsdr-dev libusb-1.0-0-dev pkg-config dh-systemd libncurses5-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

9. Re-tried with -d flag.

Went all the way OK :slight_smile:, but when almost at the end, got stuck :frowning:

root# dpkg-buildpackage -b -d
dpkg-buildpackage: source package dump1090-fa
dpkg-buildpackage: source version 3.6.3
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build dump1090
 debian/rules clean
dh clean --with=systemd
   dh_testdir
   dh_auto_clean
	make -j1 clean
make[1]: Entering directory '/root/dump1090'
rm -f *.o compat/clock_gettime/*.o compat/clock_nanosleep/*.o dump1090 view1090 faup1090 cprtests crctests convert_benchmark
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
make[1]: Leaving directory '/root/dump1090'
   dh_clean
	rm -f debian/debhelper-build-stamp
	rm -f debian/dump1090.substvars
	rm -f debian/dump1090.*.debhelper
	rm -rf debian/dump1090/
	rm -f debian/dump1090-fa.substvars
	rm -f debian/dump1090-fa.*.debhelper
	rm -rf debian/dump1090-fa/
	rm -rf debian/.debhelper/
	rm -f debian/*.debhelper.log
	rm -f debian/files
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
		 -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
		 -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
		\) -exec rm -f {} + \) -o \
		\( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
	rm -f *-stamp
 debian/rules build
dh build --with=systemd
   dh_testdir
   dh_update_autotools_config
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/root/dump1090'
dh_auto_build -- RTLSDR=yes BLADERF=no DUMP1090_VERSION=3.6.3
	make -j1 RTLSDR=yes BLADERF=no DUMP1090_VERSION=3.6.3
make[2]: Entering directory '/root/dump1090'
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c dump1090.c -o dump1090.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c anet.c -o anet.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c interactive.c -o interactive.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c mode_ac.c -o mode_ac.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c mode_s.c -o mode_s.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c comm_b.c -o comm_b.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c net_io.c -o net_io.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c crc.c -o crc.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c demod_2400.c -o demod_2400.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c stats.c -o stats.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c cpr.c -o cpr.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c icao_filter.c -o icao_filter.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c track.c -o track.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c util.c -o util.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c convert.c -o convert.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c sdr_ifile.c -o sdr_ifile.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c sdr.c -o sdr.o
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c sdr_rtlsdr.c -o sdr_rtlsdr.o
cc -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o comm_b.o net_io.o crc.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o convert.o sdr_ifile.o sdr.o sdr_rtlsdr.o   -lpthread -lm -lrt -lrtlsdr -lusb-1.0 -lncurses
cc  -DMODES_DUMP1090_VERSION=\"3.6.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/ -c view1090.c -o view1090.o
cc -g -o view1090 view1090.o anet.o interactive.o mode_ac.o mode_s.o comm_b.o net_io.o crc.o stats.o cpr.o icao_filter.o track.o util.o   -lpthread -lm -lrt -lncurses
make[2]: Leaving directory '/root/dump1090'
make[1]: Leaving directory '/root/dump1090'
   dh_auto_test
	make -j1 test
make[1]: Entering directory '/root/dump1090'
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
cc  -DMODES_DUMP1090_VERSION=\"\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -DENABLE_BLADERF -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/  -c cprtests.c -o cprtests.o
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
cc  -DMODES_DUMP1090_VERSION=\"\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DENABLE_RTLSDR -DENABLE_BLADERF -g -O2 -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -I/usr/include/  -g -o cprtests cpr.o cprtests.o -lm
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
./cprtests
Package libbladeRF was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbladeRF.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbladeRF' found
testCPRGlobalAirborne[0,EVEN]: PASS
testCPRGlobalAirborne[0,ODD]:  PASS
testCPRGlobalAirborne[1,EVEN]: PASS
testCPRGlobalAirborne[1,ODD]:  PASS
testCPRGlobalSurface[0,EVEN]:  PASS
testCPRGlobalSurface[0,ODD]:   PASS
testCPRGlobalSurface[1,EVEN]:  PASS
testCPRGlobalSurface[1,ODD]:   PASS
testCPRGlobalSurface[2,EVEN]:  PASS
testCPRGlobalSurface[2,ODD]:   PASS
testCPRGlobalSurface[3,EVEN]:  PASS
testCPRGlobalSurface[3,ODD]:   PASS
testCPRGlobalSurface[4,EVEN]:  PASS
testCPRGlobalSurface[4,ODD]:   PASS
testCPRGlobalSurface[5,EVEN]:  PASS
testCPRGlobalSurface[5,ODD]:   PASS
testCPRGlobalSurface[6,EVEN]:  PASS
testCPRGlobalSurface[6,ODD]:   PASS
testCPRGlobalSurface[7,EVEN]:  PASS
testCPRGlobalSurface[7,ODD]:   PASS
testCPRGlobalSurface[8,EVEN]:  PASS
testCPRGlobalSurface[8,ODD]:   PASS
testCPRGlobalSurface[9,EVEN]:  PASS
testCPRGlobalSurface[9,ODD]:   PASS
testCPRGlobalSurface[10,EVEN]:  PASS
testCPRGlobalSurface[10,ODD]:   PASS
testCPRGlobalSurface[11,EVEN]:  PASS
testCPRGlobalSurface[11,ODD]:   PASS
testCPRGlobalSurface[12,EVEN]:  PASS
testCPRGlobalSurface[12,ODD]:   PASS
testCPRGlobalSurface[13,EVEN]:  PASS
testCPRGlobalSurface[13,ODD]:   PASS
testCPRGlobalSurface[14,EVEN]:  PASS
testCPRGlobalSurface[14,ODD]:   PASS
testCPRGlobalSurface[15,EVEN]:  PASS
testCPRGlobalSurface[15,ODD]:   PASS
testCPRGlobalSurface[16,EVEN]:  PASS
testCPRGlobalSurface[16,ODD]:   PASS
testCPRGlobalSurface[17,EVEN]:  PASS
testCPRGlobalSurface[17,ODD]:   PASS
testCPRGlobalSurface[18,EVEN]:  PASS
testCPRGlobalSurface[18,ODD]:   PASS
testCPRGlobalSurface[19,EVEN]:  PASS
testCPRGlobalSurface[19,ODD]:   PASS
testCPRGlobalSurface[20,EVEN]:  PASS
testCPRGlobalSurface[20,ODD]:   PASS
testCPRGlobalSurface[21,EVEN]:  PASS
testCPRGlobalSurface[21,ODD]:   PASS
testCPRGlobalSurface[22,EVEN]:  PASS
testCPRGlobalSurface[22,ODD]:   PASS
testCPRRelative[0]:  PASS
testCPRRelative[1]:  PASS
testCPRRelative[2]:  PASS
testCPRRelative[3]:  PASS
testCPRRelative[4]:  PASS
testCPRRelative[5]:  PASS
testCPRRelative[6]:  PASS
testCPRRelative[7]:  PASS
testCPRRelative[8]:  PASS
testCPRRelative[9]:  PASS
testCPRRelative[10]:  PASS
testCPRRelative[11]:  PASS
testCPRRelative[12]:  PASS
testCPRRelative[13]:  PASS
testCPRRelative[14]:  PASS
testCPRRelative[15]:  PASS
testCPRRelative[16]:  PASS
testCPRRelative[17]:  PASS
testCPRRelative[18]:  PASS
testCPRRelative[19]:  PASS
testCPRRelative[20]:  PASS
testCPRRelative[21]:  PASS
testCPRRelative[22]:  PASS
testCPRRelative[23]:  PASS
testCPRRelative[24]:  PASS
testCPRRelative[25]:  PASS
testCPRRelative[26]:  PASS
testCPRRelative[27]:  PASS
testCPRRelative[28]:  PASS
testCPRRelative[29]:  PASS
make[1]: Leaving directory '/root/dump1090'
 debian/rules binary
dh binary --with=systemd
   dh_testroot
   dh_prep
	rm -f debian/dump1090.substvars
	rm -f debian/dump1090.*.debhelper
	rm -rf debian/dump1090/
	rm -f debian/dump1090-fa.substvars
	rm -f debian/dump1090-fa.*.debhelper
	rm -rf debian/dump1090-fa/
   dh_auto_install
	install -d debian/dump1090
	install -d debian/dump1090-fa
   debian/rules override_dh_install
make[1]: Entering directory '/root/dump1090'
dh_install
	install -d debian/dump1090-fa/usr/share/dump1090-fa/html
	cp --reflink=auto -a ./public_html/config.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/db debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/dbloader.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/flags-tiny debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/flags.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/formatter.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/images debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/index.html debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/jquery debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/layers.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/markers.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/ol debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/planeObject.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/registrations.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/script.js debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/spinny.gif debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/style.css debian/dump1090-fa/usr/share/dump1090-fa/html/
	cp --reflink=auto -a ./public_html/test debian/dump1090-fa/usr/share/dump1090-fa/html/
	install -d debian/dump1090-fa/etc/lighttpd/conf-available
	cp --reflink=auto -a ./debian/lighttpd/88-dump1090-fa-statcache.conf debian/dump1090-fa/etc/lighttpd/conf-available/
	cp --reflink=auto -a ./debian/lighttpd/89-dump1090-fa.conf debian/dump1090-fa/etc/lighttpd/conf-available/
	install -d debian/dump1090-fa//usr/share/dump1090-fa/bladerf
	cp --reflink=auto -a ./bladerf/decimate8-x40.rbf debian/dump1090-fa//usr/share/dump1090-fa/bladerf/
	cp --reflink=auto -a ./bladerf/README debian/dump1090-fa//usr/share/dump1090-fa/bladerf/
install -d debian/dump1090-fa/usr/bin
cp -a dump1090 debian/dump1090-fa/usr/bin/dump1090-fa
cp -a view1090 debian/dump1090-fa/usr/bin/view1090-fa
make[1]: Leaving directory '/root/dump1090'
   dh_installdocs
	install -d debian/dump1090/usr/share/doc/dump1090
	install -p -m0644 debian/copyright debian/dump1090/usr/share/doc/dump1090/copyright
	install -d debian/dump1090-fa/usr/share/doc/dump1090-fa
	cp --reflink=auto -a debian/README.librtlsdr debian/dump1090-fa/usr/share/doc/dump1090-fa
	chown -R 0:0 debian/dump1090-fa/usr/share/doc
	chmod -R go=rX debian/dump1090-fa/usr/share/doc
	chmod -R u\+rw debian/dump1090-fa/usr/share/doc
	install -p -m0644 debian/copyright debian/dump1090-fa/usr/share/doc/dump1090-fa/copyright
   dh_installchangelogs
	install -p -m0644 debian/changelog debian/dump1090/usr/share/doc/dump1090/changelog
	install -p -m0644 debian/changelog debian/dump1090-fa/usr/share/doc/dump1090-fa/changelog
   dh_systemd_enable
	install -d debian/dump1090-fa/lib/systemd/system
	install -p -m644 debian/dump1090-fa.service debian/dump1090-fa/lib/systemd/system/dump1090-fa.service
	echo "# Automatically added by dh_systemd_enable">> debian/dump1090-fa.postinst.debhelper
	sed "s/#UNITFILE#/dump1090-fa.service/" /usr/share/debhelper/autoscripts/postinst-systemd-enable >> debian/dump1090-fa.postinst.debhelper
	echo '# End automatically added section' >> debian/dump1090-fa.postinst.debhelper
	echo "# Automatically added by dh_systemd_enable">> debian/dump1090-fa.postrm.debhelper
	sed "s/#UNITFILES#/dump1090-fa.service/" /usr/share/debhelper/autoscripts/postrm-systemd >> debian/dump1090-fa.postrm.debhelper
	echo '# End automatically added section' >> debian/dump1090-fa.postrm.debhelper
	(grep -a -s -v misc:Depends debian/dump1090-fa.substvars; echo "misc:Depends=init-system-helpers (>= 1.18~)") > debian/dump1090-fa.substvars.new
	mv debian/dump1090-fa.substvars.new debian/dump1090-fa.substvars
   dh_installinit
	install -p -m0644 debian/dump1090-fa.service debian/dump1090-fa/lib/systemd/system/dump1090-fa.service
	install -d debian/dump1090-fa/etc/default
	install -p -m0644 debian/dump1090-fa.default debian/dump1090-fa/etc/default/dump1090-fa
	echo "# Automatically added by dh_installinit">> debian/dump1090-fa.postinst.debhelper
	sed "s/#SCRIPT#/dump1090-fa/g;s/#INITPARMS#/defaults/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/postinst-init >> debian/dump1090-fa.postinst.debhelper
	echo '# End automatically added section' >> debian/dump1090-fa.postinst.debhelper
	echo "# Automatically added by dh_installinit">> debian/dump1090-fa.prerm.debhelper
	sed "s/#SCRIPT#/dump1090-fa/g;s/#INITPARMS#/defaults/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/prerm-init >> debian/dump1090-fa.prerm.debhelper
	echo '# End automatically added section' >> debian/dump1090-fa.prerm.debhelper
	echo "# Automatically added by dh_installinit"> debian/dump1090-fa.postrm.debhelper.new
	sed "s/#SCRIPT#/dump1090-fa/g;s/#INITPARMS#/defaults/g;s/#ERROR_HANDLER#/exit \$?/g" /usr/share/debhelper/autoscripts/postrm-init >> debian/dump1090-fa.postrm.debhelper.new
	echo '# End automatically added section' >> debian/dump1090-fa.postrm.debhelper.new
	cat debian/dump1090-fa.postrm.debhelper >> debian/dump1090-fa.postrm.debhelper.new
	mv debian/dump1090-fa.postrm.debhelper.new debian/dump1090-fa.postrm.debhelper
   dh_systemd_start
	echo "# Automatically added by dh_systemd_start">> debian/dump1090-fa.postinst.debhelper
	sed "s/#UNITFILES#/dump1090-fa.service/" /usr/share/debhelper/autoscripts/postinst-systemd-start >> debian/dump1090-fa.postinst.debhelper
	echo '# End automatically added section' >> debian/dump1090-fa.postinst.debhelper
	echo "# Automatically added by dh_systemd_start"> debian/dump1090-fa.postrm.debhelper.new
	sed "s/#UNITFILES#/dump1090-fa.service/" /usr/share/debhelper/autoscripts/postrm-systemd-reload-only >> debian/dump1090-fa.postrm.debhelper.new
	echo '# End automatically added section' >> debian/dump1090-fa.postrm.debhelper.new
	cat debian/dump1090-fa.postrm.debhelper >> debian/dump1090-fa.postrm.debhelper.new
	mv debian/dump1090-fa.postrm.debhelper.new debian/dump1090-fa.postrm.debhelper
	echo "# Automatically added by dh_systemd_start"> debian/dump1090-fa.prerm.debhelper.new
	sed "s/#UNITFILES#/dump1090-fa.service/" /usr/share/debhelper/autoscripts/prerm-systemd >> debian/dump1090-fa.prerm.debhelper.new
	echo '# End automatically added section' >> debian/dump1090-fa.prerm.debhelper.new
	cat debian/dump1090-fa.prerm.debhelper >> debian/dump1090-fa.prerm.debhelper.new
	mv debian/dump1090-fa.prerm.debhelper.new debian/dump1090-fa.prerm.debhelper
   dh_perl
   dh_link
   dh_strip_nondeterminism
   dh_compress
	cd debian/dump1090
	chmod a-x usr/share/doc/dump1090/changelog
	gzip -9nf usr/share/doc/dump1090/changelog
	cd '/root/dump1090'
	cd debian/dump1090-fa
	chmod a-x usr/share/doc/dump1090-fa/changelog
	gzip -9nf usr/share/doc/dump1090-fa/changelog
	cd '/root/dump1090'
   dh_fixperms
	find debian/dump1090  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/dump1090 ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/dump1090/usr/share/doc -type f  ! -regex 'debian/dump1090/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/dump1090/usr/share/man debian/dump1090/usr/man/ debian/dump1090/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090/usr/lib/i386-linux-gnu/perl5/5.22 debian/dump1090/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/dump1090 -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
	find debian/dump1090-fa  -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0
	find debian/dump1090-fa ! -type l  -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s
	find debian/dump1090-fa/usr/share/doc -type f  ! -regex 'debian/dump1090-fa/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090-fa/usr/share/doc -type d  -print0 2>/dev/null | xargs -0r chmod 0755
	find debian/dump1090-fa/usr/share/man debian/dump1090-fa/usr/man/ debian/dump1090-fa/usr/X11*/man/ -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090-fa/usr/include -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090-fa/usr/share/applications -type f  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090-fa/usr/lib/i386-linux-gnu/perl5/5.22 debian/dump1090-fa/usr/share/perl5 -type f -perm -5 -name '*.pm'  -print0 2>/dev/null | xargs -0r chmod a-X
	find debian/dump1090-fa -perm -5 -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' \)  -print0 2>/dev/null | xargs -0r chmod 0644
	find debian/dump1090-fa/usr/bin -type f  -print0 2>/dev/null | xargs -0r chmod a+x
	find debian/dump1090-fa/usr/lib -type f -name '*.ali'  -print0 2>/dev/null | xargs -0r chmod uga-w
   dh_strip
	strip --remove-section=.comment --remove-section=.note debian/dump1090-fa/usr/bin/view1090-fa
	strip --remove-section=.comment --remove-section=.note debian/dump1090-fa/usr/bin/dump1090-fa
   dh_makeshlibs
	rm -f debian/dump1090/DEBIAN/shlibs
	rm -f debian/dump1090-fa/DEBIAN/shlibs
   dh_shlibdeps
	install -d debian/dump1090/DEBIAN
	install -d debian/dump1090-fa/DEBIAN
	dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/bin/view1090-fa
dpkg-shlibdeps: error: no dependency information found for /lib/libc.so.6 (used by debian/dump1090-fa/usr/bin/view1090-fa)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/bin/view1090-fa returned exit code 2
debian/rules:32: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
root# 

#193

Try with BLADERF=no in the debian/rules ?

Anyway quite a few packets missing apparently.


#194

Yes, got this problem although I have set BLADERF=no, as in post #102, before giving dpkg-buildpackage command

I am also surprized as I have installed all those packages either from PPM (Puppy Package Manager) or if not available there, searched, downloaded and installed from https://launchpad.net/ubuntu/xenial/i386/


#195

It checks if they are installed via the debian package system, so that’s probably why.


#196

since in last attempt I used flag -d, it did not anymore stuck due to dependencies issue. It is something else at the end of output:

   dh_makeshlibs
	rm -f debian/dump1090/DEBIAN/shlibs
	rm -f debian/dump1090-fa/DEBIAN/shlibs
   dh_shlibdeps
	install -d debian/dump1090/DEBIAN
	install -d debian/dump1090-fa/DEBIAN
	dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/bin/view1090-fa
dpkg-shlibdeps: error: no dependency information found for /lib/libc.so.6 (used by debian/dump1090-fa/usr/bin/view1090-fa)
Hint: check if the library actually comes from a package.
dh_shlibdeps: dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/bin/view1090-fa returned exit code 2
debian/rules:32: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
root# 


#197

yeah same problem the package infrastructure is not working (dpkg-shlibdeps).

you could try building it on a proper i386 ubunu xenial and then check if installing it on your live thingy works.
wouldn’t make for a good guide though :stuck_out_tongue:
(unless you just supply the debian package with it.)


#198

This is really a pitty I did not succeed in installing dump1090-fa on Xenialpup.

The Xenialpup7.5 (both the 32 bit and 64bit versions) is:

  1. Very light (345 MB image)
  2. Boots very fast, takes hardly one minute.
  3. Offers to “Save” at first shutdown, which if accepted creates a Persistence file of size of your choice.
  4. Has option to create a Swap file on USB Flash.

#201

Searched and found following solutions. Will try tomorrow:

Solution #1 of 5

override_dh_shlibdeps: 
  dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info 

if your rule file hasn’t the dh_shlibdeps call in it. That’s usually the case if you’ve

%: dh $@ 

as only rule in it.

Solution #2 of 5

If you want it to just ignore that flag, change the debian/rules line from:

dh_shlibdeps 

to:

dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

Solution #3 of 5

Yet another way, without modifying build scripts, just creating one file.

You can specify local shlib overrides by creating debian/shlibs.local with the following format: library-name soname-version dependencies

For example, given the following (trimmed) ldd /path/to/binary output

libevent-2.0.so.5 => /usr/lib/libevent-2.0.so.5 (0x00007fc9e47aa000) 
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007fc9e4161000) 
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc9e3b1a000) 

The contents of debian/shlibs.local would be:

libevent-2.0 5 libevent-2.0 
libgcrypt 20 libgcrypt 
libpthread 0 libpthread 

The “dependencies” list (third column) doesn’t need to be 100% accurate - just use the library name itself again.

Of course this isn’t needed in a sane debian system which has this stuff defined in /var/lib/dpkg/info (which can be used as inspiration for these overrides).

Solution #4 of 5

Instead of merely ignoring the error, also fix the source of the error, which is usually either a missing or an incorrect package.shlibs or package.symbols file in package which contains the shared library triggering the error.

Documents how dpkg-shlibdeps uses the package.shlibs resp. package.symbols, files:
https://manpages.debian.org/jessie/dpkg-dev/dpkg-shlibdeps.1.en.html

Documents the format of the package.shlibs and package.symbols files:
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html

Solution #5 of 5

Finally I did it in the brute way: :slight_smile:

I edited the script /usr/bin/dpkg-shlibdeps, changing this :

my $ignore_missing_info = 0; 

to

my $ignore_missing_info = 1;

#202

Did you try any of these workarounds?


#203

UPDATE on Xenialpup:

(1) Edited file debian/rules and disabled dh_shlibdeps:

root# cd dump1090-fa
# NOTE: I have renamed cloned folder dump1090 to dump1090-fa
#as I have cloned dump1090-mutability also
#and renamed it dump1090-mut

root# nano debian/rules

In file debian/rules, the last two lines are:

%:
        dh $@ --with=systemd

Below last line added following two lines, then Saved & Closed file:

override_dh_shlibdeps:
        dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info

.
(2) Ran build command:

root# dpkg-buildpackage -b -d

dpkg-buildpackage: source package dump1090-fa
dpkg-buildpackage: source version 3.6.3
dpkg-buildpackage: source distribution stable
dpkg-buildpackage: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: host architecture i386
 dpkg-source --before-build dump1090-fa
 debian/rules clean
dh clean --with=systemd
... ... ... ... ...
... ... ... ... ...
dpkg-gencontrol: warning: Depends field of package dump1090-fa: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
... ... ... ... ...
... ... ... ... ...
dpkg-deb: building package 'dump1090' in '../dump1090_3.6.3_all.deb'.
	dpkg-deb --build debian/dump1090-fa ..
dpkg-deb: building package 'dump1090-fa' in '../dump1090-fa_3.6.3_i386.deb'.
 dpkg-genchanges -b >../dump1090-fa_3.6.3_i386.changes
dpkg-genchanges: binary-only upload (no source code included)
 dpkg-source --after-build dump1090-fa
dpkg-buildpackage: binary-only upload (no source included)
root# 

.
(3) Checked :smile: :smile: :smile:

root# cd ../
root# ls

Choices                 dump1090-fa_3.6.3_i386.changes  my-documents
Desktop                 dump1090-fa_3.6.3_i386.deb      network
distro.ibiblio.org      dump1090-mut                    puppy-reference
Downloads               File-Sharing                    spot
dump1090_3.6.3_all.deb  ftpd                            Startup
dump1090-fa             my-applications   

.
(4) Tried to install

root# dpkg -i dump1090-fa_3.6.3_i386.deb
(Reading database ... 673 files and directories currently installed.)
Preparing to unpack dump1090-fa_3.6.3_i386.deb ...
Unpacking dump1090-fa (3.6.3) over (3.6.3) ...
dpkg: dependency problems prevent configuration of dump1090-fa:
 dump1090-fa depends on init-system-helpers (>= 1.18~); however:
  Package init-system-helpers is not installed.
 dump1090-fa depends on adduser; however:
  Package adduser is not installed.
 dump1090-fa depends on lighttpd; however:
  Package lighttpd is not installed.

dpkg: error processing package dump1090-fa (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 dump1090-fa

.

:angry: :frowning_face: :rage: :sob:

Do not understand why it says:
init-system-helpers, adduser, and lighttpd not installed.

CHECKED, FOLLOWING PACKAGES ARE INSTALLED:

  • init-system-helpers_1.29ubuntu4
  • adduser_3.113+nmu3ubuntu4
  • lighttpd-dev_1.4.35

.


#204

Try this:

dpkg -i --ignore-depends=package1,package2 package3.deb

package3.deb would be dump1090-fa_3.6.3_i386.deb

(it seems they call the packages by different names on the live image, notice the ubuntu in the name. and lighttpd is lighttpd-dev not lighttpd.)