skyview978_main.cc: In function ‘int realmain(int, char**)’:
skyview978_main.cc:106:48: error: ‘*((void*)(& location)+8).std::pair<double, double>::second’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
boost::optional<std::pair<double, double>> location = boost::none;
^~~~~~~~
skyview978_main.cc:106:48: error: ‘*((void*)(& location)+8).std::pair<double, double>::first’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors
make[2]: *** [<builtin>: skyview978_main.o] Error 1
make[2]: Leaving directory '/home/abcd/dump978'
dh_auto_build: make -j1 VERSION=3.7.1 dump978-fa skyview978 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/abcd/dump978'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
sudo apt-get install dump978-fa
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
dump978-fa : Depends: libsoapysdr0.5-2 but it is not installable
Recommends: skyview978 but it is not going to be installed
Recommends: soapysdr-module-rtlsdr but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
did reboot only see in top list piaware running nothing else no dump
just checked usb for dongle and its 5.08v 0.11 a
i have in prev installs got skyview978 running but not dump1090-fa but nothing since a new sdcard install
Nope, dump978 did not built on Debian amd64 even from development branch.
abcd@debian:~$ cd dump978
abcd@debian:~/dump978$ git checkout origin/dev
Note: checking out 'origin/dev'.
.... .... ....
HEAD is now at 259d745 Add support for raw message timestamps (not tied to system clock)
abcd@debian:~/dump978$ sudo dpkg-buildpackage -b
dpkg-buildpackage: info: source package dump978-fa
dpkg-buildpackage: info: source version 3.7.2~dev
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Oliver Jowett <oliver@mutability.co.uk>
dpkg-buildpackage: info: host architecture amd64
.... .... ....
.... .... ....
skyview978_main.cc: In function ‘int realmain(int, char**)’:
skyview978_main.cc:106:48: error: ‘*((void*)(& location)+8).std::pair<double, double>::second’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
boost::optional<std::pair<double, double>> location = boost::none;
^~~~~~~~
skyview978_main.cc:106:48: error: ‘*((void*)(& location)+8).std::pair<double, double>::first’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors
make[2]: *** [<builtin>: skyview978_main.o] Error 1
make[2]: Leaving directory '/home/abcd/dump978'
dh_auto_build: make -j1 VERSION=3.7.2\~dev dump978-fa skyview978 returned exit code 2
make[1]: *** [debian/rules:13: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/abcd/dump978'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Oh it’s that error.
Yeah i have a work-around for that one.
sed 's/location = boost::none;/location = boost::make_optional(false, std::make_pair(0.0, 0.0));/' skyview978_main.cc -i
I’ve made a pull request but as it’s not certain if that fixes it in all scenarios and because it’s technically a library error in boost and not an actual problem with the program, it hasn’t gone into the code yet.
Anyway using the dev branch is still better than using an outdated library
(and this boost error is independent of the other compilation error you had)
Package install on RPi/Buster (as per above web page) is where installation of dump978-fa failed, and I had to download and install manually the old package (libsoapysdr0.5-2_0.5.4-1_armhf.deb). Only after this the install was successful.
pi@raspberrypi:~ $ sudo piaware-config
allow-auto-updates yes # value set at /etc/piaware.conf:7
allow-manual-updates yes # value set at /etc/piaware.conf:8
uat-receiver-type none # value set at /etc/piaware.conf:9