AnsweredAssumed Answered

Oreo on mx6dl-sabresd: make otapackage stuck on 0%

Question asked by Benjamin Lindqvist on Sep 18, 2018
Latest reply on Oct 10, 2018 by Diego Adrian Cuevas

BSP builds fine it seems, but when I try to create ota packages the build system seems to get stuck. Been waiting 10 minutes and it hasn't moved yet (on a monster build slave with -j16 flag set).

 

Build command:

    . build/envsetup.sh && lunch sabresd_6dq-userdebug

    make otapackage -j16 V=1

 

Note: also tried including PRODUCT_NAME=sabresd_6dq in the make call, but it doesn't affect outcome -- it does a bunch of stuff, then gets stuck on:

 

[ 0% 0/1] Package OTA Start...: otapackage

 

For the record, the build slave is running Debian stretch 9.3. I should note that "make dist" fails with a cryptic error message (something about KeyError: "/system") but "make" works and "make updatepackage" works as well.

 

lunch output:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.0.0
TARGET_PRODUCT=sabresd_6dq
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.9.0-5-amd64-x86_64-with-debian-9.3
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=1.0.0-rfp-rc4
OUT_DIR=out
============================================ 

Outcomes