Closed marians closed 6 years ago
Builds are currently not working in my setup, but I'm pretty sure they were earlier today.
@guysoft Could this be related to https://github.com/guysoft/CustomPiOS/commit/4377632e32ec871f1d3c4cb69e6e00d783d628a2 ?
Here is the last error:
+ cp /CustomPiOS/src/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + source /common.sh + unpack /filesystem/root / + from=/filesystem/root + to=/ + owner= + '[' 2 -gt 2 ']' + cp -v -r --preserve=mode,timestamps /filesystem/root/. / /bin/cp: cannot stat '/filesystem/root/.': No such file or directory
I am building in a Docker container. If required, I'll provide more details.
Complete log:
+++ dirname ./build_dist ++ cd . ++ pwd + DIR=/FullPageOS/src + export DIST_PATH=/FullPageOS/src + DIST_PATH=/FullPageOS/src + export CUSTOM_PI_OS_PATH=/CustomPiOS/src + CUSTOM_PI_OS_PATH=/CustomPiOS/src + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/CustomPiOS/src + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/CustomPiOS/src + echo /CustomPiOS/src /CustomPiOS/src + /CustomPiOS/src/build_custom_os + echo 'Distro path: /FullPageOS/src' Distro path: /FullPageOS/src + echo 'CustomPiOS path: /CustomPiOS/src' CustomPiOS path: /CustomPiOS/src + echo ================================================================ ================================================================ +++ dirname /CustomPiOS/src/build_custom_os ++ cd /CustomPiOS/src ++ pwd + DIR=/CustomPiOS/src + /CustomPiOS/src/build + '[' -n '' ']' + LOG=build.log + define SCRIPT + IFS='\n' + read -r -d '' SCRIPT + true + '[' build.log '!=' no ']' + touch build.log + chmod 666 build.log + eval 'BUILD_SCRIPT_PATH=$(dirname $(realpath -s $BASH_SOURCE)) source ${BUILD_SCRIPT_PATH}/common.sh install_cleanup_trap CUSTOM_OS_PATH=$(dirname $(realpath -s $0)) pushd $CUSTOM_OS_PATH export OCTOPI_COMMIT=`git rev-parse HEAD` popd BUILD_VARIANT=default BUILD_FLAVOR=default WORKSPACE_POSTFIX= if [ "$#" -gt 0 ]; then BUILD_VARIANT=$1 fi if [ "$#" -gt 1 ]; then BUILD_FLAVOR=$2 fi if [ $BUILD_VARIANT != '\''default'\'' ]; then WORKSPACE_POSTFIX=-$BUILD_VARIANT if [ -d "${DIST_PATH}/variants/$BUILD_VARIANT" ]; then export VARIANT_BASE="${DIST_PATH}/variants/$BUILD_VARIANT" elif [ -d "${CUSTOM_OS_PATH}/variants/$BUILD_VARIANT" ]; then export VARIANT_BASE="$CUSTOM_OS_PATH/variants/$BUILD_VARIANT" else die "Could not find Variant $BUILD_VARIANT" fi if [ $BUILD_FLAVOR == '\'''\'' ] || [ $BUILD_FLAVOR == '\''default'\'' ] then VARIANT_CONFIG=$VARIANT_BASE/config FLAVOR_CONFIG= else VARIANT_CONFIG=$VARIANT_BASE/config FLAVOR_CONFIG=$VARIANT_BASE/config.$BUILD_FLAVOR fi if [ -n "$FLAVOR_CONFIG" ] && [ ! -f $FLAVOR_CONFIG ] then die "Could not find config file $FLAVOR_CONFIG" fi fi echo -e "--> Building VARIANT $BUILD_VARIANT, FLAVOR $BUILD_FLAVOR" source ${CUSTOM_PI_OS_PATH}/config ${CUSTOM_PI_OS_PATH}/config_sanity [ "$CONFIG_ONLY" == "yes" ] || source ${CUSTOM_OS_PATH}/custompios ' + tee build.log ++++ realpath -s /CustomPiOS/src/build +++ dirname /CustomPiOS/src/build ++ BUILD_SCRIPT_PATH=/CustomPiOS/src ++ source /CustomPiOS/src/common.sh ++ install_cleanup_trap ++ set -e ++ trap cleanup SIGINT SIGTERM ++++ realpath -s /CustomPiOS/src/build +++ dirname /CustomPiOS/src/build ++ CUSTOM_OS_PATH=/CustomPiOS/src ++ pushd /CustomPiOS/src /CustomPiOS/src /FullPageOS/src +++ git rev-parse HEAD ++ export OCTOPI_COMMIT=4377632e32ec871f1d3c4cb69e6e00d783d628a2 ++ OCTOPI_COMMIT=4377632e32ec871f1d3c4cb69e6e00d783d628a2 ++ popd /FullPageOS/src ++ 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 ++ source /CustomPiOS/src/config +++++ realpath -s /CustomPiOS/src/config ++++ dirname /CustomPiOS/src/config +++ CONFIG_DIR=/CustomPiOS/src +++ '[' -n '' ']' +++ '[' -n '' ']' +++ '[' -f /CustomPiOS/src/config.local ']' +++ source /FullPageOS/src/config ++++ export DIST_NAME=FullpageOS ++++ DIST_NAME=FullpageOS ++++ export DIST_VERSION=0.9.0 ++++ DIST_VERSION=0.9.0 ++++ export 'MODULES=base(raspicam, network, disable-services(gui(fullpageos)))' ++++ MODULES='base(raspicam, network, disable-services(gui(fullpageos)))' ++++ export BASE_IMAGE_ENLARGEROOT=1000 ++++ BASE_IMAGE_ENLARGEROOT=1000 ++++ export BASE_IMAGE_RESIZEROOT=200 ++++ BASE_IMAGE_RESIZEROOT=200 ++++ export GUI_STARTUP_SCRIPT=/home/pi/scripts/run_onepageos ++++ GUI_STARTUP_SCRIPT=/home/pi/scripts/run_onepageos +++ '[' -f /FullPageOS/src/config.local ']' +++ TMP='base,raspicam, network, disable-services,gui,fullpageos)))' +++ TMP='base,raspicam,network,disable-services,gui,fullpageos)))' +++ MODULES_LIST=base,raspicam,network,disable-services,gui,fullpageos,,, ++++ echo base,raspicam,network,disable-services,gui,fullpageos,,, ++++ tr , '\n' +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/base ']' +++ '[' -d /CustomPiOS/src/modules/base ']' +++ export MODULE_PATH=/CustomPiOS/src/modules/base +++ MODULE_PATH=/CustomPiOS/src/modules/base +++ echo loading base config at /CustomPiOS/src/modules/base/config loading base config at /CustomPiOS/src/modules/base/config +++ '[' -f /CustomPiOS/src/modules/base/config ']' +++ source /CustomPiOS/src/modules/base/config ++++ '[' -n '' ']' ++++ BASE_PRESCRIPT= ++++ '[' -n '' ']' ++++ BASE_POSTSCRIPT= ++++ '[' -n '' ']' ++++ BASE_IMAGE_PATH=/FullPageOS/src/image ++++ '[' -n '' ']' ++++ BASE_IMAGE_RASPBIAN=yes ++++ '[' -n '' ']' +++++ ls -t /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip +++++ head -n 1 ++++ BASE_ZIP_IMG=/FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip ++++ '[' -n '' ']' ++++ BASE_WORKSPACE=/FullPageOS/src/workspace ++++ '[' -n '' ']' ++++ BASE_MOUNT_PATH=/FullPageOS/src/workspace/mount ++++ '[' -n '' ']' ++++ BASE_ROOT_PARTITION=2 ++++ '[' -n 1000 ']' ++++ '[' -n 200 ']' ++++ '[' -n '' ']' ++++ BASE_APT_CACHE=/FullPageOS/src/workspace/aptcache ++++ '[' -n '' ']' ++++ BASE_APT_PROXY= ++++ '[' -n '' ']' ++++ BASE_PYPI_INDEX= ++++ '[' -n '' ']' ++++ BASE_OVERRIDE_HOSTNAME=fullpageos ++++ '[' -n '' ']' ++++ BASE_BUILD_REPO_MIRROR= ++++ '[' -n '' ']' ++++ BASE_SSH_ENABLE=yes +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: ++++ echo base ++++ awk '{print toupper($0)}' +++ module_up=BASE_ ++++ compgen -A variable ++++ grep '^BASE_' +++ vars='BASE_APT_CACHE BASE_APT_PROXY BASE_BUILD_REPO_MIRROR BASE_IMAGE_ENLARGEROOT BASE_IMAGE_PATH BASE_IMAGE_RASPBIAN BASE_IMAGE_RESIZEROOT BASE_MOUNT_PATH BASE_OVERRIDE_HOSTNAME BASE_POSTSCRIPT BASE_PRESCRIPT BASE_PYPI_INDEX BASE_ROOT_PARTITION BASE_SSH_ENABLE BASE_WORKSPACE BASE_ZIP_IMG' +++ for var in $vars +++ echo 'BASE_APT_CACHE = /FullPageOS/src/workspace/aptcache' BASE_APT_CACHE = /FullPageOS/src/workspace/aptcache +++ eval export BASE_APT_CACHE ++++ export BASE_APT_CACHE +++ for var in $vars +++ echo 'BASE_APT_PROXY = ' BASE_APT_PROXY = +++ eval export BASE_APT_PROXY ++++ export BASE_APT_PROXY +++ for var in $vars +++ echo 'BASE_BUILD_REPO_MIRROR = ' BASE_BUILD_REPO_MIRROR = +++ eval export BASE_BUILD_REPO_MIRROR ++++ export BASE_BUILD_REPO_MIRROR +++ for var in $vars +++ echo 'BASE_IMAGE_ENLARGEROOT = 1000' BASE_IMAGE_ENLARGEROOT = 1000 +++ eval export BASE_IMAGE_ENLARGEROOT ++++ export BASE_IMAGE_ENLARGEROOT +++ for var in $vars +++ echo 'BASE_IMAGE_PATH = /FullPageOS/src/image' BASE_IMAGE_PATH = /FullPageOS/src/image +++ eval export BASE_IMAGE_PATH ++++ export BASE_IMAGE_PATH +++ for var in $vars +++ echo 'BASE_IMAGE_RASPBIAN = yes' BASE_IMAGE_RASPBIAN = yes +++ eval export BASE_IMAGE_RASPBIAN ++++ export BASE_IMAGE_RASPBIAN +++ for var in $vars +++ echo 'BASE_IMAGE_RESIZEROOT = 200' BASE_IMAGE_RESIZEROOT = 200 +++ eval export BASE_IMAGE_RESIZEROOT ++++ export BASE_IMAGE_RESIZEROOT +++ for var in $vars +++ echo 'BASE_MOUNT_PATH = /FullPageOS/src/workspace/mount' BASE_MOUNT_PATH = /FullPageOS/src/workspace/mount +++ eval export BASE_MOUNT_PATH ++++ export BASE_MOUNT_PATH +++ for var in $vars +++ echo 'BASE_OVERRIDE_HOSTNAME = fullpageos' BASE_OVERRIDE_HOSTNAME = fullpageos +++ eval export BASE_OVERRIDE_HOSTNAME ++++ export BASE_OVERRIDE_HOSTNAME +++ for var in $vars +++ echo 'BASE_POSTSCRIPT = ' BASE_POSTSCRIPT = +++ eval export BASE_POSTSCRIPT ++++ export BASE_POSTSCRIPT +++ for var in $vars +++ echo 'BASE_PRESCRIPT = ' BASE_PRESCRIPT = +++ eval export BASE_PRESCRIPT ++++ export BASE_PRESCRIPT +++ for var in $vars +++ echo 'BASE_PYPI_INDEX = ' BASE_PYPI_INDEX = +++ eval export BASE_PYPI_INDEX ++++ export BASE_PYPI_INDEX +++ for var in $vars +++ echo 'BASE_ROOT_PARTITION = 2' BASE_ROOT_PARTITION = 2 +++ eval export BASE_ROOT_PARTITION ++++ export BASE_ROOT_PARTITION +++ for var in $vars +++ echo 'BASE_SSH_ENABLE = yes' BASE_SSH_ENABLE = yes +++ eval export BASE_SSH_ENABLE ++++ export BASE_SSH_ENABLE +++ for var in $vars +++ echo 'BASE_WORKSPACE = /FullPageOS/src/workspace' BASE_WORKSPACE = /FullPageOS/src/workspace +++ eval export BASE_WORKSPACE ++++ export BASE_WORKSPACE +++ for var in $vars +++ echo 'BASE_ZIP_IMG = /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip' BASE_ZIP_IMG = /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip +++ eval export BASE_ZIP_IMG ++++ export BASE_ZIP_IMG +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/raspicam ']' +++ '[' -d /CustomPiOS/src/modules/raspicam ']' +++ export MODULE_PATH=/CustomPiOS/src/modules/raspicam +++ MODULE_PATH=/CustomPiOS/src/modules/raspicam +++ echo loading raspicam config at /CustomPiOS/src/modules/raspicam/config loading raspicam config at /CustomPiOS/src/modules/raspicam/config +++ '[' -f /CustomPiOS/src/modules/raspicam/config ']' +++ source /CustomPiOS/src/modules/raspicam/config +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: ++++ echo raspicam ++++ awk '{print toupper($0)}' +++ module_up=RASPICAM_ ++++ compgen -A variable ++++ grep '^RASPICAM_' +++ vars= +++ true +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/network ']' +++ '[' -d /CustomPiOS/src/modules/network ']' +++ export MODULE_PATH=/CustomPiOS/src/modules/network +++ MODULE_PATH=/CustomPiOS/src/modules/network +++ echo loading network config at /CustomPiOS/src/modules/network/config loading network config at /CustomPiOS/src/modules/network/config +++ '[' -f /CustomPiOS/src/modules/network/config ']' +++ source /CustomPiOS/src/modules/network/config +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: ++++ echo network ++++ awk '{print toupper($0)}' +++ module_up=NETWORK_ ++++ compgen -A variable ++++ grep '^NETWORK_' +++ vars= +++ true +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/disable-services ']' +++ '[' -d /CustomPiOS/src/modules/disable-services ']' +++ export MODULE_PATH=/CustomPiOS/src/modules/disable-services +++ MODULE_PATH=/CustomPiOS/src/modules/disable-services +++ echo loading disable-services config at /CustomPiOS/src/modules/disable-services/config loading disable-services config at /CustomPiOS/src/modules/disable-services/config +++ '[' -f /CustomPiOS/src/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: ++++ echo disable-services ++++ awk '{print toupper($0)}' +++ module_up=DISABLE-SERVICES_ ++++ compgen -A variable ++++ grep '^DISABLE-SERVICES_' +++ vars= +++ true +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/gui ']' +++ '[' -d /CustomPiOS/src/modules/gui ']' +++ export MODULE_PATH=/CustomPiOS/src/modules/gui +++ MODULE_PATH=/CustomPiOS/src/modules/gui +++ echo loading gui config at /CustomPiOS/src/modules/gui/config loading gui config at /CustomPiOS/src/modules/gui/config +++ '[' -f /CustomPiOS/src/modules/gui/config ']' +++ source /CustomPiOS/src/modules/gui/config ++++ '[' -n '' ']' ++++ GUI_INCLUDE_ACCELERATION=yes ++++ '[' -n /home/pi/scripts/run_onepageos ']' +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: ++++ echo gui ++++ awk '{print toupper($0)}' +++ module_up=GUI_ ++++ compgen -A variable ++++ grep '^GUI_' +++ vars='GUI_INCLUDE_ACCELERATION GUI_STARTUP_SCRIPT' +++ for var in $vars +++ echo 'GUI_INCLUDE_ACCELERATION = yes' GUI_INCLUDE_ACCELERATION = yes +++ eval export GUI_INCLUDE_ACCELERATION ++++ export GUI_INCLUDE_ACCELERATION +++ for var in $vars +++ echo 'GUI_STARTUP_SCRIPT = /home/pi/scripts/run_onepageos' GUI_STARTUP_SCRIPT = /home/pi/scripts/run_onepageos +++ eval export GUI_STARTUP_SCRIPT ++++ export GUI_STARTUP_SCRIPT +++ echo ================================================================ ================================================================ +++ for module in $(echo "${MODULES_LIST}" | tr "," "\n") +++ '[' -d /FullPageOS/src/modules/fullpageos ']' +++ export MODULE_PATH=/FullPageOS/src/modules/fullpageos +++ MODULE_PATH=/FullPageOS/src/modules/fullpageos +++ echo loading fullpageos config at /FullPageOS/src/modules/fullpageos/config loading fullpageos config at /FullPageOS/src/modules/fullpageos/config +++ '[' -f /FullPageOS/src/modules/fullpageos/config ']' +++ source /FullPageOS/src/modules/fullpageos/config ++++ '[' -n '"Europe/Berlin"' ']' ++++ '[' -n '"de_DE.UTF-8"' ']' ++++ '[' -n default ']' ++++ '[' -n '' ']' ++++ FULLPAGEOS_INCLUDE_CHROMIUM=yes ++++ '[' -n no ']' ++++ '[' -n '' ']' ++++ FULLPAGEOS_DASHBOARD_REPO_SHIP=https://github.com/amitdar/FullPageDashboard.git ++++ '[' -n '' ']' ++++ FULLPAGEOS_DASHBOARD_REPO_BUILD= ++++ '[' -n '' ']' ++++ FULLPAGEOS_DASHBOARD_REPO_BRANCH=master ++++ '[' -n '' ']' ++++ FULLPAGEOS_INCLUDE_DASHBOARD=yes ++++ '[' -n '' ']' ++++ FULLPAGEOS_WELCOME_REPO_SHIP=https://github.com/tailorvj/FullPageOSWelcome.git ++++ '[' -n '' ']' ++++ FULLPAGEOS_WELCOME_REPO_BUILD= ++++ '[' -n '' ']' ++++ FULLPAGEOS_WELCOME_REPO_BRANCH=master ++++ '[' -n '' ']' ++++ FULLPAGEOS_INCLUDE_WELCOME=yes ++++ '[' -n '' ']' ++++ FULLPAGEOS_INCLUDE_ACCELERATION=yes +++ echo ================================================================ ================================================================ +++ echo 'Using the following config:' Using the following config: ++++ echo fullpageos ++++ awk '{print toupper($0)}' +++ module_up=FULLPAGEOS_ ++++ compgen -A variable ++++ grep '^FULLPAGEOS_' +++ vars='FULLPAGEOS_DASHBOARD_REPO_BRANCH FULLPAGEOS_DASHBOARD_REPO_BUILD FULLPAGEOS_DASHBOARD_REPO_SHIP FULLPAGEOS_INCLUDE_ACCELERATION FULLPAGEOS_INCLUDE_CHROMIUM FULLPAGEOS_INCLUDE_DASHBOARD FULLPAGEOS_INCLUDE_LIGHTTPD FULLPAGEOS_INCLUDE_WELCOME FULLPAGEOS_OVERRIDE_LOCALE FULLPAGEOS_OVERRIDE_LOCALE_GEN FULLPAGEOS_OVERRIDE_PASSWORD FULLPAGEOS_OVERRIDE_TIMEZONE FULLPAGEOS_WELCOME_REPO_BRANCH FULLPAGEOS_WELCOME_REPO_BUILD FULLPAGEOS_WELCOME_REPO_SHIP' +++ for var in $vars +++ echo 'FULLPAGEOS_DASHBOARD_REPO_BRANCH = master' FULLPAGEOS_DASHBOARD_REPO_BRANCH = master +++ eval export FULLPAGEOS_DASHBOARD_REPO_BRANCH ++++ export FULLPAGEOS_DASHBOARD_REPO_BRANCH +++ for var in $vars +++ echo 'FULLPAGEOS_DASHBOARD_REPO_BUILD = ' FULLPAGEOS_DASHBOARD_REPO_BUILD = +++ eval export FULLPAGEOS_DASHBOARD_REPO_BUILD ++++ export FULLPAGEOS_DASHBOARD_REPO_BUILD +++ for var in $vars +++ echo 'FULLPAGEOS_DASHBOARD_REPO_SHIP = https://github.com/amitdar/FullPageDashboard.git' FULLPAGEOS_DASHBOARD_REPO_SHIP = https://github.com/amitdar/FullPageDashboard.git +++ eval export FULLPAGEOS_DASHBOARD_REPO_SHIP ++++ export FULLPAGEOS_DASHBOARD_REPO_SHIP +++ for var in $vars +++ echo 'FULLPAGEOS_INCLUDE_ACCELERATION = yes' FULLPAGEOS_INCLUDE_ACCELERATION = yes +++ eval export FULLPAGEOS_INCLUDE_ACCELERATION ++++ export FULLPAGEOS_INCLUDE_ACCELERATION +++ for var in $vars +++ echo 'FULLPAGEOS_INCLUDE_CHROMIUM = yes' FULLPAGEOS_INCLUDE_CHROMIUM = yes +++ eval export FULLPAGEOS_INCLUDE_CHROMIUM ++++ export FULLPAGEOS_INCLUDE_CHROMIUM +++ for var in $vars +++ echo 'FULLPAGEOS_INCLUDE_DASHBOARD = yes' FULLPAGEOS_INCLUDE_DASHBOARD = yes +++ eval export FULLPAGEOS_INCLUDE_DASHBOARD ++++ export FULLPAGEOS_INCLUDE_DASHBOARD +++ for var in $vars +++ echo 'FULLPAGEOS_INCLUDE_LIGHTTPD = no' FULLPAGEOS_INCLUDE_LIGHTTPD = no +++ eval export FULLPAGEOS_INCLUDE_LIGHTTPD ++++ export FULLPAGEOS_INCLUDE_LIGHTTPD +++ for var in $vars +++ echo 'FULLPAGEOS_INCLUDE_WELCOME = yes' FULLPAGEOS_INCLUDE_WELCOME = yes +++ eval export FULLPAGEOS_INCLUDE_WELCOME ++++ export FULLPAGEOS_INCLUDE_WELCOME +++ for var in $vars +++ echo 'FULLPAGEOS_OVERRIDE_LOCALE = "de_DE.UTF-8"' FULLPAGEOS_OVERRIDE_LOCALE = "de_DE.UTF-8" +++ eval export FULLPAGEOS_OVERRIDE_LOCALE ++++ export FULLPAGEOS_OVERRIDE_LOCALE +++ for var in $vars +++ echo 'FULLPAGEOS_OVERRIDE_LOCALE_GEN = "de_DE.UTF-8 UTF-8"' FULLPAGEOS_OVERRIDE_LOCALE_GEN = "de_DE.UTF-8 UTF-8" +++ eval export FULLPAGEOS_OVERRIDE_LOCALE_GEN ++++ export FULLPAGEOS_OVERRIDE_LOCALE_GEN +++ for var in $vars +++ echo 'FULLPAGEOS_OVERRIDE_PASSWORD = default' FULLPAGEOS_OVERRIDE_PASSWORD = default +++ eval export FULLPAGEOS_OVERRIDE_PASSWORD ++++ export FULLPAGEOS_OVERRIDE_PASSWORD +++ for var in $vars +++ echo 'FULLPAGEOS_OVERRIDE_TIMEZONE = "Europe/Berlin"' FULLPAGEOS_OVERRIDE_TIMEZONE = "Europe/Berlin" +++ eval export FULLPAGEOS_OVERRIDE_TIMEZONE ++++ export FULLPAGEOS_OVERRIDE_TIMEZONE +++ for var in $vars +++ echo 'FULLPAGEOS_WELCOME_REPO_BRANCH = master' FULLPAGEOS_WELCOME_REPO_BRANCH = master +++ eval export FULLPAGEOS_WELCOME_REPO_BRANCH ++++ export FULLPAGEOS_WELCOME_REPO_BRANCH +++ for var in $vars +++ echo 'FULLPAGEOS_WELCOME_REPO_BUILD = ' FULLPAGEOS_WELCOME_REPO_BUILD = +++ eval export FULLPAGEOS_WELCOME_REPO_BUILD ++++ export FULLPAGEOS_WELCOME_REPO_BUILD +++ for var in $vars +++ echo 'FULLPAGEOS_WELCOME_REPO_SHIP = https://github.com/tailorvj/FullPageOSWelcome.git' FULLPAGEOS_WELCOME_REPO_SHIP = https://github.com/tailorvj/FullPageOSWelcome.git +++ eval export FULLPAGEOS_WELCOME_REPO_SHIP ++++ export FULLPAGEOS_WELCOME_REPO_SHIP +++ echo ================================================================ ================================================================ ++ /CustomPiOS/src/config_sanity ++ '[' '' == yes ']' ++ source /CustomPiOS/src/custompios +++ set -e +++ export LC_ALL=C +++ LC_ALL=C +++ source /CustomPiOS/src/common.sh +++ mkdir -p /FullPageOS/src/workspace +++ mkdir -p /FullPageOS/src/workspace/mount +++ install_cleanup_trap +++ set -e +++ trap cleanup SIGINT SIGTERM +++ install_fail_on_error_trap +++ set -e +++ trap 'echo "build failed, unmounting image..." && cd $DIST_PATH && ( unmount_image $BASE_MOUNT_PATH force || true ) && echo_red -e "\nBUILD FAILED!\n"' ERR +++ unmount_image /FullPageOS/src/workspace/mount force +++ mount_path=/FullPageOS/src/workspace/mount +++ force= +++ '[' 2 -gt 1 ']' +++ force=force +++ '[' -n force ']' ++++ sudo lsof /FullPageOS/src/workspace/mount ++++ awk '{print $2}' ++++ sudo mount ++++ grep /FullPageOS/src/workspace/mount ++++ awk -F on '{print $2}' ++++ awk '{print $1}' ++++ sort -r +++ pushd /FullPageOS/src/workspace /FullPageOS/src/workspace /FullPageOS/src +++ '[' -e '*.img' ']' +++ '[' '!' -f /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip ']' +++ '[' /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip == '' ']' +++ 7za x -aoa /FullPageOS/src/image/2017-11-29-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,3 CPUs Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz (40651),ASM,AES-NI) Scanning the drive for archives: 1 file, 364724005 bytes (348 MiB) Extracting archive: /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip -- Path = /FullPageOS/src/image/2017-11-29-raspbian-stretch-lite.zip Type = zip Physical Size = 364724005 Everything is Ok Size: 1858076672 Compressed: 364724005 ++++ ls ++++ grep '.img\|.raw' ++++ head -n 1 +++ BASE_IMG_PATH=2017-11-29-raspbian-stretch-lite.img +++ '[' '!' -f 2017-11-29-raspbian-stretch-lite.img ']' ++++ basename 2017-11-29-raspbian-stretch-lite.img +++ export CUSTOM_PI_OS_BUILDBASE=2017-11-29-raspbian-stretch-lite.img +++ CUSTOM_PI_OS_BUILDBASE=2017-11-29-raspbian-stretch-lite.img +++ '[' -n 1000 ']' +++ enlarge_ext 2017-11-29-raspbian-stretch-lite.img 2 1000 +++ image=2017-11-29-raspbian-stretch-lite.img +++ partition=2 +++ size=1000 +++ echo 'Adding 1000 MB to partition 2 of 2017-11-29-raspbian-stretch-lite.img' Adding 1000 MB to partition 2 of 2017-11-29-raspbian-stretch-lite.img ++++ sfdisk -d 2017-11-29-raspbian-stretch-lite.img ++++ awk '{print $4-0}' ++++ grep 2017-11-29-raspbian-stretch-lite.img2 +++ start=94208 +++ offset=48234496 +++ dd if=/dev/zero bs=1M count=1000 1000+0 records in 1000+0 records out 1048576000 bytes (1.0 GB, 1000 MiB) copied, 1.04959 s, 999 MB/s +++ fdisk 2017-11-29-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 2017-11-29-raspbian-stretch-lite.img: 2.7 GiB, 2906652672 bytes, 5677056 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: 0x37665771 Device Boot Start End Sectors Size Id Type 2017-11-29-raspbian-stretch-lite.img1 8192 93236 85045 41.5M c W95 FAT32 (LBA) 2017-11-29-raspbian-stretch-lite.img2 94208 3629055 3534848 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-5677055, default 2048): Last sector, +sectors or +size{K,M,G,T,P} (94208-5677055, default 5677055): Created a new partition 2 of type 'Linux' and of size 2.7 GiB. Partition #2 contains a ext4 signature. Command (m for help): Disk 2017-11-29-raspbian-stretch-lite.img: 2.7 GiB, 2906652672 bytes, 5677056 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: 0x37665771 Device Boot Start End Sectors Size Id Type 2017-11-29-raspbian-stretch-lite.img1 8192 93236 85045 41.5M c W95 FAT32 (LBA) 2017-11-29-raspbian-stretch-lite.img2 94208 5677055 5582848 2.7G 83 Linux Command (m for help): The partition table has been altered. Syncing disks. ++++ losetup -f --show -o 48234496 2017-11-29-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: 39394/110656 files (0.1% non-contiguous), 256435/441856 blocks +++ resize2fs -p /dev/loop0 resize2fs 1.43.4 (31-Jan-2017) Resizing the filesystem on /dev/loop0 to 697856 (4k) blocks. Begin pass 1 (max = 8) Extending the inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX The filesystem on /dev/loop0 is now 697856 (4k) blocks long. +++ losetup -d /dev/loop0 +++ trap - EXIT +++ echo 'Resized parition 2 of 2017-11-29-raspbian-stretch-lite.img to +1000 MB' Resized parition 2 of 2017-11-29-raspbian-stretch-lite.img to +1000 MB +++ mount_image 2017-11-29-raspbian-stretch-lite.img 2 /FullPageOS/src/workspace/mount +++ image_path=2017-11-29-raspbian-stretch-lite.img +++ root_partition=2 +++ mount_path=/FullPageOS/src/workspace/mount +++ echo 2 2 +++ boot_partition=1 ++++ sfdisk -d 2017-11-29-raspbian-stretch-lite.img +++ fdisk_output='label: dos label-id: 0x37665771 device: 2017-11-29-raspbian-stretch-lite.img unit: sectors 2017-11-29-raspbian-stretch-lite.img1 : start= 8192, size= 85045, type=c 2017-11-29-raspbian-stretch-lite.img2 : start= 94208, size= 5582848, type=83' ++++ echo 'label: dos label-id: 0x37665771 device: 2017-11-29-raspbian-stretch-lite.img unit: sectors 2017-11-29-raspbian-stretch-lite.img1 : start= 8192, size= 85045, type=c 2017-11-29-raspbian-stretch-lite.img2 : start= 94208, size= 5582848, type=83' ++++ awk '{print $4-0}' ++++ grep 2017-11-29-raspbian-stretch-lite.img1 +++ boot_offset=4194304 ++++ echo 'label: dos label-id: 0x37665771 device: 2017-11-29-raspbian-stretch-lite.img unit: sectors 2017-11-29-raspbian-stretch-lite.img1 : start= 8192, size= 85045, type=c 2017-11-29-raspbian-stretch-lite.img2 : start= 94208, size= 5582848, type=83' ++++ awk '{print $4-0}' ++++ grep 2017-11-29-raspbian-stretch-lite.img2 +++ root_offset=48234496 +++ echo 'Mounting image 2017-11-29-raspbian-stretch-lite.img on /FullPageOS/src/workspace/mount, offset for boot partition is 4194304, offset for root partition is 48234496' Mounting image 2017-11-29-raspbian-stretch-lite.img on /FullPageOS/src/workspace/mount, offset for boot partition is 4194304, offset for root partition is 48234496 +++ sudo mount -o loop,offset=48234496 2017-11-29-raspbian-stretch-lite.img /FullPageOS/src/workspace/mount/ +++ [[ 1 != \2 ]] ++++ expr 48234496 - 4194304 +++ sudo mount -o loop,offset=4194304,sizelimit=44040192 2017-11-29-raspbian-stretch-lite.img /FullPageOS/src/workspace/mount/boot +++ sudo mkdir -p /FullPageOS/src/workspace/mount/dev/pts +++ sudo mount -o bind /dev /FullPageOS/src/workspace/mount/dev +++ sudo mount -o bind /dev/pts /FullPageOS/src/workspace/mount/dev/pts +++ '[' -n /FullPageOS/src/workspace/aptcache ']' +++ mkdir -p /FullPageOS/src/workspace/aptcache +++ mount --bind /FullPageOS/src/workspace/aptcache /FullPageOS/src/workspace/mount/var/cache/apt +++ pushd /FullPageOS/src/workspace/mount /FullPageOS/src/workspace/mount /FullPageOS/src/workspace /FullPageOS/src +++ '[' 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=/FullPageOS/src/workspace/chroot_script +++ python3 /CustomPiOS/src/execution_order.py 'base(raspicam, network, disable-services(gui(fullpageos)))' /FullPageOS/src/workspace/chroot_script WARNING: No file at - /CustomPiOS/src/modules/raspicam/end_chroot_script WARNING: No file at - /FullPageOS/src/modules/fullpageos/end_chroot_script +++ export -f execute_chroot_script +++ /FullPageOS/src/workspace/chroot_script + set -e + execute_chroot_script /CustomPiOS/src/modules/base /CustomPiOS/src/modules/base/start_chroot_script + cp -vr --preserve=mode,timestamps /CustomPiOS/src/modules/base/filesystem . cp: cannot stat '/CustomPiOS/src/modules/base/filesystem': No such file or directory + true ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/src/modules/base/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/src/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 2017-11-29-raspbian-stretch-lite.img + echo 0.9.0 + rm chroot_script + rm -rfv filesystem + execute_chroot_script /CustomPiOS/src/modules/raspicam /CustomPiOS/src/modules/raspicam/start_chroot_script + cp -vr --preserve=mode,timestamps /CustomPiOS/src/modules/raspicam/filesystem . cp: cannot stat '/CustomPiOS/src/modules/raspicam/filesystem': No such file or directory + true ++ which qemu-arm-static + cp /usr/bin/qemu-arm-static usr/bin + cp /CustomPiOS/src/modules/raspicam/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/src/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 + rm chroot_script + rm -rfv filesystem + execute_chroot_script /CustomPiOS/src/modules/network /CustomPiOS/src/modules/network/start_chroot_script + cp -vr --preserve=mode,timestamps /CustomPiOS/src/modules/network/filesystem . '/CustomPiOS/src/modules/network/filesystem' -> './filesystem' '/CustomPiOS/src/modules/network/filesystem/boot' -> './filesystem/boot' '/CustomPiOS/src/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/src/modules/network/start_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/src/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/fullpageos-wpa-supplicant.txt + mv /boot/custompios-wpa-supplicant.txt /boot/fullpageos-wpa-supplicant.txt + cat /etc/wpa_supplicant/wpa_supplicant.conf + rm -f /etc/wpa_supplicant/wpa_supplicant.conf + ln -s /boot/fullpageos-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' + rm chroot_script + rm -rfv filesystem removed 'filesystem/boot/custompios-wpa-supplicant.txt' removed directory 'filesystem/boot' removed directory 'filesystem' + execute_chroot_script /CustomPiOS/src/modules/network /CustomPiOS/src/modules/network/end_chroot_script + cp -vr --preserve=mode,timestamps /CustomPiOS/src/modules/network/filesystem . '/CustomPiOS/src/modules/network/filesystem' -> './filesystem' '/CustomPiOS/src/modules/network/filesystem/boot' -> './filesystem/boot' '/CustomPiOS/src/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/src/modules/network/end_chroot_script chroot_script + chmod 755 chroot_script + cp /CustomPiOS/src/common.sh common.sh + chmod 755 common.sh + chroot . usr/bin/qemu-arm-static /bin/bash /chroot_script + set -e + source /common.sh + unpack /filesystem/root / + from=/filesystem/root + to=/ + owner= + '[' 2 -gt 2 ']' + cp -v -r --preserve=mode,timestamps /filesystem/root/. / /bin/cp: cannot stat '/filesystem/root/.': No such file or directory ++++ echo 'build failed, unmounting image...' build failed, unmounting image... ++++ cd /FullPageOS/src ++++ unmount_image /FullPageOS/src/workspace/mount force ++++ mount_path=/FullPageOS/src/workspace/mount ++++ force= ++++ '[' 2 -gt 1 ']' ++++ force=force ++++ '[' -n force ']' +++++ sudo lsof /FullPageOS/src/workspace/mount +++++ awk '{print $2}' +++++ sort -r +++++ awk '{print $1}' +++++ sudo mount +++++ awk -F on '{print $2}' +++++ grep /FullPageOS/src/workspace/mount ++++ for m in $(sudo mount | grep $mount_path | awk -F "on" '{print $2}' | awk '{print $1}' | sort -r) ++++ echo 'Unmounting /FullPageOS/src/workspace/mount/var/cache/apt...' Unmounting /FullPageOS/src/workspace/mount/var/cache/apt... ++++ sudo umount /FullPageOS/src/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 /FullPageOS/src/workspace/mount/dev/pts...' Unmounting /FullPageOS/src/workspace/mount/dev/pts... ++++ sudo umount /FullPageOS/src/workspace/mount/dev/pts ++++ for m in $(sudo mount | grep $mount_path | awk -F "on" '{print $2}' | awk '{print $1}' | sort -r) ++++ echo 'Unmounting /FullPageOS/src/workspace/mount/dev...' Unmounting /FullPageOS/src/workspace/mount/dev... ++++ sudo umount /FullPageOS/src/workspace/mount/dev ++++ for m in $(sudo mount | grep $mount_path | awk -F "on" '{print $2}' | awk '{print $1}' | sort -r) ++++ echo 'Unmounting /FullPageOS/src/workspace/mount/boot...' Unmounting /FullPageOS/src/workspace/mount/boot... ++++ sudo umount /FullPageOS/src/workspace/mount/boot ++++ for m in $(sudo mount | grep $mount_path | awk -F "on" '{print $2}' | awk '{print $1}' | sort -r) ++++ echo 'Unmounting /FullPageOS/src/workspace/mount...' Unmounting /FullPageOS/src/workspace/mount... ++++ sudo umount /FullPageOS/src/workspace/mount ++++ echo_red -e '\nBUILD FAILED!\n' ++++ echo -e -n '\e[91m' ++++ echo -e '\nBUILD' 'FAILED!\n' BUILD FAILED! ++++ echo -e -n '\e[0m' + exit 1
Thanks! I can confirm it's working now.
Builds are currently not working in my setup, but I'm pretty sure they were earlier today.
@guysoft Could this be related to https://github.com/guysoft/CustomPiOS/commit/4377632e32ec871f1d3c4cb69e6e00d783d628a2 ?
Here is the last error:
I am building in a Docker container. If required, I'll provide more details.
Complete log: