flightaware / piaware_builder

Debian package builder for piaware
60 stars 24 forks source link

Cannot compile #10

Closed youknow16 closed 6 years ago

youknow16 commented 6 years ago

Here's the error I get:

cc -g -o faup1090 faup1090.o anet.o mode_ac.o mode_s.o net_io.o crc.o stats.o cpr.o icao_filter.o track.o util.o -Wl,-Bsymbolic-functions -Wl,-z,relro -lpthread -lm -lrt
make[2]: Leaving directory '/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/dump1090'
pyvenv /home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/debian/venv --without-pip
WARNING: the pyenv script is deprecated in favour of `python3.6 -m venv`
cd cx_Freeze-4.3.4 && /home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/debian/venv/bin/python ./setup.py install
Traceback (most recent call last):
  File "./setup.py", line 138, in <module>
    finder = cx_Freeze.ModuleFinder(bootstrap = True)
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 160, in __init__
    self._AddBaseModules()
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 187, in _AddBaseModules
    self.IncludeModule("traceback")
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 687, in IncludeModule
    namespace = namespace)
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 355, in _ImportModule
    deferredImports, namespace = namespace)
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 445, in _InternalImportModule
    parentModule, namespace)
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 511, in _LoadModule
    self._ScanCode(module.code, module, deferredImports)
  File "/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 597, in _ScanCode
    arguments.append(co.co_consts[opArg])
IndexError: tuple index out of range
debian/rules:55: recipe for target 'build_cxfreeze' failed
make[1]: *** [build_cxfreeze] Error 1
make[1]: Leaving directory '/home/myuser/Downloads/piaware_builder/adsb-receiver/build/piaware_builder/package-jessie'
debian/rules:83: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

This is my system: Linux MyComp 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I already have dump1090 working and feeding to FlightRadar24 and Planefiner. I just want to feed to FlightAware too

mutability commented 6 years ago

You probably need to plumb in an updated version of cxfreeze that knows how to handle the updated python version. (you're building in an environment that I don't test against)

orionjb2001 commented 6 years ago

I have a similar problem but not a python one I think. Running an Odroid XU4, ambrian bionic. Firstly, I am using Joe's ADSB receiver project scripts. First major error, 1090 Flightaware option is not offered only 1090 mutability. On installing PiAware flightaware, the following error is occuring;

debian/rules build dh build --with=systemd dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie' debian/check_versions piaware version 3.5.3 matches changelog version 3.5.3, good! cd tcllauncher && autoconf -f && ./configure --with-tcl=/usr/lib/tcl8.6 checking for correct TEA configuration... ok (TEA 3.9) configure: configuring Tcllauncher 1.5 checking for Tcl configuration... found /usr/lib/tcl8.6/tclConfig.sh checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for existence of /usr/lib/tcl8.6/tclConfig.sh... loading checking platform... unix configure: --prefix defaulting to TCL_PREFIX /usr configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include/tcl8.6 checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-4.9.99-odroidxu4 checking for ar... ar checking for cast to union support... yes checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... long long checking for struct dirent64... yes checking for struct stat64... yes checking for open64... yes checking for lseek64... yes checking for off64_t... yes checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.6 checking for dtplite... /usr/bin/dtplite configure: creating ./config.status config.status: creating Makefile config.status: creating pkgIndex.tcl config.status: creating tcllauncher-support.tcl dh override_dh_auto_configure --with=systemd make[1]: Leaving directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie' debian/rules override_dh_auto_build make[1]: Entering directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie' dh_auto_build -D tcllauncher cd tcllauncher && make -j1 make[2]: Entering directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' gcc -DPACKAGE_NAME=\"Tcllauncher\" -DPACKAGE_TARNAME=\"tcllauncher\" -DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"Tcllauncher\ 1.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_Tcllauncher=/**/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility(\"hidden\"))) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_DIRENT64=1 -DHAVE_STRUCT_STAT64=1 -DHAVE_OPEN64=1 -DHAVE_LSEEK64=1 -DHAVE_TYPE_OFF64_T=1 -DUSE_TCL_STUBS=1 -I./generic -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -c -O2 -fomit-frame-pointer -DNDEBUG -Wall \ -DTCLLAUNCHER_FILE="\"/usr/lib/Tcllauncher1.5/tcllauncher.tcl\"" unix/tclAppInit.c gcc -o tcllauncher tclAppInit.o -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fomit-frame-pointer -DNDEBUG -Wall \ -L/usr/lib/arm-linux-gnueabihf -ltcl8.6 -L/usr/lib/arm-linux-gnueabihf -ltclstub8.6 -lpthread make[2]: Leaving directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' make -C dump1090 RTLSDR=no BLADERF=no DUMP1090_VERSION="piaware-3.5.3" faup1090 make[2]: Entering directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie/dump1090' cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c faup1090.c -o faup1090.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c anet.c -o anet.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c mode_ac.c -o mode_ac.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c mode_s.c -o mode_s.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c net_io.c -o net_io.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c crc.c -o crc.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c stats.c -o stats.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c cpr.c -o cpr.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c icao_filter.c -o icao_filter.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c track.c -o track.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/pi/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c util.c -o util.o cc -g -o faup1090 faup1090.o anet.o mode_ac.o mode_s.o net_io.o crc.o stats.o cpr.o icao_filter.o track.o util.o -Wl,-Bsymbolic-functions -Wl,-z,relro -lpthread -lm -lrt make[2]: Leaving directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie/dump1090' pyvenv /home/pi/adsb-receiver/build/piaware_builder/package-jessie/debian/venv --without-pip WARNING: the pyenv script is deprecated in favour of python3.6 -m venv cd cx_Freeze-4.3.4 && /home/pi/adsb-receiver/build/piaware_builder/package-jessie/debian/venv/bin/python ./setup.py install Traceback (most recent call last): File "./setup.py", line 138, in finder = cx_Freeze.ModuleFinder(bootstrap = True) File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 160, in init self._AddBaseModules() File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 187, in _AddBaseModules self.IncludeModule("traceback") File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 687, in IncludeModule namespace = namespace) File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 355, in _ImportModule deferredImports, namespace = namespace) File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 445, in _InternalImportModule parentModule, namespace) File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 511, in _LoadModule self._ScanCode(module.code, module, deferredImports) File "/home/pi/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 597, in _ScanCode arguments.append(co.co_consts[opArg]) IndexError: tuple index out of range debian/rules:55: recipe for target 'build_cxfreeze' failed make[1]: [build_cxfreeze] Error 1 make[1]: Leaving directory '/home/pi/adsb-receiver/build/piaware_builder/package-jessie' debian/rules:83: recipe for target 'build' failed make: [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Installing the FlightAware PiAware client package...

dpkg: error: cannot access archive '/home/pi/adsb-receiver/build/piawarebuilder/piaware*.deb': No such file or directory

Checking that the FlightAware PiAware client package was installed properly...

INSTALLATION HALTED! UNABLE TO INSTALL A REQUIRED PACKAGE. SETUP HAS BEEN TERMINATED!

The package "piaware" could not be installed.


FlightAware PiAware client setup halted.

orionjb2001 commented 6 years ago

Update, 48 hours after, no change, still an error as entered above. :(

mutability commented 6 years ago

You're running on an OS combination that we don't test against. You'll need to integrate a new version of cxfreeze that works with the system version of python, as commented above.

orionjb2001 commented 6 years ago

So please inform your esteem colleagues of what should be used and stopping being no support at all

abcd5675d I am going to try your Ubuntu OS, will this work with Odroid XU4??

. My Ubuntu (from Armbian site) is custom made for Orange Pi PC, and is unlikely to work on an Odroid board.

Ubuntu OS for Odroid XU4 is downloadable from following 2 sources. Try them both to find out which one gives minimum headaches in installation and running. :

Armbian Bionic = Ubuntu 18.04 (Bionic Beaver): https://www.armbian.com/odroid-xu4/ 1

Ubuntu 16.04 (Xenial Xerus): https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.9/20171025

mutability commented 6 years ago

The supported build OSes are Raspbian wheezy & jessie. I believe the jessie binary packages also work on stretch, though the build itself may not. (proper stretch support is next on the list, and may help with the python/cxfreeze interaction you're seeing)

Anything else, we'd like to see it run on there but we don't have dedicated time to support it. I can point you in the right direction (see above) and I'm happy to take PRs to fix problems.

orionjb2001 commented 6 years ago

Using a jessie version of armbian: error:

Configuring dump1090-mutability to start automatically.... Installing the dump1090-mutability package...

Selecting previously unselected package dump1090-mutability. (Reading database ... 33309 files and directories currently installed.) Preparing to unpack .../dump1090-mutability_1.15~dev_armhf.deb ... Unpacking dump1090-mutability (1.15~dev) ... Setting up dump1090-mutability (1.15~dev) ... useradd: existing lock file /etc/passwd.lock without a PID useradd: cannot lock /etc/passwd; try again later. adduser: `/usr/sbin/useradd -d /usr/share/dump1090-mutability -g nogroup -s /bin/false -u 109 dump1090' returned error code 1. Exiting. dpkg: error processing package dump1090-mutability (--install): subprocess installed post-installation script returned error exit status 1 Processing triggers for systemd (215-17+deb8u7) ... Errors were encountered while processing: dump1090-mutability

Checking that the dump1090-mutability package was installed properly...

INSTALLATION HALTED! UNABLE TO INSTALL A REQUIRED PACKAGE. SETUP HAS BEEN TERMINATED!

The package "-mutability" could not be installed.


Dump1090-mutability setup halted.

Press enter to continue...

orionjb2001 commented 6 years ago

XTC0r wrote:

Hello,

I tried to install adsb reiceiver with dump1090-fa. But the dump1090-fa package always drops me an error. See the log below. Any idea why? I'm using a debian LXC container for it.

`dpkg-deb: building package 'dump1090' in '../dump1090_3.5.3_all.deb'. dpkg-deb: building package 'dump1090-fa-dbgsym' in '../dump1090-fa-dbgsym_3.5.3_armhf.deb'. dpkg-deb --build debian/dump1090-fa .. dpkg-deb: building package 'dump1090-fa' in '../dump1090-fa_3.5.3_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../dump1090-fa_3.5.3_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build dump1090 dpkg-buildpackage: info: binary-only upload (no source included)

Entering the dump1090-fa build directory... Installing the dump1090-fa package...

dpkg: error: cannot access archive 'dump1090-fa3.5.1*.deb': No such file or directory

Checking that the dump1090-fa package was installed properly...

INSTALLATION HALTED! UNABLE TO INSTALL A REQUIRED PACKAGE. SETUP HAS BEEN TERMINATED!

The package "dump1090-fa" could not be installed.


Dump1090-fa setup halted.

Press enter to continue...

More comments re the same

orionjb2001 commented 6 years ago

How many more posts from other sites do you want????

mutability commented 6 years ago

I don't know what you want me to do with this.

The first error above is while trying to install dump1090-mutability via (I guess) the adsbreceiver scripts, failing with what looks like a stale lockfile on /etc/passwd that needs cleaning up. Nothing I can do about that.

The second error is while trying to install dump1090-fa via (I guess) the adsbreceiver scripts, and there is a version skew problem - the scripts build 3.5.3, but then try to install 3.5.1. Nothing I can do about that either.

I suggest you report adsbreceiver script bugs to the adsbreceiver maintainers; there is nothing I can do about them, and this is the wrong place to report them.

orionjb2001 commented 6 years ago

Thank you OIiver for pointing out where the problem lies. As you know, I have not idea about github, where scripts source there data from, crossing multiple areas etc. And having people point you in the wrong direction to start with does not help. Yes I am afraid I am nearly going to call the ADSB Receiver project dead and burried. There has been no support from there for months, there is a growing list of issues that are not been attended with and Joe should man up, if he can't maintain it for what ever reason, pull it off github to prevent the frustrations that are occuring.

ray4167 commented 6 years ago

Having problem while installing piaware through jprochazka/adsb-receiver

Entering the FlightAware PiAware client build directory... Building the FlightAware PiAware client package...

dpkg-buildpackage: info: 원본 패키지 piaware dpkg-buildpackage: info: 원본 버전 3.5.3 dpkg-buildpackage: info: source distribution stable dpkg-buildpackage: info: 다음에 의해 원본 변경되었습니다 Oliver Jowett oliver@mutability.co.uk dpkg-buildpackage: info: 호스트 아키텍처 amd64 dpkg-source --before-build package-jessie fakeroot debian/rules clean dh clean --with=systemd debian/rules override_dh_auto_clean make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 들어감 dh_auto_clean -D tcllauncher cd tcllauncher && make -j1 distclean make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' 들어감 test -z " tcllauncher" || rm -f tcllauncher rm -f .o core .core test -z "" || rm -f rm -f .tab.c rm -f Makefile pkgIndex.tcl tcllauncher-support.tcl rm -f config.cache config.log config.status make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' 나감 dh_auto_clean -D dump1090 cd dump1090 && make -j1 clean make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/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[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/dump1090' 나감 cd mlat-client && /usr/bin/python3.6 setup.py clean -a running clean 'build/lib.linux-x86_64-3.6' does not exist -- can't clean it 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.6' does not exist -- can't clean it rm -fr /home/ray/adsb-receiver/build/piaware_builder/package-jessie/debian/venv dh_auto_clean -D piaware cd piaware && make -j1 clean make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware' 들어감 make -C package clean make[3]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware/package' 들어감 make -C helpers clean make[4]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware/package/helpers' 들어감 rm -f droproot make[4]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware/package/helpers' 나감 make[3]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware/package' 나감 make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/piaware' 나감 dh override_dh_auto_clean --with=systemd make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 나감 dh_clean rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f debian/piaware.debhelper.log rm -f -- debian/piaware.substvars debian/files rm -fr -- debian/piaware/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -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 {} + \) \) debian/rules build dh build --with=systemd dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 들어감 debian/check_versions piaware version 3.5.3 matches changelog version 3.5.3, good! cd tcllauncher && autoconf -f && ./configure --with-tcl=/usr/lib/tcl8.6 checking for correct TEA configuration... ok (TEA 3.9) configure: configuring Tcllauncher 1.5 checking for Tcl configuration... found /usr/lib/tcl8.6/tclConfig.sh checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for existence of /usr/lib/tcl8.6/tclConfig.sh... loading checking platform... unix configure: --prefix defaulting to TCL_PREFIX /usr configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include/tcl8.6 checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) checking how to build libraries... shared checking for ranlib... (cached) ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-4.15.0-24-generic checking for ar... ar checking for cast to union support... yes checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.6 checking for dtplite... /usr/bin/dtplite configure: creating ./config.status config.status: creating Makefile config.status: creating pkgIndex.tcl config.status: creating tcllauncher-support.tcl dh override_dh_auto_configure --with=systemd make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 나감 debian/rules override_dh_auto_build make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 들어감 dh_auto_build -D tcllauncher cd tcllauncher && make -j1 make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' 들어감 gcc -DPACKAGE_NAME=\"Tcllauncher\" -DPACKAGE_TARNAME=\"tcllauncher\" -DPACKAGE_VERSION=\"1.5\" -DPACKAGE_STRING=\"Tcllauncher\ 1.5\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_Tcllauncher=/\*\*/ -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I./generic -I"/usr/include/tcl8.6" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -c -O2 -fomit-frame-pointer -DNDEBUG -Wall \ -DTCLLAUNCHER_FILE="\"/usr/lib/Tcllauncher1.5/tcllauncher.tcl\"" unix/tclAppInit.c gcc -o tcllauncher tclAppInit.o -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -fomit-frame-pointer -DNDEBUG -Wall \ -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -L/usr/lib/x86_64-linux-gnu -ltclstub8.6 -lpthread make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/tcllauncher' 나감 make -C dump1090 RTLSDR=no BLADERF=no DUMP1090_VERSION="piaware-3.5.3" faup1090 make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/dump1090' 들어감 cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c faup1090.c -o faup1090.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c anet.c -o anet.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c mode_ac.c -o mode_ac.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c mode_s.c -o mode_s.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c net_io.c -o net_io.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c crc.c -o crc.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c stats.c -o stats.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c cpr.c -o cpr.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c icao_filter.c -o icao_filter.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c track.c -o track.o cc -Wdate-time -D_FORTIFY_SOURCE=2 -DMODES_DUMP1090_VERSION=\"piaware-3.5.3\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -g -O2 -fdebug-prefix-map=/home/ray/adsb-receiver/build/piaware_builder/package-jessie=. -fstack-protector-strong -Wformat -Werror=format-security -std=c11 -O2 -g -Wall -Werror -W -D_DEFAULT_SOURCE -c util.c -o util.o cc -g -o faup1090 faup1090.o anet.o mode_ac.o mode_s.o net_io.o crc.o stats.o cpr.o icao_filter.o track.o util.o -Wl,-Bsymbolic-functions -Wl,-z,relro -lpthread -lm -lrt make[2]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie/dump1090' 나감 pyvenv /home/ray/adsb-receiver/build/piaware_builder/package-jessie/debian/venv --without-pip WARNING: the pyenv script is deprecated in favour ofpython3.6 -m venv` cd cx_Freeze-4.3.4 && /home/ray/adsb-receiver/build/piaware_builder/package-jessie/debian/venv/bin/python ./setup.py install Traceback (most recent call last): File "./setup.py", line 138, in finder = cx_Freeze.ModuleFinder(bootstrap = True) File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 160, in init self._AddBaseModules() File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 187, in _AddBaseModules self.IncludeModule("traceback") File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 687, in IncludeModule namespace = namespace) File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 355, in _ImportModule deferredImports, namespace = namespace) File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 445, in _InternalImportModule parentModule, namespace) File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 511, in _LoadModule self._ScanCode(module.code, module, deferredImports) File "/home/ray/adsb-receiver/build/piaware_builder/package-jessie/cx_Freeze-4.3.4/cx_Freeze/finder.py", line 597, in _ScanCode arguments.append(co.co_consts[opArg]) IndexError: tuple index out of range debian/rules:55: recipe for target 'build_cxfreeze' failed make[1]: [build_cxfreeze] Error 1 make[1]: 디렉터리 '/home/ray/adsb-receiver/build/piaware_builder/package-jessie' 나감 debian/rules:83: recipe for target 'build' failed make: [build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Installing the FlightAware PiAware client package...

dpkg: 오류: cannot access archive '/home/ray/adsb-receiver/build/piawarebuilder/piaware*.deb': 그런 파일이나 디렉터리가 없습니다

Checking that the FlightAware PiAware client package was installed properly...

INSTALLATION HALTED! UNABLE TO INSTALL A REQUIRED PACKAGE. SETUP HAS BEEN TERMINATED!

The package "piaware" could not be installed.


FlightAware PiAware client setup halted.

Press enter to continue...

mikenye commented 6 years ago

Not a fix for the issue, but a possible workaround.

Instead of building on Ubuntu Bionic, you could consider my docker container: https://hub.docker.com/r/mikenye/piaware/

Its been tested on x86_64 and armv7l (specifically Odroid).

mutability commented 6 years ago

I upgraded to use a newer cxfreeze in 3.6.x and seems to build OK on 18.04.

mutability commented 6 years ago

Please try current master, which builds OK for me on xenial & bionic