Raspberry Pi + Resin.io = Feed setup in under an 20 minutes

Discussion in 'ADS-B Software' started by Glenn Stewart, Jun 12, 2017.

  1. Glenn Stewart

    Glenn Stewart New Member

    TL;DR

    • Get first Raspberry Pi configured, connected and submitting in 10 minutes
    • Second device in under 5 minutes
    • Changes in around 3 minutes
    • Remote management and control of all devices
    • Solution designed for 1 or many, many Raspberry Devices
    • Intended to solve my need to have Raspberry Pi's in various countries without regular physical access
    • Only requirement - ssh public key, git client, web browser and the hardware
    • Ease of setup - low
    • Comprehensive version of this post on : YSSY forum
    Background

    About a year an half ago I wrote a post Raspberry Pi + Docker = Feed setup in under an hour. I decided to go this route because:
    • Docker was quick to share and setup.
    • Docker had become available on RPI.
    • Allow very quick, repeatable installs.
    • Main goal was to allow me to install many RPI's in various locations.
    It however had a few flaws:
    • It required some unix command line knowledge.
    • Images would have versions hard baked unless recreated.
    • Environment variables had to be hand written into docker-compose.yml file.
    • RPI's still required manual intervention (i.e. to change something, I needed physical access - which is difficult for RPI's I intended to install in other countries).
    A couple of weeks ago I stumbled across Resin.io. It seemed to resolve many of my issues.
    I am very happy with the results and thought I would share my project with everyone else.

    Resin.io has allowed me to:

    • Deploy first device in under 20 minutes.
    • Deploy subsequent devices in under 5 minutes.
    • Allow very quick, upgrades of software in around 2 minutes (on all devices).
    • Remote manage and control all devices (even if they are not inside my current network).
    Installation information to follow...
     
    Last edited: Jun 18, 2017
  2. Glenn Stewart

    Glenn Stewart New Member

    Prerequisites
    • Obviously a Raspberry Pi (2 or 3 is best).
    • A blank micro SD card (16GB preferred, class 10 preferred)
    • RTL-SDR Dongle
    • Access to a command line with git (could be Windows, Linux, Mac OS).
    • A small amount of time.
    • Planefinder account.
    • Other accounts for Flightradar24, Flightaware also included.
    What is going to happen?
    1. Create a Resin.io account with a application
    2. Download Resin.io image for your device, install, plugin.
    3. See device appear on Resin.io and add required variables.
    4. Clone my repo which contains basic Docker template, start up scripts.
    5. Set git remote of your new clone to your Resin.io account, push.
    6. Wait - and you're done.
    Hang on... Docker returns?

    Resin.io uses a Docker template to re-create the images whenever anything changes. This takes the hard work out of you getting involved. This also means that when there is a software change, it's very easy to trigger Resin.io to create a new image. Resin.io does all the heavy lifting, it downloads the new software, compiles it and puts it into a new Docker image which is downloaded to your device. So easy!!!!

    How hard is this?
    • Not at all!
    • Only need to copy a couple of git commands.
    • No Linux knowledge required.
    • Everything driven from Resin.io.
     
    Last edited: Jun 12, 2017
  3. Glenn Stewart

    Glenn Stewart New Member

    Before Starting

    Working with Resin.io requires interaction between files on your computer and Resin.io using git.
    This requires:
    • ssh installed
    • git installed
    If you have Linux or MacOS, these are already inbuilt. If you have Windows, these do not come preinstalled and will require some installation. The following guide might help.
    If you already have these, skip to Procedure.

    The main goal of the above is to:
    • Ensure you have an ssh public key created (allows you to connect to Resin.io)
    • Have a git client that allows you to push files to Resin.io

    Setting up Devices and Resin.io Account
    1. Signup at Resin.io for an account at https://dashboard.resin.io/signup
    2. Create a new application in Resin.io for a Raspberry Pi (2 or 3 - this doesn't seem to matter).
    3. Click on your Application, then click "Download Resinos" to download the Resin.io OS. Follow these instructions.
      1. The image will require knowledge of either your WiFi password or a fixed connection (this is for your use only)
      2. A copy of your ssh public key.
      3. Resin.io's application https://etcher.io/ is best for creating images.
    4. Wait for your device to become available on Resin.io website.
    5. Once available:
      1. Click on the device.
      2. Select "Environment Variables" on the left of the Resin.io window.
      3. Insert your GPS co-ordinate variables (See http://www.whatsmygps.com/):
        • LAT = <latitude of your location>
        • LONG = <longtitude of your location>
      4. Insert the following Planefinder variable if known:
        • PF_SHARECODE = <Planefinder sharecode>
      5. Insert the following Flightradar24 variable if known:
        • FR24_KEY = <Flightradar24 key>
      6. Insert the following Flightaware variables if known:
        • PIAWARE_MAC = <your network MAC address>
        • PIAWARE_PASSWORD = <your Flightaware password>
      7. The following variables are optional:
        • GAIN = <gain used by dump1090>
        • PPM = <ppm used by dump1090>
    Resin.io allows for variables to be set per application and/or by device. The advantage in this is it allows you to have many devices in varied locations with varied accounts.

    EDIT:

    * PIAWARE_PASSWORD and PIAWARE_USER are deprecated
    * PIAWARE_MAC is deprecated and only used on old devices
    * PIAWARE_ID is the Feeder ID and replaces MAC
     
    Last edited: Jun 18, 2017
  4. Glenn Stewart

    Glenn Stewart New Member

    Cloning My Code and Pushing to your Device(s)
    I've created everything you need code wise to get this working. You don't need to do anything except setup your accounts, and push the code.
    1. Open up a terminal (Linux/MacOS) or command prompt (Windows)
    2. Clone my repo from https://bitbucket.org/inodes/resin-docker-rtlsdr (type this verbatim) using git clone <myrepo>.
      Code:
      $ git clone https://[email protected]/inodes/resin-docker-rtlsdr.git
      Cloning into 'resin-docker-rtlsdr'...
      remote: Counting objects: 178, done.
      remote: Compressing objects: 100% (176/176), done.
      remote: Total 178 (delta 106), reused 0 (delta 0)
      Receiving objects: 100% (178/178), 21.84 KiB | 0 bytes/s, done.
      Resolving deltas: 100% (106/106), done.
    3. Change into the repo directory you've just cloned
      Code:
      $ cd resin-docker-rtlsdr/
    4. Copy the git remote command from your application in resin (this is in top right in Resin.io page)
    5. Paste the git remote command onto command line (your command will differ).
      Code:
      $ git remote add resin [email protected]:yourlogin/yourproject.git
    6. Push to remote using the command
      Code:
      $ git push resin master
      ..... LOTS OF OUTPUT
    The above output is the build from scratch of everything required to run Planefinder and other utilities.
    The great thing about this is that if you have many devices, they are all updated.
     
    Last edited: Jun 12, 2017
  5. Glenn Stewart

    Glenn Stewart New Member

    A few things to note
    Once your device is up and running, there are a few things to note.
    Resin.io allows you to see the status of each device and control it.

    Devices Page
    • Control your devices
    • See what your local IP address would be
    • See the most recent commit
    • Reboot and connect to your devices
    [​IMG]
    Environment Variables
    • This is where the secret sauce is. Set variables that can be used in scripts running on the device (e.g. the start.sh I have provided)
    • If you change the location of a device, just change the variable for LONG and LAT. The device automatically rebuilds using the new variables.
    [​IMG]
    Device Summary
    • See the current state of the device. Easy to see the output from the current Docker image.
    • See the ip - from here if you're on the local network, you can connect to the device as per usual (e.g. in my case, opening http://10.0.1.84:30053/ on my local network gives me the normal planefinder client UI).
    [​IMG]
    Device Terminal
    • Connect to any device from any location, even if you're not on the local network.
    • Debug the application. You could for example change the scripts I provided completely, push again to resin and have a completely different result. It allows flexibility on scale.
    [​IMG]
     
    Last edited: Jun 13, 2017
  6. jaxxtheone

    jaxxtheone New Member

    Good evening!

    I think I missed something, or maybe I'm not understanding what is happening on my side ..

    I come walking smooth till your last code line

    Code:
    $ git push resin master 
    First I tried a Windows computer but I can't pass the above line of code.
    Then I tried to use a Mac Os X High Sierra, 10.12 version.
    There's something that's not working. The output reads:
    Code:
    Last login: Wed Oct 25 20:53:27 on ttys000
    $ cd resin-docker-rtlsdr/
    MacBookeJacques:resin-docker-rtlsdr jaxxtheone$  git push resin master
    Counting objects: 235, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (92/92), done.
    Writing objects: 100% (235/235), 29.41 KiB | 14.71 MiB/s, done.
    Total 235 (delta 141), reused 235 (delta 141)
    
    [Info]     Starting build for gh_jaxxtheone/adsb, user gh_jaxxtheone
    [Info]     Dashboard link: https://dashboard.resin.io/apps/739438/devices
    [Info]     Building on ARM01
    [Info]     Pulling old image for caching purposes
    [==================================================>] 100%
    [Success]  Cached image pulled in 2 seconds
    [Info]     Fetching base image
    [==================================================>] 100%
    [Info]     Building Dockerfile.template project
    [Build]    Step 1/23 : FROM resin/raspberrypi3-debian:jessie
    [Build]     ---> af0e29f2b34a
    [Build]    Step 2/23 : ENV INITSYSTEM on
    [Build]    Using cache
    [Build]     ---> 22d8858e2abf
    [Build]    Step 3/23 : RUN apt-get update && apt-get install -y --no-install-recommends     apt-utils     build-essential     ca-certificates     cmake     git     git-core     libusb-1.0-0-dev     pkg-config     wget &&     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    [Build]     ---> Running in 7ddfbd5e51d2
    [Build]    Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
    [Build]    Get:2 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
    [Build]    Get:3 http://archive.raspbian.org jessie InRelease [14.9 kB]
    [Build]    Ign http://deb.debian.org jessie InRelease
    [Build]    Get:4 http://deb.debian.org jessie-updates InRelease [145 kB]
    [Build]    Get:5 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
    [Build]    Get:6 http://deb.debian.org jessie Release.gpg [2373 B]
    [Build]    Get:7 http://security.debian.org jessie/updates/main armhf Packages [534 kB]
    [Build]    Get:8 http://deb.debian.org jessie Release [148 kB]
    [Build]    Get:9 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
    [Build]    Get:10 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
    [Build]    Get:11 http://deb.debian.org jessie-updates/main armhf Packages [23.0 kB]
    [Build]    Get:12 http://archive.raspbian.org jessie/non-free armhf Packages [101 kB]
    [Build]    Get:13 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
    [Build]    Get:14 http://archive.raspbian.org jessie/firmware armhf Packages [1202 B]
    [Build]    Err http://archive.raspbian.org jessie/main armhf Packages
    [Build]   
    [Build]    Get:15 http://deb.debian.org jessie/main armhf Packages [8864 kB]
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Build]    Get:16 http://deb.debian.org jessie/main armhf Packages [8864 kB]
    [Build]    Err http://deb.debian.org jessie/main armhf Packages
    [Build]   
    [Build]    Err http://deb.debian.org jessie/main armhf Packages
    [Build]      Bad header line
    [Build]    Err http://deb.debian.org jessie-updates/main armhf Packages
    [Build]   
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Build]    Err http://deb.debian.org jessie-updates/main armhf Packages
    [Build]      404  Not Found
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Info]     Still working...
    [Build]    Err http://archive.raspbian.org jessie/main armhf Packages
    [Build]      Connection timed out
    [Build]    Err http://archive.raspbian.org jessie/contrib armhf Packages
    [Build]      Error writing to output file - write (28: No space left on device)
    [Build]    Err http://archive.raspbian.org jessie/non-free armhf Packages
    [Build]      0  OK
    [Build]    Err http://archive.raspbian.org jessie/rpi armhf Packages
    [Build]      0  OK
    [Build]    Err http://archive.raspbian.org jessie/firmware armhf Packages
    [Build]      0  OK
    [Build]    Fetched 14.6 MB in 6min 20s (38.4 kB/s)
    [Build]    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/main/binary-armhf/Packages  Connection timed out
    [Build]    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/contrib/binary-armhf/Packages  Error writing to output file - write (28: No space left on device)
    [Build]    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/non-free/binary-armhf/Packages  0  OK
    [Build]    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/rpi/binary-armhf/Packages  0  OK
    [Build]    W: Failed to fetch http://archive.raspbian.org/raspbian/dists/jessie/firmware/binary-armhf/Packages  0  OK
    [Build]    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-armhf/Packages  404  Not Found
    [Build]    W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-armhf/Packages  Bad header line
    [Build]    E: Some index files failed to download. They have been ignored, or old ones used instead.
    [Build]    E: Could not open lock file /var/lib/dpkg/lock - open (28: No space left on device)
    [Build]    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    [Build]    Removing intermediate container 7ddfbd5e51d2
    [Error]    Build failed: The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends     apt-utils     build-essential     ca-certificates     cmake     git     git-core     libusb-1.0-0-dev     pkg-config     wget &&     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100
    [Info]     Uploading successful layers to registry for caching purposes
    [=================================>                 ] 66%
    remote: error: hook declined to update refs/heads/master
    To git.resin.io:gh_jaxxtheone/adsb.git
     ! [remote rejected] master -> master (hook declined)
    error: failed to push some refs to '[email protected]:gh_jaxxtheone/adsb.git'
    MacBookeJacques:resin-docker-rtlsdr jaxxtheone$
    
    I even tried the option

    Code:
    $ git push resin master --force
    The only thing I can see is that my microSD is "out of space" although I'm using a 32Gb, class 10 stick.

    Every time I failed, I deleted everything and started allover but I can't see where is the error. I think your Github file should have a line where it expands FileSystem to ensure all SD card storage is avaiable to the OS.

    Also I don't know exactly how to SSH to gain access to the file system. I think you also have anticipated this option.

    I also noticed that you used Raspbian Jessie version instead of Stretch so that poses less problems. I'm not looking to complicate your script (as it has issues compiling Dump1090). I know how to do it but I don't want to walk in more troubles.

    Can you help me, please?

    Thanks!
     
  7. Glenn Stewart

    Glenn Stewart New Member

    Hi Jaxx,

    The space this refers to is actually at Resin.io itself (or its git repo - your remote).

    If you go to your device page:
    https://dashboard.resin.io/apps/739438/devices (only you can access this specific address)

    Confirm that the command at the top for setting your git remote (which is resin's address for your application) is:
    Code:
    git remote add resin [email protected]:gh_jaxxtheone/adsb.git
    Confirm that on your side, your remote appears:
    Code:
    $ git remote
    origin
    resin
    
    Or for more information:
    Code:
    $ git remote -v | egrep ^"resin"
    resin    [email protected]_jaxxtheone/adsb.git (fetch)
    resin    [email protected]_jaxxtheone/adsb.git (push)
    
    If these aren't exactly right, you might have to re-set your master as per the command resin has put there for you.

    I use two applications actually. I have created a second application for testing purposes. And you can too.
    This might help.

    On Resin create a second application. Let's say, adsbtest (using your original name of adsb).
    Once you create this, you'll note a new git remote command on your resin side.
    Code:
    git remote add resintest [email protected]:gh_jaxxtheone/adsbtest.git
    You will now have two git remotes:
    Code:
    $ git remote
    origin
    adsb
    adsbtest
    
    Push your code to the new remote:
    Code:
    $ git push resintest master
    This will do the heavy lifting at Resin.io prior to your device even knowing about it.
    Your device will be on "adsb" NOT "adsbtest".

    If this works, click on your device, click "ACTIONS" in top right, select "Move Device", and the only option will be "adsbtest".

    Note, that this allows you to move between a testing and production environment easily.
    You can move it back at any time.

    An example of where this become useful is if you want to create changes to the scripts. You could make the change on your side, push it to "adsbtest", move your Device.
    If you don't like the results, you move it back to "adsb".

    While typing this, I basically did the same to move to a new version of the client. Easy.

    Hope this helps. If problems persist, try posting on the Resin.io forum. This is certainly an issue on their side, not yours.
     
  8. jaxxtheone

    jaxxtheone New Member

    I have not tested yet but I can see that the main problema is that I don't have enough reading about the Resin.io Dockers.

    Can you suggest me some blog or, maybe a YouTube so I can understand better how Resin.io Dockers?

    I'm a "reading man" so don't spend time with YouTube,unless you know some very special video.

    I'll keep you informed about my progress. Your problem is my problem as I own three "wild" stations and need to care about them everyday via remote access with various issues and degrees of difficulty. Some of these problems would remain unsolved till my next visit,

    That's why I'm very interested on this topic.

    Cheers!
     
  9. Glenn Stewart

    Glenn Stewart New Member

    The best place to start is here: https://resin.io/how-it-works/
    And there are many resources on YouTube regarding git and git remotes. GitHub and Bitbucket have a lot of resources. I work for Atlassian, so I'd be recommending Bitbucket. You can have free private git repositories :)

    To boil it down, your git client is really your first step to cloning my code. Making it your own would simply require either Bitbucket or Github repo you can clone.
    This can be done easily following the instructions under heading "Importing an existing Git project into Bitbucket Server":
    https://confluence.atlassian.com/bi...-code-from-an-existing-project-776640909.html
    Clone from mine: https://[email protected]/inodes/resin-docker-rtlsdr.git
    Sending to yours: https://[email protected]/yourname/yourrepo.git

    This isn't compulsory, but this would allow you to change the code, and that would be where you would git push (origin).

    Having many RPI's and many locations was the reason I moved my project to Resin.io. You can have 5 devices for free.
    This proved itself handy when I visited my wife's family in Japan. I removed one of my Sydney based RPI's, plugged it in when I got to Japan. I changed the GPS co-ordinates and various id's (I had to pre-arrange a couple, but that's not hard to do).
    It took about 3 minutes for the changes to kick in.

    I could have started from a blank SD, and it would have taken no more than 5 minutes.
    Remote access into these is very straightforward with Resin.io as well. I can monitor and reboot without an issue. If however the power was interrupted, I'd just have someone at the other end turn on and off the power, and it would come alive again in Resin.io.

    My previous solution used Docker and Docker compose. Resin doesn't allow Docker compose, so my docker file is really a group of applications in the one container (normallly a no-no, but it works). And thankfully Resin uses the benefit of Docker's repeatable and predictable image to build everything from scratch.

    To install new versions of any of the clients, make a simple change to any of the scripts (i.e. put a space - which has no consequence - in the start.sh from my repo), push it to the remote (Resin), and Resin will completely re-build the image from scratch.
    If there is a new version of the client software, it gets included immediately.

    The error you're getting above though is odd. It might be as simple as not having the right remote.
    I'd still double check your addresses. Delete and re-create the application if required.

    Additional tip regarding Piaware:
    Although it doesn't pertain to the Planefinder client, Flightaware moved away from using a MAC Address (the hardware address of the ethernet adapter), to an ID. I instead included PIAWARE_ID to map to this.
    Booting your device would warn you of this.

    Tip regarding your errors:
    This might be a build error as well. Go to your Resin dashboard and click on your application, then "Releases". It should list the various times you've pushed a change using "git push resin master". These builds represent the equivalent of a whole new Docker image and will have a unique commit code. Each time you add a new RPI to this application, it receives the latest build.

    This is also the reason I have two applications - one for my working production, and one for testing.
    I can make changes to the code, push this to the test, the move devices to this. This could for example test a new version of the clients, or a change to the Dockerfile or start.sh. If I didn't like the result, I would move my device back and it would boot up with the old versions. If I did like the result, I would simply run a new "git push resin master", a new build would be created and the remaining devices would all update. Easy!
     
  10. Glenn Stewart

    Glenn Stewart New Member

    I did a new build today. This looks like this:
    Code:
    [Info]     Starting build for inodes/rtlsdr, user inodes
    [Info]     Dashboard link: https://dashboard.resin.io/apps/420185/devices
    [Info]     Building on ARM01
    [==================================================>] 100%
    
    [Success]  Cached image pulled in 26 seconds
    [==================================================>] 100%
    
    [Info]     Building Dockerfile.template project
    [Build]    Step 1/23 : FROM resin/raspberrypi3-debian:jessie
    [Build]     ---> af0e29f2b34a
    [Build]    Step 2/23 : ENV INITSYSTEM on
    [Build]     ---> Running in fba3275da4c0
    [Build]     ---> 60114910abc2
    [Build]    Removing intermediate container fba3275da4c0
    [Build]    Step 3/23 : RUN apt-get update && apt-get install -y --no-install-recommends     apt-utils     build-essential     ca-certificates     cmake     git     git-core     libusb-1.0-0-dev     pkg-config     wget &&     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    [Build]     ---> Running in 7c36c6d0cb87
    [Build]    Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
    [Build]    Get:2 http://security.debian.org jessie/updates InRelease [63.1 kB]
    [Build]    Get:3 http://archive.raspbian.org jessie InRelease [14.9 kB]
    [Build]    Ign http://deb.debian.org jessie InRelease
    [Build]    Get:4 http://deb.debian.org jessie-updates InRelease [145 kB]
    [Build]    Get:5 http://deb.debian.org jessie Release.gpg [2373 B]
    [Build]    Get:6 http://deb.debian.org jessie Release [148 kB]
    [Build]    Get:7 http://security.debian.org jessie/updates/main armhf Packages [534 kB]
    [Build]    Get:8 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
    [Build]    Get:9 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
    [Build]    Get:10 http://deb.debian.org jessie-updates/main armhf Packages [23.0 kB]
    [Build]    Get:11 http://deb.debian.org jessie/main armhf Packages [8864 kB]
    [Build]    Get:12 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
    [Build]    Get:13 http://archive.raspbian.org jessie/non-free armhf Packages [101 kB]
    [Build]    Get:14 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
    [Build]    Get:15 http://archive.raspbian.org jessie/firmware armhf Packages [1202 B]
    [Build]    Fetched 23.5 MB in 8s (2716 kB/s)
    [Build]    Reading package lists...
    [Build]    Reading package lists...
    [Build]    Building dependency tree...
    [Build]    Reading state information...
    [Build]    ca-certificates is already the newest version.
    [Build]    The following extra packages will be installed:
    [Build]      binutils bzip2 cmake-data cpp cpp-4.9 dpkg-dev g++ g++-4.9 gcc gcc-4.9
    [Build]      git-man libapt-inst1.5 libarchive13 libasan1 libatomic1 libc-dev-bin
    [Build]      libc6-dev libcloog-isl4 libcurl3-gnutls libdpkg-perl liberror-perl libexpat1
    [Build]      libgcc-4.9-dev libglib2.0-0 libgomp1 libicu52 libisl10 libjsoncpp0 liblzo2-2
    [Build]      libmpc3 libmpfr4 libpsl0 libstdc++-4.9-dev libtimedate-perl libubsan0
    [Build]      libxml2 linux-libc-dev make patch xz-utils
    [Build]    Suggested packages:
    [Build]      binutils-doc bzip2-doc codeblocks eclipse ninja-build cpp-doc
    [Build]      gcc-4.9-locales debian-keyring gcc-4.9-doc libstdc++6-4.9-dbg gcc-multilib
    [Build]      manpages-dev autoconf automake libtool flex bison gdb gcc-doc libgcc1-dbg
    [Build]      libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg
    [Build]      libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath-dbg gettext-base
    [Build]      git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
    [Build]      gitweb git-arch git-cvs git-mediawiki git-svn lrzip glibc-doc
    [Build]      libstdc++-4.9-doc make-doc ed diffutils-doc
    [Build]    Recommended packages:
    [Build]      fakeroot libalgorithm-merge-perl rsync ssh-client libfile-fcntllock-perl
    [Build]      libglib2.0-data shared-mime-info xdg-user-dirs libusb-1.0-doc xml-core
    [Build]    The following NEW packages will be installed:
    [Build]      apt-utils binutils build-essential bzip2 cmake cmake-data cpp cpp-4.9
    [Build]      dpkg-dev g++ g++-4.9 gcc gcc-4.9 git git-core git-man libapt-inst1.5
    [Build]      libarchive13 libasan1 libatomic1 libc-dev-bin libc6-dev libcloog-isl4
    [Build]      libcurl3-gnutls libdpkg-perl liberror-perl libexpat1 libgcc-4.9-dev
    [Build]      libglib2.0-0 libgomp1 libicu52 libisl10 libjsoncpp0 liblzo2-2 libmpc3
    [Build]      libmpfr4 libpsl0 libstdc++-4.9-dev libtimedate-perl libubsan0
    [Build]      libusb-1.0-0-dev libxml2 linux-libc-dev make patch pkg-config wget xz-utils
    [Build]    0 upgraded, 48 newly installed, 0 to remove and 12 not upgraded.
    [Build]    Need to get 52.3 MB of archives.
    [Build]    After this operation, 166 MB of additional disk space will be used.
    [Build]    Get:1 http://security.debian.org/ jessie/updates/main libxml2 armhf 2.9.1+dfsg1-5+deb8u5 [718 kB]
    [Build]    Get:2 http://security.debian.org/ jessie/updates/main libcurl3-gnutls armhf 7.38.0-4+deb8u6 [229 kB]
    [Build]    Get:3 http://security.debian.org/ jessie/updates/main linux-libc-dev armhf 3.16.43-2+deb8u5 [1042 kB]
    [Build]    Get:4 http://security.debian.org/ jessie/updates/main git-man all 1:2.1.4-2.1+deb8u5 [1268 kB]
    [Build]    Get:5 http://security.debian.org/ jessie/updates/main git armhf 1:2.1.4-2.1+deb8u5 [2918 kB]
    [Build]    Get:6 http://security.debian.org/ jessie/updates/main git-core all 1:2.1.4-2.1+deb8u5 [1504 B]
    [Build]    Get:7 http://archive.raspberrypi.org/debian/ jessie/main cmake-data all 3.6.2-2~bpo8+1 [1168 kB]
    [Build]    Get:8 http://archive.raspberrypi.org/debian/ jessie/main cmake armhf 3.6.2-2~bpo8+1 [2379 kB]
    [Build]    Get:9 http://deb.debian.org/debian/ jessie/main libapt-inst1.5 armhf 1.0.9.8.4 [167 kB]
    [Build]    Get:10 http://deb.debian.org/debian/ jessie/main liblzo2-2 armhf 2.08-1.2 [49.5 kB]
    [Build]    Get:11 http://deb.debian.org/debian/ jessie/main libarchive13 armhf 3.1.2-11+deb8u3 [239 kB]
    [Build]    Get:12 http://deb.debian.org/debian/ jessie/main libexpat1 armhf 2.1.0-6+deb8u4 [61.8 kB]
    [Build]    Get:13 http://deb.debian.org/debian/ jessie/main libjsoncpp0 armhf 0.6.0~rc2-3.1 [62.6 kB]
    [Build]    Get:14 http://deb.debian.org/debian/ jessie/main libasan1 armhf 4.9.2-10 [168 kB]
    [Build]    Get:15 http://deb.debian.org/debian/ jessie/main libatomic1 armhf 4.9.2-10 [6062 B]
    [Build]    Get:16 http://deb.debian.org/debian/ jessie/main libisl10 armhf 0.12.2-2 [338 kB]
    [Build]    Get:17 http://deb.debian.org/debian/ jessie/main libcloog-isl4 armhf 0.18.2-1+b2 [50.8 kB]
    [Build]    Get:18 http://deb.debian.org/debian/ jessie/main libglib2.0-0 armhf 2.42.1-1+b1 [2270 kB]
    [Build]    Get:19 http://deb.debian.org/debian/ jessie/main libgomp1 armhf 4.9.2-10 [35.7 kB]
    [Build]    Get:20 http://deb.debian.org/debian/ jessie/main libicu52 armhf 52.1-8+deb8u5 [6582 kB]
    [Build]    Get:21 http://deb.debian.org/debian/ jessie/main libmpfr4 armhf 3.1.2-2 [508 kB]
    [Build]    Get:22 http://deb.debian.org/debian/ jessie/main libubsan0 armhf 4.9.2-10 [69.6 kB]
    [Build]    Get:23 http://deb.debian.org/debian/ jessie/main libmpc3 armhf 1.0.2-1 [31.4 kB]
    [Build]    Get:24 http://deb.debian.org/debian/ jessie/main apt-utils armhf 1.0.9.8.4 [357 kB]
    [Build]    Get:25 http://deb.debian.org/debian/ jessie/main libpsl0 armhf 0.5.1-1 [40.5 kB]
    [Build]    Get:26 http://deb.debian.org/debian/ jessie/main wget armhf 1.16-1+deb8u2 [477 kB]
    [Build]    Get:27 http://deb.debian.org/debian/ jessie/main bzip2 armhf 1.0.6-7+b3 [45.3 kB]
    [Build]    Get:28 http://deb.debian.org/debian/ jessie/main patch armhf 2.7.5-1 [101 kB]
    [Build]    Get:29 http://deb.debian.org/debian/ jessie/main xz-utils armhf 5.1.1alpha+20120614-2+b3 [218 kB]
    [Build]    Get:30 http://deb.debian.org/debian/ jessie/main binutils armhf 2.25-5+deb8u1 [3537 kB]
    [Build]    Get:31 http://deb.debian.org/debian/ jessie/main libc-dev-bin armhf 2.19-18+deb8u10 [232 kB]
    [Build]    Get:32 http://deb.debian.org/debian/ jessie/main libc6-dev armhf 2.19-18+deb8u10 [1750 kB]
    [Build]    Get:33 http://deb.debian.org/debian/ jessie/main cpp-4.9 armhf 4.9.2-10 [4220 kB]
    [Build]    Get:34 http://deb.debian.org/debian/ jessie/main cpp armhf 4:4.9.2-2 [17.4 kB]
    [Build]    Get:35 http://deb.debian.org/debian/ jessie/main libgcc-4.9-dev armhf 4.9.2-10 [358 kB]
    [Build]    Get:36 http://deb.debian.org/debian/ jessie/main gcc-4.9 armhf 4.9.2-10 [4450 kB]
    [Build]    Get:37 http://deb.debian.org/debian/ jessie/main gcc armhf 4:4.9.2-2 [5138 B]
    [Build]    Get:38 http://deb.debian.org/debian/ jessie/main libstdc++-4.9-dev armhf 4.9.2-10 [1135 kB]
    [Build]    Get:39 http://deb.debian.org/debian/ jessie/main g++-4.9 armhf 4.9.2-10 [11.8 MB]
    [Build]    Get:40 http://deb.debian.org/debian/ jessie/main g++ armhf 4:4.9.2-2 [1510 B]
    [Build]    Get:41 http://deb.debian.org/debian/ jessie/main make armhf 4.0-8.1 [335 kB]
    [Build]    Get:42 http://deb.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB]
    [Build]    Get:43 http://deb.debian.org/debian/ jessie/main libdpkg-perl all 1.17.27 [1075 kB]
    [Build]    Get:44 http://deb.debian.org/debian/ jessie/main dpkg-dev all 1.17.27 [1548 kB]
    [Build]    Get:45 http://deb.debian.org/debian/ jessie/main build-essential armhf 11.7 [6934 B]
    [Build]    Get:46 http://deb.debian.org/debian/ jessie/main liberror-perl all 0.17-1.1 [22.4 kB]
    [Build]    Get:47 http://deb.debian.org/debian/ jessie/main libusb-1.0-0-dev armhf 2:1.0.19-1 [59.9 kB]
    [Build]    Get:48 http://deb.debian.org/debian/ jessie/main pkg-config armhf 0.28-1 [55.4 kB]
    [Build]    debconf: delaying package configuration, since apt-utils is not installed
    [Build]    Fetched 52.3 MB in 2s (22.3 MB/s)
    [Build]    Selecting previously unselected package libapt-inst1.5:armhf.
    (Reading database ... 9880 files and directories currently installed.)
    [Build]    Preparing to unpack .../libapt-inst1.5_1.0.9.8.4_armhf.deb ...
    [Build]    Unpacking libapt-inst1.5:armhf (1.0.9.8.4) ...
    [Build]    Selecting previously unselected package libxml2:armhf.
    [Build]    Preparing to unpack .../libxml2_2.9.1+dfsg1-5+deb8u5_armhf.deb ...
    [Build]    Unpacking libxml2:armhf (2.9.1+dfsg1-5+deb8u5) ...
    [Build]    Selecting previously unselected package cmake-data.
    [Build]    Preparing to unpack .../cmake-data_3.6.2-2~bpo8+1_all.deb ...
    [Build]    Unpacking cmake-data (3.6.2-2~bpo8+1) ...
    [Build]    Selecting previously unselected package liblzo2-2:armhf.
    [Build]    Preparing to unpack .../liblzo2-2_2.08-1.2_armhf.deb ...
    [Build]    Unpacking liblzo2-2:armhf (2.08-1.2) ...
    [Build]    Selecting previously unselected package libarchive13:armhf.
    [Build]    Preparing to unpack .../libarchive13_3.1.2-11+deb8u3_armhf.deb ...
    [Build]    Unpacking libarchive13:armhf (3.1.2-11+deb8u3) ...
    [Build]    Selecting previously unselected package libexpat1:armhf.
    [Build]    Preparing to unpack .../libexpat1_2.1.0-6+deb8u4_armhf.deb ...
    [Build]    Unpacking libexpat1:armhf (2.1.0-6+deb8u4) ...
    [Build]    Selecting previously unselected package libjsoncpp0.
    [Build]    Preparing to unpack .../libjsoncpp0_0.6.0~rc2-3.1_armhf.deb ...
    [Build]    Unpacking libjsoncpp0 (0.6.0~rc2-3.1) ...
    [Build]    Selecting previously unselected package cmake.
    [Build]    Preparing to unpack .../cmake_3.6.2-2~bpo8+1_armhf.deb ...
    [Build]    Unpacking cmake (3.6.2-2~bpo8+1) ...
    [Build]    Selecting previously unselected package libasan1:armhf.
    [Build]    Preparing to unpack .../libasan1_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libasan1:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package libatomic1:armhf.
    [Build]    Preparing to unpack .../libatomic1_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libatomic1:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package libisl10:armhf.
    [Build]    Preparing to unpack .../libisl10_0.12.2-2_armhf.deb ...
    [Build]    Unpacking libisl10:armhf (0.12.2-2) ...
    [Build]    Selecting previously unselected package libcloog-isl4:armhf.
    [Build]    Preparing to unpack .../libcloog-isl4_0.18.2-1+b2_armhf.deb ...
    [Build]    Unpacking libcloog-isl4:armhf (0.18.2-1+b2) ...
    [Build]    Selecting previously unselected package libcurl3-gnutls:armhf.
    [Build]    Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u6_armhf.deb ...
    [Build]    Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u6) ...
    [Build]    Selecting previously unselected package libglib2.0-0:armhf.
    [Build]    Preparing to unpack .../libglib2.0-0_2.42.1-1+b1_armhf.deb ...
    [Build]    Unpacking libglib2.0-0:armhf (2.42.1-1+b1) ...
    [Build]    Selecting previously unselected package libgomp1:armhf.
    [Build]    Preparing to unpack .../libgomp1_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libgomp1:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package libicu52:armhf.
    [Build]    Preparing to unpack .../libicu52_52.1-8+deb8u5_armhf.deb ...
    [Build]    Unpacking libicu52:armhf (52.1-8+deb8u5) ...
    [Build]    Selecting previously unselected package libmpfr4:armhf.
    [Build]    Preparing to unpack .../libmpfr4_3.1.2-2_armhf.deb ...
    [Build]    Unpacking libmpfr4:armhf (3.1.2-2) ...
    [Build]    Selecting previously unselected package libubsan0:armhf.
    [Build]    Preparing to unpack .../libubsan0_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libubsan0:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package libmpc3:armhf.
    [Build]    Preparing to unpack .../libmpc3_1.0.2-1_armhf.deb ...
    [Build]    Unpacking libmpc3:armhf (1.0.2-1) ...
    [Build]    Selecting previously unselected package apt-utils.
    [Build]    Preparing to unpack .../apt-utils_1.0.9.8.4_armhf.deb ...
    [Build]    Unpacking apt-utils (1.0.9.8.4) ...
    [Build]    Selecting previously unselected package libpsl0:armhf.
    [Build]    Preparing to unpack .../libpsl0_0.5.1-1_armhf.deb ...
    [Build]    Unpacking libpsl0:armhf (0.5.1-1) ...
    [Build]    Selecting previously unselected package wget.
    [Build]    Preparing to unpack .../wget_1.16-1+deb8u2_armhf.deb ...
    [Build]    Unpacking wget (1.16-1+deb8u2) ...
    [Build]    Selecting previously unselected package bzip2.
    [Build]    Preparing to unpack .../bzip2_1.0.6-7+b3_armhf.deb ...
    [Build]    Unpacking bzip2 (1.0.6-7+b3) ...
    [Build]    Selecting previously unselected package patch.
    [Build]    Preparing to unpack .../patch_2.7.5-1_armhf.deb ...
    [Build]    Unpacking patch (2.7.5-1) ...
    [Build]    Selecting previously unselected package xz-utils.
    [Build]    Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2+b3_armhf.deb ...
    [Build]    Unpacking xz-utils (5.1.1alpha+20120614-2+b3) ...
    [Build]    Selecting previously unselected package binutils.
    [Build]    Preparing to unpack .../binutils_2.25-5+deb8u1_armhf.deb ...
    [Build]    Unpacking binutils (2.25-5+deb8u1) ...
    [Build]    Selecting previously unselected package libc-dev-bin.
    [Build]    Preparing to unpack .../libc-dev-bin_2.19-18+deb8u10_armhf.deb ...
    [Build]    Unpacking libc-dev-bin (2.19-18+deb8u10) ...
    [Build]    Selecting previously unselected package linux-libc-dev:armhf.
    [Build]    Preparing to unpack .../linux-libc-dev_3.16.43-2+deb8u5_armhf.deb ...
    [Build]    Unpacking linux-libc-dev:armhf (3.16.43-2+deb8u5) ...
    [Build]    Selecting previously unselected package libc6-dev:armhf.
    [Build]    Preparing to unpack .../libc6-dev_2.19-18+deb8u10_armhf.deb ...
    [Build]    Unpacking libc6-dev:armhf (2.19-18+deb8u10) ...
    [Build]    Selecting previously unselected package cpp-4.9.
    [Build]    Preparing to unpack .../cpp-4.9_4.9.2-10_armhf.deb ...
    [Build]    Unpacking cpp-4.9 (4.9.2-10) ...
    [Build]    Selecting previously unselected package cpp.
    [Build]    Preparing to unpack .../cpp_4%3a4.9.2-2_armhf.deb ...
    [Build]    Unpacking cpp (4:4.9.2-2) ...
    [Build]    Selecting previously unselected package libgcc-4.9-dev:armhf.
    [Build]    Preparing to unpack .../libgcc-4.9-dev_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libgcc-4.9-dev:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package gcc-4.9.
    [Build]    Preparing to unpack .../gcc-4.9_4.9.2-10_armhf.deb ...
    [Build]    Unpacking gcc-4.9 (4.9.2-10) ...
    [Build]    Selecting previously unselected package gcc.
    [Build]    Preparing to unpack .../gcc_4%3a4.9.2-2_armhf.deb ...
    [Build]    Unpacking gcc (4:4.9.2-2) ...
    [Build]    Selecting previously unselected package libstdc++-4.9-dev:armhf.
    [Build]    Preparing to unpack .../libstdc++-4.9-dev_4.9.2-10_armhf.deb ...
    [Build]    Unpacking libstdc++-4.9-dev:armhf (4.9.2-10) ...
    [Build]    Selecting previously unselected package g++-4.9.
    [Build]    Preparing to unpack .../g++-4.9_4.9.2-10_armhf.deb ...
    [Build]    Unpacking g++-4.9 (4.9.2-10) ...
    [Build]    Selecting previously unselected package g++.
    [Build]    Preparing to unpack .../g++_4%3a4.9.2-2_armhf.deb ...
    [Build]    Unpacking g++ (4:4.9.2-2) ...
    [Build]    Selecting previously unselected package make.
    [Build]    Preparing to unpack .../make_4.0-8.1_armhf.deb ...
    [Build]    Unpacking make (4.0-8.1) ...
    [Build]    Selecting previously unselected package libtimedate-perl.
    [Build]    Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
    [Build]    Unpacking libtimedate-perl (2.3000-2) ...
    [Build]    Selecting previously unselected package libdpkg-perl.
    [Build]    Preparing to unpack .../libdpkg-perl_1.17.27_all.deb ...
    [Build]    Unpacking libdpkg-perl (1.17.27) ...
    [Build]    Selecting previously unselected package dpkg-dev.
    [Build]    Preparing to unpack .../dpkg-dev_1.17.27_all.deb ...
    [Build]    Unpacking dpkg-dev (1.17.27) ...
    [Build]    Selecting previously unselected package build-essential.
    [Build]    Preparing to unpack .../build-essential_11.7_armhf.deb ...
    [Build]    Unpacking build-essential (11.7) ...
    [Build]    Selecting previously unselected package liberror-perl.
    [Build]    Preparing to unpack .../liberror-perl_0.17-1.1_all.deb ...
    [Build]    Unpacking liberror-perl (0.17-1.1) ...
    [Build]    Selecting previously unselected package git-man.
    [Build]    Preparing to unpack .../git-man_1%3a2.1.4-2.1+deb8u5_all.deb ...
    [Build]    Unpacking git-man (1:2.1.4-2.1+deb8u5) ...
    [Build]    Selecting previously unselected package git.
    [Build]    Preparing to unpack .../git_1%3a2.1.4-2.1+deb8u5_armhf.deb ...
    [Build]    Unpacking git (1:2.1.4-2.1+deb8u5) ...
    [Build]    Selecting previously unselected package git-core.
    [Build]    Preparing to unpack .../git-core_1%3a2.1.4-2.1+deb8u5_all.deb ...
    [Build]    Unpacking git-core (1:2.1.4-2.1+deb8u5) ...
    [Build]    Selecting previously unselected package libusb-1.0-0-dev:armhf.
    [Build]    Preparing to unpack .../libusb-1.0-0-dev_2%3a1.0.19-1_armhf.deb ...
    [Build]    Unpacking libusb-1.0-0-dev:armhf (2:1.0.19-1) ...
    [Build]    Selecting previously unselected package pkg-config.
    [Build]    Preparing to unpack .../pkg-config_0.28-1_armhf.deb ...
    [Build]    Unpacking pkg-config (0.28-1) ...
    [Build]    Setting up libapt-inst1.5:armhf (1.0.9.8.4) ...
    [Build]    Setting up libxml2:armhf (2.9.1+dfsg1-5+deb8u5) ...
    [Build]    Setting up cmake-data (3.6.2-2~bpo8+1) ...
    [Build]    Setting up liblzo2-2:armhf (2.08-1.2) ...
    [Build]    Setting up libarchive13:armhf (3.1.2-11+deb8u3) ...
    [Build]    Setting up libexpat1:armhf (2.1.0-6+deb8u4) ...
    [Build]    Setting up libjsoncpp0 (0.6.0~rc2-3.1) ...
    [Build]    Setting up cmake (3.6.2-2~bpo8+1) ...
    [Build]    Setting up libasan1:armhf (4.9.2-10) ...
    [Build]    Setting up libatomic1:armhf (4.9.2-10) ...
    [Build]    Setting up libisl10:armhf (0.12.2-2) ...
    [Build]    Setting up libcloog-isl4:armhf (0.18.2-1+b2) ...
    [Build]    Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u6) ...
    [Build]    Setting up libglib2.0-0:armhf (2.42.1-1+b1) ...
    [Build]    No schema files found: doing nothing.
    [Build]    Setting up libgomp1:armhf (4.9.2-10) ...
    [Build]    Setting up libicu52:armhf (52.1-8+deb8u5) ...
    [Build]    Setting up libmpfr4:armhf (3.1.2-2) ...
    [Build]    Setting up libubsan0:armhf (4.9.2-10) ...
    [Build]    Setting up libmpc3:armhf (1.0.2-1) ...
    [Build]    Setting up apt-utils (1.0.9.8.4) ...
    [Build]    Setting up libpsl0:armhf (0.5.1-1) ...
    [Build]    Setting up wget (1.16-1+deb8u2) ...
    [Build]    Setting up bzip2 (1.0.6-7+b3) ...
    [Build]    Setting up patch (2.7.5-1) ...
    [Build]    Setting up xz-utils (5.1.1alpha+20120614-2+b3) ...
    [Build]    update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzma.1.gz because associated file /usr/share/man/man1/xz.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/unlzma.1.gz because associated file /usr/share/man/man1/unxz.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzcat.1.gz because associated file /usr/share/man/man1/xzcat.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzmore.1.gz because associated file /usr/share/man/man1/xzmore.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzless.1.gz because associated file /usr/share/man/man1/xzless.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzdiff.1.gz because associated file /usr/share/man/man1/xzdiff.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzcmp.1.gz because associated file /usr/share/man/man1/xzcmp.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzgrep.1.gz because associated file /usr/share/man/man1/xzgrep.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzegrep.1.gz because associated file /usr/share/man/man1/xzegrep.1.gz (of link group lzma) doesn't exist
    [Build]    update-alternatives: warning: skip creation of /usr/share/man/man1/lzfgrep.1.gz because associated file /usr/share/man/man1/xzfgrep.1.gz (of link group lzma) doesn't exist
    [Build]    Setting up binutils (2.25-5+deb8u1) ...
    [Build]    Setting up libc-dev-bin (2.19-18+deb8u10) ...
    [Build]    Setting up linux-libc-dev:armhf (3.16.43-2+deb8u5) ...
    [Build]    Setting up libc6-dev:armhf (2.19-18+deb8u10) ...
    [Build]    Setting up cpp-4.9 (4.9.2-10) ...
    [Build]    Setting up cpp (4:4.9.2-2) ...
    [Build]    Setting up libgcc-4.9-dev:armhf (4.9.2-10) ...
    [Build]    Setting up gcc-4.9 (4.9.2-10) ...
    [Build]    Setting up gcc (4:4.9.2-2) ...
    [Build]    Setting up libstdc++-4.9-dev:armhf (4.9.2-10) ...
    [Build]    Setting up g++-4.9 (4.9.2-10) ...
    [Build]    Setting up g++ (4:4.9.2-2) ...
    [Build]    update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
    [Build]    Setting up make (4.0-8.1) ...
    [Build]    Setting up libtimedate-perl (2.3000-2) ...
    [Build]    Setting up libdpkg-perl (1.17.27) ...
    [Build]    Setting up dpkg-dev (1.17.27) ...
    [Build]    Setting up build-essential (11.7) ...
    [Build]    Setting up liberror-perl (0.17-1.1) ...
    [Build]    Setting up git-man (1:2.1.4-2.1+deb8u5) ...
    [Build]    Setting up git (1:2.1.4-2.1+deb8u5) ...
    [Build]    Setting up git-core (1:2.1.4-2.1+deb8u5) ...
    [Build]    Setting up libusb-1.0-0-dev:armhf (2:1.0.19-1) ...
    [Build]    Setting up pkg-config (0.28-1) ...
    [Build]    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    [Build]     ---> ed30d0108f1b
    [Build]    Removing intermediate container 7c36c6d0cb87
    [Build]    Step 4/23 : COPY ./rtlsdr-blacklist.conf /etc/modprobe.d/rtlsdr-blacklist.conf
    [Build]     ---> 53d8e3694130
    [Build]    Removing intermediate container 7a3679c9ae90
    [Build]    Step 5/23 : WORKDIR /tmp
    [Build]     ---> 54cdde543fa1
    [Build]    Removing intermediate container 4ef29d4d4163
    [Build]    Step 6/23 : RUN git clone git://git.osmocom.org/rtl-sdr.git     && cd rtl-sdr     && mkdir build
    [Build]     ---> Running in df401e974400
    [Build]    Cloning into 'rtl-sdr'...
    [Build]     ---> a4f0772cf9b8
    [Build]    Removing intermediate container df401e974400
    [Build]    Step 7/23 : WORKDIR /tmp/rtl-sdr/build
    [Build]     ---> 065e365f0a90
    [Build]    Removing intermediate container 254eae0f37d5
    [Build]    Step 8/23 : RUN cmake ../ -DINSTALL_UDEV_RULES=ON -DDETACH_KERNEL_DRIVER=ON     && make     && make install     && ldconfig
    [Build]     ---> Running in 865c02ac21f2
    [Build]    -- The C compiler identification is GNU 4.9.2
    [Build]    -- Check for working C compiler: /usr/bin/cc
    [Build]    -- Check for working C compiler: /usr/bin/cc -- works
    [Build]    -- Detecting C compiler ABI info
    [Build]    -- Detecting C compiler ABI info - done
    [Build]    -- Detecting C compile features
    [Build]    -- Detecting C compile features - done
    [Build]    -- Build type not specified: defaulting to release.
    [Build]    -- Extracting version information from git describe...
    [Build]    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    [Build]    -- Checking for module 'libusb-1.0'
    [Build]    --   Found libusb-1.0, version 1.0.19
    [Build]    -- Looking for libusb_handle_events_timeout_completed
    [Build]    -- Looking for libusb_handle_events_timeout_completed - found
    [Build]    -- Looking for libusb_error_name
    [Build]    -- Looking for libusb_error_name - found
    [Build]    -- Found libusb-1.0: /usr/include/libusb-1.0, /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
    [Build]    -- Looking for include file pthread.h
    [Build]    -- Looking for include file pthread.h - found
    [Build]    -- Looking for pthread_create in pthreads
    [Build]    -- Looking for pthread_create in pthreads - not found
    [Build]    -- Looking for pthread_create in pthread
    [Build]    -- Looking for pthread_create in pthread - found
    [Build]    -- Found Threads: TRUE
    [Build]    -- Building with kernel driver detaching enabled
    [Build]    -- Building for version: v0.5.3-18-gb04c / 0.5git
    [Build]    -- Using install prefix: /usr/local
    [Build]    -- Configuring done
    [Build]    -- Generating done
    [Build]    -- Build files have been written to: /tmp/rtl-sdr/build
    [Build]    Scanning dependencies of target rtlsdr_shared
    [Build]    [  3%] Building C object src/CMakeFiles/rtlsdr_shared.dir/librtlsdr.c.o
    [Build]    [  6%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_e4k.c.o
    [Build]    [ 10%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0012.c.o
    [Build]    [ 13%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0013.c.o
    [Build]    [ 16%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc2580.c.o
    [Build]    [ 20%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_r82xx.c.o
    [Build]    [ 23%] Linking C shared library librtlsdr.so
    [Build]    [ 23%] Built target rtlsdr_shared
    [Build]    Scanning dependencies of target convenience_static
    [Build]    [ 26%] Building C object src/CMakeFiles/convenience_static.dir/convenience/convenience.c.o
    [Build]    [ 30%] Linking C static library libconvenience_static.a
    [Build]    [ 30%] Built target convenience_static
    [Build]    Scanning dependencies of target rtl_fm
    [Build]    [ 33%] Building C object src/CMakeFiles/rtl_fm.dir/rtl_fm.c.o
    [Build]    [ 36%] Linking C executable rtl_fm
    [Build]    [ 36%] Built target rtl_fm
    [Build]    Scanning dependencies of target rtl_sdr
    [Build]    [ 40%] Building C object src/CMakeFiles/rtl_sdr.dir/rtl_sdr.c.o
    [Build]    [ 43%] Linking C executable rtl_sdr
    [Build]    [ 43%] Built target rtl_sdr
    [Build]    Scanning dependencies of target rtlsdr_static
    [Build]    [ 46%] Building C object src/CMakeFiles/rtlsdr_static.dir/librtlsdr.c.o
    [Build]    [ 50%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_e4k.c.o
    [Build]    [ 53%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0012.c.o
    [Build]    [ 56%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc0013.c.o
    [Build]    [ 60%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_fc2580.c.o
    [Build]    [ 63%] Building C object src/CMakeFiles/rtlsdr_static.dir/tuner_r82xx.c.o
    [Build]    [ 66%] Linking C static library librtlsdr.a
    [Build]    [ 66%] Built target rtlsdr_static
    [Build]    Scanning dependencies of target rtl_tcp
    [Build]    [ 70%] Building C object src/CMakeFiles/rtl_tcp.dir/rtl_tcp.c.o
    [Build]    [ 73%] Linking C executable rtl_tcp
    [Build]    [ 73%] Built target rtl_tcp
    [Build]    Scanning dependencies of target rtl_test
    [Build]    [ 76%] Building C object src/CMakeFiles/rtl_test.dir/rtl_test.c.o
    [Build]    [ 80%] Linking C executable rtl_test
    [Build]    [ 80%] Built target rtl_test
    [Build]    Scanning dependencies of target rtl_adsb
    [Build]    [ 83%] Building C object src/CMakeFiles/rtl_adsb.dir/rtl_adsb.c.o
    [Build]    [ 86%] Linking C executable rtl_adsb
    [Build]    [ 86%] Built target rtl_adsb
    [Build]    Scanning dependencies of target rtl_eeprom
    [Build]    [ 90%] Building C object src/CMakeFiles/rtl_eeprom.dir/rtl_eeprom.c.o
    [Build]    [ 93%] Linking C executable rtl_eeprom
    [Build]    [ 93%] Built target rtl_eeprom
    [Build]    Scanning dependencies of target rtl_power
    [Build]    [ 96%] Building C object src/CMakeFiles/rtl_power.dir/rtl_power.c.o
    [Build]    [100%] Linking C executable rtl_power
    [Build]    [100%] Built target rtl_power
    [Build]    [ 23%] Built target rtlsdr_shared
    [Build]    [ 30%] Built target convenience_static
    [Build]    [ 36%] Built target rtl_fm
    [Build]    [ 43%] Built target rtl_sdr
    [Build]    [ 66%] Built target rtlsdr_static
    [Build]    [ 73%] Built target rtl_tcp
    [Build]    [ 80%] Built target rtl_test
    [Build]    [ 86%] Built target rtl_adsb
    [Build]    [ 93%] Built target rtl_eeprom
    [Build]    [100%] Built target rtl_power
    [Build]    Install the project...
    [Build]    -- Install configuration: "Release"
    [Build]    -- Installing: /etc/udev/rules.d/rtl-sdr.rules
    [Build]    -- Installing: /usr/local/lib/pkgconfig/librtlsdr.pc
    [Build]    -- Installing: /usr/local/include/rtl-sdr.h
    [Build]    -- Installing: /usr/local/include/rtl-sdr_export.h
    [Build]    -- Installing: /usr/local/lib/librtlsdr.so.0.5git
    [Build]    -- Installing: /usr/local/lib/librtlsdr.so.0
    [Build]    -- Installing: /usr/local/lib/librtlsdr.so
    [Build]    -- Installing: /usr/local/lib/librtlsdr.a
    [Build]    -- Installing: /usr/local/bin/rtl_sdr
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_sdr" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_tcp
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_tcp" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_test
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_test" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_fm
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_fm" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_eeprom
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_eeprom" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_adsb
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_adsb" to ""
    [Build]    -- Installing: /usr/local/bin/rtl_power
    [Build]    -- Set runtime path of "/usr/local/bin/rtl_power" to ""
    [Build]     ---> 58deeb96f42e
    [Build]    Removing intermediate container 865c02ac21f2
    [Build]    Step 9/23 : WORKDIR /tmp
    [Build]     ---> 0bd151b97961
    [Build]    Removing intermediate container 1759d3ba8975
    [Build]    Step 10/23 : RUN $(wget -qO- https://flightaware.com/adsb/piaware/install | egrep "language-sh" | cut -d\> -f2 | cut -d\< -f1 | egrep ^wget) &&     dpkg -i piaware*.deb
    [Build]     ---> Running in 71e2562965de
    [Build]    --2017-10-26 07:05:56--  http://flightaware.com/adsb/piaware/files/packages/pool/piaware/p/piaware-support/piaware-repository_3.5.1_all.deb
    [Build]    Resolving flightaware.com (flightaware.com)... 70.42.6.250
    [Build]    Connecting to flightaware.com (flightaware.com)|70.42.6.250|:80... connected.
    [Build]    HTTP request sent, awaiting response... 200 OK
    [Build]    Length: 4800 (4.7K) [application/x-debian-package]
    [Build]    Saving to: ‘piaware-repository_3.5.1_all.deb’
    [Build]
    [Build]         0K ....                                                  100% 17.3M=0s
    [Build]    2017-10-26 07:05:56 (17.3 MB/s) - ‘piaware-repository_3.5.1_all.deb’ saved [4800/4800]
    [Build]    Selecting previously unselected package piaware-repository.
    [Build]    (Reading database ... 15998 files and directories currently installed.)
    [Build]    Preparing to unpack piaware-repository_3.5.1_all.deb ...
    [Build]    Unpacking piaware-repository (3.5.1) ...
    [Build]    Setting up piaware-repository (3.5.1) ...
    [Build]     ---> e4937b860786
    [Build]    Removing intermediate container 71e2562965de
    [Build]    Step 11/23 : RUN apt-get update && apt-get install -y --no-install-recommends     piaware     dump1090-fa
    [Build]     ---> Running in d668590cdb65
    [Build]    Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
    [Build]    Get:2 http://archive.raspbian.org jessie InRelease [14.9 kB]
    [Build]    Get:3 http://flightaware.com jessie InRelease [1844 B]
    [Build]    Get:4 http://archive.raspberrypi.org jessie InRelease [22.9 kB]
    [Build]    Ign http://deb.debian.org jessie InRelease
    [Build]    Get:5 http://deb.debian.org jessie-updates InRelease [145 kB]
    [Build]    Get:6 http://deb.debian.org jessie Release.gpg [2373 B]
    [Build]    Get:7 http://deb.debian.org jessie Release [148 kB]
    [Build]    Get:8 http://security.debian.org jessie/updates/main armhf Packages [534 kB]
    [Build]    Get:9 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
    [Build]    Get:10 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
    [Build]    Get:11 http://flightaware.com jessie/piaware armhf Packages [5006 B]
    [Build]    Get:12 http://archive.raspbian.org jessie/non-free armhf Packages [101 kB]
    [Build]    Get:13 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
    [Build]    Get:14 http://archive.raspbian.org jessie/firmware armhf Packages [1202 B]
    [Build]    Get:15 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
    [Build]    Get:16 http://deb.debian.org jessie-updates/main armhf Packages [23.0 kB]
    [Build]    Get:17 http://deb.debian.org jessie/main armhf Packages [8864 kB]
    [Build]    Fetched 23.5 MB in 7s (2983 kB/s)
    [Build]    Reading package lists...
    [Build]    Reading package lists...
    [Build]    Building dependency tree...
    [Build]    Reading state information...
    [Build]    The following extra packages will be installed:
    [Build]      init-system-helpers itcl3 libbladerf-udev libbladerf1 libfam0 librtlsdr0
    [Build]      libtcl8.6 libterm-readkey-perl libterm-readline-perl-perl lighttpd
    [Build]      mime-support tcl tcl-tls tcl8.6 tcllib tclx8.4
    [Build]    Suggested packages:
    [Build]      itcl3-doc bladerf-firmware fam rrdtool apache2-utils tcl-tclreadline
    [Build]      tclx8.4-doc
    [Build]    Recommended packages:
    [Build]      bladerf-fpga spawn-fcgi file
    [Build]    The following NEW packages will be installed:
    [Build]      dump1090-fa init-system-helpers itcl3 libbladerf-udev libbladerf1 libfam0
    [Build]      librtlsdr0 libtcl8.6 libterm-readkey-perl libterm-readline-perl-perl
    [Build]      lighttpd mime-support piaware tcl tcl-tls tcl8.6 tcllib tclx8.4
    [Build]    0 upgraded, 18 newly installed, 0 to remove and 12 not upgraded.
    [Build]    Need to get 9698 kB of archives.
    [Build]    After this operation, 43.3 MB of additional disk space will be used.
    [Build]    Get:1 http://flightaware.com/adsb/piaware/files/packages/ jessie/piaware libbladerf1 armhf 2016.06+fa1 [70.9 kB]
    [Build]    Get:2 http://archive.raspbian.org/raspbian/ jessie/main libterm-readkey-perl armhf 2.32-1+b2 [26.1 kB]
    [Build]    Get:3 http://archive.raspbian.org/raspbian/ jessie/main tcl armhf 8.6.0+8+b1 [5508 B]
    [Build]    Get:4 http://deb.debian.org/debian/ jessie/main libtcl8.6 armhf 8.6.2+dfsg-2 [882 kB]
    [Build]    Get:5 http://deb.debian.org/debian/ jessie/main librtlsdr0 armhf 0.5.3-3 [24.5 kB]
    [Build]    Get:6 http://deb.debian.org/debian/ jessie/main init-system-helpers all 1.22 [14.0 kB]
    [Build]    Get:7 http://deb.debian.org/debian/ jessie/main mime-support all 3.58 [36.0 kB]
    [Build]    Get:8 http://deb.debian.org/debian/ jessie/main itcl3 armhf 3.4.1-2 [43.0 kB]
    [Build]    Get:9 http://deb.debian.org/debian/ jessie/main libfam0 armhf 2.7.0-17.1 [24.7 kB]
    [Build]    Get:10 http://deb.debian.org/debian/ jessie/main libterm-readline-perl-perl all 1.0303-1 [51.9 kB]
    [Build]    Get:11 http://deb.debian.org/debian/ jessie/main lighttpd armhf 1.4.35-4+deb8u1 [226 kB]
    [Build]    Get:12 http://deb.debian.org/debian/ jessie/main tcl8.6 armhf 8.6.2+dfsg-2 [122 kB]
    [Build]    Get:13 http://deb.debian.org/debian/ jessie/main tcl-tls armhf 1.6+dfsg-3 [56.6 kB]
    [Build]    Get:14 http://deb.debian.org/debian/ jessie/main tcllib all 1.16-dfsg-2 [3950 kB]
    [Build]    Get:15 http://deb.debian.org/debian/ jessie/main tclx8.4 armhf 8.4.1-1 [79.3 kB]
    [Build]    Get:16 http://flightaware.com/adsb/piaware/files/packages/ jessie/piaware libbladerf-udev armhf 2016.06+fa1 [9784 B]
    [Build]    Get:17 http://flightaware.com/adsb/piaware/files/packages/ jessie/piaware dump1090-fa armhf 3.5.1 [2201 kB]
    [Build]    Get:18 http://flightaware.com/adsb/piaware/files/packages/ jessie/piaware piaware armhf 3.5.1 [1874 kB]
    [Build]    Fetched 9698 kB in 2s (3307 kB/s)
    [Build]    Selecting previously unselected package libtcl8.6:armhf.
    (Reading database ... 16002 files and directories currently installed.)
    [Build]    Preparing to unpack .../libtcl8.6_8.6.2+dfsg-2_armhf.deb ...
    [Build]    Unpacking libtcl8.6:armhf (8.6.2+dfsg-2) ...
    [Build]    Selecting previously unselected package libbladerf1:armhf.
    [Build]    Preparing to unpack .../libbladerf1_2016.06+fa1_armhf.deb ...
    [Build]    Unpacking libbladerf1:armhf (2016.06+fa1) ...
    [Build]    Selecting previously unselected package librtlsdr0:armhf.
    [Build]    Preparing to unpack .../librtlsdr0_0.5.3-3_armhf.deb ...
    [Build]    Unpacking librtlsdr0:armhf (0.5.3-3) ...
    [Build]    Selecting previously unselected package init-system-helpers.
    [Build]    Preparing to unpack .../init-system-helpers_1.22_all.deb ...
    [Build]    Unpacking init-system-helpers (1.22) ...
    [Build]    Selecting previously unselected package mime-support.
    [Build]    Preparing to unpack .../mime-support_3.58_all.deb ...
    [Build]    Unpacking mime-support (3.58) ...
    [Build]    Selecting previously unselected package itcl3:armhf.
    [Build]    Preparing to unpack .../itcl3_3.4.1-2_armhf.deb ...
    [Build]    Unpacking itcl3:armhf (3.4.1-2) ...
    [Build]    Selecting previously unselected package libfam0.
    [Build]    Preparing to unpack .../libfam0_2.7.0-17.1_armhf.deb ...
    [Build]    Unpacking libfam0 (2.7.0-17.1) ...
    [Build]    Selecting previously unselected package libterm-readkey-perl.
    [Build]    Preparing to unpack .../libterm-readkey-perl_2.32-1+b2_armhf.deb ...
    [Build]    Unpacking libterm-readkey-perl (2.32-1+b2) ...
    [Build]    Selecting previously unselected package libterm-readline-perl-perl.
    [Build]    Preparing to unpack .../libterm-readline-perl-perl_1.0303-1_all.deb ...
    [Build]    Unpacking libterm-readline-perl-perl (1.0303-1) ...
    [Build]    Selecting previously unselected package lighttpd.
    [Build]    Preparing to unpack .../lighttpd_1.4.35-4+deb8u1_armhf.deb ...
    [Build]    Unpacking lighttpd (1.4.35-4+deb8u1) ...
    [Build]    Selecting previously unselected package tcl8.6.
    [Build]    Preparing to unpack .../tcl8.6_8.6.2+dfsg-2_armhf.deb ...
    [Build]    Unpacking tcl8.6 (8.6.2+dfsg-2) ...
    [Build]    Selecting previously unselected package tcl.
    [Build]    Preparing to unpack .../tcl_8.6.0+8+b1_armhf.deb ...
    [Build]    Unpacking tcl (8.6.0+8+b1) ...
    [Build]    Selecting previously unselected package tcl-tls.
    [Build]    Preparing to unpack .../tcl-tls_1.6+dfsg-3_armhf.deb ...
    [Build]    Unpacking tcl-tls (1.6+dfsg-3) ...
    [Build]    Selecting previously unselected package tcllib.
    [Build]    Preparing to unpack .../tcllib_1.16-dfsg-2_all.deb ...
    [Build]    Unpacking tcllib (1.16-dfsg-2) ...
    [Build]    Selecting previously unselected package tclx8.4.
    [Build]    Preparing to unpack .../tclx8.4_8.4.1-1_armhf.deb ...
    [Build]    Unpacking tclx8.4 (8.4.1-1) ...
    [Build]    Selecting previously unselected package libbladerf-udev:armhf.
    [Build]    Preparing to unpack .../libbladerf-udev_2016.06+fa1_armhf.deb ...
    [Build]    Unpacking libbladerf-udev:armhf (2016.06+fa1) ...
    [Build]    Selecting previously unselected package dump1090-fa.
    [Build]    Preparing to unpack .../dump1090-fa_3.5.1_armhf.deb ...
    [Build]    Unpacking dump1090-fa (3.5.1) ...
    [Build]    Selecting previously unselected package piaware.
    [Build]    Preparing to unpack .../piaware_3.5.1_armhf.deb ...
    [Build]    Unpacking piaware (3.5.1) ...
    [Build]    Processing triggers for systemd (215-17+deb8u7) ...
    [Build]    Setting up libtcl8.6:armhf (8.6.2+dfsg-2) ...
    [Build]    Setting up libbladerf1:armhf (2016.06+fa1) ...
    [Build]    Setting up librtlsdr0:armhf (0.5.3-3) ...
    [Build]    Setting up init-system-helpers (1.22) ...
    [Build]    Setting up mime-support (3.58) ...
    [Build]    Setting up itcl3:armhf (3.4.1-2) ...
    [Build]    Setting up libfam0 (2.7.0-17.1) ...
    [Build]    Setting up libterm-readkey-perl (2.32-1+b2) ...
    [Build]    Setting up libterm-readline-perl-perl (1.0303-1) ...
    [Build]    Setting up lighttpd (1.4.35-4+deb8u1) ...
    [Build]    invoke-rc.d: policy-rc.d denied execution of start.
    [Build]    Setting up tcl8.6 (8.6.2+dfsg-2) ...
    [Build]    Setting up tcl (8.6.0+8+b1) ...
    [Build]    Setting up tcl-tls (1.6+dfsg-3) ...
    [Build]    Setting up tcllib (1.16-dfsg-2) ...
    [Build]    Setting up tclx8.4 (8.4.1-1) ...
    [Build]    Setting up libbladerf-udev:armhf (2016.06+fa1) ...
    [Build]    Setting up dump1090-fa (3.5.1) ...
    [Build]    Adding user `dump1090' to group `plugdev' ...
    [Build]    Adding user dump1090 to group plugdev
    [Build]    Done.
    [Build]    Enabling lighttpd integration..
    [Build]    Enabling dump1090-fa: ok
    [Build]    Run /etc/init.d/lighttpd force-reload to enable changes
    [Build]    Enabling lighttpd integration (stat cache)..
    [Build]    Enabling dump1090-fa-statcache: ok
    [Build]    Run /etc/init.d/lighttpd force-reload to enable changes
    [Build]    Restarting lighttpd..
    [Build]    invoke-rc.d: policy-rc.d denied execution of restart.
    [Build]    Setting up piaware (3.5.1) ...
    [Build]    Reloading rsyslog configuration..
    [Build]    invoke-rc.d: unknown initscript, /etc/init.d/rsyslog not found.
    [Build]    Warning: rsyslog failed to reload
    [Build]    invoke-rc.d: policy-rc.d denied execution of start.
    [Build]    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    [Build]    Processing triggers for systemd (215-17+deb8u7) ...
    [Build]     ---> 633679607739
    [Build]    Removing intermediate container d668590cdb65
    [Build]    Step 12/23 : RUN piaware-config allow-auto-updates yes &&     piaware-config allow-manual-updates yes
    [Build]     ---> Running in f6b5b8dfeaa9
    [Build]    Set allow-auto-updates to yes in /etc/piaware.conf:7
    [Build]    Set allow-manual-updates to yes in /etc/piaware.conf:8
    [Build]     ---> b46d613593e8
    [Build]    Removing intermediate container f6b5b8dfeaa9
    [Build]    Step 13/23 : WORKDIR /tmp
    [Build]     ---> a99276e67b0e
    [Build]    Removing intermediate container 2d898c2eb3ac
    [Build]    Step 14/23 : RUN wget $(wget -qO- https://planefinder.net/sharing/client | egrep armhf.deb | awk -F\" '{print $2}') &&     dpkg -i pfclient*armhf.deb
    [Build]     ---> Running in 98dde99ebe9a
    [Build]    --2017-10-26 07:06:48--  http://client.planefinder.net/pfclient_3.7.20_armhf.deb
    [Build]    Resolving client.planefinder.net (client.planefinder.net)... 80.239.137.66, 80.239.137.50, 2a02:26f0:e8::6856:6e6b, ...
    [Build]    Connecting to client.planefinder.net (client.planefinder.net)|80.239.137.66|:80... connected.
    [Build]    HTTP request sent, awaiting response... 200 OK
    [Build]    Length: 1167112 (1.1M) [application/vnd.debian.binary-package]
    [Build]    Saving to: ‘pfclient_3.7.20_armhf.deb’
    [Build]
    [Build]         0K .......... .......... .......... .......... ..........  4% 6.47M 0s
    [Build]        50K .......... .......... .......... .......... ..........  8% 6.40M 0s
    [Build]       100K .......... .......... .......... .......... .......... 13% 43.2M 0s
    [Build]       150K .......... .......... .......... .......... .......... 17% 7.46M 0s
    [Build]       200K .......... .......... .......... .......... .......... 21% 34.6M 0s
    [Build]       250K .......... .......... .......... .......... .......... 26%  119M 0s
    [Build]       300K .......... .......... .......... .......... .......... 30%  108M 0s
    [Build]       350K .......... .......... .......... .......... .......... 35% 8.80M 0s
    [Build]       400K .......... .......... .......... .......... .......... 39%  106M 0s
    [Build]       450K .......... .......... .......... .......... .......... 43%  120M 0s
    [Build]       500K .......... .......... .......... .......... .......... 48% 92.9M 0s
    [Build]       550K .......... .......... .......... .......... .......... 52%  114M 0s
    [Build]       600K .......... .......... .......... .......... .......... 57% 82.3M 0s
    [Build]       650K .......... .......... .......... .......... .......... 61% 83.4M 0s
    [Build]       700K .......... .......... .......... .......... .......... 65% 11.4M 0s
    [Build]       750K .......... .......... .......... .......... .......... 70% 39.5M 0s
    [Build]       800K .......... .......... .......... .......... .......... 74% 75.0M 0s
    [Build]       850K .......... .......... .......... .......... .......... 78% 96.4M 0s
    [Build]       900K .......... .......... .......... .......... .......... 83% 73.0M 0s
    [Build]       950K .......... .......... .......... .......... .......... 87% 48.0M 0s
    [Build]      1000K .......... .......... .......... .......... .......... 92% 55.5M 0s
    [Build]      1050K .......... .......... .......... .......... .......... 96% 63.0M 0s
    [Build]      1100K .......... .......... .......... .........            100% 69.1M=0.04s
    [Build]    2017-10-26 07:06:49 (25.1 MB/s) - ‘pfclient_3.7.20_armhf.deb’ saved [1167112/1167112]
    [Build]    Selecting previously unselected package pfclient.
    [Build]    (Reading database ... 18938 files and directories currently installed.)
    [Build]    Preparing to unpack pfclient_3.7.20_armhf.deb ...
    [Build]    Unpacking pfclient (3.7.20) ...
    [Build]    Setting up pfclient (3.7.20) ...
    [Build]    Starting pfclient: pfclient.
    [Build]    Processing triggers for systemd (215-17+deb8u7) ...
    [Build]     ---> 19fad7661ba2
    [Build]    Removing intermediate container 98dde99ebe9a
    [Build]    Step 15/23 : COPY ./pfclient-config.json /etc/pfclient-config.json
    [Build]     ---> 886b54f891d9
    [Build]    Removing intermediate container b2b4fc1bff9a
    [Build]    Step 16/23 : WORKDIR /tmp
    [Build]     ---> 9ec0fe01fd2d
    [Build]    Removing intermediate container 380b7e6ad460
    [Build]    Step 17/23 : RUN gpg --keyserver pgp.mit.edu --recv-keys 40C430F5 &&     gpg --armor --export 40C430F5 | apt-key add -
    [Build]     ---> Running in 4027702d24b0
    [Build]    gpg: directory `/root/.gnupg' created
    [Build]    gpg: new configuration file `/root/.gnupg/gpg.conf' created
    [Build]    gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
    [Build]    gpg: keyring `/root/.gnupg/secring.gpg' created
    [Build]    gpg: keyring `/root/.gnupg/pubring.gpg' created
    [Build]    gpg: requesting key 40C430F5 from hkp server pgp.mit.edu
    [Build]    gpg: /root/.gnupg/trustdb.gpg: trustdb created
    [Build]    gpg: key 40C430F5: public key "Flightradar24 <[email protected]>" imported
    [Build]    gpg: Total number processed: 1
    [Build]    gpg:               imported: 1  (RSA: 1)
    [Build]    OK
    [Build]     ---> 5d8ae9a1a9a0
    [Build]    Removing intermediate container 4027702d24b0
    [Build]    Step 18/23 : RUN mv /etc/apt/sources.list /etc/apt/sources.list.bak &&     grep -v flightradar24 /etc/apt/sources.list.bak > /etc/apt/sources.list &&     echo 'deb http://repo.feed.flightradar24.com flightradar24 raspberrypi-stable' >> /etc/apt/sources.list
    [Build]     ---> Running in 01f102b5568b
    [Build]     ---> 770b8da9df22
    [Build]    Removing intermediate container 01f102b5568b
    [Build]    Step 19/23 : RUN apt-get update && apt-get install -y --no-install-recommends     fr24feed
    [Build]     ---> Running in baf3d5db7960
    [Build]    Hit http://security.debian.org jessie/updates InRelease
    [Build]    Hit http://archive.raspbian.org jessie InRelease
    [Build]    Get:1 http://repo.feed.flightradar24.com flightradar24 InRelease [10.5 kB]
    [Build]    Hit http://flightaware.com jessie InRelease
    [Build]    Hit http://archive.raspberrypi.org jessie InRelease
    [Build]    Ign http://deb.debian.org jessie InRelease
    [Build]    Hit http://deb.debian.org jessie-updates InRelease
    [Build]    Hit http://deb.debian.org jessie Release.gpg
    [Build]    Hit http://deb.debian.org jessie Release
    [Build]    Get:2 http://security.debian.org jessie/updates/main armhf Packages [534 kB]
    [Build]    Get:3 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB]
    [Build]    Get:4 http://archive.raspbian.org jessie/contrib armhf Packages [49.5 kB]
    [Build]    Get:5 http://archive.raspbian.org jessie/non-free armhf Packages [101 kB]
    [Build]    Get:6 http://archive.raspbian.org jessie/rpi armhf Packages [1297 B]
    [Build]    Get:7 http://repo.feed.flightradar24.com flightradar24/raspberrypi-stable armhf Packages [632 B]
    [Build]    Get:8 http://archive.raspbian.org jessie/firmware armhf Packages [1202 B]
    [Build]    Get:9 http://flightaware.com jessie/piaware armhf Packages [5006 B]
    [Build]    Get:10 http://archive.raspberrypi.org jessie/main armhf Packages [169 kB]
    [Build]    Get:11 http://deb.debian.org jessie-updates/main armhf Packages [23.0 kB]
    [Build]    Get:12 http://deb.debian.org jessie/main armhf Packages [8864 kB]
    [Build]    Fetched 23.1 MB in 7s (2949 kB/s)
    [Build]    Reading package lists...
    [Build]    Reading package lists...
    [Build]    Building dependency tree...
    [Build]    Reading state information...
    [Build]    The following NEW packages will be installed:
    [Build]      fr24feed
    [Build]    0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
    [Build]    Need to get 1288 kB of archives.
    [Build]    After this operation, 563 kB of additional disk space will be used.
    [Build]    Get:1 http://repo.feed.flightradar24.com/ flightradar24/raspberrypi-stable fr24feed armhf 1.0.18-9 [1288 kB]
    [Build]    Fetched 1288 kB in 1s (808 kB/s)
    [Build]    Selecting previously unselected package fr24feed.
    (Reading database ... 18941 files and directories currently installed.)
    [Build]    Preparing to unpack .../fr24feed_1.0.18-9_armhf.deb ...
    [Build]    Unpacking fr24feed (1.0.18-9) ...
    [Build]    Processing triggers for systemd (215-17+deb8u7) ...
    [Build]    Setting up fr24feed (1.0.18-9) ...
    [Build]     ---> e0f215e8defa
    [Build]    Removing intermediate container baf3d5db7960
    [Build]    Step 20/23 : COPY ./fr24feed.ini /etc/fr24feed.ini
    [Build]     ---> 127544a5864b
    [Build]    Removing intermediate container 30b697c43a5f
    [Build]    Step 21/23 : WORKDIR /root
    [Build]     ---> 8467a89def24
    [Build]    Removing intermediate container 3bf1e9f6e925
    [Build]    Step 22/23 : COPY start.sh ./
    [Build]     ---> d5be29fad6f3
    [Build]    Removing intermediate container 4a8d94bbe4c6
    [Build]    Step 23/23 : CMD ./start.sh
    [Build]     ---> Running in 7c5660115d8d
    [Build]     ---> 0ceffa785368
    [Build]    Removing intermediate container 7c5660115d8d
    [Build]    Successfully built 0ceffa785368
    [Build]    Successfully tagged registry2.resin.io:443/rtlsdr/92ffc971e33136b7ed16487fd4b0c6efca7c056c:latest
    [Success]  Image created successfully
    [Info]     Verifying image integrity...
    [Success]  Image passed integrity checks!
    [==================================================>] 100%
    
    
    [Success]  Image uploaded successfully!
    [Info]     Check your dashboard for device download progress:
    [Info]       https://dashboard.resin.io/apps/420185/devices
    [Info]     Build took 6 minutes and 6 seconds
    [Info]     334.35 MB total image size
    [Info]     117.85 MB resin/raspberrypi3-debian:jessie
    [Info]     216.50 MB user additions
                                \
                                 \
                                  \\
                                   \\
                                    >\/7
                                _.-(6'  \
                               (=___._/` \
                                    )  \ |
                                   /   / |
                                  /    > /
                                 j    < _\
                             _.-' :      ``.
                             \ r=._\        `.
                            <`\\_  \         .`-.
                             \ r-7  `-. ._  ' .  `\
                              \`,      `-.`7  7)   )
                               \/         \|  \'  / `-._
                                          ||    .'
                                           \\  (
                                            >\  >
                                        ,.-' >.'
                                       <.'_.''
                                         <'
    
     
  11. jaxxtheone

    jaxxtheone New Member

    What I have on my side:
    Code:
    git remote add resin [email protected]:gh_jaxxtheone/adsb.git
    Now I´ll fiddle a little more with theory and practice, so far so good!
     
  12. jaxxtheone

    jaxxtheone New Member

    At least I have walked a small distance. I got some errors but, who knows...

    The relevant part of the blab starts here:

    Code:
    No errors till here
    ^
    |
    [Build]    Step 17/23 : RUN gpg --keyserver pgp.mit.edu --recv-keys 40C430F5 &&     gpg --armor --export 40C430F5 | apt-key add -
    [Build]     ---> Running in 6df971afa34f
    [Build]    gpg: directory `/root/.gnupg' created
    [Build]    gpg: new configuration file `/root/.gnupg/gpg.conf' created
    [Build]    gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
    [Build]    gpg: keyring `/root/.gnupg/secring.gpg' created
    [Build]    gpg: keyring `/root/.gnupg/pubring.gpg' created
    [Build]    gpg: requesting key 40C430F5 from hkp server pgp.mit.edu
    [Info]     Still working...
    [Build]    gpgkeys: key 40C430F5 can't be retrieved
    [Build]    gpg: no valid OpenPGP data found.
    [Build]    gpg: Total number processed: 0
    [Build]    Removing intermediate container 6df971afa34f
    [Error]    Build failed: The command '/bin/sh -c gpg --keyserver pgp.mit.edu --recv-keys 40C430F5 &&     gpg --armor --export 40C430F5 | apt-key add -' returned a non-zero code: 2
    [Info]     Uploading successful layers to registry for caching purposes
    [==================================================>] 100%
    [Info]     Successfully updated cache.
    
    
    remote: error: hook declined to update refs/heads/master
    To git.resin.io:gh_jaxxtheone/adstest.git
     ! [remote rejected] master -> master (hook declined)
    error: failed to push some refs to '[email protected]:gh_jaxxtheone/adstest.git'
    
    Sorry to disturb you that much but I think this thread may help several people, so I´m insisting on it.

    Can you point me the right direction?
     
  13. jaxxtheone

    jaxxtheone New Member

    Never mind!

    I still believe that computers should do what humans want them to do and not vice-versa.

    Code:
    [Build]    Successfully built 66a3b5673087
    [Build]    Successfully tagged registry2.resin.io:443/adstest/92ffc971e33136b7ed16487fd4b0c6efca7c056c:latest
    [Success]  Image created successfully
    [Info]     Verifying image integrity...
    [Success]  Image passed integrity checks!
    [Info]     Uploading image to registry...
    [==================================================>] 100%
    [Success]  Image uploaded successfully!
    [Info]     Check your dashboard for device download progress:
    [Info]       https://dashboard.resin.io/apps/740159/devices
    [Info]     Build took 2 minutes and 23 seconds
    [Info]     334.35 MB total image size
    [Info]     117.85 MB resin/raspberrypi3-debian:jessie
    [Info]     216.50 MB user additions
                                \
                                 \
                                  \\
                                   \\
                                    >\/7
                                _.-(6'  \
                               (=___._/` \
                                    )  \ |
                                   /   / |
                                  /    > /
                                 j    < _\
                             _.-' :      ``.
                             \ r=._\        `.
                            <`\\_  \         .`-.
                             \ r-7  `-. ._  ' .  `\
                              \`,      `-.`7  7)   )
                               \/         \|  \'  / `-._
                                          ||    .'
                                           \\  (
                                            >\  >
                                        ,.-' >.'
                                       <.'_.''
                                         <'
    
    To git.resin.io:gh_jaxxtheone/adstest.git
     * [new branch]      master -> master
    
    
    Thanks for the ride!
     
    Last edited: Oct 26, 2017
  14. ab cd

    ab cd Senior Member

    Would love to ride the Unicorn :)
    Code:
                 \
                  \
                   \\
                    \\
                     >\/7
                 _.-(6'  \
                (=___._/` \
                     )  \ |
                    /   / |
                   /    > /
                  j    < _\
              _.-' :      ``.
              \ r=._\        `.
             <`\\_  \         .`-.
              \ r-7  `-. ._  ' .  `\
               \`,      `-.`7  7)   )
                \/         \|  \'  / `-._
                           ||    .'
                            \\  (
                             >\  >
                         ,.-' >.'
                        <.'_.''
                          <'
    
    
     
    jaxxtheone likes this.

Share This Page