++++ realpath -s /CustomPiOS/build +++ dirname /CustomPiOS/build ++ BUILD_SCRIPT_PATH=/CustomPiOS ++ source /CustomPiOS/common.sh ++ install_cleanup_trap ++ set -e ++ trap cleanup SIGINT SIGTERM ++++ realpath -s /CustomPiOS/build +++ dirname /CustomPiOS/build ++ CUSTOM_OS_PATH=/CustomPiOS ++ pushd /CustomPiOS /CustomPiOS /distro +++ git rev-parse HEAD fatal: Not a git repository (or any of the parent directories): .git ++ export OCTOPI_COMMIT= ++ OCTOPI_COMMIT= ++ popd /distro ++ source /CustomPiOS/config +++++ realpath -s /CustomPiOS/config ++++ dirname /CustomPiOS/config +++ CONFIG_DIR=/CustomPiOS +++ BUILD_VARIANT=default +++ BUILD_FLAVOR=default +++ WORKSPACE_POSTFIX= +++ '[' 0 -gt 0 ']' +++ '[' 0 -gt 1 ']' +++ '[' default '!=' default ']' +++ echo -e '--> Building VARIANT default, FLAVOR default' --> Building VARIANT default, FLAVOR default +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -f /CustomPiOS/config.local ']' +++ source /distro/config ++++ export DIST_NAME=OctoPi ++++ DIST_NAME=OctoPi ++++ export DIST_VERSION=0.16.0 ++++ DIST_VERSION=0.16.0 ++++ export 'MODULES=base(raspicam, network, disable-services(octopi), password-for-sudo)' ++++ MODULES='base(raspicam, network, disable-services(octopi), password-for-sudo)' +++ '[' -f /distro/config.local ']' +++ TMP='base,raspicam, network, disable-services,octopi), password-for-sudo)' +++ TMP='base,raspicam,network,disable-services,octopi),password-for-sudo)' +++ MODULES_LIST=base,raspicam,network,disable-services,octopi,,password-for-sudo, ++++ echo base,raspicam,network,disable-services,octopi,,password-for-sudo, ++++ tr , '\n' +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/base ']' +++ '[' -d /CustomPiOS/modules/base ']' +++ export MODULE_PATH=/CustomPiOS/modules/base +++ MODULE_PATH=/CustomPiOS/modules/base +++ echo loading base config at /CustomPiOS/modules/base/config loading base config at /CustomPiOS/modules/base/config +++ '[' -f /CustomPiOS/modules/base/config ']' +++ source /CustomPiOS/modules/base/config ++++ BASE_VERSION=1.1.0 ++++ '[' -n '' ']' ++++ BASE_PRESCRIPT= ++++ '[' -n '' ']' ++++ BASE_POSTSCRIPT= ++++ '[' -n '' ']' ++++ BASE_IMAGE_PATH=/distro/image ++++ '[' -n '' ']' ++++ BASE_IMAGE_RASPBIAN=yes ++++ '[' -n '' ']' +++++ head -n 1 +++++ ls -t /distro/image/2018-11-13-raspbian-stretch-lite.zip ++++ BASE_ZIP_IMG=/distro/image/2018-11-13-raspbian-stretch-lite.zip ++++ '[' -n '' ']' ++++ BASE_WORKSPACE=/distro/workspace ++++ '[' -n '' ']' ++++ BASE_MOUNT_PATH=/distro/workspace/mount ++++ '[' -n '' ']' ++++ BASE_ROOT_PARTITION=2 ++++ '[' -n '' ']' ++++ BASE_IMAGE_ENLARGEROOT=400 ++++ '[' -n '' ']' ++++ BASE_IMAGE_RESIZEROOT=200 ++++ '[' -n '' ']' ++++ BASE_APT_CACHE=/distro/workspace/aptcache ++++ '[' -n '' ']' ++++ BASE_APT_PROXY= ++++ '[' -n '' ']' ++++ BASE_PYPI_INDEX= ++++ '[' -n '' ']' ++++ BASE_OVERRIDE_HOSTNAME=octopi ++++ '[' -n '' ']' ++++ BASE_BUILD_REPO_MIRROR= ++++ '[' -n '' ']' ++++ BASE_SSH_ENABLE=yes ++++ '[' -n '' ']' +++++ pushd /CustomPiOS +++++ git rev-parse HEAD fatal: Not a git repository (or any of the parent directories): .git +++++ popd ++++ BASE_COMMIT= ++++ '[' -n '' ']' ++++ BASE_CONFIG_MEMSPLIT=default ++++ '[' -n '' ']' ++++ BASE_CONFIG_TIMEZONE=default ++++ '[' -n '' ']' ++++ BASE_CONFIG_LOCALE=default ++++ '[' -n '' ']' ++++ BASE_CONFIG_KEYBOARD=default +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=BASE +++ module_up=BASE_ +++ IFS= +++ read -r var ++++ compgen -A variable BASE_ +++ export BASE_APT_CACHE +++ echo BASE_APT_CACHE BASE_APT_CACHE +++ IFS= +++ read -r var +++ export BASE_APT_PROXY +++ echo BASE_APT_PROXY BASE_APT_PROXY +++ IFS= +++ read -r var +++ export BASE_BUILD_REPO_MIRROR +++ echo BASE_BUILD_REPO_MIRROR BASE_BUILD_REPO_MIRROR +++ IFS= +++ read -r var +++ export BASE_COMMIT +++ echo BASE_COMMIT BASE_COMMIT +++ IFS= +++ read -r var +++ export BASE_CONFIG_KEYBOARD +++ echo BASE_CONFIG_KEYBOARD BASE_CONFIG_KEYBOARD +++ IFS= +++ read -r var +++ export BASE_CONFIG_LOCALE +++ echo BASE_CONFIG_LOCALE BASE_CONFIG_LOCALE +++ IFS= +++ read -r var +++ export BASE_CONFIG_MEMSPLIT +++ echo BASE_CONFIG_MEMSPLIT BASE_CONFIG_MEMSPLIT +++ IFS= +++ read -r var +++ export BASE_CONFIG_TIMEZONE +++ echo BASE_CONFIG_TIMEZONE BASE_CONFIG_TIMEZONE +++ IFS= +++ read -r var +++ export BASE_IMAGE_ENLARGEROOT +++ echo BASE_IMAGE_ENLARGEROOT BASE_IMAGE_ENLARGEROOT +++ IFS= +++ read -r var +++ export BASE_IMAGE_PATH +++ echo BASE_IMAGE_PATH BASE_IMAGE_PATH +++ IFS= +++ read -r var +++ export BASE_IMAGE_RASPBIAN +++ echo BASE_IMAGE_RASPBIAN BASE_IMAGE_RASPBIAN +++ IFS= +++ read -r var +++ export BASE_IMAGE_RESIZEROOT +++ echo BASE_IMAGE_RESIZEROOT BASE_IMAGE_RESIZEROOT +++ IFS= +++ read -r var +++ export BASE_MOUNT_PATH +++ echo BASE_MOUNT_PATH BASE_MOUNT_PATH +++ IFS= +++ read -r var +++ export BASE_OVERRIDE_HOSTNAME +++ echo BASE_OVERRIDE_HOSTNAME BASE_OVERRIDE_HOSTNAME +++ IFS= +++ read -r var +++ export BASE_POSTSCRIPT +++ echo BASE_POSTSCRIPT BASE_POSTSCRIPT +++ IFS= +++ read -r var +++ export BASE_PRESCRIPT +++ echo BASE_PRESCRIPT BASE_PRESCRIPT +++ IFS= +++ read -r var +++ export BASE_PYPI_INDEX +++ echo BASE_PYPI_INDEX BASE_PYPI_INDEX +++ IFS= +++ read -r var +++ export BASE_ROOT_PARTITION +++ echo BASE_ROOT_PARTITION BASE_ROOT_PARTITION +++ IFS= +++ read -r var +++ export BASE_SSH_ENABLE +++ echo BASE_SSH_ENABLE BASE_SSH_ENABLE +++ IFS= +++ read -r var +++ export BASE_VERSION +++ echo BASE_VERSION BASE_VERSION +++ IFS= +++ read -r var +++ export BASE_WORKSPACE +++ echo BASE_WORKSPACE BASE_WORKSPACE +++ IFS= +++ read -r var +++ export BASE_ZIP_IMG +++ echo BASE_ZIP_IMG BASE_ZIP_IMG +++ IFS= +++ read -r var +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/raspicam ']' +++ '[' -d /CustomPiOS/modules/raspicam ']' +++ export MODULE_PATH=/CustomPiOS/modules/raspicam +++ MODULE_PATH=/CustomPiOS/modules/raspicam +++ echo loading raspicam config at /CustomPiOS/modules/raspicam/config loading raspicam config at /CustomPiOS/modules/raspicam/config +++ '[' -f /CustomPiOS/modules/raspicam/config ']' +++ source /CustomPiOS/modules/raspicam/config +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=RASPICAM +++ module_up=RASPICAM_ +++ IFS= +++ read -r var ++++ compgen -A variable RASPICAM_ +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/network ']' +++ '[' -d /CustomPiOS/modules/network ']' +++ export MODULE_PATH=/CustomPiOS/modules/network +++ MODULE_PATH=/CustomPiOS/modules/network +++ echo loading network config at /CustomPiOS/modules/network/config loading network config at /CustomPiOS/modules/network/config +++ '[' -f /CustomPiOS/modules/network/config ']' +++ source /CustomPiOS/modules/network/config +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=NETWORK +++ module_up=NETWORK_ +++ IFS= +++ read -r var ++++ compgen -A variable NETWORK_ +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/disable-services ']' +++ '[' -d /CustomPiOS/modules/disable-services ']' +++ export MODULE_PATH=/CustomPiOS/modules/disable-services +++ MODULE_PATH=/CustomPiOS/modules/disable-services +++ echo loading disable-services config at /CustomPiOS/modules/disable-services/config loading disable-services config at /CustomPiOS/modules/disable-services/config +++ '[' -f /CustomPiOS/modules/disable-services/config ']' +++ echo 'WARNING: module disable-services has no config file' WARNING: module disable-services has no config file +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=DISABLE-SERVICES +++ module_up=DISABLE_SERVICES_ +++ IFS= +++ read -r var ++++ compgen -A variable DISABLE_SERVICES_ +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/octopi ']' +++ export MODULE_PATH=/distro/modules/octopi +++ MODULE_PATH=/distro/modules/octopi +++ echo loading octopi config at /distro/modules/octopi/config loading octopi config at /distro/modules/octopi/config +++ '[' -f /distro/modules/octopi/config ']' +++ source /distro/modules/octopi/config ++++ '[' -n '' ']' +++++ wget -q -O - https://api.github.com/repos/foosel/OctoPrint/releases/latest +++++ cut -d : -f 2,3 +++++ tr -d '"' +++++ tr -d , +++++ grep zipball_url ++++ OCTOPI_OCTOPRINT_ARCHIVE=' https://api.github.com/repos/foosel/OctoPrint/zipball/1.3.9' ++++ '[' -n '' ']' ++++ OCTOPI_OCTOPRINT_REPO_SHIP=https://github.com/foosel/OctoPrint.git ++++ '[' -n '' ']' ++++ OCTOPI_INCLUDE_OCTOPRINT=yes ++++ '[' -n '' ']' ++++ OCTOPI_PYBONJOUR_ARCHIVE=https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pybonjour/pybonjour-1.1.1.tar.gz ++++ '[' -n '' ']' ++++ OCTOPI_CURAENGINE_VERSION=15.04.6 ++++ '[' -n '' ']' ++++ OCTOPI_CURAENGINE_ARCHIVE=https://github.com/Ultimaker/CuraEngine/archive/15.04.6.zip ++++ '[' -n '' ']' ++++ OCTOPI_INCLUDE_CURAENGINE=yes ++++ '[' -n '' ']' ++++ OCTOPI_MJPGSTREAMER_REPO_SHIP=https://github.com/jacksonliam/mjpg-streamer.git ++++ '[' -n '' ']' ++++ OCTOPI_MJPGSTREAMER_REPO_BUILD= ++++ '[' -n '' ']' ++++ OCTOPI_MJPGSTREAMER_REPO_BRANCH=master ++++ '[' -n '' ']' ++++ OCTOPI_MJPGSTREAMER_REPO_DEPTH=1 ++++ '[' -n '' ']' ++++ OCTOPI_INCLUDE_MJPGSTREAMER=yes ++++ '[' -n '' ']' ++++ OCTOPI_INCLUDE_HAPROXY=yes ++++ '[' -n '' ']' ++++ OCTOPI_INCLUDE_WIRINGPI=yes ++++ '[' -n '' ']' +++++ wget -q -O - https://api.github.com/repos/mikefarah/yq/releases/latest +++++ cut -d : -f 2,3 +++++ tr -d , +++++ grep yq_linux_arm +++++ tr -d '"' +++++ grep browser_download_url ++++ OCTOPI_YQ_DOWNLOAD=' https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm64' ++++ '[' -n '' ']' +++++ pushd /distro +++++ git rev-parse HEAD fatal: Not a git repository (or any parent up to mount point /distro) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). +++++ popd ++++ OCTOPI_COMMIT= +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=OCTOPI +++ module_up=OCTOPI_ +++ IFS= +++ read -r var ++++ compgen -A variable OCTOPI_ +++ export OCTOPI_COMMIT +++ echo OCTOPI_COMMIT OCTOPI_COMMIT +++ IFS= +++ read -r var +++ export OCTOPI_CURAENGINE_ARCHIVE +++ echo OCTOPI_CURAENGINE_ARCHIVE OCTOPI_CURAENGINE_ARCHIVE +++ IFS= +++ read -r var +++ export OCTOPI_CURAENGINE_VERSION +++ echo OCTOPI_CURAENGINE_VERSION OCTOPI_CURAENGINE_VERSION +++ IFS= +++ read -r var +++ export OCTOPI_INCLUDE_CURAENGINE +++ echo OCTOPI_INCLUDE_CURAENGINE OCTOPI_INCLUDE_CURAENGINE +++ IFS= +++ read -r var +++ export OCTOPI_INCLUDE_HAPROXY +++ echo OCTOPI_INCLUDE_HAPROXY OCTOPI_INCLUDE_HAPROXY +++ IFS= +++ read -r var +++ export OCTOPI_INCLUDE_MJPGSTREAMER +++ echo OCTOPI_INCLUDE_MJPGSTREAMER OCTOPI_INCLUDE_MJPGSTREAMER +++ IFS= +++ read -r var +++ export OCTOPI_INCLUDE_OCTOPRINT +++ echo OCTOPI_INCLUDE_OCTOPRINT OCTOPI_INCLUDE_OCTOPRINT +++ IFS= +++ read -r var +++ export OCTOPI_INCLUDE_WIRINGPI +++ echo OCTOPI_INCLUDE_WIRINGPI OCTOPI_INCLUDE_WIRINGPI +++ IFS= +++ read -r var +++ export OCTOPI_MJPGSTREAMER_REPO_BRANCH +++ echo OCTOPI_MJPGSTREAMER_REPO_BRANCH OCTOPI_MJPGSTREAMER_REPO_BRANCH +++ IFS= +++ read -r var +++ export OCTOPI_MJPGSTREAMER_REPO_BUILD +++ echo OCTOPI_MJPGSTREAMER_REPO_BUILD OCTOPI_MJPGSTREAMER_REPO_BUILD +++ IFS= +++ read -r var +++ export OCTOPI_MJPGSTREAMER_REPO_DEPTH +++ echo OCTOPI_MJPGSTREAMER_REPO_DEPTH OCTOPI_MJPGSTREAMER_REPO_DEPTH +++ IFS= +++ read -r var +++ export OCTOPI_MJPGSTREAMER_REPO_SHIP +++ echo OCTOPI_MJPGSTREAMER_REPO_SHIP OCTOPI_MJPGSTREAMER_REPO_SHIP +++ IFS= +++ read -r var +++ export OCTOPI_OCTOPRINT_ARCHIVE +++ echo OCTOPI_OCTOPRINT_ARCHIVE OCTOPI_OCTOPRINT_ARCHIVE +++ IFS= +++ read -r var +++ export OCTOPI_OCTOPRINT_REPO_SHIP +++ echo OCTOPI_OCTOPRINT_REPO_SHIP OCTOPI_OCTOPRINT_REPO_SHIP +++ IFS= +++ read -r var +++ export OCTOPI_PYBONJOUR_ARCHIVE +++ echo OCTOPI_PYBONJOUR_ARCHIVE OCTOPI_PYBONJOUR_ARCHIVE +++ IFS= +++ read -r var +++ export OCTOPI_YQ_DOWNLOAD +++ echo OCTOPI_YQ_DOWNLOAD OCTOPI_YQ_DOWNLOAD +++ IFS= +++ read -r var +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /distro/modules/password-for-sudo ']' +++ '[' -d /CustomPiOS/modules/password-for-sudo ']' +++ export MODULE_PATH=/CustomPiOS/modules/password-for-sudo +++ MODULE_PATH=/CustomPiOS/modules/password-for-sudo +++ echo loading password-for-sudo config at /CustomPiOS/modules/password-for-sudo/config loading password-for-sudo config at /CustomPiOS/modules/password-for-sudo/config +++ '[' -f /CustomPiOS/modules/password-for-sudo/config ']' +++ echo 'WARNING: module password-for-sudo has no config file' WARNING: module password-for-sudo has no config file +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: +++ module_up=PASSWORD-FOR-SUDO +++ module_up=PASSWORD_FOR_SUDO_ +++ IFS= +++ read -r var ++++ compgen -A variable PASSWORD_FOR_SUDO_ +++ echo ================================================================ ================================================================ ++ /CustomPiOS/config_sanity ++ '[' '' == yes ']' ++ source /CustomPiOS/custompios +++ set -e +++ export LC_ALL=C +++ LC_ALL=C +++ source /CustomPiOS/common.sh +++ mkdir -p /distro/workspace +++ mkdir -p /distro/workspace/mount +++ rm -rf '/distro/workspace/*.tar.gz' +++ install_cleanup_trap +++ set -e +++ trap cleanup SIGINT SIGTERM +++ install_fail_on_error_trap +++ set -e +++ trap 'echo_red "build failed, unmounting image..." && cd $DIST_PATH && ( unmount_image $BASE_MOUNT_PATH force || true ) && echo_red -e "\nBUILD FAILED!\n"' ERR +++ unmount_image /distro/workspace/mount force +++ mount_path=/distro/workspace/mount +++ force= +++ '[' 2 -gt 1 ']' +++ force=force +++ '[' -n force ']' ++++ sudo lsof /distro/workspace/mount ++++ awk '{print $2}' ++++ sort -r ++++ awk '{print $1}' ++++ grep /distro/workspace/mount ++++ sudo mount ++++ awk -F ' on ' '{print $2}' +++ pushd /distro/workspace /distro/workspace /distro +++ '[' -e '*.img' ']' +++ '[' '!' -f /distro/image/2018-11-13-raspbian-stretch-lite.zip ']' +++ '[' /distro/image/2018-11-13-raspbian-stretch-lite.zip == '' ']' +++ 7za x -aoa /distro/image/2018-11-13-raspbian-stretch-lite.zip 7-Zip (a) [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 p7zip Version 16.02 (locale=C,Utf16=off,HugeFiles=on,64 bits,2 CPUs Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz (306D4),ASM,AES-NI) Scanning the drive for archives: 1 file, 368428301 bytes (352 MiB) Extracting archive: /distro/image/2018-11-13-raspbian-stretch-lite.zip -- Path = /distro/image/2018-11-13-raspbian-stretch-lite.zip Type = zip Physical Size = 368428301 Everything is Ok Size: 1866465280 Compressed: 368428301 ++++ ls ++++ head -n 1 ++++ grep '.img\|.raw' +++ BASE_IMG_PATH=2018-11-13-raspbian-stretch-lite.img +++ '[' '!' -f 2018-11-13-raspbian-stretch-lite.img ']' ++++ basename 2018-11-13-raspbian-stretch-lite.img +++ export CUSTOM_PI_OS_BUILDBASE=2018-11-13-raspbian-stretch-lite.img +++ CUSTOM_PI_OS_BUILDBASE=2018-11-13-raspbian-stretch-lite.img +++ '[' -n 400 ']' +++ enlarge_ext 2018-11-13-raspbian-stretch-lite.img 2 400 +++ image=2018-11-13-raspbian-stretch-lite.img +++ partition=2 +++ size=400 +++ echo 'Adding 400 MB to partition 2 of 2018-11-13-raspbian-stretch-lite.img' Adding 400 MB to partition 2 of 2018-11-13-raspbian-stretch-lite.img ++++ grep 2018-11-13-raspbian-stretch-lite.img2 ++++ sfdisk -d 2018-11-13-raspbian-stretch-lite.img ++++ awk '{print $4-0}' +++ start=98304 +++ offset=50331648 +++ dd if=/dev/zero bs=1M count=400 400+0 records in 400+0 records out 419430400 bytes (419 MB, 400 MiB) copied, 4.15039 s, 101 MB/s +++ fdisk 2018-11-13-raspbian-stretch-lite.img Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): Disk 2018-11-13-raspbian-stretch-lite.img: 2.1 GiB, 2285895680 bytes, 4464640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 3645439 3547136 1.7G 83 Linux Command (m for help): Partition number (1,2, default 2): Partition 2 has been deleted. Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): Partition number (2-4, default 2): First sector (2048-4464639, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-4464639, default 4464639): Created a new partition 2 of type 'Linux' and of size 2.1 GiB. Partition #2 contains a ext4 signature. Command (m for help): Disk 2018-11-13-raspbian-stretch-lite.img: 2.1 GiB, 2285895680 bytes, 4464640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 4464639 4366336 2.1G 83 Linux Command (m for help): The partition table has been altered. Syncing disks. ++++ losetup -f --show -o 50331648 2018-11-13-raspbian-stretch-lite.img +++ LODEV=/dev/loop0 +++ trap 'losetup -d $LODEV' EXIT +++ e2fsck -fy /dev/loop0 e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information rootfs: 39646/110880 files (0.1% non-contiguous), 258346/443392 blocks +++ resize2fs -p /dev/loop0 resize2fs 1.43.4 (31-Jan-2017) Resizing the filesystem on /dev/loop0 to 545792 (4k) blocks. Begin pass 1 (max = 3) Extending the inode table ----------------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on /dev/loop0 is now 545792 (4k) blocks long. +++ losetup -d /dev/loop0 +++ trap - EXIT +++ echo 'Resized parition 2 of 2018-11-13-raspbian-stretch-lite.img to +400 MB' Resized parition 2 of 2018-11-13-raspbian-stretch-lite.img to +400 MB +++ mount_image 2018-11-13-raspbian-stretch-lite.img 2 /distro/workspace/mount +++ image_path=2018-11-13-raspbian-stretch-lite.img +++ root_partition=2 +++ mount_path=/distro/workspace/mount +++ echo 2 2 +++ boot_partition=1 ++++ sfdisk -d 2018-11-13-raspbian-stretch-lite.img +++ fdisk_output='label: dos label-id: 0x7ee80803 device: 2018-11-13-raspbian-stretch-lite.img unit: sectors 2018-11-13-raspbian-stretch-lite.img1 : start= 8192, size= 89854, type=c 2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83' ++++ echo 'label: dos label-id: 0x7ee80803 device: 2018-11-13-raspbian-stretch-lite.img unit: sectors 2018-11-13-raspbian-stretch-lite.img1 : start= 8192, size= 89854, type=c 2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83' ++++ awk '{print $4-0}' ++++ grep 2018-11-13-raspbian-stretch-lite.img1 +++ boot_offset=4194304 ++++ awk '{print $4-0}' ++++ grep 2018-11-13-raspbian-stretch-lite.img2 ++++ echo 'label: dos label-id: 0x7ee80803 device: 2018-11-13-raspbian-stretch-lite.img unit: sectors 2018-11-13-raspbian-stretch-lite.img1 : start= 8192, size= 89854, type=c 2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83' +++ root_offset=50331648 +++ echo 'Mounting image 2018-11-13-raspbian-stretch-lite.img on /distro/workspace/mount, offset for boot partition is 4194304, offset for root partition is 50331648' Mounting image 2018-11-13-raspbian-stretch-lite.img on /distro/workspace/mount, offset for boot partition is 4194304, offset for root partition is 50331648 +++ sudo mount -o loop,offset=50331648 2018-11-13-raspbian-stretch-lite.img /distro/workspace/mount/ +++ [[ 1 != \2 ]] ++++ expr 50331648 - 4194304 +++ sudo mount -o loop,offset=4194304,sizelimit=46137344 2018-11-13-raspbian-stretch-lite.img /distro/workspace/mount/boot +++ sudo mkdir -p /distro/workspace/mount/dev/pts +++ sudo mount -o bind /dev /distro/workspace/mount/dev +++ sudo mount -o bind /dev/pts /distro/workspace/mount/dev/pts +++ '[' -n /distro/workspace/aptcache ']' +++ mkdir -p /distro/workspace/aptcache +++ mount --bind /distro/workspace/aptcache /distro/workspace/mount/var/cache/apt +++ pushd /distro/workspace/mount /distro/workspace/mount /distro/workspace /distro +++ '[' yes == yes ']' +++ fixLd +++ sed -i 's@/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so@\#/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so@' etc/ld.so.preload +++ sed -i 's@/usr/lib/arm-linux-gnueabihf/libarmmem.so@\#/usr/lib/arm-linux-gnueabihf/libarmmem.so@' etc/ld.so.preload +++ '[' -n '' ']' +++ '[' -n '' ']' +++ CHROOT_SCRIPT=/distro/workspace/chroot_script +++ python3 /CustomPiOS/execution_order.py 'base(raspicam, network, disable-services(octopi), password-for-sudo)' /distro/workspace/chroot_script WARNING: No file at - /CustomPiOS/modules/raspicam/end_chroot_script WARNING: No file at - /CustomPiOS/modules/network/end_chroot_script WARNING: No file at - /distro/modules/octopi/end_chroot_script WARNING: No file at - /CustomPiOS/modules/password-for-sudo/end_chroot_script +++ export -f execute_chroot_script +++ /distro/workspace/chroot_script + set -e + execute_chroot_script /CustomPiOS/modules/base /CustomPiOS/modules/base/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/base/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/base/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + export LC_ALL=C + LC_ALL=C + source /common.sh + install_cleanup_trap + set -e + trap cleanup SIGINT SIGTERM + '[' -n '' ']' + '[' -n '' ']' + '[' yes == yes ']' + touch /boot/ssh + echo 'IPQoS 0x00' + echo 'IPQoS 0x00' + echo 2018-11-13-raspbian-stretch-lite.img + echo 0.16.0 + '[' default '!=' default ']' + '[' default '!=' default ']' + '[' default '!=' default ']' + '[' default '!=' default ']' + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + execute_chroot_script /CustomPiOS/modules/raspicam /CustomPiOS/modules/raspicam/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/raspicam/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/raspicam/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + echo '# enable raspicam' + echo start_x=1 + echo gpu_mem=128 + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + execute_chroot_script /CustomPiOS/modules/network /CustomPiOS/modules/network/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/network/filesystem ']' + cp -vr --preserve=mode,timestamps /CustomPiOS/modules/network/filesystem . '/CustomPiOS/modules/network/filesystem' -> './filesystem' '/CustomPiOS/modules/network/filesystem/boot' -> './filesystem/boot' '/CustomPiOS/modules/network/filesystem/boot/custompios-wpa-supplicant.txt' -> './filesystem/boot/custompios-wpa-supplicant.txt' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/network/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + export LC_ALL=C + LC_ALL=C + source /common.sh + install_cleanup_trap + set -e + trap cleanup SIGINT SIGTERM + unpack /filesystem/boot /boot + from=/filesystem/boot + to=/boot + owner= + '[' 2 -gt 2 ']' + cp -v -r --preserve=mode,timestamps /filesystem/boot/. /boot '/filesystem/boot/./custompios-wpa-supplicant.txt' -> '/boot/./custompios-wpa-supplicant.txt' + '[' -n '' ']' + DIST_NETWORK_FILE=/boot/octopi-wpa-supplicant.txt + mv /boot/custompios-wpa-supplicant.txt /boot/octopi-wpa-supplicant.txt + cat /etc/wpa_supplicant/wpa_supplicant.conf + rm -f /etc/wpa_supplicant/wpa_supplicant.conf + ln -s /boot/octopi-wpa-supplicant.txt /etc/wpa_supplicant/wpa_supplicant.conf + '[' -f /etc/ifplugd/action.d/ifupdown ']' + '[' -f /etc/wpa_supplicant/ifupdown.sh ']' + ln -s /etc/wpa_supplicant/ifupdown.sh /etc/ifplugd/action.d/ifupdown + sed -i 's@exit 0@@' /etc/rc.local + echo '/sbin/iptables -t mangle -I POSTROUTING 1 -o wlan0 -p udp --dport 123 -j TOS --set-tos 0x00' + echo 'exit 0' + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + rm -rfv filesystem removed 'filesystem/boot/custompios-wpa-supplicant.txt' removed directory 'filesystem/boot' removed directory 'filesystem' + execute_chroot_script /CustomPiOS/modules/disable-services /CustomPiOS/modules/disable-services/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/disable-services/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/disable-services/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + source /common.sh + install_cleanup_trap + set -e + trap cleanup SIGINT SIGTERM + apt-get update Get:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB] Get:3 http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages [11.7 MB] Get:4 http://archive.raspberrypi.org/debian stretch/main armhf Packages [200 kB] Get:5 http://archive.raspberrypi.org/debian stretch/ui armhf Packages [40.3 kB] Fetched 11.9 MB in 51s (231 kB/s) Reading package lists... ++ is_in_apt policykit-1 +++ apt-cache policy policykit-1 +++ wc +++ awk '{print $1}' ++ '[' 8 -gt 0 ']' ++ echo 1 + '[' 1 -eq 1 ']' + sudo apt-get -y install policykit-1 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 The following packages will be upgraded: libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 policykit-1 4 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. Need to get 162 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://raspbian.phirephly.design/raspbian stretch/main armhf policykit-1 armhf 0.105-18+deb9u1 [61.7 kB] Get:2 http://raspbian.phirephly.design/raspbian stretch/main armhf libpolkit-agent-1-0 armhf 0.105-18+deb9u1 [22.3 kB] Get:3 http://raspbian.phirephly.design/raspbian stretch/main armhf libpolkit-backend-1-0 armhf 0.105-18+deb9u1 [39.8 kB] Get:4 http://raspbian.phirephly.design/raspbian stretch/main armhf libpolkit-gobject-1-0 armhf 0.105-18+deb9u1 [37.8 kB] apt-listchanges: Reading changelogs... Fetched 162 kB in 3s (40.6 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34605 files and directories currently installed.) Preparing to unpack .../policykit-1_0.105-18+deb9u1_armhf.deb ... Unpacking policykit-1 (0.105-18+deb9u1) over (0.105-18) ... Preparing to unpack .../libpolkit-agent-1-0_0.105-18+deb9u1_armhf.deb ... Unpacking libpolkit-agent-1-0:armhf (0.105-18+deb9u1) over (0.105-18) ... Preparing to unpack .../libpolkit-backend-1-0_0.105-18+deb9u1_armhf.deb ... Unpacking libpolkit-backend-1-0:armhf (0.105-18+deb9u1) over (0.105-18) ... Preparing to unpack .../libpolkit-gobject-1-0_0.105-18+deb9u1_armhf.deb ... Unpacking libpolkit-gobject-1-0:armhf (0.105-18+deb9u1) over (0.105-18) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for dbus (1.10.26-0+deb9u1) ... Setting up libpolkit-gobject-1-0:armhf (0.105-18+deb9u1) ... Setting up libpolkit-agent-1-0:armhf (0.105-18+deb9u1) ... Setting up libpolkit-backend-1-0:armhf (0.105-18+deb9u1) ... Setting up policykit-1 (0.105-18+deb9u1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... + echo exit 101 + chmod +x /usr/sbin/policy-rc.d + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + execute_chroot_script /distro/modules/octopi /distro/modules/octopi/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /distro/modules/octopi/filesystem ']' + cp -vr --preserve=mode,timestamps /distro/modules/octopi/filesystem . '/distro/modules/octopi/filesystem' -> './filesystem' '/distro/modules/octopi/filesystem/boot' -> './filesystem/boot' '/distro/modules/octopi/filesystem/boot/octopi-network.txt' -> './filesystem/boot/octopi-network.txt' '/distro/modules/octopi/filesystem/boot/octopi.txt' -> './filesystem/boot/octopi.txt' '/distro/modules/octopi/filesystem/home' -> './filesystem/home' '/distro/modules/octopi/filesystem/home/pi' -> './filesystem/home/pi' '/distro/modules/octopi/filesystem/home/pi/.octoprint' -> './filesystem/home/pi/.octoprint' '/distro/modules/octopi/filesystem/home/pi/.octoprint/config.yaml' -> './filesystem/home/pi/.octoprint/config.yaml' '/distro/modules/octopi/filesystem/home/pi/OctoPrint' -> './filesystem/home/pi/OctoPrint' '/distro/modules/octopi/filesystem/home/pi/OctoPrint/README.txt' -> './filesystem/home/pi/OctoPrint/README.txt' '/distro/modules/octopi/filesystem/home/pi/scripts' -> './filesystem/home/pi/scripts' '/distro/modules/octopi/filesystem/home/pi/scripts/add-octoprint-checkout' -> './filesystem/home/pi/scripts/add-octoprint-checkout' '/distro/modules/octopi/filesystem/home/pi/scripts/install-desktop' -> './filesystem/home/pi/scripts/install-desktop' '/distro/modules/octopi/filesystem/home/pi/scripts/welcome' -> './filesystem/home/pi/scripts/welcome' '/distro/modules/octopi/filesystem/home/root' -> './filesystem/home/root' '/distro/modules/octopi/filesystem/home/root/bin' -> './filesystem/home/root/bin' '/distro/modules/octopi/filesystem/home/root/bin/gencert' -> './filesystem/home/root/bin/gencert' '/distro/modules/octopi/filesystem/home/root/bin/git' -> './filesystem/home/root/bin/git' '/distro/modules/octopi/filesystem/home/root/bin/webcamd' -> './filesystem/home/root/bin/webcamd' '/distro/modules/octopi/filesystem/root' -> './filesystem/root' '/distro/modules/octopi/filesystem/root/etc' -> './filesystem/root/etc' '/distro/modules/octopi/filesystem/root/etc/default' -> './filesystem/root/etc/default' '/distro/modules/octopi/filesystem/root/etc/default/octoprint' -> './filesystem/root/etc/default/octoprint' '/distro/modules/octopi/filesystem/root/etc/default/webcamd' -> './filesystem/root/etc/default/webcamd' '/distro/modules/octopi/filesystem/root/etc/haproxy' -> './filesystem/root/etc/haproxy' '/distro/modules/octopi/filesystem/root/etc/haproxy/errors' -> './filesystem/root/etc/haproxy/errors' '/distro/modules/octopi/filesystem/root/etc/haproxy/errors/503-no-octoprint.http' -> './filesystem/root/etc/haproxy/errors/503-no-octoprint.http' '/distro/modules/octopi/filesystem/root/etc/haproxy/errors/503-no-webcam.http' -> './filesystem/root/etc/haproxy/errors/503-no-webcam.http' '/distro/modules/octopi/filesystem/root/etc/haproxy/haproxy.cfg' -> './filesystem/root/etc/haproxy/haproxy.cfg' '/distro/modules/octopi/filesystem/root/etc/init.d' -> './filesystem/root/etc/init.d' '/distro/modules/octopi/filesystem/root/etc/init.d/change_hostname' -> './filesystem/root/etc/init.d/change_hostname' '/distro/modules/octopi/filesystem/root/etc/init.d/change_password' -> './filesystem/root/etc/init.d/change_password' '/distro/modules/octopi/filesystem/root/etc/init.d/octoprint' -> './filesystem/root/etc/init.d/octoprint' '/distro/modules/octopi/filesystem/root/etc/init.d/webcamd' -> './filesystem/root/etc/init.d/webcamd' '/distro/modules/octopi/filesystem/root/etc/logrotate.d' -> './filesystem/root/etc/logrotate.d' '/distro/modules/octopi/filesystem/root/etc/logrotate.d/webcamd' -> './filesystem/root/etc/logrotate.d/webcamd' '/distro/modules/octopi/filesystem/root/etc/systemd' -> './filesystem/root/etc/systemd' '/distro/modules/octopi/filesystem/root/etc/systemd/system' -> './filesystem/root/etc/systemd/system' '/distro/modules/octopi/filesystem/root/etc/systemd/system/gencert.service' -> './filesystem/root/etc/systemd/system/gencert.service' '/distro/modules/octopi/filesystem/root/etc/udev' -> './filesystem/root/etc/udev' '/distro/modules/octopi/filesystem/root/etc/udev/rules.d' -> './filesystem/root/etc/udev/rules.d' '/distro/modules/octopi/filesystem/root/etc/udev/rules.d/95-ads7846.rules' -> './filesystem/root/etc/udev/rules.d/95-ads7846.rules' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /distro/modules/octopi/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + export LC_ALL=C + LC_ALL=C + source /common.sh + unpack /filesystem/home/pi /home/pi pi + from=/filesystem/home/pi + to=/home/pi + owner= + '[' 3 -gt 2 ']' + owner=pi + cp -v -r --preserve=mode,timestamps /filesystem/home/pi/. /home/pi '/filesystem/home/pi/./.octoprint' -> '/home/pi/./.octoprint' '/filesystem/home/pi/./.octoprint/config.yaml' -> '/home/pi/./.octoprint/config.yaml' '/filesystem/home/pi/./OctoPrint' -> '/home/pi/./OctoPrint' '/filesystem/home/pi/./OctoPrint/README.txt' -> '/home/pi/./OctoPrint/README.txt' '/filesystem/home/pi/./scripts' -> '/home/pi/./scripts' '/filesystem/home/pi/./scripts/add-octoprint-checkout' -> '/home/pi/./scripts/add-octoprint-checkout' '/filesystem/home/pi/./scripts/install-desktop' -> '/home/pi/./scripts/install-desktop' '/filesystem/home/pi/./scripts/welcome' -> '/home/pi/./scripts/welcome' + '[' -n pi ']' + chown -hR pi:pi /home/pi + unpack /filesystem/home/root /root root + from=/filesystem/home/root + to=/root + owner= + '[' 3 -gt 2 ']' + owner=root + cp -v -r --preserve=mode,timestamps /filesystem/home/root/. /root '/filesystem/home/root/./bin' -> '/root/./bin' '/filesystem/home/root/./bin/gencert' -> '/root/./bin/gencert' '/filesystem/home/root/./bin/git' -> '/root/./bin/git' '/filesystem/home/root/./bin/webcamd' -> '/root/./bin/webcamd' + '[' -n root ']' + chown -hR root:root /root + unpack /filesystem/boot /boot + from=/filesystem/boot + to=/boot + owner= + '[' 2 -gt 2 ']' + cp -v -r --preserve=mode,timestamps /filesystem/boot/. /boot '/filesystem/boot/./octopi-network.txt' -> '/boot/./octopi-network.txt' '/filesystem/boot/./octopi.txt' -> '/boot/./octopi.txt' + '[' -n '' ']' + apt-get update Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease Reading package lists... ++ remove_if_installed scratch squeak-plugins-scratch squeak-vm wolfram-engine python-minecraftpi minecraft-pi sonic-pi oracle-java8-jdk bluej libreoffice-common libreoffice-core freepats greenfoot nodered ++ remove_extra_list= ++ for package in "$1" +++ is_installed package +++ grep -c 'ok installed' +++ dpkg-query -W '-f=${Status}' package ++ '[' 0 -eq 1 ']' ++ echo + remove_extra= + echo removing: removing: + apt-get remove -y --purge Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. + apt-get autoremove -y Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded. + apt-get -y --force-yes install python2.7 python-virtualenv python-dev git screen subversion cmake checkinstall avahi-daemon libavahi-compat-libdnssd1 libffi-dev libssl-dev Reading package lists... Building dependency tree... Reading state information... avahi-daemon is already the newest version (0.6.32-2). python2.7 is already the newest version (2.7.13-2+deb9u3). python2.7 set to manually installed. The following additional packages will be installed: cmake-data git-man libapr1 libaprutil1 libarchive13 libavahi-client3 liberror-perl libexpat1-dev libjsoncpp1 liblzo2-2 libpython-dev libpython2.7 libpython2.7-dev libserf-1-1 libssl-doc libssl1.1 libsvn1 libuv1 python-pip-whl python-pkg-resources python2.7-dev python3-virtualenv virtualenv Suggested packages: gettext codeblocks eclipse ninja-build git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn lrzip python-setuptools byobu | screenie | iselect db5.3-util subversion-tools The following NEW packages will be installed: checkinstall cmake cmake-data git git-man libapr1 libaprutil1 libarchive13 libavahi-client3 libavahi-compat-libdnssd1 liberror-perl libexpat1-dev libffi-dev libjsoncpp1 liblzo2-2 libpython-dev libpython2.7 libpython2.7-dev libserf-1-1 libssl-dev libssl-doc libsvn1 libuv1 python-dev python-pip-whl python-pkg-resources python-virtualenv python2.7-dev python3-virtualenv screen subversion virtualenv The following packages will be upgraded: libssl1.1 1 upgraded, 32 newly installed, 0 to remove and 11 not upgraded. Need to get 46.8 MB of archives. After this operation, 110 MB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian stretch/main armhf libuv1 armhf 1.18.0-3~bpo9+1 [86.3 kB] Get:4 http://archive.raspberrypi.org/debian stretch/main armhf python-pip-whl all 9.0.1-2+rpt2 [1399 kB] Get:2 http://raspbian.phirephly.design/raspbian stretch/main armhf cmake-data all 3.7.2-1 [1216 kB] Get:3 http://raspbian.phirephly.design/raspbian stretch/main armhf liblzo2-2 armhf 2.08-1.2 [47.6 kB] Get:5 http://raspbian.phirephly.design/raspbian stretch/main armhf libarchive13 armhf 3.2.2-2 [254 kB] Get:6 http://raspbian.phirephly.design/raspbian stretch/main armhf libjsoncpp1 armhf 1.7.4-3 [66.2 kB] Get:7 http://raspbian.phirephly.design/raspbian stretch/main armhf cmake armhf 3.7.2-1 [2402 kB] Get:8 http://raspbian.phirephly.design/raspbian stretch/main armhf liberror-perl all 0.17024-1 [26.9 kB] Get:9 http://raspbian.phirephly.design/raspbian stretch/main armhf git-man all 1:2.11.0-3+deb9u4 [1433 kB] Get:10 http://raspbian.phirephly.design/raspbian stretch/main armhf git armhf 1:2.11.0-3+deb9u4 [3390 kB] Get:11 http://raspbian.phirephly.design/raspbian stretch/main armhf libssl1.1 armhf 1.1.0j-1~deb9u1 [1115 kB] Get:12 http://raspbian.phirephly.design/raspbian stretch/main armhf screen armhf 4.5.0-6 [547 kB] Get:13 http://raspbian.phirephly.design/raspbian stretch/main armhf checkinstall armhf 1.6.2-4 [134 kB] Get:14 http://raspbian.phirephly.design/raspbian stretch/main armhf libapr1 armhf 1.5.2-5 [79.8 kB] Get:15 http://raspbian.phirephly.design/raspbian stretch/main armhf libaprutil1 armhf 1.5.4-3 [75.9 kB] Get:16 http://raspbian.phirephly.design/raspbian stretch/main armhf libavahi-client3 armhf 0.6.32-2 [51.3 kB] Get:17 http://raspbian.phirephly.design/raspbian stretch/main armhf libavahi-compat-libdnssd1 armhf 0.6.32-2 [44.0 kB] Get:18 http://raspbian.phirephly.design/raspbian stretch/main armhf libexpat1-dev armhf 2.2.0-2+deb9u1 [116 kB] Get:19 http://raspbian.phirephly.design/raspbian stretch/main armhf libffi-dev armhf 3.2.1-6 [159 kB] Get:20 http://raspbian.phirephly.design/raspbian stretch/main armhf libpython2.7 armhf 2.7.13-2+deb9u3 [914 kB] Get:21 http://raspbian.phirephly.design/raspbian stretch/main armhf libpython2.7-dev armhf 2.7.13-2+deb9u3 [27.6 MB] Get:28 http://raspbian.raspberrypi.org/raspbian stretch/main armhf python-dev armhf 2.7.13-2 [1130 B] Get:22 http://raspbian.phirephly.design/raspbian stretch/main armhf libpython-dev armhf 2.7.13-2 [20.0 kB] Get:23 http://raspbian.phirephly.design/raspbian stretch/main armhf libserf-1-1 armhf 1.3.9-3+deb9u1 [45.8 kB] Get:24 http://raspbian.phirephly.design/raspbian stretch/main armhf libssl-dev armhf 1.1.0j-1~deb9u1 [1383 kB] Get:25 http://raspbian.phirephly.design/raspbian stretch/main armhf libssl-doc all 1.1.0j-1~deb9u1 [1476 kB] Get:26 http://raspbian.phirephly.design/raspbian stretch/main armhf libsvn1 armhf 1.9.5-1+deb9u3 [1123 kB] Get:27 http://raspbian.phirephly.design/raspbian stretch/main armhf python2.7-dev armhf 2.7.13-2+deb9u3 [287 kB] Get:29 http://raspbian.phirephly.design/raspbian stretch/main armhf python-pkg-resources all 33.1.1-1 [166 kB] Get:30 http://raspbian.phirephly.design/raspbian stretch/main armhf python-virtualenv all 15.1.0+ds-1 [61.1 kB] Get:31 http://raspbian.phirephly.design/raspbian stretch/main armhf python3-virtualenv all 15.1.0+ds-1 [57.7 kB] Get:32 http://raspbian.phirephly.design/raspbian stretch/main armhf subversion armhf 1.9.5-1+deb9u3 [975 kB] Get:33 http://raspbian.phirephly.design/raspbian stretch/main armhf virtualenv all 15.1.0+ds-1 [19.7 kB] apt-listchanges: Reading changelogs... Extracting templates from packages: 90% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 46.8 MB in 24s (1896 kB/s) Selecting previously unselected package cmake-data. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34605 files and directories currently installed.) Preparing to unpack .../00-cmake-data_3.7.2-1_all.deb ... Unpacking cmake-data (3.7.2-1) ... Selecting previously unselected package liblzo2-2:armhf. Preparing to unpack .../01-liblzo2-2_2.08-1.2_armhf.deb ... Unpacking liblzo2-2:armhf (2.08-1.2) ... Selecting previously unselected package libarchive13:armhf. Preparing to unpack .../02-libarchive13_3.2.2-2_armhf.deb ... Unpacking libarchive13:armhf (3.2.2-2) ... Selecting previously unselected package libjsoncpp1:armhf. Preparing to unpack .../03-libjsoncpp1_1.7.4-3_armhf.deb ... Unpacking libjsoncpp1:armhf (1.7.4-3) ... Selecting previously unselected package libuv1:armhf. Preparing to unpack .../04-libuv1_1.18.0-3~bpo9+1_armhf.deb ... Unpacking libuv1:armhf (1.18.0-3~bpo9+1) ... Selecting previously unselected package cmake. Preparing to unpack .../05-cmake_3.7.2-1_armhf.deb ... Unpacking cmake (3.7.2-1) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../06-liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../07-git-man_1%3a2.11.0-3+deb9u4_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u4) ... Selecting previously unselected package git. Preparing to unpack .../08-git_1%3a2.11.0-3+deb9u4_armhf.deb ... Unpacking git (1:2.11.0-3+deb9u4) ... Preparing to unpack .../09-libssl1.1_1.1.0j-1~deb9u1_armhf.deb ... Unpacking libssl1.1:armhf (1.1.0j-1~deb9u1) over (1.1.0f-3+deb9u2) ... Selecting previously unselected package screen. Preparing to unpack .../10-screen_4.5.0-6_armhf.deb ... Unpacking screen (4.5.0-6) ... Selecting previously unselected package checkinstall. Preparing to unpack .../11-checkinstall_1.6.2-4_armhf.deb ... Unpacking checkinstall (1.6.2-4) ... Selecting previously unselected package libapr1:armhf. Preparing to unpack .../12-libapr1_1.5.2-5_armhf.deb ... Unpacking libapr1:armhf (1.5.2-5) ... Selecting previously unselected package libaprutil1:armhf. Preparing to unpack .../13-libaprutil1_1.5.4-3_armhf.deb ... Unpacking libaprutil1:armhf (1.5.4-3) ... Selecting previously unselected package libavahi-client3:armhf. Preparing to unpack .../14-libavahi-client3_0.6.32-2_armhf.deb ... Unpacking libavahi-client3:armhf (0.6.32-2) ... Selecting previously unselected package libavahi-compat-libdnssd1:armhf. Preparing to unpack .../15-libavahi-compat-libdnssd1_0.6.32-2_armhf.deb ... Unpacking libavahi-compat-libdnssd1:armhf (0.6.32-2) ... Selecting previously unselected package libexpat1-dev:armhf. Preparing to unpack .../16-libexpat1-dev_2.2.0-2+deb9u1_armhf.deb ... Unpacking libexpat1-dev:armhf (2.2.0-2+deb9u1) ... Selecting previously unselected package libffi-dev:armhf. Preparing to unpack .../17-libffi-dev_3.2.1-6_armhf.deb ... Unpacking libffi-dev:armhf (3.2.1-6) ... Selecting previously unselected package libpython2.7:armhf. Preparing to unpack .../18-libpython2.7_2.7.13-2+deb9u3_armhf.deb ... Unpacking libpython2.7:armhf (2.7.13-2+deb9u3) ... Selecting previously unselected package libpython2.7-dev:armhf. Preparing to unpack .../19-libpython2.7-dev_2.7.13-2+deb9u3_armhf.deb ... Unpacking libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... Selecting previously unselected package libpython-dev:armhf. Preparing to unpack .../20-libpython-dev_2.7.13-2_armhf.deb ... Unpacking libpython-dev:armhf (2.7.13-2) ... Selecting previously unselected package libserf-1-1:armhf. Preparing to unpack .../21-libserf-1-1_1.3.9-3+deb9u1_armhf.deb ... Unpacking libserf-1-1:armhf (1.3.9-3+deb9u1) ... Selecting previously unselected package libssl-dev:armhf. Preparing to unpack .../22-libssl-dev_1.1.0j-1~deb9u1_armhf.deb ... Unpacking libssl-dev:armhf (1.1.0j-1~deb9u1) ... Selecting previously unselected package libssl-doc. Preparing to unpack .../23-libssl-doc_1.1.0j-1~deb9u1_all.deb ... Unpacking libssl-doc (1.1.0j-1~deb9u1) ... Selecting previously unselected package libsvn1:armhf. Preparing to unpack .../24-libsvn1_1.9.5-1+deb9u3_armhf.deb ... Unpacking libsvn1:armhf (1.9.5-1+deb9u3) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../25-python2.7-dev_2.7.13-2+deb9u3_armhf.deb ... Unpacking python2.7-dev (2.7.13-2+deb9u3) ... Selecting previously unselected package python-dev. Preparing to unpack .../26-python-dev_2.7.13-2_armhf.deb ... Unpacking python-dev (2.7.13-2) ... Selecting previously unselected package python-pip-whl. Preparing to unpack .../27-python-pip-whl_9.0.1-2+rpt2_all.deb ... Unpacking python-pip-whl (9.0.1-2+rpt2) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../28-python-pkg-resources_33.1.1-1_all.deb ... Unpacking python-pkg-resources (33.1.1-1) ... Selecting previously unselected package python-virtualenv. Preparing to unpack .../29-python-virtualenv_15.1.0+ds-1_all.deb ... Unpacking python-virtualenv (15.1.0+ds-1) ... Selecting previously unselected package python3-virtualenv. Preparing to unpack .../30-python3-virtualenv_15.1.0+ds-1_all.deb ... Unpacking python3-virtualenv (15.1.0+ds-1) ... Selecting previously unselected package subversion. Preparing to unpack .../31-subversion_1.9.5-1+deb9u3_armhf.deb ... Unpacking subversion (1.9.5-1+deb9u3) ... Selecting previously unselected package virtualenv. Preparing to unpack .../32-virtualenv_15.1.0+ds-1_all.deb ... Unpacking virtualenv (15.1.0+ds-1) ... Setting up libapr1:armhf (1.5.2-5) ... Setting up python-pip-whl (9.0.1-2+rpt2) ... Setting up git-man (1:2.11.0-3+deb9u4) ... Setting up liberror-perl (0.17024-1) ... Setting up libuv1:armhf (1.18.0-3~bpo9+1) ... Processing triggers for install-info (6.3.0.dfsg.1-1+b1) ... Setting up libffi-dev:armhf (3.2.1-6) ... Setting up cmake-data (3.7.2-1) ... Setting up python-pkg-resources (33.1.1-1) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libssl1.1:armhf (1.1.0j-1~deb9u1) ... Setting up libaprutil1:armhf (1.5.4-3) ... Setting up python3-virtualenv (15.1.0+ds-1) ... Processing triggers for systemd (232-25+deb9u6) ... Setting up libpython2.7:armhf (2.7.13-2+deb9u3) ... Setting up python-virtualenv (15.1.0+ds-1) ... Setting up libexpat1-dev:armhf (2.2.0-2+deb9u1) ... Processing triggers for man-db (2.7.6.1-2) ... ls    Setting up libavahi-client3:armhf (0.6.32-2) ... Setting up libpython2.7-dev:armhf (2.7.13-2+deb9u3) ... Setting up checkinstall (1.6.2-4) ... Setting up libssl-doc (1.1.0j-1~deb9u1) ... Setting up screen (4.5.0-6) ... Setting up virtualenv (15.1.0+ds-1) ... Setting up python2.7-dev (2.7.13-2+deb9u3) ... Setting up git (1:2.11.0-3+deb9u4) ... Setting up liblzo2-2:armhf (2.08-1.2) ... Setting up libjsoncpp1:armhf (1.7.4-3) ... Setting up libpython-dev:armhf (2.7.13-2) ... Setting up libarchive13:armhf (3.2.2-2) ... Setting up python-dev (2.7.13-2) ... Setting up libssl-dev:armhf (1.1.0j-1~deb9u1) ... Setting up libavahi-compat-libdnssd1:armhf (0.6.32-2) ... Setting up libserf-1-1:armhf (1.3.9-3+deb9u1) ... Setting up libsvn1:armhf (1.9.5-1+deb9u3) ... Setting up cmake (3.7.2-1) ... Setting up subversion (1.9.5-1+deb9u3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + echo ' - Reinstall iputils-ping' - Reinstall iputils-ping + apt-get install --reinstall iputils-ping Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 11 not upgraded. Need to get 54.1 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://raspbian.phirephly.design/raspbian stretch/main armhf iputils-ping armhf 3:20161105-1 [54.1 kB] Fetched 54.1 kB in 2s (26.6 kB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 41566 files and directories currently installed.) Preparing to unpack .../iputils-ping_3%3a20161105-1_armhf.deb ... Unpacking iputils-ping (3:20161105-1) over (3:20161105-1) ... Setting up iputils-ping (3:20161105-1) ... Processing triggers for man-db (2.7.6.1-2) ... + pushd /home/pi /home/pi / + sudo -u pi virtualenv oprint Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd New python executable in /home/pi/oprint/bin/python2 Also creating executable in /home/pi/oprint/bin/python Installing setuptools, pkg_resources, pip, wheel...done. Running virtualenv with interpreter /usr/bin/python2 + sudo -u pi /home/pi/oprint/bin/pip install pip==9.0.3 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting pip==9.0.3 Downloading https://files.pythonhosted.org/packages/ac/95/a05b56bb975efa78d3557efa36acaf9cf5d2fd0ee0062060493687432e03/pip-9.0.3-py2.py3-none-any.whl (1.4MB) Installing collected packages: pip Found existing installation: pip 18.1 Uninstalling pip-18.1: Successfully uninstalled pip-18.1 Successfully installed pip-9.0.3 + '[' yes == yes ']' + echo '--- Installing OctoPrint' --- Installing OctoPrint + sudo -u pi /home/pi/oprint/bin/pip install https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pybonjour/pybonjour-1.1.1.tar.gz Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Collecting https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pybonjour/pybonjour-1.1.1.tar.gz Downloading https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/pybonjour/pybonjour-1.1.1.tar.gz Building wheels for collected packages: pybonjour Running setup.py bdist_wheel for pybonjour: started Running setup.py bdist_wheel for pybonjour: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/70/8d/66/72d354376e7ce0a5b35e1d814466f252008a30384194d0edb8 Successfully built pybonjour Installing collected packages: pybonjour Successfully installed pybonjour-1.1.1 You are using pip version 9.0.3, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + PIP_DEFAULT_TIMEOUT=60 + sudo -u pi /home/pi/oprint/bin/pip install https://api.github.com/repos/foosel/OctoPrint/zipball/1.3.9 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Collecting https://api.github.com/repos/foosel/OctoPrint/zipball/1.3.9 Downloading https://api.github.com/repos/foosel/OctoPrint/zipball/1.3.9 Collecting flask<0.11,>=0.10.1 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/db/9c/149ba60c47d107f85fe52564133348458f093dd5e6b57a5b60ab9ac517bb/Flask-0.10.1.tar.gz (544kB) Collecting Jinja2<2.9,>=2.8.1 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/67/ea/92b1d9d8f2dc43302df7f5271b9500bbfc237386782343561a5f62beb306/Jinja2-2.8.1-py2.py3-none-any.whl (264kB) Collecting werkzeug<0.9,>=0.8.3 (from OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/werkzeug/ Downloading https://files.pythonhosted.org/packages/a1/1c/02e6127ec997c08266b03d7fd340ba7675dafe0e28886a569664fd019e56/Werkzeug-0.8.3.tar.gz (1.1MB) Collecting tornado==4.5.3 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/e3/7b/e29ab3d51c8df66922fea216e2bddfcb6430fb29620e5165b16a216e0d3c/tornado-4.5.3.tar.gz (484kB) Collecting PyYAML<3.11,>=3.10 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/00/17/3b822893a1789a025d3f676a381338516a8f65e686d915b0834ecc9b4979/PyYAML-3.10.tar.gz (241kB) Collecting Flask-Login<0.3,>=0.2.11 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/42/3c/ead3f50b8a39b6dd3499ae6f0f5b13b955130c92a7479a287e2e07921faf/Flask-Login-0.2.11.tar.gz Collecting Flask-Principal<0.4,>=0.3.5 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/47/fa/932178a740e699a1072aa1e73dc99dee559b4500cd0ab3c0d98931589843/Flask-Principal-0.3.5.tar.gz Collecting Flask-Babel<0.10,>=0.9 (from OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/flask-babel/ Downloading https://files.pythonhosted.org/packages/24/6b/dd9031c446e05600b740086274a9939799f26401b8b96e124ccf71e6a9b2/Flask-Babel-0.9.tar.gz Collecting Flask-Assets<0.11,>=0.10 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/95/de/88eb544c93313031e7b85758a1443730b92e7b1d01ec7222ddfea5f382e7/Flask-Assets-0.10.tar.gz Collecting markdown<2.7,>=2.6.9 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/6d/7d/488b90f470b96531a3f5788cf12a93332f543dbab13c423a5e7ce96a0493/Markdown-2.6.11-py2.py3-none-any.whl (78kB) Collecting pyserial<3.5,>=3.4 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl (193kB) Collecting netaddr<0.8,>=0.7.19 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/ba/97/ce14451a9fd7bdb5a397abf99b24a1a6bb7a1a440b019bebd2e9a0dbec74/netaddr-0.7.19-py2.py3-none-any.whl (1.6MB) Collecting watchdog<0.9,>=0.8.3 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/54/7d/c7c0ad1e32b9f132075967fc353a244eb2b375a3d2f5b0ce612fd96e107e/watchdog-0.8.3.tar.gz (83kB) Collecting sarge==0.1.4 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/bc/9a/a715357f0f0a394edf964fb52b8b39551b629f4d1c996ade5f600fb3d278/sarge-0.1.4.tar.gz (50kB) Collecting netifaces<0.11,>=0.10.6 (from OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/netifaces/ Downloading https://files.pythonhosted.org/packages/81/39/4e9a026265ba944ddf1fea176dbb29e0fe50c43717ba4fcf3646d099fe38/netifaces-0.10.7.tar.gz Collecting pylru<1.1,>=1.0.9 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/c0/7d/0de1055632f3871dfeaabe5a3f0510317cd98b93e7b792b44e4c7de2b17b/pylru-1.0.9.tar.gz Collecting rsa<3.3,>=3.2.3 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/df/40/7e146be0b15022a84992a485a8503ddb20bebd18a68340f3af5abde534f4/rsa-3.2.3-py2.py3-none-any.whl (44kB) Collecting pkginfo<1.5,>=1.4.2 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/a3/fe/f32a48d48f40a7209be9825fba2566cab92364787cf37de2e08300dd6ce7/pkginfo-1.4.2-py2.py3-none-any.whl Collecting requests<3,>=2.18.4 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/ff/17/5cbb026005115301a8fb2f9b0e3e8d32313142fe8b617070e7baad20554f/requests-2.20.1-py2.py3-none-any.whl (57kB) Collecting semantic_version<2.5,>=2.4.2 (from OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/semantic-version/ Downloading https://files.pythonhosted.org/packages/eb/d0/f9cd54744c360be93e802152fdc507b672a49909ea52be14cf3adba39280/semantic_version-2.4.2.tar.gz Collecting psutil<5.5,>=5.4.6 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/e3/58/0eae6e4466e5abf779d7e2b71fac7fba5f59e00ea36ddb3ed690419ccb0f/psutil-5.4.8.tar.gz (422kB) Collecting Click<6.3,>=6.2 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/a0/90/0f5ea412a4d5b8e31cb514208e02824b45a8f4de52654733f0a862353fd9/click-6.2-py2.py3-none-any.whl (70kB) Collecting awesome-slugify<1.7,>=1.6.5 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/34/39/79ef4e640c3651b40de7812f5fcd04698abf14de4f57a81e12b6c753d168/awesome-slugify-1.6.5.tar.gz Collecting feedparser<5.3,>=5.2.1 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/91/d8/7d37fec71ff7c9dbcdd80d2b48bcdd86d6af502156fc93846fb0102cb2c4/feedparser-5.2.1.tar.bz2 (192kB) Collecting chainmap<1.1,>=1.0.2 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/6a/53/795ce18439a067eea1b233152985c0e67fd7dcc4edf102fb30f8cca6bad0/chainmap-1.0.2-py2.py3-none-any.whl Collecting future<0.16,>=0.15.2 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/5a/f4/99abde815842bc6e97d5a7806ad51236630da14ca2f3b1fce94c0bb94d3d/future-0.15.2.tar.gz (1.6MB) Collecting scandir<1.4,>=1.3 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/b1/73/493f392cd7e1549361e7727f75dea1c9f3a627350973018857578c8c5598/scandir-1.3.tar.gz Collecting websocket-client<0.41,>=0.40.0 (from OctoPrint==1.3.9) Downloading https://www.piwheels.org/simple/websocket-client/websocket_client-0.40.0-py2.py3-none-any.whl (198kB) Collecting python-dateutil<2.7,>=2.6.1 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/4b/0d/7ed381ab4fe80b8ebf34411d14f253e1cf3e56e2820ffa1d8844b23859a2/python_dateutil-2.6.1-py2.py3-none-any.whl (194kB) Collecting wrapt<1.11,>=1.10.11 (from OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/wrapt/ Downloading https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/wrapt-1.10.11.tar.gz Collecting futures<3.2,>=3.1.1 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/a6/1c/72a18c8c7502ee1b38a604a5c5243aa8c2a64f4bba4e6631b1b8972235dd/futures-3.1.1-py2-none-any.whl Collecting emoji<0.5,>=0.4.5 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/28/b5/d16d0d84a9c2243c52222d96fd083cf4ec526fd5150b831964643d7702ec/emoji-0.4.5-py2-none-any.whl Collecting monotonic<1.4,>=1.3 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/1e/4c/f58022573cd15125bc03114913906bcb6d9bc1a4b8a170a88e0525b6cd51/monotonic-1.3-py2.py3-none-any.whl Collecting frozendict<1.3,>=1.2 (from OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/4e/55/a12ded2c426a4d2bee73f88304c9c08ebbdbadb82569ebdd6a0c007cfd08/frozendict-1.2.tar.gz Collecting itsdangerous>=0.21 (from flask<0.11,>=0.10.1->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl Collecting MarkupSafe (from Jinja2<2.9,>=2.8.1->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/ac/7e/1b4c2e05809a4414ebce0892fe1e32c14ace86ca7d50c70f00979ca9b3a3/MarkupSafe-1.1.0.tar.gz Collecting singledispatch (from tornado==4.5.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/c5/10/369f50bcd4621b263927b0a1519987a04383d4a98fb10438042ad410cf88/singledispatch-3.4.0.3-py2.py3-none-any.whl Collecting certifi (from tornado==4.5.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/9f/e0/accfc1b56b57e9750eba272e24c4dddeac86852c2bebd1236674d7887e8a/certifi-2018.11.29-py2.py3-none-any.whl (154kB) Collecting backports_abc>=0.4 (from tornado==4.5.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/7d/56/6f3ac1b816d0cd8994e83d0c4e55bc64567532f7dc543378bd87f81cebc7/backports_abc-0.5-py2.py3-none-any.whl Collecting blinker (from Flask-Principal<0.4,>=0.3.5->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6/blinker-1.4.tar.gz (111kB) Collecting Babel>=1.0 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/b8/ad/c6f60602d3ee3d92fbed87675b6fb6a6f9a38c223343ababdb44ba201f10/Babel-2.6.0-py2.py3-none-any.whl (8.1MB) Collecting speaklater>=1.2 (from Flask-Babel<0.10,>=0.9->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/11/92/5ae1effe0ccb8561c034a0111d53c8788660ddb7ed4992f0da1bb5c525e5/speaklater-1.3.tar.gz Collecting webassets>=0.10 (from Flask-Assets<0.11,>=0.10->OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/webassets/ Downloading https://files.pythonhosted.org/packages/9a/35/d86c6d3bd31e2e9c8351c8766ef3688c75d56bc5233ed49061e522efc3cc/webassets-0.12.1.tar.gz (179kB) Collecting argh>=0.24.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/06/1c/e667a7126f0b84aaa1c56844337bf0ac12445d1beb9c8a6199a7314944bf/argh-0.26.2-py2.py3-none-any.whl Collecting pathtools>=0.1.1 (from watchdog<0.9,>=0.8.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/e7/7f/470d6fcdf23f9f3518f6b0b76be9df16dcc8630ad409947f8be2eb0ed13a/pathtools-0.1.2.tar.gz Collecting pyasn1>=0.1.3 (from rsa<3.3,>=3.2.3->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl (72kB) Collecting urllib3<1.25,>=1.21.1 (from requests<3,>=2.18.4->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB) Collecting idna<2.8,>=2.5 (from requests<3,>=2.18.4->OctoPrint==1.3.9) Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /simple/idna/ Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB) Collecting chardet<3.1.0,>=3.0.2 (from requests<3,>=2.18.4->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB) Collecting regex (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/16/07/ee3e02770ed456a088b90da7c9b1e9aa227e3c956d37b845cef2aab93764/regex-2018.11.22.tar.gz (648kB) Collecting Unidecode<0.05,>=0.04.14 (from awesome-slugify<1.7,>=1.6.5->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/01/a1/9d7f3138ee3d79a1ab865a2cb38200ca778d85121db19fe264c76c981184/Unidecode-0.04.21-py2.py3-none-any.whl (228kB) Collecting six (from websocket-client<0.41,>=0.40.0->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl Collecting pytz>=0a (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint==1.3.9) Downloading https://files.pythonhosted.org/packages/f8/0e/2365ddc010afb3d79147f1dd544e5ee24bf4ece58ab99b16fbb465ce6dc0/pytz-2018.7-py2.py3-none-any.whl (506kB) Building wheels for collected packages: flask, werkzeug, tornado, PyYAML, Flask-Login, Flask-Principal, Flask-Babel, Flask-Assets, watchdog, sarge, netifaces, pylru, semantic-version, psutil, awesome-slugify, feedparser, future, scandir, wrapt, frozendict, MarkupSafe, blinker, speaklater, webassets, pathtools, regex Running setup.py bdist_wheel for flask: started Running setup.py bdist_wheel for flask: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/e1/f2/be/1c4f307a41aad7e632f79c0242a2714ecde24b663da3519665 Running setup.py bdist_wheel for werkzeug: started Running setup.py bdist_wheel for werkzeug: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/78/4a/21/4da263de808b55ab266876c2490e55319a2951c6d3b66fbde0 Running setup.py bdist_wheel for tornado: started Running setup.py bdist_wheel for tornado: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/72/bf/f4/b68fa69596986881b397b18ff2b9af5f8181233aadcc9f76fd Running setup.py bdist_wheel for PyYAML: started Running setup.py bdist_wheel for PyYAML: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/ab/da/46/2f3778bfc6d5ec360917e3eeff42bade7d0497ad6879b1c05c Running setup.py bdist_wheel for Flask-Login: started Running setup.py bdist_wheel for Flask-Login: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/94/98/8f/b357415afe27adcdf071306f3f981e61a0498b7101707471fc Running setup.py bdist_wheel for Flask-Principal: started Running setup.py bdist_wheel for Flask-Principal: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/4e/0d/70/5aec0341299c5d76712511274dd03e24f17790fb2a342b5dbc Running setup.py bdist_wheel for Flask-Babel: started Running setup.py bdist_wheel for Flask-Babel: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/a6/d2/67/2f7dbec3de6a98c119860b9a7203cafea731a3d41c5c91c617 Running setup.py bdist_wheel for Flask-Assets: started Running setup.py bdist_wheel for Flask-Assets: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/a4/00/40/5d0a010858bdbab1ebc56594d15d11cc75ef26d27918d6f73a Running setup.py bdist_wheel for watchdog: started Running setup.py bdist_wheel for watchdog: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/3b/a0/6f/8c52fea32c994f833b55e7b73078f81c155ec108011c04e708 Running setup.py bdist_wheel for sarge: started Running setup.py bdist_wheel for sarge: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/16/c5/d5/78f1f8ded6e7bad49df04b6cf1f565840db5b86b80a4debeba Running setup.py bdist_wheel for netifaces: started Running setup.py bdist_wheel for netifaces: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/bb/f7/d1/028a9f26b5a235f8bfdac48d7071c45f57d32959a2ebd40e94 Running setup.py bdist_wheel for pylru: started Running setup.py bdist_wheel for pylru: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/13/40/7e/ae94456303c2a57a091a5319da4eb3d2742a2722fc591a206f Running setup.py bdist_wheel for semantic-version: started Running setup.py bdist_wheel for semantic-version: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/ea/6a/78/08c87a070654ad22f69480e849984e0d707e0f3b29d7074858 Running setup.py bdist_wheel for psutil: started Running setup.py bdist_wheel for psutil: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/d2/71/40/9c6993129f8cda369d0f21c46a13a6adab7fb1664fe6512551 Running setup.py bdist_wheel for awesome-slugify: started Running setup.py bdist_wheel for awesome-slugify: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/e9/d9/66/bde66382496710218c0df31b5f3a72bd8079bcd275fff61b29 Running setup.py bdist_wheel for feedparser: started Running setup.py bdist_wheel for feedparser: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/8c/69/b7/f52763c41c5471df57703a0ef718a32a5e81ee35dcf6d4f97f Running setup.py bdist_wheel for future: started Running setup.py bdist_wheel for future: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/11/25/4b/f1c5582c5dc7ace5998bced1042cdf6bfe03983a10ed3f2f2e Running setup.py bdist_wheel for scandir: started Running setup.py bdist_wheel for scandir: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/06/d4/69/27d7ddcd76dc2987dd1873d09224bc977e9907789120f88c77 Running setup.py bdist_wheel for wrapt: started Running setup.py bdist_wheel for wrapt: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/48/5d/04/22361a593e70d23b1f7746d932802efe1f0e523376a74f321e Running setup.py bdist_wheel for frozendict: started Running setup.py bdist_wheel for frozendict: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/6c/6c/e9/534386165bd12cf1885582c75eb6d0ffcb321b65c23fe0f834 Running setup.py bdist_wheel for MarkupSafe: started Running setup.py bdist_wheel for MarkupSafe: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/81/23/64/51895ea52825dc116a55f37043f49be0939bcf603de54e5cde Running setup.py bdist_wheel for blinker: started Running setup.py bdist_wheel for blinker: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/92/a0/00/8690a57883956a301d91cf4ec999cc0b258b01e3f548f86e89 Running setup.py bdist_wheel for speaklater: started Running setup.py bdist_wheel for speaklater: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/c4/f3/2d/57f871bb1786128515c7c5343fefe345e1df68f4b6317b897d Running setup.py bdist_wheel for webassets: started Running setup.py bdist_wheel for webassets: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/eb/2a/fd/d10453a8c9ee05159da8877d083947e376caeca041988df18e Running setup.py bdist_wheel for pathtools: started Running setup.py bdist_wheel for pathtools: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/0b/04/79/c3b0c3a0266a3cb4376da31e5bfe8bba0c489246968a68e843 Running setup.py bdist_wheel for regex: started Running setup.py bdist_wheel for regex: still running... Running setup.py bdist_wheel for regex: finished with status 'done' Stored in directory: /home/pi/.cache/pip/wheels/56/b8/60/93cb6f51554e529246d89c994c1cba7b64d768ff1680062661 Successfully built flask werkzeug tornado PyYAML Flask-Login Flask-Principal Flask-Babel Flask-Assets watchdog sarge netifaces pylru semantic-version psutil awesome-slugify feedparser future scandir wrapt frozendict MarkupSafe blinker speaklater webassets pathtools regex Installing collected packages: werkzeug, MarkupSafe, Jinja2, itsdangerous, flask, six, singledispatch, certifi, backports-abc, tornado, PyYAML, Flask-Login, blinker, Flask-Principal, pytz, Babel, speaklater, Flask-Babel, webassets, Flask-Assets, markdown, pyserial, netaddr, argh, pathtools, watchdog, sarge, netifaces, pylru, pyasn1, rsa, pkginfo, urllib3, idna, chardet, requests, semantic-version, psutil, Click, regex, Unidecode, awesome-slugify, feedparser, chainmap, future, scandir, websocket-client, python-dateutil, wrapt, futures, emoji, monotonic, frozendict, OctoPrint Running setup.py install for OctoPrint: started Running setup.py install for OctoPrint: finished with status 'done' Successfully installed Babel-2.6.0 Click-6.2 Flask-Assets-0.10 Flask-Babel-0.9 Flask-Login-0.2.11 Flask-Principal-0.3.5 Jinja2-2.8.1 MarkupSafe-1.1.0 OctoPrint-1.3.9 PyYAML-3.10 Unidecode-0.4.21 argh-0.26.2 awesome-slugify-1.6.5 backports-abc-0.5 blinker-1.4 certifi-2018.11.29 chainmap-1.0.2 chardet-3.0.4 emoji-0.4.5 feedparser-5.2.1 flask-0.10.1 frozendict-1.2 future-0.15.2 futures-3.1.1 idna-2.7 itsdangerous-1.1.0 markdown-2.6.11 monotonic-1.3 netaddr-0.7.19 netifaces-0.10.7 pathtools-0.1.2 pkginfo-1.4.2 psutil-5.4.8 pyasn1-0.4.4 pylru-1.0.9 pyserial-3.4 python-dateutil-2.6.1 pytz-2018.7 regex-2018.11.22 requests-2.20.1 rsa-3.2.3 sarge-0.1.4 scandir-1.3 semantic-version-2.4.2 singledispatch-3.4.0.3 six-1.11.0 speaklater-1.3 tornado-4.5.3 urllib3-1.24.1 watchdog-0.8.3 webassets-0.12.1 websocket-client-0.40.0 werkzeug-0.8.3 wrapt-1.10.11 You are using pip version 9.0.3, however version 18.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + '[' yes == yes ']' + echo '--- Installing mjpg-streamer' --- Installing mjpg-streamer ++ is_in_apt libjpeg62-turbo-dev +++ apt-cache policy libjpeg62-turbo-dev +++ wc +++ awk '{print $1}' ++ '[' 6 -gt 0 ']' ++ echo 1 + '[' 1 -eq 1 ']' + apt-get -y --force-yes install libjpeg62-turbo-dev Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libjpeg62-turbo-dev 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 181 kB of archives. After this operation, 475 kB of additional disk space will be used. Get:1 http://raspbian.phirephly.design/raspbian stretch/main armhf libjpeg62-turbo-dev armhf 1:1.5.1-2 [181 kB] Fetched 181 kB in 2s (71.4 kB/s) Selecting previously unselected package libjpeg62-turbo-dev:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 41566 files and directories currently installed.) Preparing to unpack .../libjpeg62-turbo-dev_1%3a1.5.1-2_armhf.deb ... Unpacking libjpeg62-turbo-dev:armhf (1:1.5.1-2) ... Setting up libjpeg62-turbo-dev:armhf (1:1.5.1-2) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + apt-get -y --force-yes --no-install-recommends install imagemagick libav-tools libv4l-dev Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: ffmpeg fontconfig-config fonts-dejavu-core hicolor-icon-theme imagemagick-6-common imagemagick-6.q16 libass5 libasyncns0 libavc1394-0 libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libchromaprint1 libdc1394-22 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1 libfontconfig1 libfribidi0 libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1 libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libjbig0 liblcms2-2 liblqr-1-0 libltdl7 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmp3lame0 libmpg123-0 libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54 libpulse0 libraw1394-11 librubberband2 libsdl2-2.0-0 libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0 libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtheora0 libtiff5 libtwolame0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebp6 libwebpmux2 libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1 libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0 x11-common Suggested packages: ffmpeg-doc imagemagick-doc autotrace cups-bsd | lpr | lprng enscript gimp gnuplot grads graphviz hp2xx html2ps libwmf-bin mplayer povray radiance sane-utils texlive-base-bin transfig ufraw-batch xdg-utils libbluray-bdj libfftw3-bin libfftw3-dev alsa-base jackd2 liblcms2-utils libmagickcore-6.q16-3-extra libportaudio2 opus-tools pulseaudio libraw1394-doc sndiod speex Recommended packages: libmagickcore-6.q16-3-extra ghostscript netpbm libaacs0 libgl1-mesa-dri gsfonts va-driver-all | va-driver vdpau-driver-all | vdpau-driver The following NEW packages will be installed: ffmpeg fontconfig-config fonts-dejavu-core hicolor-icon-theme imagemagick imagemagick-6-common imagemagick-6.q16 libass5 libasyncns0 libav-tools libavc1394-0 libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libbluray1 libbs2b0 libcaca0 libcairo2 libcdio-cdda1 libcdio-paranoia1 libcdio13 libchromaprint1 libdc1394-22 libebur128-1 libegl1-mesa libfftw3-double3 libflac8 libflite1 libfontconfig1 libfribidi0 libgbm1 libgl1-mesa-glx libglapi-mesa libgme0 libgraphite2-3 libgsm1 libharfbuzz0b libice6 libiec61883-0 libjack-jackd2-0 libjbig0 liblcms2-2 liblqr-1-0 libltdl7 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libmp3lame0 libmpg123-0 libogg0 libopenal-data libopenal1 libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenjp2-7 libopenmpt0 libopus0 libpgm-5.2-0 libpixman-1-0 libpostproc54 libpulse0 libraw1394-11 librubberband2 libsdl2-2.0-0 libshine3 libsm6 libsnappy1v5 libsndfile1 libsndio6.1 libsodium18 libsoxr0 libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtheora0 libtiff5 libtwolame0 libv4l-dev libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx4 libwavpack1 libwayland-client0 libwayland-cursor0 libwayland-egl1-mesa libwayland-server0 libwebp6 libwebpmux2 libx11-xcb1 libx264-148 libx265-95 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcursor1 libxdamage1 libxfixes3 libxi6 libxinerama1 libxkbcommon0 libxrandr2 libxrender1 libxshmfence1 libxss1 libxtst6 libxv1 libxvidcore4 libxxf86vm1 libzmq5 libzvbi-common libzvbi0 x11-common 0 upgraded, 126 newly installed, 0 to remove and 11 not upgraded. Need to get 39.5 MB of archives. After this operation, 90.4 MB of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian stretch/main armhf libavutil55 armhf 7:3.2.10-1~deb9u1+rpt2 [234 kB] Get:4 http://archive.raspberrypi.org/debian stretch/main armhf libswresample2 armhf 7:3.2.10-1~deb9u1+rpt2 [90.3 kB] Get:5 http://archive.raspberrypi.org/debian stretch/main armhf libcairo2 armhf 1.14.8-1+rpi1 [688 kB] Get:2 http://raspbian.phirephly.design/raspbian stretch/main armhf libcaca0 armhf 0.99.beta19-2 [335 kB] Get:3 http://raspbian.phirephly.design/raspbian stretch/main armhf libgsm1 armhf 1.0.13-4 [30.9 kB] Get:6 http://raspbian.phirephly.design/raspbian stretch/main armhf libjbig0 armhf 2.1-3.1 [27.5 kB] Get:7 http://raspbian.phirephly.design/raspbian stretch/main armhf liblqr-1-0 armhf 0.4.2-2 [20.9 kB] Get:8 http://archive.raspberrypi.org/debian stretch/main armhf libavcodec57 armhf 7:3.2.10-1~deb9u1+rpt2 [4149 kB] Get:9 http://raspbian.phirephly.design/raspbian stretch/main armhf libfftw3-double3 armhf 3.3.5-3 [436 kB] Get:10 http://raspbian.phirephly.design/raspbian stretch/main armhf fonts-dejavu-core all 2.37-1 [1068 kB] Get:11 http://raspbian.phirephly.design/raspbian stretch/main armhf fontconfig-config all 2.11.0-6.7 [271 kB] Get:12 http://raspbian.phirephly.design/raspbian stretch/main armhf libfontconfig1 armhf 2.11.0-6.7 [313 kB] Get:13 http://raspbian.phirephly.design/raspbian stretch/main armhf liblcms2-2 armhf 2.8-4+deb9u1 [118 kB] Get:14 http://raspbian.phirephly.design/raspbian stretch/main armhf libltdl7 armhf 2.4.6-2 [386 kB] Get:15 http://raspbian.phirephly.design/raspbian stretch/main armhf libopenjp2-7 armhf 2.1.2-1.1+deb9u2 [108 kB] Get:16 http://raspbian.phirephly.design/raspbian stretch/main armhf libtiff5 armhf 4.0.8-2+deb9u4 [220 kB] Get:17 http://raspbian.phirephly.design/raspbian stretch/main armhf imagemagick-6-common all 8:6.9.7.4+dfsg-11+deb9u6 [184 kB] Get:19 http://archive.raspberrypi.org/debian stretch/main armhf libbluray1 armhf 1:0.9.3-4 [124 kB] Get:18 http://raspbian.phirephly.design/raspbian stretch/main armhf libmagickcore-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u6 [1571 kB] Get:20 http://archive.raspberrypi.org/debian stretch/main armhf libavformat57 armhf 7:3.2.10-1~deb9u1+rpt2 [871 kB] Get:21 http://raspbian.phirephly.design/raspbian stretch/main armhf libmagickwand-6.q16-3 armhf 8:6.9.7.4+dfsg-11+deb9u6 [403 kB] Get:22 http://raspbian.phirephly.design/raspbian stretch/main armhf libogg0 armhf 1.3.2-1 [17.2 kB] Get:23 http://archive.raspberrypi.org/debian stretch/main armhf libavresample3 armhf 7:3.2.10-1~deb9u1+rpt2 [82.3 kB] Get:24 http://archive.raspberrypi.org/debian stretch/main armhf libpostproc54 armhf 7:3.2.10-1~deb9u1+rpt2 [74.8 kB] Get:25 http://archive.raspberrypi.org/debian stretch/main armhf libswscale4 armhf 7:3.2.10-1~deb9u1+rpt2 [163 kB] Get:26 http://raspbian.phirephly.design/raspbian stretch/main armhf libspeex1 armhf 1.2~rc1.2-1 [51.2 kB] Get:27 http://archive.raspberrypi.org/debian stretch/main armhf libavfilter6 armhf 7:3.2.10-1~deb9u1+rpt2 [691 kB] Get:28 http://raspbian.phirephly.design/raspbian stretch/main armhf x11-common all 1:7.7+19 [251 kB] Get:29 http://archive.raspberrypi.org/debian stretch/main armhf libglapi-mesa armhf 13.0.6-1+rpi2 [66.1 kB] Get:30 http://archive.raspberrypi.org/debian stretch/main armhf libgl1-mesa-glx armhf 13.0.6-1+rpi2 [154 kB] Get:31 http://raspbian.phirephly.design/raspbian stretch/main armhf libxss1 armhf 1:1.2.2-1 [16.8 kB] Get:32 http://archive.raspberrypi.org/debian stretch/main armhf libgbm1 armhf 13.0.6-1+rpi2 [56.2 kB] Get:33 http://archive.raspberrypi.org/debian stretch/main armhf libegl1-mesa armhf 13.0.6-1+rpi2 [98.9 kB] Get:34 http://archive.raspberrypi.org/debian stretch/main armhf libwayland-egl1-mesa armhf 13.0.6-1+rpi2 [42.7 kB] Get:35 http://archive.raspberrypi.org/debian stretch/main armhf libavdevice57 armhf 7:3.2.10-1~deb9u1+rpt2 [109 kB] Get:36 http://archive.raspberrypi.org/debian stretch/main armhf ffmpeg armhf 7:3.2.10-1~deb9u1+rpt2 [1516 kB] Get:37 http://raspbian.phirephly.design/raspbian stretch/main armhf libxxf86vm1 armhf 1:1.1.4-1 [20.2 kB] Get:38 http://raspbian.phirephly.design/raspbian stretch/main armhf libva1 armhf 1.7.3-2 [46.2 kB] Get:39 http://raspbian.phirephly.design/raspbian stretch/main armhf libva-drm1 armhf 1.7.3-2 [14.5 kB] Get:41 http://archive.raspberrypi.org/debian stretch/main armhf libav-tools all 7:3.2.10-1~deb9u1+rpt2 [55.8 kB] Get:40 http://raspbian.phirephly.design/raspbian stretch/main armhf libxfixes3 armhf 1:5.0.3-1 [20.6 kB] Get:42 http://raspbian.phirephly.design/raspbian stretch/main armhf libva-x11-1 armhf 1.7.3-2 [18.0 kB] Get:43 http://raspbian.phirephly.design/raspbian stretch/main armhf libvdpau1 armhf 1.1.1-6 [38.9 kB] Get:44 http://raspbian.phirephly.design/raspbian stretch/main armhf libmp3lame0 armhf 3.99.5+repack1-9 [336 kB] Get:45 http://raspbian.phirephly.design/raspbian stretch/main armhf libopus0 armhf 1.2~alpha2-1 [147 kB] Get:46 http://raspbian.phirephly.design/raspbian stretch/main armhf libshine3 armhf 3.1.0-5 [23.8 kB] Get:47 http://raspbian.phirephly.design/raspbian stretch/main armhf libsnappy1v5 armhf 1.1.3-3 [50.1 kB] Get:48 http://raspbian.phirephly.design/raspbian stretch/main armhf libsoxr0 armhf 0.1.2-2 [49.6 kB] Get:49 http://raspbian.phirephly.design/raspbian stretch/main armhf libpixman-1-0 armhf 0.34.0-1 [451 kB] Get:50 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-render0 armhf 1.12-1 [104 kB] Get:51 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-shm0 armhf 1.12-1 [95.9 kB] Get:52 http://raspbian.phirephly.design/raspbian stretch/main armhf libxrender1 armhf 1:0.9.10-1 [29.9 kB] Get:53 http://raspbian.phirephly.design/raspbian stretch/main armhf libtheora0 armhf 1.1.1+dfsg.1-14 [155 kB] Get:54 http://raspbian.phirephly.design/raspbian stretch/main armhf libtwolame0 armhf 0.3.13-2 [44.9 kB] Get:55 http://raspbian.phirephly.design/raspbian stretch/main armhf libvorbis0a armhf 1.3.5-4+deb9u2 [81.8 kB] Get:56 http://raspbian.phirephly.design/raspbian stretch/main armhf libvorbisenc2 armhf 1.3.5-4+deb9u2 [72.8 kB] Get:57 http://raspbian.phirephly.design/raspbian stretch/main armhf libvpx4 armhf 1.6.1-3+deb9u1 [432 kB] Get:58 http://raspbian.phirephly.design/raspbian stretch/main armhf libwavpack1 armhf 5.0.0-2+deb9u2 [73.3 kB] Get:59 http://raspbian.phirephly.design/raspbian stretch/main armhf libwebp6 armhf 0.5.2-1 [202 kB] Get:60 http://raspbian.phirephly.design/raspbian stretch/main armhf libwebpmux2 armhf 0.5.2-1 [80.1 kB] Get:61 http://raspbian.phirephly.design/raspbian stretch/main armhf libx264-148 armhf 2:0.148.2748+git97eaef2-1+rpi1 [786 kB] Get:62 http://raspbian.phirephly.design/raspbian stretch/main armhf libx265-95 armhf 2.1-2 [447 kB] Get:63 http://raspbian.phirephly.design/raspbian stretch/main armhf libxvidcore4 armhf 2:1.3.4-1 [203 kB] Get:64 http://raspbian.phirephly.design/raspbian stretch/main armhf libzvbi-common all 0.2.35-13 [63.7 kB] Get:65 http://raspbian.phirephly.design/raspbian stretch/main armhf libzvbi0 armhf 0.2.35-13 [237 kB] Get:66 http://raspbian.phirephly.design/raspbian stretch/main armhf libraw1394-11 armhf 2.1.2-1 [43.4 kB] Get:67 http://raspbian.phirephly.design/raspbian stretch/main armhf libavc1394-0 armhf 0.5.4-4 [17.8 kB] Get:68 http://raspbian.phirephly.design/raspbian stretch/main armhf libfribidi0 armhf 0.19.7-1 [44.2 kB] Get:69 http://raspbian.phirephly.design/raspbian stretch/main armhf libgraphite2-3 armhf 1.3.10-1 [71.7 kB] Get:70 http://raspbian.phirephly.design/raspbian stretch/main armhf libharfbuzz0b armhf 1.4.2-1 [640 kB] Get:71 http://raspbian.phirephly.design/raspbian stretch/main armhf libass5 armhf 1:0.13.4-2 [74.1 kB] Get:72 http://raspbian.phirephly.design/raspbian stretch/main armhf libchromaprint1 armhf 1.4.2-1 [34.2 kB] Get:73 http://raspbian.phirephly.design/raspbian stretch/main armhf libgme0 armhf 0.6.0-4 [113 kB] Get:74 http://raspbian.phirephly.design/raspbian stretch/main armhf libmpg123-0 armhf 1.23.8-1 [119 kB] Get:75 http://raspbian.phirephly.design/raspbian stretch/main armhf libvorbisfile3 armhf 1.3.5-4+deb9u2 [23.2 kB] Get:76 http://raspbian.phirephly.design/raspbian stretch/main armhf libopenmpt0 armhf 0.2.7386~beta20.3-3+deb9u3 [423 kB] Get:77 http://raspbian.phirephly.design/raspbian stretch/main armhf libssh-gcrypt-4 armhf 0.7.3-2+deb9u1 [144 kB] Get:78 http://raspbian.phirephly.design/raspbian stretch/main armhf libbs2b0 armhf 3.1.0+dfsg-2.2 [11.0 kB] Get:79 http://raspbian.phirephly.design/raspbian stretch/main armhf libebur128-1 armhf 1.2.2-2 [13.1 kB] Get:81 http://raspbian.phirephly.design/raspbian stretch/main armhf libopencv-core2.4v5 armhf 2.4.9.1+dfsg1-2 [570 kB] Get:82 http://raspbian.phirephly.design/raspbian stretch/main armhf libopencv-imgproc2.4v5 armhf 2.4.9.1+dfsg1-2 [511 kB] Get:80 http://raspbian-us.ngc292.space/raspbian stretch/main armhf libflite1 armhf 2.0.0-release-3 [12.5 MB] Get:83 http://raspbian.phirephly.design/raspbian stretch/main armhf librubberband2 armhf 1.8.1-7 [73.9 kB] Get:84 http://raspbian.phirephly.design/raspbian stretch/main armhf libpgm-5.2-0 armhf 5.2.122~dfsg-2 [153 kB] Get:85 http://raspbian.phirephly.design/raspbian stretch/main armhf libsodium18 armhf 1.0.11-2 [146 kB] Get:86 http://raspbian.phirephly.design/raspbian stretch/main armhf libzmq5 armhf 4.2.1-4 [169 kB] Get:87 http://raspbian.phirephly.design/raspbian stretch/main armhf libcdio13 armhf 0.83-4.3 [161 kB] Get:88 http://raspbian.phirephly.design/raspbian stretch/main armhf libcdio-cdda1 armhf 0.83-4.3 [129 kB] Get:89 http://raspbian.phirephly.design/raspbian stretch/main armhf libcdio-paranoia1 armhf 0.83-4.3 [130 kB] Get:90 http://raspbian.phirephly.design/raspbian stretch/main armhf libdc1394-22 armhf 2.2.5-1 [97.6 kB] Get:91 http://raspbian.phirephly.design/raspbian stretch/main armhf libx11-xcb1 armhf 2:1.6.4-3+deb9u1 [183 kB] Get:92 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-dri2-0 armhf 1.12-1 [97.1 kB] Get:93 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-dri3-0 armhf 1.12-1 [95.5 kB] Get:94 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-glx0 armhf 1.12-1 [111 kB] Get:95 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-present0 armhf 1.12-1 [95.9 kB] Get:96 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-sync1 armhf 1.12-1 [98.7 kB] Get:97 http://raspbian.phirephly.design/raspbian stretch/main armhf libxdamage1 armhf 1:1.1.4-2+b1 [14.1 kB] Get:98 http://raspbian.phirephly.design/raspbian stretch/main armhf libxshmfence1 armhf 1.2-1 [7642 B] Get:99 http://raspbian.phirephly.design/raspbian stretch/main armhf libiec61883-0 armhf 1.2.0-2 [28.3 kB] Get:100 http://raspbian.phirephly.design/raspbian stretch/main armhf libjack-jackd2-0 armhf 1.9.10+20150825git1ed50c92~dfsg-5 [246 kB] Get:101 http://raspbian.phirephly.design/raspbian stretch/main armhf libopenal-data all 1:1.17.2-4 [107 kB] Get:102 http://raspbian.phirephly.design/raspbian stretch/main armhf libsndio6.1 armhf 1.1.0-3 [21.4 kB] Get:103 http://raspbian.phirephly.design/raspbian stretch/main armhf libopenal1 armhf 1:1.17.2-4 [187 kB] Get:104 http://raspbian.phirephly.design/raspbian stretch/main armhf libasyncns0 armhf 0.8-6 [11.8 kB] Get:105 http://raspbian.phirephly.design/raspbian stretch/main armhf libice6 armhf 2:1.0.9-2 [51.6 kB] Get:106 http://raspbian.phirephly.design/raspbian stretch/main armhf libsm6 armhf 2:1.2.2-1+b1 [31.2 kB] Get:107 http://raspbian.phirephly.design/raspbian stretch/main armhf libflac8 armhf 1.3.2-1 [145 kB] Get:108 http://raspbian.phirephly.design/raspbian stretch/main armhf libsndfile1 armhf 1.0.27-3 [234 kB] Get:109 http://raspbian.phirephly.design/raspbian stretch/main armhf libxi6 armhf 2:1.7.9-1 [77.8 kB] Get:110 http://raspbian.phirephly.design/raspbian stretch/main armhf libxtst6 armhf 2:1.2.3-1 [26.3 kB] Get:111 http://raspbian.phirephly.design/raspbian stretch/main armhf libpulse0 armhf 10.0-1+deb9u1 [252 kB] Get:112 http://raspbian.phirephly.design/raspbian stretch/main armhf libwayland-client0 armhf 1.12.0-1 [20.2 kB] Get:113 http://raspbian.phirephly.design/raspbian stretch/main armhf libwayland-cursor0 armhf 1.12.0-1 [12.1 kB] Get:114 http://raspbian.phirephly.design/raspbian stretch/main armhf libwayland-server0 armhf 1.12.0-1 [24.5 kB] Get:115 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-xfixes0 armhf 1.12-1 [99.5 kB] Get:116 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcursor1 armhf 1:1.1.14-1+deb9u2 [31.8 kB] Get:117 http://raspbian.phirephly.design/raspbian stretch/main armhf libxinerama1 armhf 2:1.1.3-1+b1 [16.4 kB] Get:118 http://raspbian.phirephly.design/raspbian stretch/main armhf libxkbcommon0 armhf 0.7.1-2~deb9u1 [110 kB] Get:119 http://raspbian.phirephly.design/raspbian stretch/main armhf libxrandr2 armhf 2:1.5.1-1 [34.5 kB] Get:120 http://raspbian.phirephly.design/raspbian stretch/main armhf libsdl2-2.0-0 armhf 2.0.5+dfsg1-2 [314 kB] Get:121 http://raspbian.phirephly.design/raspbian stretch/main armhf libxcb-shape0 armhf 1.12-1 [96.2 kB] Get:122 http://raspbian.phirephly.design/raspbian stretch/main armhf libxv1 armhf 2:1.0.11-1 [23.2 kB] Get:123 http://raspbian.phirephly.design/raspbian stretch/main armhf hicolor-icon-theme all 0.15-1 [9550 B] Get:124 http://raspbian.phirephly.design/raspbian stretch/main armhf imagemagick-6.q16 armhf 8:6.9.7.4+dfsg-11+deb9u6 [563 kB] Get:125 http://raspbian.phirephly.design/raspbian stretch/main armhf libv4l-dev armhf 1.12.3-1 [92.9 kB] Get:126 http://raspbian.phirephly.design/raspbian stretch/main armhf imagemagick armhf 8:6.9.7.4+dfsg-11+deb9u6 [141 kB] Extracting templates from packages: 23% Extracting templates from packages: 47% Extracting templates from packages: 71% Extracting templates from packages: 95% Extracting templates from packages: 100% Preconfiguring packages ... Fetched 39.5 MB in 54s (720 kB/s) Selecting previously unselected package libcaca0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 41579 files and directories currently installed.) Preparing to unpack .../000-libcaca0_0.99.beta19-2_armhf.deb ... Unpacking libcaca0:armhf (0.99.beta19-2) ... Selecting previously unselected package libgsm1:armhf. Preparing to unpack .../001-libgsm1_1.0.13-4_armhf.deb ... Unpacking libgsm1:armhf (1.0.13-4) ... Selecting previously unselected package libjbig0:armhf. Preparing to unpack .../002-libjbig0_2.1-3.1_armhf.deb ... Unpacking libjbig0:armhf (2.1-3.1) ... Selecting previously unselected package liblqr-1-0:armhf. Preparing to unpack .../003-liblqr-1-0_0.4.2-2_armhf.deb ... Unpacking liblqr-1-0:armhf (0.4.2-2) ... Selecting previously unselected package libfftw3-double3:armhf. Preparing to unpack .../004-libfftw3-double3_3.3.5-3_armhf.deb ... Unpacking libfftw3-double3:armhf (3.3.5-3) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../005-fonts-dejavu-core_2.37-1_all.deb ... Unpacking fonts-dejavu-core (2.37-1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../006-fontconfig-config_2.11.0-6.7_all.deb ... Unpacking fontconfig-config (2.11.0-6.7) ... Selecting previously unselected package libfontconfig1:armhf. Preparing to unpack .../007-libfontconfig1_2.11.0-6.7_armhf.deb ... Unpacking libfontconfig1:armhf (2.11.0-6.7) ... Selecting previously unselected package liblcms2-2:armhf. Preparing to unpack .../008-liblcms2-2_2.8-4+deb9u1_armhf.deb ... Unpacking liblcms2-2:armhf (2.8-4+deb9u1) ... Selecting previously unselected package libltdl7:armhf. Preparing to unpack .../009-libltdl7_2.4.6-2_armhf.deb ... Unpacking libltdl7:armhf (2.4.6-2) ... Selecting previously unselected package libopenjp2-7:armhf. Preparing to unpack .../010-libopenjp2-7_2.1.2-1.1+deb9u2_armhf.deb ... Unpacking libopenjp2-7:armhf (2.1.2-1.1+deb9u2) ... Selecting previously unselected package libtiff5:armhf. Preparing to unpack .../011-libtiff5_4.0.8-2+deb9u4_armhf.deb ... Unpacking libtiff5:armhf (4.0.8-2+deb9u4) ... Selecting previously unselected package imagemagick-6-common. Preparing to unpack .../012-imagemagick-6-common_8%3a6.9.7.4+dfsg-11+deb9u6_all.deb ... Unpacking imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ... Selecting previously unselected package libmagickcore-6.q16-3:armhf. Preparing to unpack .../013-libmagickcore-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u6_armhf.deb ... Unpacking libmagickcore-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u6) ... Selecting previously unselected package libmagickwand-6.q16-3:armhf. Preparing to unpack .../014-libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-11+deb9u6_armhf.deb ... Unpacking libmagickwand-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u6) ... Selecting previously unselected package libogg0:armhf. Preparing to unpack .../015-libogg0_1.3.2-1_armhf.deb ... Unpacking libogg0:armhf (1.3.2-1) ... Selecting previously unselected package libspeex1:armhf. Preparing to unpack .../016-libspeex1_1.2~rc1.2-1_armhf.deb ... Unpacking libspeex1:armhf (1.2~rc1.2-1) ... Selecting previously unselected package x11-common. Preparing to unpack .../017-x11-common_1%3a7.7+19_all.deb ... Unpacking x11-common (1:7.7+19) ... Selecting previously unselected package libxss1:armhf. Preparing to unpack .../018-libxss1_1%3a1.2.2-1_armhf.deb ... Unpacking libxss1:armhf (1:1.2.2-1) ... Selecting previously unselected package libxxf86vm1:armhf. Preparing to unpack .../019-libxxf86vm1_1%3a1.1.4-1_armhf.deb ... Unpacking libxxf86vm1:armhf (1:1.1.4-1) ... Selecting previously unselected package libva1:armhf. Preparing to unpack .../020-libva1_1.7.3-2_armhf.deb ... Unpacking libva1:armhf (1.7.3-2) ... Selecting previously unselected package libva-drm1:armhf. Preparing to unpack .../021-libva-drm1_1.7.3-2_armhf.deb ... Unpacking libva-drm1:armhf (1.7.3-2) ... Selecting previously unselected package libxfixes3:armhf. Preparing to unpack .../022-libxfixes3_1%3a5.0.3-1_armhf.deb ... Unpacking libxfixes3:armhf (1:5.0.3-1) ... Selecting previously unselected package libva-x11-1:armhf. Preparing to unpack .../023-libva-x11-1_1.7.3-2_armhf.deb ... Unpacking libva-x11-1:armhf (1.7.3-2) ... Selecting previously unselected package libvdpau1:armhf. Preparing to unpack .../024-libvdpau1_1.1.1-6_armhf.deb ... Unpacking libvdpau1:armhf (1.1.1-6) ... Selecting previously unselected package libavutil55:armhf. Preparing to unpack .../025-libavutil55_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavutil55:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libmp3lame0:armhf. Preparing to unpack .../026-libmp3lame0_3.99.5+repack1-9_armhf.deb ... Unpacking libmp3lame0:armhf (3.99.5+repack1-9) ... Selecting previously unselected package libopus0:armhf. Preparing to unpack .../027-libopus0_1.2~alpha2-1_armhf.deb ... Unpacking libopus0:armhf (1.2~alpha2-1) ... Selecting previously unselected package libshine3:armhf. Preparing to unpack .../028-libshine3_3.1.0-5_armhf.deb ... Unpacking libshine3:armhf (3.1.0-5) ... Selecting previously unselected package libsnappy1v5:armhf. Preparing to unpack .../029-libsnappy1v5_1.1.3-3_armhf.deb ... Unpacking libsnappy1v5:armhf (1.1.3-3) ... Selecting previously unselected package libsoxr0:armhf. Preparing to unpack .../030-libsoxr0_0.1.2-2_armhf.deb ... Unpacking libsoxr0:armhf (0.1.2-2) ... Selecting previously unselected package libswresample2:armhf. Preparing to unpack .../031-libswresample2_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libswresample2:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libpixman-1-0:armhf. Preparing to unpack .../032-libpixman-1-0_0.34.0-1_armhf.deb ... Unpacking libpixman-1-0:armhf (0.34.0-1) ... Selecting previously unselected package libxcb-render0:armhf. Preparing to unpack .../033-libxcb-render0_1.12-1_armhf.deb ... Unpacking libxcb-render0:armhf (1.12-1) ... Selecting previously unselected package libxcb-shm0:armhf. Preparing to unpack .../034-libxcb-shm0_1.12-1_armhf.deb ... Unpacking libxcb-shm0:armhf (1.12-1) ... Selecting previously unselected package libxrender1:armhf. Preparing to unpack .../035-libxrender1_1%3a0.9.10-1_armhf.deb ... Unpacking libxrender1:armhf (1:0.9.10-1) ... Selecting previously unselected package libcairo2:armhf. Preparing to unpack .../036-libcairo2_1.14.8-1+rpi1_armhf.deb ... Unpacking libcairo2:armhf (1.14.8-1+rpi1) ... Selecting previously unselected package libtheora0:armhf. Preparing to unpack .../037-libtheora0_1.1.1+dfsg.1-14_armhf.deb ... Unpacking libtheora0:armhf (1.1.1+dfsg.1-14) ... Selecting previously unselected package libtwolame0:armhf. Preparing to unpack .../038-libtwolame0_0.3.13-2_armhf.deb ... Unpacking libtwolame0:armhf (0.3.13-2) ... Selecting previously unselected package libvorbis0a:armhf. Preparing to unpack .../039-libvorbis0a_1.3.5-4+deb9u2_armhf.deb ... Unpacking libvorbis0a:armhf (1.3.5-4+deb9u2) ... Selecting previously unselected package libvorbisenc2:armhf. Preparing to unpack .../040-libvorbisenc2_1.3.5-4+deb9u2_armhf.deb ... Unpacking libvorbisenc2:armhf (1.3.5-4+deb9u2) ... Selecting previously unselected package libvpx4:armhf. Preparing to unpack .../041-libvpx4_1.6.1-3+deb9u1_armhf.deb ... Unpacking libvpx4:armhf (1.6.1-3+deb9u1) ... Selecting previously unselected package libwavpack1:armhf. Preparing to unpack .../042-libwavpack1_5.0.0-2+deb9u2_armhf.deb ... Unpacking libwavpack1:armhf (5.0.0-2+deb9u2) ... Selecting previously unselected package libwebp6:armhf. Preparing to unpack .../043-libwebp6_0.5.2-1_armhf.deb ... Unpacking libwebp6:armhf (0.5.2-1) ... Selecting previously unselected package libwebpmux2:armhf. Preparing to unpack .../044-libwebpmux2_0.5.2-1_armhf.deb ... Unpacking libwebpmux2:armhf (0.5.2-1) ... Selecting previously unselected package libx264-148:armhf. Preparing to unpack .../045-libx264-148_2%3a0.148.2748+git97eaef2-1+rpi1_armhf.deb ... Unpacking libx264-148:armhf (2:0.148.2748+git97eaef2-1+rpi1) ... Selecting previously unselected package libx265-95:armhf. Preparing to unpack .../046-libx265-95_2.1-2_armhf.deb ... Unpacking libx265-95:armhf (2.1-2) ... Selecting previously unselected package libxvidcore4:armhf. Preparing to unpack .../047-libxvidcore4_2%3a1.3.4-1_armhf.deb ... Unpacking libxvidcore4:armhf (2:1.3.4-1) ... Selecting previously unselected package libzvbi-common. Preparing to unpack .../048-libzvbi-common_0.2.35-13_all.deb ... Unpacking libzvbi-common (0.2.35-13) ... Selecting previously unselected package libzvbi0:armhf. Preparing to unpack .../049-libzvbi0_0.2.35-13_armhf.deb ... Unpacking libzvbi0:armhf (0.2.35-13) ... Selecting previously unselected package libavcodec57:armhf. Preparing to unpack .../050-libavcodec57_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavcodec57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libraw1394-11:armhf. Preparing to unpack .../051-libraw1394-11_2.1.2-1_armhf.deb ... Unpacking libraw1394-11:armhf (2.1.2-1) ... Selecting previously unselected package libavc1394-0:armhf. Preparing to unpack .../052-libavc1394-0_0.5.4-4_armhf.deb ... Unpacking libavc1394-0:armhf (0.5.4-4) ... Selecting previously unselected package libfribidi0:armhf. Preparing to unpack .../053-libfribidi0_0.19.7-1_armhf.deb ... Unpacking libfribidi0:armhf (0.19.7-1) ... Selecting previously unselected package libgraphite2-3:armhf. Preparing to unpack .../054-libgraphite2-3_1.3.10-1_armhf.deb ... Unpacking libgraphite2-3:armhf (1.3.10-1) ... Selecting previously unselected package libharfbuzz0b:armhf. Preparing to unpack .../055-libharfbuzz0b_1.4.2-1_armhf.deb ... Unpacking libharfbuzz0b:armhf (1.4.2-1) ... Selecting previously unselected package libass5:armhf. Preparing to unpack .../056-libass5_1%3a0.13.4-2_armhf.deb ... Unpacking libass5:armhf (1:0.13.4-2) ... Selecting previously unselected package libbluray1:armhf. Preparing to unpack .../057-libbluray1_1%3a0.9.3-4_armhf.deb ... Unpacking libbluray1:armhf (1:0.9.3-4) ... Selecting previously unselected package libchromaprint1:armhf. Preparing to unpack .../058-libchromaprint1_1.4.2-1_armhf.deb ... Unpacking libchromaprint1:armhf (1.4.2-1) ... Selecting previously unselected package libgme0:armhf. Preparing to unpack .../059-libgme0_0.6.0-4_armhf.deb ... Unpacking libgme0:armhf (0.6.0-4) ... Selecting previously unselected package libmpg123-0:armhf. Preparing to unpack .../060-libmpg123-0_1.23.8-1_armhf.deb ... Unpacking libmpg123-0:armhf (1.23.8-1) ... Selecting previously unselected package libvorbisfile3:armhf. Preparing to unpack .../061-libvorbisfile3_1.3.5-4+deb9u2_armhf.deb ... Unpacking libvorbisfile3:armhf (1.3.5-4+deb9u2) ... Selecting previously unselected package libopenmpt0:armhf. Preparing to unpack .../062-libopenmpt0_0.2.7386~beta20.3-3+deb9u3_armhf.deb ... Unpacking libopenmpt0:armhf (0.2.7386~beta20.3-3+deb9u3) ... Selecting previously unselected package libssh-gcrypt-4:armhf. Preparing to unpack .../063-libssh-gcrypt-4_0.7.3-2+deb9u1_armhf.deb ... Unpacking libssh-gcrypt-4:armhf (0.7.3-2+deb9u1) ... Selecting previously unselected package libavformat57:armhf. Preparing to unpack .../064-libavformat57_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavformat57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libavresample3:armhf. Preparing to unpack .../065-libavresample3_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavresample3:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libbs2b0:armhf. Preparing to unpack .../066-libbs2b0_3.1.0+dfsg-2.2_armhf.deb ... Unpacking libbs2b0:armhf (3.1.0+dfsg-2.2) ... Selecting previously unselected package libebur128-1:armhf. Preparing to unpack .../067-libebur128-1_1.2.2-2_armhf.deb ... Unpacking libebur128-1:armhf (1.2.2-2) ... Selecting previously unselected package libflite1:armhf. Preparing to unpack .../068-libflite1_2.0.0-release-3_armhf.deb ... Unpacking libflite1:armhf (2.0.0-release-3) ... Selecting previously unselected package libopencv-core2.4v5:armhf. Preparing to unpack .../069-libopencv-core2.4v5_2.4.9.1+dfsg1-2_armhf.deb ... Unpacking libopencv-core2.4v5:armhf (2.4.9.1+dfsg1-2) ... Selecting previously unselected package libopencv-imgproc2.4v5:armhf. Preparing to unpack .../070-libopencv-imgproc2.4v5_2.4.9.1+dfsg1-2_armhf.deb ... Unpacking libopencv-imgproc2.4v5:armhf (2.4.9.1+dfsg1-2) ... Selecting previously unselected package libpostproc54:armhf. Preparing to unpack .../071-libpostproc54_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libpostproc54:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package librubberband2:armhf. Preparing to unpack .../072-librubberband2_1.8.1-7_armhf.deb ... Unpacking librubberband2:armhf (1.8.1-7) ... Selecting previously unselected package libswscale4:armhf. Preparing to unpack .../073-libswscale4_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libswscale4:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libpgm-5.2-0:armhf. Preparing to unpack .../074-libpgm-5.2-0_5.2.122~dfsg-2_armhf.deb ... Unpacking libpgm-5.2-0:armhf (5.2.122~dfsg-2) ... Selecting previously unselected package libsodium18:armhf. Preparing to unpack .../075-libsodium18_1.0.11-2_armhf.deb ... Unpacking libsodium18:armhf (1.0.11-2) ... Selecting previously unselected package libzmq5:armhf. Preparing to unpack .../076-libzmq5_4.2.1-4_armhf.deb ... Unpacking libzmq5:armhf (4.2.1-4) ... Selecting previously unselected package libavfilter6:armhf. Preparing to unpack .../077-libavfilter6_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavfilter6:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package libcdio13:armhf. Preparing to unpack .../078-libcdio13_0.83-4.3_armhf.deb ... Unpacking libcdio13:armhf (0.83-4.3) ... Selecting previously unselected package libcdio-cdda1:armhf. Preparing to unpack .../079-libcdio-cdda1_0.83-4.3_armhf.deb ... Unpacking libcdio-cdda1:armhf (0.83-4.3) ... Selecting previously unselected package libcdio-paranoia1:armhf. Preparing to unpack .../080-libcdio-paranoia1_0.83-4.3_armhf.deb ... Unpacking libcdio-paranoia1:armhf (0.83-4.3) ... Selecting previously unselected package libdc1394-22:armhf. Preparing to unpack .../081-libdc1394-22_2.2.5-1_armhf.deb ... Unpacking libdc1394-22:armhf (2.2.5-1) ... Selecting previously unselected package libglapi-mesa:armhf. Preparing to unpack .../082-libglapi-mesa_13.0.6-1+rpi2_armhf.deb ... Unpacking libglapi-mesa:armhf (13.0.6-1+rpi2) ... Selecting previously unselected package libx11-xcb1:armhf. Preparing to unpack .../083-libx11-xcb1_2%3a1.6.4-3+deb9u1_armhf.deb ... Unpacking libx11-xcb1:armhf (2:1.6.4-3+deb9u1) ... Selecting previously unselected package libxcb-dri2-0:armhf. Preparing to unpack .../084-libxcb-dri2-0_1.12-1_armhf.deb ... Unpacking libxcb-dri2-0:armhf (1.12-1) ... Selecting previously unselected package libxcb-dri3-0:armhf. Preparing to unpack .../085-libxcb-dri3-0_1.12-1_armhf.deb ... Unpacking libxcb-dri3-0:armhf (1.12-1) ... Selecting previously unselected package libxcb-glx0:armhf. Preparing to unpack .../086-libxcb-glx0_1.12-1_armhf.deb ... Unpacking libxcb-glx0:armhf (1.12-1) ... Selecting previously unselected package libxcb-present0:armhf. Preparing to unpack .../087-libxcb-present0_1.12-1_armhf.deb ... Unpacking libxcb-present0:armhf (1.12-1) ... Selecting previously unselected package libxcb-sync1:armhf. Preparing to unpack .../088-libxcb-sync1_1.12-1_armhf.deb ... Unpacking libxcb-sync1:armhf (1.12-1) ... Selecting previously unselected package libxdamage1:armhf. Preparing to unpack .../089-libxdamage1_1%3a1.1.4-2+b1_armhf.deb ... Unpacking libxdamage1:armhf (1:1.1.4-2+b1) ... Selecting previously unselected package libxshmfence1:armhf. Preparing to unpack .../090-libxshmfence1_1.2-1_armhf.deb ... Unpacking libxshmfence1:armhf (1.2-1) ... Selecting previously unselected package libgl1-mesa-glx:armhf. Preparing to unpack .../091-libgl1-mesa-glx_13.0.6-1+rpi2_armhf.deb ... Unpacking libgl1-mesa-glx:armhf (13.0.6-1+rpi2) ... Selecting previously unselected package libiec61883-0:armhf. Preparing to unpack .../092-libiec61883-0_1.2.0-2_armhf.deb ... Unpacking libiec61883-0:armhf (1.2.0-2) ... Selecting previously unselected package libjack-jackd2-0:armhf. Preparing to unpack .../093-libjack-jackd2-0_1.9.10+20150825git1ed50c92~dfsg-5_armhf.deb ... Unpacking libjack-jackd2-0:armhf (1.9.10+20150825git1ed50c92~dfsg-5) ... Selecting previously unselected package libopenal-data. Preparing to unpack .../094-libopenal-data_1%3a1.17.2-4_all.deb ... Unpacking libopenal-data (1:1.17.2-4) ... Selecting previously unselected package libsndio6.1:armhf. Preparing to unpack .../095-libsndio6.1_1.1.0-3_armhf.deb ... Unpacking libsndio6.1:armhf (1.1.0-3) ... Selecting previously unselected package libopenal1:armhf. Preparing to unpack .../096-libopenal1_1%3a1.17.2-4_armhf.deb ... Unpacking libopenal1:armhf (1:1.17.2-4) ... Selecting previously unselected package libasyncns0:armhf. Preparing to unpack .../097-libasyncns0_0.8-6_armhf.deb ... Unpacking libasyncns0:armhf (0.8-6) ... Selecting previously unselected package libice6:armhf. Preparing to unpack .../098-libice6_2%3a1.0.9-2_armhf.deb ... Unpacking libice6:armhf (2:1.0.9-2) ... Selecting previously unselected package libsm6:armhf. Preparing to unpack .../099-libsm6_2%3a1.2.2-1+b1_armhf.deb ... Unpacking libsm6:armhf (2:1.2.2-1+b1) ... Selecting previously unselected package libflac8:armhf. Preparing to unpack .../100-libflac8_1.3.2-1_armhf.deb ... Unpacking libflac8:armhf (1.3.2-1) ... Selecting previously unselected package libsndfile1:armhf. Preparing to unpack .../101-libsndfile1_1.0.27-3_armhf.deb ... Unpacking libsndfile1:armhf (1.0.27-3) ... Selecting previously unselected package libxi6:armhf. Preparing to unpack .../102-libxi6_2%3a1.7.9-1_armhf.deb ... Unpacking libxi6:armhf (2:1.7.9-1) ... Selecting previously unselected package libxtst6:armhf. Preparing to unpack .../103-libxtst6_2%3a1.2.3-1_armhf.deb ... Unpacking libxtst6:armhf (2:1.2.3-1) ... Selecting previously unselected package libpulse0:armhf. Preparing to unpack .../104-libpulse0_10.0-1+deb9u1_armhf.deb ... Unpacking libpulse0:armhf (10.0-1+deb9u1) ... Selecting previously unselected package libwayland-client0:armhf. Preparing to unpack .../105-libwayland-client0_1.12.0-1_armhf.deb ... Unpacking libwayland-client0:armhf (1.12.0-1) ... Selecting previously unselected package libwayland-cursor0:armhf. Preparing to unpack .../106-libwayland-cursor0_1.12.0-1_armhf.deb ... Unpacking libwayland-cursor0:armhf (1.12.0-1) ... Selecting previously unselected package libwayland-server0:armhf. Preparing to unpack .../107-libwayland-server0_1.12.0-1_armhf.deb ... Unpacking libwayland-server0:armhf (1.12.0-1) ... Selecting previously unselected package libgbm1:armhf. Preparing to unpack .../108-libgbm1_13.0.6-1+rpi2_armhf.deb ... Unpacking libgbm1:armhf (13.0.6-1+rpi2) ... Selecting previously unselected package libxcb-xfixes0:armhf. Preparing to unpack .../109-libxcb-xfixes0_1.12-1_armhf.deb ... Unpacking libxcb-xfixes0:armhf (1.12-1) ... Selecting previously unselected package libegl1-mesa:armhf. Preparing to unpack .../110-libegl1-mesa_13.0.6-1+rpi2_armhf.deb ... Unpacking libegl1-mesa:armhf (13.0.6-1+rpi2) ... Selecting previously unselected package libwayland-egl1-mesa:armhf. Preparing to unpack .../111-libwayland-egl1-mesa_13.0.6-1+rpi2_armhf.deb ... Unpacking libwayland-egl1-mesa:armhf (13.0.6-1+rpi2) ... Selecting previously unselected package libxcursor1:armhf. Preparing to unpack .../112-libxcursor1_1%3a1.1.14-1+deb9u2_armhf.deb ... Unpacking libxcursor1:armhf (1:1.1.14-1+deb9u2) ... Selecting previously unselected package libxinerama1:armhf. Preparing to unpack .../113-libxinerama1_2%3a1.1.3-1+b1_armhf.deb ... Unpacking libxinerama1:armhf (2:1.1.3-1+b1) ... Selecting previously unselected package libxkbcommon0:armhf. Preparing to unpack .../114-libxkbcommon0_0.7.1-2~deb9u1_armhf.deb ... Unpacking libxkbcommon0:armhf (0.7.1-2~deb9u1) ... Selecting previously unselected package libxrandr2:armhf. Preparing to unpack .../115-libxrandr2_2%3a1.5.1-1_armhf.deb ... Unpacking libxrandr2:armhf (2:1.5.1-1) ... Selecting previously unselected package libsdl2-2.0-0:armhf. Preparing to unpack .../116-libsdl2-2.0-0_2.0.5+dfsg1-2_armhf.deb ... Unpacking libsdl2-2.0-0:armhf (2.0.5+dfsg1-2) ... Selecting previously unselected package libxcb-shape0:armhf. Preparing to unpack .../117-libxcb-shape0_1.12-1_armhf.deb ... Unpacking libxcb-shape0:armhf (1.12-1) ... Selecting previously unselected package libxv1:armhf. Preparing to unpack .../118-libxv1_2%3a1.0.11-1_armhf.deb ... Unpacking libxv1:armhf (2:1.0.11-1) ... Selecting previously unselected package libavdevice57:armhf. Preparing to unpack .../119-libavdevice57_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking libavdevice57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package ffmpeg. Preparing to unpack .../120-ffmpeg_7%3a3.2.10-1~deb9u1+rpt2_armhf.deb ... Unpacking ffmpeg (7:3.2.10-1~deb9u1+rpt2) ... Selecting previously unselected package hicolor-icon-theme. Preparing to unpack .../121-hicolor-icon-theme_0.15-1_all.deb ... Unpacking hicolor-icon-theme (0.15-1) ... Selecting previously unselected package imagemagick-6.q16. Preparing to unpack .../122-imagemagick-6.q16_8%3a6.9.7.4+dfsg-11+deb9u6_armhf.deb ... Unpacking imagemagick-6.q16 (8:6.9.7.4+dfsg-11+deb9u6) ... Selecting previously unselected package libv4l-dev:armhf. Preparing to unpack .../123-libv4l-dev_1.12.3-1_armhf.deb ... Unpacking libv4l-dev:armhf (1.12.3-1) ... Selecting previously unselected package imagemagick. Preparing to unpack .../124-imagemagick_8%3a6.9.7.4+dfsg-11+deb9u6_armhf.deb ... Unpacking imagemagick (8:6.9.7.4+dfsg-11+deb9u6) ... Selecting previously unselected package libav-tools. Preparing to unpack .../125-libav-tools_7%3a3.2.10-1~deb9u1+rpt2_all.deb ... Unpacking libav-tools (7:3.2.10-1~deb9u1+rpt2) ... Setting up libxi6:armhf (2:1.7.9-1) ... Setting up libpgm-5.2-0:armhf (5.2.122~dfsg-2) ... Setting up libxcb-present0:armhf (1.12-1) ... Setting up imagemagick-6-common (8:6.9.7.4+dfsg-11+deb9u6) ... Setting up libx265-95:armhf (2.1-2) ... Setting up libxinerama1:armhf (2:1.1.3-1+b1) ... Setting up libxcb-dri2-0:armhf (1.12-1) ... Setting up libxcb-dri3-0:armhf (1.12-1) ... Setting up libxcb-glx0:armhf (1.12-1) ... Setting up libtwolame0:armhf (0.3.13-2) ... Setting up libraw1394-11:armhf (2.1.2-1) ... Setting up libxcb-xfixes0:armhf (1.12-1) ... Setting up libxcb-render0:armhf (1.12-1) ... Setting up libopenjp2-7:armhf (2.1.2-1.1+deb9u2) ... Setting up libasyncns0:armhf (0.8-6) ... Setting up libcdio13:armhf (0.83-4.3) ... Setting up libx264-148:armhf (2:0.148.2748+git97eaef2-1+rpi1) ... Setting up libxfixes3:armhf (1:5.0.3-1) ... Processing triggers for mime-support (3.60) ... Setting up libebur128-1:armhf (1.2.2-2) ... Setting up libwavpack1:armhf (5.0.0-2+deb9u2) ... Setting up liblcms2-2:armhf (2.8-4+deb9u1) ... Setting up libjbig0:armhf (2.1-3.1) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up libflite1:armhf (2.0.0-release-3) ... Setting up libcdio-cdda1:armhf (0.83-4.3) ... Setting up libsoxr0:armhf (0.1.2-2) ... Setting up libssh-gcrypt-4:armhf (0.7.3-2+deb9u1) ... Setting up libxshmfence1:armhf (1.2-1) ... Setting up libwayland-client0:armhf (1.12.0-1) ... Setting up libvdpau1:armhf (1.1.1-6) ... Setting up libdc1394-22:armhf (2.2.5-1) ... Setting up libtiff5:armhf (4.0.8-2+deb9u4) ... Setting up libshine3:armhf (3.1.0-5) ... Setting up libopencv-core2.4v5:armhf (2.4.9.1+dfsg1-2) ... Setting up libiec61883-0:armhf (1.2.0-2) ... Setting up libglapi-mesa:armhf (13.0.6-1+rpi2) ... Setting up libspeex1:armhf (1.2~rc1.2-1) ... Processing triggers for sgml-base (1.29) ... Setting up libfftw3-double3:armhf (3.3.5-3) ... Setting up libxvidcore4:armhf (2:1.3.4-1) ... Setting up libvpx4:armhf (1.6.1-3+deb9u1) ... Setting up libopus0:armhf (1.2~alpha2-1) ... Setting up libva1:armhf (1.7.3-2) ... Setting up libopenal-data (1:1.17.2-4) ... Setting up libgraphite2-3:armhf (1.3.10-1) ... Setting up libbs2b0:armhf (3.1.0+dfsg-2.2) ... Setting up libxcb-sync1:armhf (1.12-1) ... Setting up libogg0:armhf (1.3.2-1) ... Setting up liblqr-1-0:armhf (0.4.2-2) ... Setting up libx11-xcb1:armhf (2:1.6.4-3+deb9u1) ... Setting up libpixman-1-0:armhf (0.34.0-1) ... Setting up libmp3lame0:armhf (3.99.5+repack1-9) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up librubberband2:armhf (1.8.1-7) ... Setting up libsnappy1v5:armhf (1.1.3-3) ... Processing triggers for systemd (232-25+deb9u6) ... Setting up libltdl7:armhf (2.4.6-2) ... Setting up libavc1394-0:armhf (0.5.4-4) ... Setting up libjack-jackd2-0:armhf (1.9.10+20150825git1ed50c92~dfsg-5) ... Setting up libzvbi-common (0.2.35-13) ... Setting up libfribidi0:armhf (0.19.7-1) ... Setting up libxcb-shm0:armhf (1.12-1) ... Setting up libxcb-shape0:armhf (1.12-1) ... Setting up libxrender1:armhf (1:0.9.10-1) ... Setting up libxv1:armhf (2:1.0.11-1) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libxkbcommon0:armhf (0.7.1-2~deb9u1) ... Setting up libv4l-dev:armhf (1.12.3-1) ... Setting up libcdio-paranoia1:armhf (0.83-4.3) ... Setting up libva-drm1:armhf (1.7.3-2) ... Setting up libgme0:armhf (0.6.0-4) ... Setting up libsodium18:armhf (1.0.11-2) ... Setting up libxxf86vm1:armhf (1:1.1.4-1) ... Setting up libzvbi0:armhf (0.2.35-13) ... Setting up libcaca0:armhf (0.99.beta19-2) ... Setting up libsndio6.1:armhf (1.1.0-3) ... Setting up libvorbis0a:armhf (1.3.5-4+deb9u2) ... Setting up x11-common (1:7.7+19) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up libmpg123-0:armhf (1.23.8-1) ... Setting up hicolor-icon-theme (0.15-1) ... Setting up libwayland-cursor0:armhf (1.12.0-1) ... Setting up libopencv-imgproc2.4v5:armhf (2.4.9.1+dfsg1-2) ... Setting up libgsm1:armhf (1.0.13-4) ... Setting up libxrandr2:armhf (2:1.5.1-1) ... Setting up libva-x11-1:armhf (1.7.3-2) ... Setting up libwayland-server0:armhf (1.12.0-1) ... Setting up libwebp6:armhf (0.5.2-1) ... Setting up libvorbisfile3:armhf (1.3.5-4+deb9u2) ... Setting up fontconfig-config (2.11.0-6.7) ... Setting up libzmq5:armhf (4.2.1-4) ... Setting up libxdamage1:armhf (1:1.1.4-2+b1) ... Setting up libavutil55:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libopenmpt0:armhf (0.2.7386~beta20.3-3+deb9u3) ... Setting up libxss1:armhf (1:1.2.2-1) ... Setting up libgbm1:armhf (13.0.6-1+rpi2) ... Setting up libflac8:armhf (1.3.2-1) ... Setting up libwebpmux2:armhf (0.5.2-1) ... Setting up libharfbuzz0b:armhf (1.4.2-1) ... Setting up libswresample2:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libxtst6:armhf (2:1.2.3-1) ... Setting up libxcursor1:armhf (1:1.1.14-1+deb9u2) ... Setting up libgl1-mesa-glx:armhf (13.0.6-1+rpi2) ... Setting up libswscale4:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libpostproc54:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libice6:armhf (2:1.0.9-2) ... Setting up libopenal1:armhf (1:1.17.2-4) ... Setting up libvorbisenc2:armhf (1.3.5-4+deb9u2) ... Setting up libegl1-mesa:armhf (13.0.6-1+rpi2) ... Setting up libfontconfig1:armhf (2.11.0-6.7) ... Setting up libsm6:armhf (2:1.2.2-1+b1) ... Setting up libmagickcore-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u6) ... Setting up libavresample3:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libass5:armhf (1:0.13.4-2) ... Setting up libsndfile1:armhf (1.0.27-3) ... Setting up libbluray1:armhf (1:0.9.3-4) ... Setting up libwayland-egl1-mesa:armhf (13.0.6-1+rpi2) ... Setting up libmagickwand-6.q16-3:armhf (8:6.9.7.4+dfsg-11+deb9u6) ... Setting up libcairo2:armhf (1.14.8-1+rpi1) ... Setting up imagemagick-6.q16 (8:6.9.7.4+dfsg-11+deb9u6) ... update-alternatives: using /usr/bin/compare-im6.q16 to provide /usr/bin/compare (compare) in auto mode update-alternatives: using /usr/bin/compare-im6.q16 to provide /usr/bin/compare-im6 (compare-im6) in auto mode update-alternatives: using /usr/bin/animate-im6.q16 to provide /usr/bin/animate (animate) in auto mode update-alternatives: using /usr/bin/animate-im6.q16 to provide /usr/bin/animate-im6 (animate-im6) in auto mode update-alternatives: using /usr/bin/convert-im6.q16 to provide /usr/bin/convert (convert) in auto mode update-alternatives: using /usr/bin/convert-im6.q16 to provide /usr/bin/convert-im6 (convert-im6) in auto mode update-alternatives: using /usr/bin/composite-im6.q16 to provide /usr/bin/composite (composite) in auto mode update-alternatives: using /usr/bin/composite-im6.q16 to provide /usr/bin/composite-im6 (composite-im6) in auto mode update-alternatives: using /usr/bin/conjure-im6.q16 to provide /usr/bin/conjure (conjure) in auto mode update-alternatives: using /usr/bin/conjure-im6.q16 to provide /usr/bin/conjure-im6 (conjure-im6) in auto mode update-alternatives: using /usr/bin/import-im6.q16 to provide /usr/bin/import (import) in auto mode update-alternatives: using /usr/bin/import-im6.q16 to provide /usr/bin/import-im6 (import-im6) in auto mode update-alternatives: using /usr/bin/identify-im6.q16 to provide /usr/bin/identify (identify) in auto mode update-alternatives: using /usr/bin/identify-im6.q16 to provide /usr/bin/identify-im6 (identify-im6) in auto mode update-alternatives: using /usr/bin/stream-im6.q16 to provide /usr/bin/stream (stream) in auto mode update-alternatives: using /usr/bin/stream-im6.q16 to provide /usr/bin/stream-im6 (stream-im6) in auto mode update-alternatives: using /usr/bin/display-im6.q16 to provide /usr/bin/display (display) in auto mode update-alternatives: using /usr/bin/display-im6.q16 to provide /usr/bin/display-im6 (display-im6) in auto mode update-alternatives: using /usr/bin/montage-im6.q16 to provide /usr/bin/montage (montage) in auto mode update-alternatives: using /usr/bin/montage-im6.q16 to provide /usr/bin/montage-im6 (montage-im6) in auto mode update-alternatives: using /usr/bin/mogrify-im6.q16 to provide /usr/bin/mogrify (mogrify) in auto mode update-alternatives: using /usr/bin/mogrify-im6.q16 to provide /usr/bin/mogrify-im6 (mogrify-im6) in auto mode Setting up libpulse0:armhf (10.0-1+deb9u1) ... Setting up libsdl2-2.0-0:armhf (2.0.5+dfsg1-2) ... Setting up imagemagick (8:6.9.7.4+dfsg-11+deb9u6) ... Setting up libtheora0:armhf (1.1.1+dfsg.1-14) ... Setting up libavcodec57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libchromaprint1:armhf (1.4.2-1) ... Setting up libavformat57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libavfilter6:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up libavdevice57:armhf (7:3.2.10-1~deb9u1+rpt2) ... Setting up ffmpeg (7:3.2.10-1~deb9u1+rpt2) ... Setting up libav-tools (7:3.2.10-1~deb9u1+rpt2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... W: --force-yes is deprecated, use one of the options starting with --allow instead. + gitclone OCTOPI_MJPGSTREAMER_REPO mjpg-streamer + repo_build_var=OCTOPI_MJPGSTREAMER_REPO_BUILD + repo_ship_var=OCTOPI_MJPGSTREAMER_REPO_SHIP + repo_branch_var=OCTOPI_MJPGSTREAMER_REPO_BRANCH + repo_depth_var=OCTOPI_MJPGSTREAMER_REPO_DEPTH + repo_dir=mjpg-streamer + '[' '!' -n mjpg-streamer ']' + repo_depth=1 + '[' -n 1 ']' + depth=1 + build_repo= + ship_repo=https://github.com/jacksonliam/mjpg-streamer.git + branch=master + '[' '!' -n '' ']' + build_repo=https://github.com/jacksonliam/mjpg-streamer.git + clone_params= + '[' -n master ']' + clone_params='-b master' + '[' -n 1 ']' + clone_params='-b master --depth 1' + sudo -u pi git clone -b master --depth 1 https://github.com/jacksonliam/mjpg-streamer.git mjpg-streamer Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Cloning into 'mjpg-streamer'... + '[' https://github.com/jacksonliam/mjpg-streamer.git '!=' https://github.com/jacksonliam/mjpg-streamer.git ']' + pushd mjpg-streamer /home/pi/mjpg-streamer /home/pi / + mv mjpg-streamer-experimental/CMakeLists.txt mjpg-streamer-experimental/Dockerfile mjpg-streamer-experimental/LICENSE mjpg-streamer-experimental/Makefile mjpg-streamer-experimental/README.md mjpg-streamer-experimental/TODO mjpg-streamer-experimental/cmake mjpg-streamer-experimental/docker-start.sh mjpg-streamer-experimental/makedeb.sh mjpg-streamer-experimental/mjpg_streamer.c mjpg-streamer-experimental/mjpg_streamer.h mjpg-streamer-experimental/mjpg_streamer@.service mjpg-streamer-experimental/plugins mjpg-streamer-experimental/postinstall.sh mjpg-streamer-experimental/scripts mjpg-streamer-experimental/start.sh mjpg-streamer-experimental/utils.c mjpg-streamer-experimental/utils.h mjpg-streamer-experimental/www . + sudo -u pi make Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd [ -d _build ] || mkdir _build [ -f _build/Makefile ] || (cd _build && cmake -DCMAKE_BUILD_TYPE=Release ..) -- The C compiler identification is GNU 6.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMAKE_BUILD_TYPE = Release -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found CMake Warning at plugins/input_opencv/CMakeLists.txt:4 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCV", but CMake did not find one. Could not find a package configuration file provided by "OpenCV" with any of the following names: OpenCVConfig.cmake opencv-config.cmake Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" provides a separate development package or SDK, be sure it has been installed. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29") -- Checking for module 'libgphoto2' -- No package 'libgphoto2' found -- Could NOT find GPHOTO2 (missing: GPHOTO2_LIBRARY GPHOTO2_INCLUDE_DIR) -- Looking for include file linux/videodev2.h -- Looking for include file linux/videodev2.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR) -- Could NOT find protobuf-c (missing: PROTOBUF_C_LIBRARY PROTOBUF_C_INCLUDE_DIR) -- -- The following features have been enabled: * PLUGIN_INPUT_FILE , File input plugin * PLUGIN_INPUT_HTTP , HTTP input proxy plugin * PLUGIN_INPUT_RASPICAM , Raspberry Pi input camera plugin * PLUGIN_INPUT_UVC , Video 4 Linux input plugin * PLUGIN_OUTPUT_FILE , File output plugin * PLUGIN_OUTPUT_HTTP , HTTP server output plugin * PLUGIN_OUTPUT_RTSP , RTSP output plugin * PLUGIN_OUTPUT_UDP , UDP output stream plugin -- The following OPTIONAL packages have been found: * Threads -- The following features have been disabled: * WXP_COMPAT , Enable compatibility with WebcamXP * PLUGIN_INPUT_OPENCV , OpenCV input plugin (unmet dependencies) * PLUGIN_INPUT_PTP2 , PTP2 input plugin (unmet dependencies) * ENABLE_HTTP_MANAGEMENT , Enable experimental HTTP management option * PLUGIN_OUTPUT_VIEWER , SDL output viewer plugin (unmet dependencies) * PLUGIN_OUTPUT_ZMQSERVER , ZMQ Server output plugin (unmet dependencies) -- The following OPTIONAL packages have not been found: * OpenCV * Gphoto2 * SDL -- Configuring done -- Generating done -- Build files have been written to: /home/pi/mjpg-streamer/_build make -C _build make[1]: Entering directory '/home/pi/mjpg-streamer/_build' make[2]: Entering directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target mjpg_streamer make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 4%] Building C object CMakeFiles/mjpg_streamer.dir/mjpg_streamer.c.o [ 8%] Building C object CMakeFiles/mjpg_streamer.dir/utils.c.o [ 12%] Linking C executable mjpg_streamer make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 12%] Built target mjpg_streamer make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target input_file make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 16%] Building C object plugins/input_file/CMakeFiles/input_file.dir/input_file.c.o [ 20%] Linking C shared library input_file.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 20%] Built target input_file make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target input_http make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 24%] Building C object plugins/input_http/CMakeFiles/input_http.dir/input_http.c.o [ 28%] Building C object plugins/input_http/CMakeFiles/input_http.dir/misc.c.o [ 32%] Building C object plugins/input_http/CMakeFiles/input_http.dir/mjpg-proxy.c.o [ 36%] Linking C shared library input_http.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 36%] Built target input_http make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target input_raspicam make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 40%] Building C object plugins/input_raspicam/CMakeFiles/input_raspicam.dir/input_raspicam.c.o In file included from /home/pi/mjpg-streamer/plugins/input_raspicam/input_raspicam.c:51:0: /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c: In function 'raspicamcontrol_set_saturation': /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c:762:32: warning: implicit declaration of function 'mmal_port_parameter_set_rational' [-Wimplicit-function-declaration] ret = mmal_status_to_int(mmal_port_parameter_set_rational(camera->control, MMAL_PARAMETER_SATURATION, value)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c: In function 'raspicamcontrol_set_ISO': /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c:864:30: warning: implicit declaration of function 'mmal_port_parameter_set_uint32' [-Wimplicit-function-declaration] return mmal_status_to_int(mmal_port_parameter_set_uint32(camera->control, MMAL_PARAMETER_ISO, ISO)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c: In function 'raspicamcontrol_set_video_stabilisation': /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c:899:30: warning: implicit declaration of function 'mmal_port_parameter_set_boolean' [-Wimplicit-function-declaration] return mmal_status_to_int(mmal_port_parameter_set_boolean(camera->control, MMAL_PARAMETER_VIDEO_STABILISATION, vstabilisation)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c: In function 'raspicamcontrol_set_exposure_compensation': /home/pi/mjpg-streamer/plugins/input_raspicam/RaspiCamControl.c:913:30: warning: implicit declaration of function 'mmal_port_parameter_set_int32' [-Wimplicit-function-declaration] return mmal_status_to_int(mmal_port_parameter_set_int32(camera->control, MMAL_PARAMETER_EXPOSURE_COMP , exp_comp)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/mjpg-streamer/plugins/input_raspicam/input_raspicam.c: In function 'worker_thread': /home/pi/mjpg-streamer/plugins/input_raspicam/input_raspicam.c:885:10: warning: implicit declaration of function 'mmal_port_pool_create' [-Wimplicit-function-declaration] pool = mmal_port_pool_create(encoder_output, encoder_output->buffer_num, encoder_output->buffer_size); ^~~~~~~~~~~~~~~~~~~~~ /home/pi/mjpg-streamer/plugins/input_raspicam/input_raspicam.c:885:8: warning: assignment makes pointer from integer without a cast [-Wint-conversion] pool = mmal_port_pool_create(encoder_output, encoder_output->buffer_num, encoder_output->buffer_size); ^ /home/pi/mjpg-streamer/plugins/input_raspicam/input_raspicam.c:1057:5: warning: implicit declaration of function 'mmal_port_pool_destroy' [-Wimplicit-function-declaration] mmal_port_pool_destroy(encoder->output[0], pool); ^~~~~~~~~~~~~~~~~~~~~~ [ 44%] Linking C shared library input_raspicam.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 44%] Built target input_raspicam make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target input_uvc make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 48%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/dynctrl.c.o [ 52%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/input_uvc.c.o [ 56%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/jpeg_utils.c.o [ 60%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/v4l2uvc.c.o [ 64%] Linking C shared library input_uvc.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 64%] Built target input_uvc make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target output_file make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 68%] Building C object plugins/output_file/CMakeFiles/output_file.dir/output_file.c.o [ 72%] Linking C shared library output_file.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 72%] Built target output_file make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target output_http make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 76%] Building C object plugins/output_http/CMakeFiles/output_http.dir/httpd.c.o [ 80%] Building C object plugins/output_http/CMakeFiles/output_http.dir/output_http.c.o [ 84%] Linking C shared library output_http.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 84%] Built target output_http make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target output_rtsp make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 88%] Building C object plugins/output_rtsp/CMakeFiles/output_rtsp.dir/output_rtsp.c.o [ 92%] Linking C shared library output_rtsp.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [ 92%] Built target output_rtsp make[3]: Entering directory '/home/pi/mjpg-streamer/_build' Scanning dependencies of target output_udp make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' make[3]: Entering directory '/home/pi/mjpg-streamer/_build' [ 96%] Building C object plugins/output_udp/CMakeFiles/output_udp.dir/output_udp.c.o [100%] Linking C shared library output_udp.so make[3]: Leaving directory '/home/pi/mjpg-streamer/_build' [100%] Built target output_udp make[2]: Leaving directory '/home/pi/mjpg-streamer/_build' make[1]: Leaving directory '/home/pi/mjpg-streamer/_build' + sudo -u pi mkdir www-octopi Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd + pushd www-octopi /home/pi/mjpg-streamer/www-octopi /home/pi/mjpg-streamer /home/pi / + cat + popd /home/pi/mjpg-streamer /home/pi / + popd /home/pi / + '[' yes == yes ']' + echo '--- Installing CuraEngine' --- Installing CuraEngine + folder=CuraEngine-15.04.6 + zipfile=CuraEngine-15.04.6.zip + apt-get -y install gcc-4.9 g++-4.9 Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: cpp-4.9 libasan1 libgcc-4.9-dev libstdc++-4.9-dev Suggested packages: gcc-4.9-locales gcc-4.9-doc libstdc++6-4.9-dbg libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg libstdc++-4.9-doc The following NEW packages will be installed: cpp-4.9 g++-4.9 gcc-4.9 libasan1 libgcc-4.9-dev libstdc++-4.9-dev 0 upgraded, 6 newly installed, 0 to remove and 11 not upgraded. Need to get 21.7 MB of archives. After this operation, 64.3 MB of additional disk space will be used. Get:1 http://raspbian.phirephly.design/raspbian stretch/main armhf cpp-4.9 armhf 4.9.3-14 [4089 kB] Get:2 http://raspbian.phirephly.design/raspbian stretch/main armhf libasan1 armhf 4.9.3-14 [164 kB] Get:3 http://raspbian.phirephly.design/raspbian stretch/main armhf libgcc-4.9-dev armhf 4.9.3-14 [356 kB] Get:4 http://raspbian.phirephly.design/raspbian stretch/main armhf gcc-4.9 armhf 4.9.3-14 [4293 kB] Get:5 http://raspbian.phirephly.design/raspbian stretch/main armhf libstdc++-4.9-dev armhf 4.9.3-14 [1127 kB] Get:6 http://raspbian.phirephly.design/raspbian stretch/main armhf g++-4.9 armhf 4.9.3-14 [11.7 MB] Fetched 21.7 MB in 13s (1643 kB/s) Selecting previously unselected package cpp-4.9. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 43313 files and directories currently installed.) Preparing to unpack .../0-cpp-4.9_4.9.3-14_armhf.deb ... Unpacking cpp-4.9 (4.9.3-14) ... Selecting previously unselected package libasan1:armhf. Preparing to unpack .../1-libasan1_4.9.3-14_armhf.deb ... Unpacking libasan1:armhf (4.9.3-14) ... Selecting previously unselected package libgcc-4.9-dev:armhf. Preparing to unpack .../2-libgcc-4.9-dev_4.9.3-14_armhf.deb ... Unpacking libgcc-4.9-dev:armhf (4.9.3-14) ... Selecting previously unselected package gcc-4.9. Preparing to unpack .../3-gcc-4.9_4.9.3-14_armhf.deb ... Unpacking gcc-4.9 (4.9.3-14) ... Selecting previously unselected package libstdc++-4.9-dev:armhf. Preparing to unpack .../4-libstdc++-4.9-dev_4.9.3-14_armhf.deb ... Unpacking libstdc++-4.9-dev:armhf (4.9.3-14) ... Selecting previously unselected package g++-4.9. Preparing to unpack .../5-g++-4.9_4.9.3-14_armhf.deb ... Unpacking g++-4.9 (4.9.3-14) ... Setting up cpp-4.9 (4.9.3-14) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libasan1:armhf (4.9.3-14) ... Setting up libgcc-4.9-dev:armhf (4.9.3-14) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libstdc++-4.9-dev:armhf (4.9.3-14) ... Setting up gcc-4.9 (4.9.3-14) ... Setting up g++-4.9 (4.9.3-14) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... + sudo -u pi wget -OCuraEngine-15.04.6.zip https://github.com/Ultimaker/CuraEngine/archive/15.04.6.zip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd --2018-12-09 04:49:14-- https://github.com/Ultimaker/CuraEngine/archive/15.04.6.zip Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/Ultimaker/CuraEngine/zip/15.04.6 [following] --2018-12-09 04:49:15-- https://codeload.github.com/Ultimaker/CuraEngine/zip/15.04.6 Resolving codeload.github.com (codeload.github.com)... 192.30.255.120, 192.30.255.121 Connecting to codeload.github.com (codeload.github.com)|192.30.255.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: 'CuraEngine-15.04.6.zip' 0K .......... .......... .......... .......... .......... 477K 50K .......... .......... .......... .......... .......... 758K 100K .......... .......... ....... 842K=0.2s 2018-12-09 04:49:16 (626 KB/s) - 'CuraEngine-15.04.6.zip' saved [130140] + sudo -u pi unzip CuraEngine-15.04.6.zip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd Archive: CuraEngine-15.04.6.zip aca2c17ebaf5722137568bc8aeadd2be001a7a34 creating: CuraEngine-15.04.6/ inflating: CuraEngine-15.04.6/.gitignore inflating: CuraEngine-15.04.6/LICENSE inflating: CuraEngine-15.04.6/Makefile inflating: CuraEngine-15.04.6/README.md creating: CuraEngine-15.04.6/libs/ inflating: CuraEngine-15.04.6/libs/DO_NOT_CHANGE_THESE creating: CuraEngine-15.04.6/libs/clipper/ inflating: CuraEngine-15.04.6/libs/clipper/License.txt inflating: CuraEngine-15.04.6/libs/clipper/README inflating: CuraEngine-15.04.6/libs/clipper/clipper.cpp inflating: CuraEngine-15.04.6/libs/clipper/clipper.hpp creating: CuraEngine-15.04.6/src/ inflating: CuraEngine-15.04.6/src/bridge.cpp inflating: CuraEngine-15.04.6/src/bridge.h inflating: CuraEngine-15.04.6/src/comb.cpp inflating: CuraEngine-15.04.6/src/comb.h inflating: CuraEngine-15.04.6/src/fffProcessor.h inflating: CuraEngine-15.04.6/src/gcodeExport.cpp inflating: CuraEngine-15.04.6/src/gcodeExport.h inflating: CuraEngine-15.04.6/src/infill.cpp inflating: CuraEngine-15.04.6/src/infill.h inflating: CuraEngine-15.04.6/src/inset.cpp inflating: CuraEngine-15.04.6/src/inset.h inflating: CuraEngine-15.04.6/src/layerPart.cpp inflating: CuraEngine-15.04.6/src/layerPart.h inflating: CuraEngine-15.04.6/src/main.cpp creating: CuraEngine-15.04.6/src/modelFile/ inflating: CuraEngine-15.04.6/src/modelFile/modelFile.cpp inflating: CuraEngine-15.04.6/src/modelFile/modelFile.h inflating: CuraEngine-15.04.6/src/multiVolumes.h inflating: CuraEngine-15.04.6/src/optimizedModel.cpp inflating: CuraEngine-15.04.6/src/optimizedModel.h inflating: CuraEngine-15.04.6/src/pathOrderOptimizer.cpp inflating: CuraEngine-15.04.6/src/pathOrderOptimizer.h inflating: CuraEngine-15.04.6/src/polygonOptimizer.cpp inflating: CuraEngine-15.04.6/src/polygonOptimizer.h inflating: CuraEngine-15.04.6/src/raft.cpp inflating: CuraEngine-15.04.6/src/raft.h inflating: CuraEngine-15.04.6/src/settings.cpp inflating: CuraEngine-15.04.6/src/settings.h inflating: CuraEngine-15.04.6/src/skin.cpp inflating: CuraEngine-15.04.6/src/skin.h inflating: CuraEngine-15.04.6/src/skirt.cpp inflating: CuraEngine-15.04.6/src/skirt.h inflating: CuraEngine-15.04.6/src/sliceDataStorage.h inflating: CuraEngine-15.04.6/src/slicer.cpp inflating: CuraEngine-15.04.6/src/slicer.h inflating: CuraEngine-15.04.6/src/support.cpp inflating: CuraEngine-15.04.6/src/support.h inflating: CuraEngine-15.04.6/src/timeEstimate.cpp inflating: CuraEngine-15.04.6/src/timeEstimate.h creating: CuraEngine-15.04.6/src/utils/ inflating: CuraEngine-15.04.6/src/utils/floatpoint.h inflating: CuraEngine-15.04.6/src/utils/gettime.cpp inflating: CuraEngine-15.04.6/src/utils/gettime.h inflating: CuraEngine-15.04.6/src/utils/intpoint.h inflating: CuraEngine-15.04.6/src/utils/logoutput.cpp inflating: CuraEngine-15.04.6/src/utils/logoutput.h inflating: CuraEngine-15.04.6/src/utils/polygon.h extracting: CuraEngine-15.04.6/src/utils/polygondebug.h inflating: CuraEngine-15.04.6/src/utils/socket.cpp inflating: CuraEngine-15.04.6/src/utils/socket.h inflating: CuraEngine-15.04.6/src/utils/string.h creating: CuraEngine-15.04.6/tests/ inflating: CuraEngine-15.04.6/tests/runtest.py inflating: CuraEngine-15.04.6/tests/testModel.stl + pushd CuraEngine-15.04.6 /home/pi/CuraEngine-15.04.6 /home/pi / + sudo -u pi make CXX=g++-4.9 VERSION=15.04.6 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/bridge.cpp -o build/bridge.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/comb.cpp -o build/comb.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/gcodeExport.cpp -o build/gcodeExport.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/infill.cpp -o build/infill.o src/infill.cpp: In function 'int cura::compare_int64_t(const void*, const void*)': src/infill.cpp:47:29: warning: use of old-style cast [-Wold-style-cast] int64_t n = (*(int64_t*)a) - (*(int64_t*)b); ^ src/infill.cpp:47:46: warning: use of old-style cast [-Wold-style-cast] int64_t n = (*(int64_t*)a) - (*(int64_t*)b); ^ g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/inset.cpp -o build/inset.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/layerPart.cpp -o build/layerPart.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/main.cpp -o build/main.o In file included from src/main.cpp:35:0: src/fffProcessor.h: In member function 'bool cura::fffProcessor::prepareModel(cura::SliceDataStorage&, const std::vector >&)': src/fffProcessor.h:166:94: warning: use of old-style cast [-Wold-style-cast] cura::log(" Face counts: %i -> %i %0.1f%%\n", (int)model->volumes[v].faces.size(), (int)optimizedModel->volumes[v].faces.size(), float(optimizedModel->volumes[v].faces.size()) / float(model->volumes[v].faces.size()) * 100); ^ src/fffProcessor.h:166:140: warning: use of old-style cast [-Wold-style-cast] cura::log(" Face counts: %i -> %i %0.1f%%\n", (int)model->volumes[v].faces.size(), (int)optimizedModel->volumes[v].faces.size(), float(optimizedModel->volumes[v].faces.size()) / float(model->volumes[v].faces.size()) * 100); ^ src/fffProcessor.h:167:96: warning: use of old-style cast [-Wold-style-cast] cura::log(" Vertex counts: %i -> %i %0.1f%%\n", (int)model->volumes[v].faces.size() * 3, (int)optimizedModel->volumes[v].points.size(), float(optimizedModel->volumes[v].points.size()) / float(model->volumes[v].faces.size() * 3) * 100); ^ src/fffProcessor.h:167:147: warning: use of old-style cast [-Wold-style-cast] cura::log(" Vertex counts: %i -> %i %0.1f%%\n", (int)model->volumes[v].faces.size() * 3, (int)optimizedModel->volumes[v].points.size(), float(optimizedModel->volumes[v].points.size()) / float(model->volumes[v].faces.size() * 3) * 100); ^ In file included from src/main.cpp:35:0: src/fffProcessor.h: At global scope: src/fffProcessor.h:651:79: warning: unused parameter 'layerNr' [-Wunused-parameter] void addInfillToGCode(SliceLayerPart* part, GCodePlanner& gcodeLayer, int layerNr, int extrusionWidth, int fillAngle) ^ g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/optimizedModel.cpp -o build/optimizedModel.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/pathOrderOptimizer.cpp -o build/pathOrderOptimizer.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/polygonOptimizer.cpp -o build/polygonOptimizer.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/raft.cpp -o build/raft.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/settings.cpp -o build/settings.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/skin.cpp -o build/skin.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/skirt.cpp -o build/skirt.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/slicer.cpp -o build/slicer.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/support.cpp -o build/support.o src/support.cpp: In function 'int cura::cmp_SupportPoint(const void*, const void*)': src/support.cpp:15:28: warning: use of old-style cast [-Wold-style-cast] return ((SupportPoint*)a)->z - ((SupportPoint*)b)->z; ^ src/support.cpp:15:52: warning: use of old-style cast [-Wold-style-cast] return ((SupportPoint*)a)->z - ((SupportPoint*)b)->z; ^ g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/timeEstimate.cpp -o build/timeEstimate.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/modelFile/modelFile.cpp -o build/modelFile/modelFile.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/utils/gettime.cpp -o build/utils/gettime.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/utils/logoutput.cpp -o build/utils/logoutput.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto src/utils/socket.cpp -o build/utils/socket.o g++-4.9 -c -Wall -Wextra -Wold-style-cast -Woverloaded-virtual -std=c++11 -DVERSION=\"15.04.6\" -isystem libs -O3 -fomit-frame-pointer -flto -o build/libclipper.a libs/clipper/clipper.cpp In file included from libs/clipper/clipper.cpp:41:0: libs/clipper/clipper.hpp: In constructor 'ClipperLib::DoublePoint::DoublePoint(ClipperLib::IntPoint)': libs/clipper/clipper.hpp:115:43: warning: use of old-style cast [-Wold-style-cast] DoublePoint(IntPoint ip) : X((double)ip.X), Y((double)ip.Y) {} ^ libs/clipper/clipper.hpp:115:60: warning: use of old-style cast [-Wold-style-cast] DoublePoint(IntPoint ip) : X((double)ip.X), Y((double)ip.Y) {} ^ libs/clipper/clipper.cpp: In member function 'int ClipperLib::PolyTree::Total() const': libs/clipper/clipper.cpp:173:29: warning: use of old-style cast [-Wold-style-cast] return (int)AllNodes.size(); ^ libs/clipper/clipper.cpp: In member function 'int ClipperLib::PolyNode::ChildCount() const': libs/clipper/clipper.cpp:187:27: warning: use of old-style cast [-Wold-style-cast] return (int)Childs.size(); ^ libs/clipper/clipper.cpp: In member function 'void ClipperLib::PolyNode::AddChild(ClipperLib::PolyNode&)': libs/clipper/clipper.cpp:193:40: warning: use of old-style cast [-Wold-style-cast] unsigned cnt = (unsigned)Childs.size(); ^ libs/clipper/clipper.cpp: In constructor 'ClipperLib::Int128::Int128(ClipperLib::cInt)': libs/clipper/clipper.cpp:258:19: warning: use of old-style cast [-Wold-style-cast] lo = (cUInt)_lo; ^ libs/clipper/clipper.cpp: In member function 'ClipperLib::Int128& ClipperLib::Int128::operator=(const cInt&)': libs/clipper/clipper.cpp:269:21: warning: use of old-style cast [-Wold-style-cast] lo = (ulong64)val; ^ libs/clipper/clipper.cpp: In member function 'ClipperLib::Int128 ClipperLib::Int128::operator/(const ClipperLib::Int128&) const': libs/clipper/clipper.cpp:356:33: warning: use of old-style cast [-Wold-style-cast] if ((cInt)divisor.lo < 0) divisor.hi++; ^ libs/clipper/clipper.cpp:360:30: warning: use of old-style cast [-Wold-style-cast] if ((cInt)cntr.lo < 0) cntr.hi++; ^ libs/clipper/clipper.cpp:366:41: warning: use of old-style cast [-Wold-style-cast] divisor.hi = (ulong64)divisor.hi >> 1; ^ libs/clipper/clipper.cpp: In member function 'double ClipperLib::Int128::AsDouble() const': libs/clipper/clipper.cpp:406:38: warning: use of old-style cast [-Wold-style-cast] if (lo_ == 0) return (double)hi * shift64; ^ libs/clipper/clipper.cpp:407:50: warning: use of old-style cast [-Wold-style-cast] else return -(double)(lo_ + ~hi * shift64); ^ libs/clipper/clipper.cpp:410:42: warning: use of old-style cast [-Wold-style-cast] return (double)(lo + hi * shift64); ^ libs/clipper/clipper.cpp: In function 'double ClipperLib::Area(const Path&)': libs/clipper/clipper.cpp:455:29: warning: use of old-style cast [-Wold-style-cast] int size = (int)poly.size(); ^ libs/clipper/clipper.cpp:461:27: warning: use of old-style cast [-Wold-style-cast] a += ((double)poly[j].X + poly[i].X) * ((double)poly[j].Y - poly[i].Y); ^ libs/clipper/clipper.cpp:461:61: warning: use of old-style cast [-Wold-style-cast] a += ((double)poly[j].X + poly[i].X) * ((double)poly[j].Y - poly[i].Y); ^ libs/clipper/clipper.cpp: In function 'double ClipperLib::Area(const ClipperLib::OutRec&)': libs/clipper/clipper.cpp:474:45: warning: use of old-style cast [-Wold-style-cast] a += (double)(op->Prev->Pt.X + op->Pt.X) * (double)(op->Prev->Pt.Y - op->Pt.Y); ^ libs/clipper/clipper.cpp:474:83: warning: use of old-style cast [-Wold-style-cast] a += (double)(op->Prev->Pt.X + op->Pt.X) * (double)(op->Prev->Pt.Y - op->Pt.Y); ^ libs/clipper/clipper.cpp: In function 'int ClipperLib::PointInPolygon(const ClipperLib::IntPoint&, const Path&)': libs/clipper/clipper.cpp:517:42: warning: use of old-style cast [-Wold-style-cast] double d = (double)(ip.X - pt.X) * (ipNext.Y - pt.Y) - ^ libs/clipper/clipper.cpp:518:37: warning: use of old-style cast [-Wold-style-cast] (double)(ipNext.X - pt.X) * (ip.Y - pt.Y); ^ libs/clipper/clipper.cpp:526:42: warning: use of old-style cast [-Wold-style-cast] double d = (double)(ip.X - pt.X) * (ipNext.Y - pt.Y) - ^ libs/clipper/clipper.cpp:527:37: warning: use of old-style cast [-Wold-style-cast] (double)(ipNext.X - pt.X) * (ip.Y - pt.Y); ^ libs/clipper/clipper.cpp: In function 'int ClipperLib::PointInPolygon(const ClipperLib::IntPoint&, ClipperLib::OutPt*)': libs/clipper/clipper.cpp:559:46: warning: use of old-style cast [-Wold-style-cast] double d = (double)(op->Pt.X - pt.X) * (op->Next->Pt.Y - pt.Y) - ^ libs/clipper/clipper.cpp:560:43: warning: use of old-style cast [-Wold-style-cast] (double)(op->Next->Pt.X - pt.X) * (op->Pt.Y - pt.Y); ^ libs/clipper/clipper.cpp:568:46: warning: use of old-style cast [-Wold-style-cast] double d = (double)(op->Pt.X - pt.X) * (op->Next->Pt.Y - pt.Y) - ^ libs/clipper/clipper.cpp:569:43: warning: use of old-style cast [-Wold-style-cast] (double)(op->Next->Pt.X - pt.X) * (op->Pt.Y - pt.Y); ^ libs/clipper/clipper.cpp: In function 'double ClipperLib::GetDx(ClipperLib::IntPoint, ClipperLib::IntPoint)': libs/clipper/clipper.cpp:640:40: warning: use of old-style cast [-Wold-style-cast] HORIZONTAL : (double)(pt2.X - pt1.X) / (pt2.Y - pt1.Y); ^ libs/clipper/clipper.cpp: In function 'void ClipperLib::SetDx(ClipperLib::TEdge&)': libs/clipper/clipper.cpp:650:33: warning: use of old-style cast [-Wold-style-cast] else e.Dx = (double)(e.Delta.X) / e.Delta.Y; ^ libs/clipper/clipper.cpp: In member function 'bool ClipperLib::ClipperBase::AddPath(const Path&, ClipperLib::PolyType, bool)': libs/clipper/clipper.cpp:1148:28: warning: use of old-style cast [-Wold-style-cast] int highI = (int)pg.size() -1; ^ libs/clipper/clipper.cpp: In member function 'ClipperLib::OutRec* ClipperLib::Clipper::CreateOutRec()': libs/clipper/clipper.cpp:2492:38: warning: use of old-style cast [-Wold-style-cast] result->Idx = (int)m_PolyOuts.size()-1; ^ libs/clipper/clipper.cpp: In function 'ClipperLib::DoublePoint ClipperLib::GetUnitNormal(const ClipperLib::IntPoint&, const ClipperLib::IntPoint&)': libs/clipper/clipper.cpp:3793:37: warning: use of old-style cast [-Wold-style-cast] double Dx = (double)(pt2.X - pt1.X); ^ libs/clipper/clipper.cpp:3794:37: warning: use of old-style cast [-Wold-style-cast] double dy = (double)(pt2.Y - pt1.Y); ^ libs/clipper/clipper.cpp: In member function 'void ClipperLib::ClipperOffset::AddPath(const Path&, ClipperLib::JoinType, ClipperLib::EndType)': libs/clipper/clipper.cpp:3830:30: warning: use of old-style cast [-Wold-style-cast] int highI = (int)path.size() - 1; ^ libs/clipper/clipper.cpp:3865:52: warning: use of old-style cast [-Wold-style-cast] IntPoint ip = m_polyNodes.Childs[(int)m_lowest.X]->Contour[(int)m_lowest.Y]; ^ libs/clipper/clipper.cpp:3865:78: warning: use of old-style cast [-Wold-style-cast] IntPoint ip = m_polyNodes.Childs[(int)m_lowest.X]->Contour[(int)m_lowest.Y]; ^ libs/clipper/clipper.cpp: In member function 'void ClipperLib::ClipperOffset::FixOrientations()': libs/clipper/clipper.cpp:3886:51: warning: use of old-style cast [-Wold-style-cast] !Orientation(m_polyNodes.Childs[(int)m_lowest.X]->Contour)) ^ libs/clipper/clipper.cpp: In member function 'void ClipperLib::ClipperOffset::DoOffset(double)': libs/clipper/clipper.cpp:4019:35: warning: use of old-style cast [-Wold-style-cast] int len = (int)m_srcPoly.size(); ^ libs/clipper/clipper.cpp:4100:16: warning: use of old-style cast [-Wold-style-cast] delta), (cInt)Round(m_srcPoly[j].Y + m_normals[j].Y * delta)); ^ libs/clipper/clipper.cpp:4100:70: warning: use of old-style cast [-Wold-style-cast] delta), (cInt)Round(m_srcPoly[j].Y + m_normals[j].Y * delta)); ^ libs/clipper/clipper.cpp:4103:16: warning: use of old-style cast [-Wold-style-cast] delta), (cInt)Round(m_srcPoly[j].Y - m_normals[j].Y * delta)); ^ libs/clipper/clipper.cpp:4103:70: warning: use of old-style cast [-Wold-style-cast] delta), (cInt)Round(m_srcPoly[j].Y - m_normals[j].Y * delta)); ^ libs/clipper/clipper.cpp:4128:75: warning: use of old-style cast [-Wold-style-cast] pt1 = IntPoint((cInt)Round(m_srcPoly[0].X - m_normals[0].X * delta), ^ libs/clipper/clipper.cpp:4129:62: warning: use of old-style cast [-Wold-style-cast] (cInt)Round(m_srcPoly[0].Y - m_normals[0].Y * delta)); ^ libs/clipper/clipper.cpp:4131:75: warning: use of old-style cast [-Wold-style-cast] pt1 = IntPoint((cInt)Round(m_srcPoly[0].X + m_normals[0].X * delta), ^ libs/clipper/clipper.cpp:4132:62: warning: use of old-style cast [-Wold-style-cast] (cInt)Round(m_srcPoly[0].Y + m_normals[0].Y * delta)); ^ libs/clipper/clipper.cpp: In member function 'void ClipperLib::ClipperOffset::DoRound(int, int)': libs/clipper/clipper.cpp:4207:54: warning: use of old-style cast [-Wold-style-cast] int steps = (int)Round(m_StepsPerRad * std::fabs(a)); ^ libs/clipper/clipper.cpp: In function 'double ClipperLib::DistanceSqrd(const ClipperLib::IntPoint&, const ClipperLib::IntPoint&)': libs/clipper/clipper.cpp:4325:28: warning: use of old-style cast [-Wold-style-cast] double Dx = ((double)pt1.X - pt2.X); ^ libs/clipper/clipper.cpp:4326:28: warning: use of old-style cast [-Wold-style-cast] double dy = ((double)pt1.Y - pt2.Y); ^ libs/clipper/clipper.cpp: In function 'bool ClipperLib::PointsAreClose(ClipperLib::IntPoint, ClipperLib::IntPoint, double)': libs/clipper/clipper.cpp:4357:29: warning: use of old-style cast [-Wold-style-cast] double Dx = (double)pt1.X - pt2.X; ^ libs/clipper/clipper.cpp:4358:29: warning: use of old-style cast [-Wold-style-cast] double dy = (double)pt1.Y - pt2.Y; ^ libs/clipper/clipper.cpp: In function 'void ClipperLib::OffsetPaths(const Paths&, ClipperLib::Paths&, double, ClipperLib::JoinType, ClipperLib::EndType_, double)': libs/clipper/clipper.cpp:4602:44: warning: use of old-style cast [-Wold-style-cast] co.AddPaths(in_polys, jointype, (EndType)endtype); ^ g++-4.9 build/bridge.o build/comb.o build/gcodeExport.o build/infill.o build/inset.o build/layerPart.o build/main.o build/optimizedModel.o build/pathOrderOptimizer.o build/polygonOptimizer.o build/raft.o build/settings.o build/skin.o build/skirt.o build/slicer.o build/support.o build/timeEstimate.o build/modelFile/modelFile.o build/utils/gettime.o build/utils/logoutput.o build/utils/socket.o -o build/CuraEngine -Lbuild/ -lclipper --static -flto + cp build/CuraEngine /usr/local/bin/cura_engine + popd /home/pi / + sudo -u pi rm -r CuraEngine-15.04.6 CuraEngine-15.04.6.zip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ipip Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 Unknown QEMU_IFLA_INFO_KIND ip6tnl Unknown host QEMU_IFLA type: 40 Unknown host QEMU_IFLA type: 41 sudo: unable to resolve host c12ac21c06dd + '[' yes == yes ']' + echo '--- Installing haproxy' --- Installing haproxy + apt-get -y --force-yes install ssl-cert haproxy Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: liblua5.3-0 Suggested packages: vim-haproxy haproxy-doc openssl-blacklist The following NEW packages will be installed: haproxy liblua5.3-0 ssl-cert 0 upgraded, 3 newly installed, 0 to remove and 11 not upgraded. Need to get 1067 kB of archives. After this operation, 2232 kB of additional disk space will be used. Get:1 http://raspbian.phirephly.design/raspbian stretch/main armhf liblua5.3-0 armhf 5.3.3-1 [96.8 kB] Get:2 http://raspbian.phirephly.design/raspbian stretch/main armhf haproxy armhf 1.7.5-2 [949 kB] Get:3 http://raspbian.phirephly.design/raspbian stretch/main armhf ssl-cert all 1.0.39 [20.8 kB] Preconfiguring packages ... Fetched 1067 kB in 3s (299 kB/s) Selecting previously unselected package liblua5.3-0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 44186 files and directories currently installed.) Preparing to unpack .../liblua5.3-0_5.3.3-1_armhf.deb ... Unpacking liblua5.3-0:armhf (5.3.3-1) ... Selecting previously unselected package haproxy. Preparing to unpack .../haproxy_1.7.5-2_armhf.deb ... Unpacking haproxy (1.7.5-2) ... Selecting previously unselected package ssl-cert. Preparing to unpack .../ssl-cert_1.0.39_all.deb ... Unpacking ssl-cert (1.0.39) ... Setting up ssl-cert (1.0.39) ... hostname: Name or service not known make-ssl-cert: Could not get FQDN, using "c12ac21c06dd". make-ssl-cert: You may want to fix your /etc/hosts and/or DNS setup and run make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite make-ssl-cert: again. Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up liblua5.3-0:armhf (5.3.3-1) ... Processing triggers for rsyslog (8.24.0-1) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of try-restart. Setting up haproxy (1.7.5-2) ... Created symlink /etc/systemd/system/multi-user.target.wants/haproxy.service -> /lib/systemd/system/haproxy.service. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u6) ... Processing triggers for rsyslog (8.24.0-1) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of try-restart. W: --force-yes is deprecated, use one of the options starting with --allow instead. + rm /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/certs/ssl-cert-snakeoil.pem + '[' yes == yes ']' + echo '--- Installing WiringPi' --- Installing WiringPi + apt-get install wiringpi Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: wiringpi 0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded. Need to get 47.1 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.raspberrypi.org/debian stretch/main armhf wiringpi armhf 2.46 [47.1 kB] Fetched 47.1 kB in 3s (15.1 kB/s) Selecting previously unselected package wiringpi. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 44291 files and directories currently installed.) Preparing to unpack .../wiringpi_2.46_armhf.deb ... Unpacking wiringpi (2.46) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up wiringpi (2.46) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... + wget -O yq https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm64 --2018-12-09 04:54:16-- https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm Resolving github.com (github.com)... 192.30.255.113, 192.30.255.112 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/43225113/f80e8a80-ecad-11e8-816f-7721c5299958?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181209T045418Z&X-Amz-Expires=300&X-Amz-Signature=14106fbcaa6b8a645bb195165c2b24af4d32a8681b1dc3af132ad8a5060bb3e2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyq_linux_arm&response-content-type=application%2Foctet-stream [following] --2018-12-09 04:54:17-- https://github-production-release-asset-2e65be.s3.amazonaws.com/43225113/f80e8a80-ecad-11e8-816f-7721c5299958?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181209T045418Z&X-Amz-Expires=300&X-Amz-Signature=14106fbcaa6b8a645bb195165c2b24af4d32a8681b1dc3af132ad8a5060bb3e2&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyq_linux_arm&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.230.43 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.230.43|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4917469 (4.7M) [application/octet-stream] Saving to: 'yq' 0K .......... .......... .......... .......... .......... 1% 333K 14s 50K .......... .......... .......... .......... .......... 2% 766K 10s 100K .......... .......... .......... .......... .......... 3% 2.54M 7s 150K .......... .......... .......... .......... .......... 4% 3.23M 6s 200K .......... .......... .......... .......... .......... 5% 900K 6s 250K .......... .......... .......... .......... .......... 6% 1.84M 5s 300K .......... .......... .......... .......... .......... 7% 1.28M 5s 350K .......... .......... .......... .......... .......... 8% 2.78M 4s 400K .......... .......... .......... .......... .......... 9% 1.52M 4s 450K .......... .......... .......... .......... .......... 10% 3.16M 4s 500K .......... .......... .......... .......... .......... 11% 3.47M 3s 550K .......... .......... .......... .......... .......... 12% 3.35M 3s 600K .......... .......... .......... .......... .......... 13% 3.64M 3s 650K .......... .......... .......... .......... .......... 14% 1.05M 3s 700K .......... .......... .......... .......... .......... 15% 1.54M 3s 750K .......... .......... .......... .......... .......... 16% 1.10M 3s 800K .......... .......... .......... .......... .......... 17% 2.21M 3s 850K .......... .......... .......... .......... .......... 18% 3.26M 3s 900K .......... .......... .......... .......... .......... 19% 3.08M 3s 950K .......... .......... .......... .......... .......... 20% 2.64M 3s 1000K .......... .......... .......... .......... .......... 21% 3.34M 2s 1050K .......... .......... .......... .......... .......... 22% 3.22M 2s 1100K .......... .......... .......... .......... .......... 23% 2.53M 2s 1150K .......... .......... .......... .......... .......... 24% 2.59M 2s 1200K .......... .......... .......... .......... .......... 26% 2.19M 2s 1250K .......... .......... .......... .......... .......... 27% 4.10M 2s 1300K .......... .......... .......... .......... .......... 28% 4.39M 2s 1350K .......... .......... .......... .......... .......... 29% 3.51M 2s 1400K .......... .......... .......... .......... .......... 30% 2.00M 2s 1450K .......... .......... .......... .......... .......... 31% 3.64M 2s 1500K .......... .......... .......... .......... .......... 32% 1.98M 2s 1550K .......... .......... .......... .......... .......... 33% 2.70M 2s 1600K .......... .......... .......... .......... .......... 34% 1.95M 2s 1650K .......... .......... .......... .......... .......... 35% 2.15M 2s 1700K .......... .......... .......... .......... .......... 36% 2.81M 2s 1750K .......... .......... .......... .......... .......... 37% 2.42M 2s 1800K .......... .......... .......... .......... .......... 38% 4.24M 2s 1850K .......... .......... .......... .......... .......... 39% 2.78M 2s 1900K .......... .......... .......... .......... .......... 40% 3.89M 1s 1950K .......... .......... .......... .......... .......... 41% 3.34M 1s 2000K .......... .......... .......... .......... .......... 42% 3.14M 1s 2050K .......... .......... .......... .......... .......... 43% 3.53M 1s 2100K .......... .......... .......... .......... .......... 44% 2.87M 1s 2150K .......... .......... .......... .......... .......... 45% 2.70M 1s 2200K .......... .......... .......... .......... .......... 46% 2.01M 1s 2250K .......... .......... .......... .......... .......... 47% 2.57M 1s 2300K .......... .......... .......... .......... .......... 48% 3.92M 1s 2350K .......... .......... .......... .......... .......... 49% 3.93M 1s 2400K .......... .......... .......... .......... .......... 51% 2.69M 1s 2450K .......... .......... .......... .......... .......... 52% 3.13M 1s 2500K .......... .......... .......... .......... .......... 53% 3.65M 1s 2550K .......... .......... .......... .......... .......... 54% 4.36M 1s 2600K .......... .......... .......... .......... .......... 55% 3.63M 1s 2650K .......... .......... .......... .......... .......... 56% 3.70M 1s 2700K .......... .......... .......... .......... .......... 57% 3.54M 1s 2750K .......... .......... .......... .......... .......... 58% 3.45M 1s 2800K .......... .......... .......... .......... .......... 59% 4.27M 1s 2850K .......... .......... .......... .......... .......... 60% 3.39M 1s 2900K .......... .......... .......... .......... .......... 61% 3.50M 1s 2950K .......... .......... .......... .......... .......... 62% 4.36M 1s 3000K .......... .......... .......... .......... .......... 63% 3.55M 1s 3050K .......... .......... .......... .......... .......... 64% 1.61M 1s 3100K .......... .......... .......... .......... .......... 65% 2.94M 1s 3150K .......... .......... .......... .......... .......... 66% 1.68M 1s 3200K .......... .......... .......... .......... .......... 67% 3.18M 1s 3250K .......... .......... .......... .......... .......... 68% 1.77M 1s 3300K .......... .......... .......... .......... .......... 69% 3.81M 1s 3350K .......... .......... .......... .......... .......... 70% 4.86M 1s 3400K .......... .......... .......... .......... .......... 71% 4.67M 1s 3450K .......... .......... .......... .......... .......... 72% 3.76M 1s 3500K .......... .......... .......... .......... .......... 73% 3.37M 1s 3550K .......... .......... .......... .......... .......... 74% 2.59M 1s 3600K .......... .......... .......... .......... .......... 76% 3.22M 0s 3650K .......... .......... .......... .......... .......... 77% 3.75M 0s 3700K .......... .......... .......... .......... .......... 78% 3.80M 0s 3750K .......... .......... .......... .......... .......... 79% 3.28M 0s 3800K .......... .......... .......... .......... .......... 80% 3.70M 0s 3850K .......... .......... .......... .......... .......... 81% 5.06M 0s 3900K .......... .......... .......... .......... .......... 82% 6.10M 0s 3950K .......... .......... .......... .......... .......... 83% 4.65M 0s 4000K .......... .......... .......... .......... .......... 84% 4.53M 0s 4050K .......... .......... .......... .......... .......... 85% 5.09M 0s 4100K .......... .......... .......... .......... .......... 86% 5.03M 0s 4150K .......... .......... .......... .......... .......... 87% 4.36M 0s 4200K .......... .......... .......... .......... .......... 88% 4.66M 0s 4250K .......... .......... .......... .......... .......... 89% 6.62M 0s 4300K .......... .......... .......... .......... .......... 90% 5.20M 0s 4350K .......... .......... .......... .......... .......... 91% 5.55M 0s 4400K .......... .......... .......... .......... .......... 92% 3.81M 0s 4450K .......... .......... .......... .......... .......... 93% 4.81M 0s 4500K .......... .......... .......... .......... .......... 94% 4.82M 0s 4550K .......... .......... .......... .......... .......... 95% 3.32M 0s 4600K .......... .......... .......... .......... .......... 96% 4.29M 0s 4650K .......... .......... .......... .......... .......... 97% 5.42M 0s 4700K .......... .......... .......... .......... .......... 98% 4.40M 0s 4750K .......... .......... .......... .......... .......... 99% 5.80M 0s 4800K .. 100% 8.99M=1.8s 2018-12-09 04:54:19 (2.62 MB/s) - 'yq' saved [4917469/4917469] --2018-12-09 04:54:19-- https://github.com/mikefarah/yq/releases/download/2.2.0/yq_linux_arm64 Connecting to github.com (github.com)|192.30.255.113|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/43225113/46bc2480-ecae-11e8-90af-8558027ef903?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181209T045420Z&X-Amz-Expires=300&X-Amz-Signature=18db27f10b99eed3ea84e1980c00f48bf68337007badc06b7d3c48479f4cfdbf&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyq_linux_arm64&response-content-type=application%2Foctet-stream [following] --2018-12-09 04:54:19-- https://github-production-release-asset-2e65be.s3.amazonaws.com/43225113/46bc2480-ecae-11e8-90af-8558027ef903?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181209%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181209T045420Z&X-Amz-Expires=300&X-Amz-Signature=18db27f10b99eed3ea84e1980c00f48bf68337007badc06b7d3c48479f4cfdbf&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dyq_linux_arm64&response-content-type=application%2Foctet-stream Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.230.43|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 5428225 (5.2M) [application/octet-stream] Saving to: 'yq' 0K .......... .......... .......... .......... .......... 0% 306K 17s 50K .......... .......... .......... .......... .......... 1% 731K 12s 100K .......... .......... .......... .......... .......... 2% 2.02M 9s 150K .......... .......... .......... .......... .......... 3% 3.49M 7s 200K .......... .......... .......... .......... .......... 4% 763K 7s 250K .......... .......... .......... .......... .......... 5% 1.88M 6s 300K .......... .......... .......... .......... .......... 6% 3.11M 5s 350K .......... .......... .......... .......... .......... 7% 3.36M 5s 400K .......... .......... .......... .......... .......... 8% 578K 5s 450K .......... .......... .......... .......... .......... 9% 3.54M 5s 500K .......... .......... .......... .......... .......... 10% 2.52M 4s 550K .......... .......... .......... .......... .......... 11% 3.53M 4s 600K .......... .......... .......... .......... .......... 12% 2.24M 4s 650K .......... .......... .......... .......... .......... 13% 2.57M 4s 700K .......... .......... .......... .......... .......... 14% 7.08M 3s 750K .......... .......... .......... .......... .......... 15% 378K 4s 800K .......... .......... .......... .......... .......... 16% 2.71M 4s 850K .......... .......... .......... .......... .......... 16% 6.02M 4s 900K .......... .......... .......... .......... .......... 17% 1.18M 4s 950K .......... .......... .......... .......... .......... 18% 3.06M 3s 1000K .......... .......... .......... .......... .......... 19% 3.25M 3s 1050K .......... .......... .......... .......... .......... 20% 3.57M 3s 1100K .......... .......... .......... .......... .......... 21% 2.39M 3s 1150K .......... .......... .......... .......... .......... 22% 2.44M 3s 1200K .......... .......... .......... .......... .......... 23% 2.23M 3s 1250K .......... .......... .......... .......... .......... 24% 3.83M 3s 1300K .......... .......... .......... .......... .......... 25% 1.50M 3s 1350K .......... .......... .......... .......... .......... 26% 3.18M 3s 1400K .......... .......... .......... .......... .......... 27% 3.37M 3s 1450K .......... .......... .......... .......... .......... 28% 3.12M 2s 1500K .......... .......... .......... .......... .......... 29% 1.28M 2s 1550K .......... .......... .......... .......... .......... 30% 2.53M 2s 1600K .......... .......... .......... .......... .......... 31% 3.87M 2s 1650K .......... .......... .......... .......... .......... 32% 4.19M 2s 1700K .......... .......... .......... .......... .......... 33% 2.14M 2s 1750K .......... .......... .......... .......... .......... 33% 2.25M 2s 1800K .......... .......... .......... .......... .......... 34% 3.62M 2s 1850K .......... .......... .......... .......... .......... 35% 1.80M 2s 1900K .......... .......... .......... .......... .......... 36% 1.87M 2s 1950K .......... .......... .......... .......... .......... 37% 2.32M 2s 2000K .......... .......... .......... .......... .......... 38% 2.11M 2s 2050K .......... .......... .......... .......... .......... 39% 2.48M 2s 2100K .......... .......... .......... .......... .......... 40% 1.82M 2s 2150K .......... .......... .......... .......... .......... 41% 1.53M 2s 2200K .......... .......... .......... .......... .......... 42% 2.96M 2s 2250K .......... .......... .......... .......... .......... 43% 2.68M 2s 2300K .......... .......... .......... .......... .......... 44% 2.59M 2s 2350K .......... .......... .......... .......... .......... 45% 2.46M 2s 2400K .......... .......... .......... .......... .......... 46% 2.12M 2s 2450K .......... .......... .......... .......... .......... 47% 2.63M 2s 2500K .......... .......... .......... .......... .......... 48% 2.42M 2s 2550K .......... .......... .......... .......... .......... 49% 3.08M 1s 2600K .......... .......... .......... .......... .......... 49% 2.13M 1s 2650K .......... .......... .......... .......... .......... 50% 3.05M 1s 2700K .......... .......... .......... .......... .......... 51% 2.88M 1s 2750K .......... .......... .......... .......... .......... 52% 2.21M 1s 2800K .......... .......... .......... .......... .......... 53% 2.99M 1s 2850K .......... .......... .......... .......... .......... 54% 2.51M 1s 2900K .......... .......... .......... .......... .......... 55% 2.49M 1s 2950K .......... .......... .......... .......... .......... 56% 2.00M 1s 3000K .......... .......... .......... .......... .......... 57% 2.65M 1s 3050K .......... .......... .......... .......... .......... 58% 1.41M 1s 3100K .......... .......... .......... .......... .......... 59% 2.91M 1s 3150K .......... .......... .......... .......... .......... 60% 1.64M 1s 3200K .......... .......... .......... .......... .......... 61% 2.33M 1s 3250K .......... .......... .......... .......... .......... 62% 2.47M 1s 3300K .......... .......... .......... .......... .......... 63% 2.70M 1s 3350K .......... .......... .......... .......... .......... 64% 1.96M 1s 3400K .......... .......... .......... .......... .......... 65% 2.88M 1s 3450K .......... .......... .......... .......... .......... 66% 2.57M 1s 3500K .......... .......... .......... .......... .......... 66% 2.79M 1s 3550K .......... .......... .......... .......... .......... 67% 3.34M 1s 3600K .......... .......... .......... .......... .......... 68% 2.75M 1s 3650K .......... .......... .......... .......... .......... 69% 2.76M 1s 3700K .......... .......... .......... .......... .......... 70% 2.61M 1s 3750K .......... .......... .......... .......... .......... 71% 3.05M 1s 3800K .......... .......... .......... .......... .......... 72% 2.93M 1s 3850K .......... .......... .......... .......... .......... 73% 2.71M 1s 3900K .......... .......... .......... .......... .......... 74% 2.44M 1s 3950K .......... .......... .......... .......... .......... 75% 2.39M 1s 4000K .......... .......... .......... .......... .......... 76% 2.14M 1s 4050K .......... .......... .......... .......... .......... 77% 2.62M 1s 4100K .......... .......... .......... .......... .......... 78% 3.07M 1s 4150K .......... .......... .......... .......... .......... 79% 3.69M 1s 4200K .......... .......... .......... .......... .......... 80% 2.60M 1s 4250K .......... .......... .......... .......... .......... 81% 2.89M 0s 4300K .......... .......... .......... .......... .......... 82% 3.71M 0s 4350K .......... .......... .......... .......... .......... 83% 2.66M 0s 4400K .......... .......... .......... .......... .......... 83% 2.38M 0s 4450K .......... .......... .......... .......... .......... 84% 2.53M 0s 4500K .......... .......... .......... .......... .......... 85% 2.81M 0s 4550K .......... .......... .......... .......... .......... 86% 3.25M 0s 4600K .......... .......... .......... .......... .......... 87% 3.54M 0s 4650K .......... .......... .......... .......... .......... 88% 2.84M 0s 4700K .......... .......... .......... .......... .......... 89% 3.18M 0s 4750K .......... .......... .......... .......... .......... 90% 2.69M 0s 4800K .......... .......... .......... .......... .......... 91% 2.15M 0s 4850K .......... .......... .......... .......... .......... 92% 2.63M 0s 4900K .......... .......... .......... .......... .......... 93% 2.75M 0s 4950K .......... .......... .......... .......... .......... 94% 2.71M 0s 5000K .......... .......... .......... .......... .......... 95% 2.63M 0s 5050K .......... .......... .......... .......... .......... 96% 3.21M 0s 5100K .......... .......... .......... .......... .......... 97% 2.62M 0s 5150K .......... .......... .......... .......... .......... 98% 4.01M 0s 5200K .......... .......... .......... .......... .......... 99% 2.77M 0s 5250K .......... .......... .......... .......... .......... 99% 2.46M 0s 5300K . 100% 1909G=2.4s 2018-12-09 04:54:22 (2.12 MB/s) - 'yq' saved [5428225/5428225] FINISHED --2018-12-09 04:54:22-- Total wall clock time: 6.3s Downloaded: 2 files, 9.9M in 4.2s (2.33 MB/s) + chmod +x yq + mv yq /usr/local/bin + popd / + usermod -a -G tty pi + usermod -a -G dialout pi + echo '' + ln -s /etc/custompios_buildbase /etc/octopi_buildbase + echo 'pi ALL=NOPASSWD: /sbin/shutdown' + echo 'pi ALL=NOPASSWD: /usr/sbin/service' + sed -i 's@secure_path="@secure_path="/root/bin:@g' /etc/sudoers + chmod +x /root/bin/git + sed -i 's@exit 0@@' /etc/rc.local + cat + echo 'exit 0' + echo 'source /home/pi/scripts/welcome' + unpack /filesystem/root / + from=/filesystem/root + to=/ + owner= + '[' 2 -gt 2 ']' + cp -v -r --preserve=mode,timestamps /filesystem/root/. / '/filesystem/root/./etc/default/octoprint' -> '/./etc/default/octoprint' '/filesystem/root/./etc/default/webcamd' -> '/./etc/default/webcamd' '/filesystem/root/./etc/haproxy/haproxy.cfg' -> '/./etc/haproxy/haproxy.cfg' '/filesystem/root/./etc/haproxy/errors/503-no-octoprint.http' -> '/./etc/haproxy/errors/503-no-octoprint.http' '/filesystem/root/./etc/haproxy/errors/503-no-webcam.http' -> '/./etc/haproxy/errors/503-no-webcam.http' '/filesystem/root/./etc/init.d/change_hostname' -> '/./etc/init.d/change_hostname' '/filesystem/root/./etc/init.d/change_password' -> '/./etc/init.d/change_password' '/filesystem/root/./etc/init.d/octoprint' -> '/./etc/init.d/octoprint' '/filesystem/root/./etc/init.d/webcamd' -> '/./etc/init.d/webcamd' '/filesystem/root/./etc/logrotate.d/webcamd' -> '/./etc/logrotate.d/webcamd' '/filesystem/root/./etc/systemd/system/gencert.service' -> '/./etc/systemd/system/gencert.service' '/filesystem/root/./etc/udev/rules.d/95-ads7846.rules' -> '/./etc/udev/rules.d/95-ads7846.rules' + '[' -n '' ']' + systemctl_if_exists disable lightdm.service + hash systemctl + systemctl disable lightdm.service Failed to disable: No such file or directory. + true + update-rc.d change_password defaults + update-rc.d change_hostname defaults + sed -i 's@ExecStart=/usr/bin/ssh-keygen -A -v@ExecStart=/bin/bash -c '\'' /usr/bin/ssh-keygen -A -v >> /var/log/regenerate_ssh_host_keys.log 2>\&1'\''@g' /lib/systemd/system/regenerate_ssh_host_keys.service + sed -i 's@ExecStartPost=/bin/systemctl disable regenerate_ssh_host_keys@ExecStartPost=/bin/bash -c '\''for i in /etc/ssh/ssh_host_*_key*; do actualsize=$(wc -c <"$i") ;if [ $actualsize -eq 0 ]; then echo size is 0 bytes ; exit 1 ; fi ; done ; /bin/systemctl disable regenerate_ssh_host_keys'\''@g' /lib/systemd/system/regenerate_ssh_host_keys.service + '[' yes == yes ']' + update-rc.d octoprint defaults 95 + '[' yes == yes ']' + systemctl_if_exists enable gencert.service + hash systemctl + systemctl enable gencert.service Created symlink /etc/systemd/system/multi-user.target.wants/gencert.service -> /etc/systemd/system/gencert.service. + '[' '!' yes == yes ']' + '[' yes == yes ']' + update-rc.d webcamd defaults + apt-get clean + apt-get autoremove -y Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded. + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + rm -rfv filesystem removed 'filesystem/boot/octopi-network.txt' removed 'filesystem/boot/octopi.txt' removed directory 'filesystem/boot' removed 'filesystem/home/pi/scripts/welcome' removed 'filesystem/home/pi/scripts/install-desktop' removed 'filesystem/home/pi/scripts/add-octoprint-checkout' removed directory 'filesystem/home/pi/scripts' removed 'filesystem/home/pi/OctoPrint/README.txt' removed directory 'filesystem/home/pi/OctoPrint' removed 'filesystem/home/pi/.octoprint/config.yaml' removed directory 'filesystem/home/pi/.octoprint' removed directory 'filesystem/home/pi' removed 'filesystem/home/root/bin/webcamd' removed 'filesystem/home/root/bin/git' removed 'filesystem/home/root/bin/gencert' removed directory 'filesystem/home/root/bin' removed directory 'filesystem/home/root' removed directory 'filesystem/home' removed 'filesystem/root/etc/logrotate.d/webcamd' removed directory 'filesystem/root/etc/logrotate.d' removed 'filesystem/root/etc/default/webcamd' removed 'filesystem/root/etc/default/octoprint' removed directory 'filesystem/root/etc/default' removed 'filesystem/root/etc/systemd/system/gencert.service' removed directory 'filesystem/root/etc/systemd/system' removed directory 'filesystem/root/etc/systemd' removed 'filesystem/root/etc/init.d/webcamd' removed 'filesystem/root/etc/init.d/change_hostname' removed 'filesystem/root/etc/init.d/octoprint' removed 'filesystem/root/etc/init.d/change_password' removed directory 'filesystem/root/etc/init.d' removed 'filesystem/root/etc/udev/rules.d/95-ads7846.rules' removed directory 'filesystem/root/etc/udev/rules.d' removed directory 'filesystem/root/etc/udev' removed 'filesystem/root/etc/haproxy/errors/503-no-octoprint.http' removed 'filesystem/root/etc/haproxy/errors/503-no-webcam.http' removed directory 'filesystem/root/etc/haproxy/errors' removed 'filesystem/root/etc/haproxy/haproxy.cfg' removed directory 'filesystem/root/etc/haproxy' removed directory 'filesystem/root/etc' removed directory 'filesystem/root' removed directory 'filesystem' + execute_chroot_script /CustomPiOS/modules/disable-services /CustomPiOS/modules/disable-services/end_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/disable-services/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/disable-services/end_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + rm -r /usr/sbin/policy-rc.d + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + execute_chroot_script /CustomPiOS/modules/password-for-sudo /CustomPiOS/modules/password-for-sudo/start_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/password-for-sudo/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/password-for-sudo/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + source /common.sh + install_cleanup_trap + set -e + trap cleanup SIGINT SIGTERM + '[' -f /etc/sudoers.d/010_pi-nopasswd ']' + sed -e '/^pi/ s/^#*/#/' -i /etc/sudoers.d/010_pi-nopasswd + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' + execute_chroot_script /CustomPiOS/modules/base /CustomPiOS/modules/base/end_chroot_script + '[' -f /.dockerenv ']' + update-binfmts --enable qemu-arm update-binfmts: warning: qemu-arm already enabled in kernel. + mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc mount: binfmt_misc is already mounted or /proc/sys/fs/binfmt_misc busy binfmt_misc is already mounted on /proc/sys/fs/binfmt_misc + true + '[' -d /CustomPiOS/modules/base/filesystem ']' ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/modules/base/end_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + '[' -n '' ']' + '[' -n '' ']' + '[' -f /etc/hostname ']' + read FILE_HOST_NAME + FILE_HOST_NAME=raspberrypi + echo octopi + sed -i -e s@raspberrypi@octopi@g /etc/hosts + '[' -d custompios_export ']' + rm chroot_script + '[' -d filesystem ']' +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' yes == yes ']' +++ restoreLd +++ sed -i 's@\#/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so@/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so@' etc/ld.so.preload +++ sed -i 's@\#/usr/lib/arm-linux-gnueabihf/libarmmem.so@/usr/lib/arm-linux-gnueabihf/libarmmem.so@' etc/ld.so.preload +++ popd /distro/workspace /distro +++ unmount_image /distro/workspace/mount +++ mount_path=/distro/workspace/mount +++ force= +++ '[' 1 -gt 1 ']' +++ '[' -n '' ']' ++++ awk '{print $1}' ++++ awk -F ' on ' '{print $2}' ++++ sort -r ++++ grep /distro/workspace/mount ++++ sudo mount +++ for m in $(sudo mount | grep $mount_path | awk -F " on " '{print $2}' | awk '{print $1}' | sort -r) +++ echo 'Unmounting /distro/workspace/mount/var/cache/apt...' Unmounting /distro/workspace/mount/var/cache/apt... +++ sudo umount /distro/workspace/mount/var/cache/apt +++ for m in $(sudo mount | grep $mount_path | awk -F " on " '{print $2}' | awk '{print $1}' | sort -r) +++ echo 'Unmounting /distro/workspace/mount/dev/pts...' Unmounting /distro/workspace/mount/dev/pts... +++ sudo umount /distro/workspace/mount/dev/pts +++ for m in $(sudo mount | grep $mount_path | awk -F " on " '{print $2}' | awk '{print $1}' | sort -r) +++ echo 'Unmounting /distro/workspace/mount/dev...' Unmounting /distro/workspace/mount/dev... +++ sudo umount /distro/workspace/mount/dev +++ for m in $(sudo mount | grep $mount_path | awk -F " on " '{print $2}' | awk '{print $1}' | sort -r) +++ echo 'Unmounting /distro/workspace/mount/boot...' Unmounting /distro/workspace/mount/boot... +++ sudo umount /distro/workspace/mount/boot +++ for m in $(sudo mount | grep $mount_path | awk -F " on " '{print $2}' | awk '{print $1}' | sort -r) +++ echo 'Unmounting /distro/workspace/mount...' Unmounting /distro/workspace/mount... +++ sudo umount /distro/workspace/mount +++ chmod 777 2018-11-13-raspbian-stretch-lite.img +++ '[' -n 200 ']' +++ minimize_ext 2018-11-13-raspbian-stretch-lite.img 2 200 +++ image=2018-11-13-raspbian-stretch-lite.img +++ partition=2 +++ buffer=200 +++ echo 'Resizing partition 2 on 2018-11-13-raspbian-stretch-lite.img to minimal size + 200 MB' Resizing partition 2 on 2018-11-13-raspbian-stretch-lite.img to minimal size + 200 MB ++++ sfdisk -d 2018-11-13-raspbian-stretch-lite.img ++++ grep 2018-11-13-raspbian-stretch-lite.img2 +++ partitioninfo='2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83' ++++ echo 2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83 ++++ awk '{print $4-0}' +++ start=98304 ++++ echo 2018-11-13-raspbian-stretch-lite.img2 : start= 98304, size= 4366336, type=83 ++++ awk '{print $6-0}' +++ e2fsize_blocks=4366336 +++ offset=50331648 ++++ losetup -f --show -o 50331648 2018-11-13-raspbian-stretch-lite.img +++ LODEV=/dev/loop0 +++ trap 'losetup -d $LODEV' EXIT +++ e2fsck -fy /dev/loop0 e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information rootfs: 58249/134640 files (0.1% non-contiguous), 368659/545792 blocks ++++ tune2fs -l /dev/loop0 ++++ awk -F: '{print $2-0}' ++++ grep -i 'block size' +++ e2fblocksize=4096 ++++ resize2fs -P /dev/loop0 ++++ grep -i 'minimum size' ++++ awk -F: '{print $2-0}' +++ e2fminsize=471141 +++ e2fminsize_bytes=1929793536 +++ e2ftarget_bytes=2139508736 +++ e2fsize_bytes=2235563520 +++ e2fminsize_mb=1840 +++ e2fminsize_blocks=3769129 +++ e2ftarget_mb=2040 +++ e2ftarget_blocks=4178729 +++ e2fsize_mb=2131 +++ size_offset_mb=91 +++ losetup -d /dev/loop0 +++ echo 'Actual size is 2131 MB (4366336 blocks), Minimum size is 1840 MB (471141 file system blocks, 3769129 blocks)' Actual size is 2131 MB (4366336 blocks), Minimum size is 1840 MB (471141 file system blocks, 3769129 blocks) +++ echo 'Resizing to 2040 MB (4178729 blocks)' Resizing to 2040 MB (4178729 blocks) +++ '[' 91 -gt 0 ']' +++ echo 'Partition size is bigger then the desired size, shrinking' Partition size is bigger then the desired size, shrinking +++ shrink_ext 2018-11-13-raspbian-stretch-lite.img 2 2039 +++ image=2018-11-13-raspbian-stretch-lite.img +++ partition=2 +++ size=2039 +++ echo 'Resizing file system to 2039 MB...' Resizing file system to 2039 MB... ++++ sfdisk -d 2018-11-13-raspbian-stretch-lite.img ++++ grep 2018-11-13-raspbian-stretch-lite.img2 ++++ awk '{print $4-0}' +++ start=98304 +++ offset=50331648 ++++ losetup -f --show -o 50331648 2018-11-13-raspbian-stretch-lite.img +++ LODEV=/dev/loop0 +++ trap 'losetup -d $LODEV' EXIT +++ e2fsck -fy /dev/loop0 e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information rootfs: 58249/134640 files (0.1% non-contiguous), 368659/545792 blocks +++ e2ftarget_bytes=2138046464 +++ e2ftarget_blocks=4175873 +++ echo 'Resizing file system to 4175873 blocks...' Resizing file system to 4175873 blocks... +++ resize2fs /dev/loop0 4175873s resize2fs 1.43.4 (31-Jan-2017) Resizing the filesystem on /dev/loop0 to 521984 (4k) blocks. The filesystem on /dev/loop0 is now 521984 (4k) blocks long. +++ losetup -d /dev/loop0 +++ trap - EXIT +++ new_end=4274177 +++ echo 'Resizing partition to end at 98304 + 4175873 = 4274177 blocks...' Resizing partition to end at 98304 + 4175873 = 4274177 blocks... +++ fdisk 2018-11-13-raspbian-stretch-lite.img Welcome to fdisk (util-linux 2.29.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): Disk 2018-11-13-raspbian-stretch-lite.img: 2.1 GiB, 2285895680 bytes, 4464640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 4464639 4366336 2.1G 83 Linux Command (m for help): Partition number (1,2, default 2): Partition 2 has been deleted. Command (m for help): Partition type p primary (1 primary, 0 extended, 3 free) e extended (container for logical partitions) Select (default p): Partition number (2-4, default 2): First sector (2048-4464639, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (98304-4464639, default 4464639): Created a new partition 2 of type 'Linux' and of size 2 GiB. Partition #2 contains a ext4 signature. Command (m for help): Disk 2018-11-13-raspbian-stretch-lite.img: 2.1 GiB, 2285895680 bytes, 4464640 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 4274177 4175874 2G 83 Linux Command (m for help): The partition table has been altered. Syncing disks. +++ new_size=2188379136 +++ echo 'Truncating image to 2188379136 bytes...' Truncating image to 2188379136 bytes... +++ truncate --size=2188379136 2018-11-13-raspbian-stretch-lite.img +++ fdisk -l 2018-11-13-raspbian-stretch-lite.img Disk 2018-11-13-raspbian-stretch-lite.img: 2 GiB, 2188379136 bytes, 4274178 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x7ee80803 Device Boot Start End Sectors Size Id Type 2018-11-13-raspbian-stretch-lite.img1 8192 98045 89854 43.9M c W95 FAT32 (LBA) 2018-11-13-raspbian-stretch-lite.img2 98304 4274177 4175874 2G 83 Linux +++ echo 'Resizing filesystem ...' Resizing filesystem ... ++++ losetup -f --show -o 50331648 2018-11-13-raspbian-stretch-lite.img +++ LODEV=/dev/loop0 +++ trap 'losetup -d $LODEV' EXIT +++ e2fsck -fy /dev/loop0 e2fsck 1.43.4 (31-Jan-2017) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information rootfs: 58249/126720 files (0.1% non-contiguous), 368162/521984 blocks +++ resize2fs -p /dev/loop0 resize2fs 1.43.4 (31-Jan-2017) The filesystem is already 521984 (4k) blocks long. Nothing to do! +++ losetup -d /dev/loop0 +++ trap - EXIT +++ popd /distro +++ echo_green -e '\nBUILD SUCCEEDED!\n' +++ echo -e -n '\e[92m' +++ echo -e '\nBUILD' 'SUCCEEDED!\n' BUILD SUCCEEDED! +++ echo -e -n '\e[0m'