I have a problem to build my AOSP. And "lunch" and "m" takes quite a long time (1 or 2 minutes) to start, but I'm mainly here for the other issue.
There is no Error or something else, the build only gets stuck.
Here is where it get stuck:
============================================
PLATFORM_VERSION_CODENAME=R
PLATFORM_VERSION=R
TARGET_PRODUCT=full_a5y17lte
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.0.0-32-generic-x86_64-Ubuntu-18.04.3-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QD1A.190821.011
OUT_DIR=out
============================================
[ 0% 0/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
(time) out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
When the build starts after the 1-2 minutes my CPU useage is on all 6 cores for a short time fully utilized. Then the CPU useage is normal.
I already made one build attempt for 3 hours, it didn't help.
Note: My out directory is linked with a folder of an Raid 0 partition from 3 HDDs, NTFS formated. I use it because my SSD with the AOSP is to small.