[Android Software/Hacking General [Developers Only]] Mcenzie:
Okay thank you. I give it up.

In my normaly ubuntu building works and thats ok.

maby that can help you:

[ 4% 4210/98372] //external/webp/src:libwebp-encode clang enc/picture_csp_enc.c

FAILED: /home/mcenzie/android/lineage/out/soong/.intermediates/external/webp/src/libwebp-encode/android_arm64_armv8-a_kryo_static_core/obj/external/webp/src/enc/picture_csp_enc.o

PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4053586/bin/clang -c -Iexternal/webp/src/enc -Iexternal/webp/src -fno-exceptions -Wno-multichar -fno-strict-aliasing -fstack-protector-strong -ffunction-sections -fdata-sections -funwind-tables -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=implicit-function-declaration -DNDEBUG -O2 -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -mcpu=kryo -Iexternal/webp/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/arch-arm64/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_deprecated -O2 -DANDROID -DWEBP_SWAP_16BIT_CSP -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fPIC -D_USING_LIBCXX -std=gnu99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/mcenzie/android/lineage/out/soong/.intermediates/external/webp/src/libwebp-encode/android_arm64_armv8-a_kryo_static_core/obj/external/webp/src/enc/picture_csp_enc.o.d -o /home/mcenzie/android/lineage/out/soong/.intermediates/external/webp/src/libwebp-encode/android_arm64_armv8-a_kryo_static_core/obj/external/webp/src/enc/picture_csp_enc.o external/webp/src/enc/picture_csp_enc.c

prebuilts/clang/host/linux-x86/clang-4053586/bin/clang.real: error while loading shared libraries: libc++.so: cannot open shared object file: No such file or directory

clang.real: error: unable to execute command: No such file or directory

clang.real: error: clang frontend command failed due to signal (use -v to see invocation)

Android clang version 5.0.300080 (based on LLVM 5.0.300080)

Target: aarch64--linux-android

Thread model: posix

InstalledDir: prebuilts/clang/host/linux-x86/clang-4053586/bin

clang.real: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.

clang.real: note: diagnostic msg:

********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:

Preprocessed source(s) and associated run script(s) are located at:

clang.real: note: diagnostic msg: /tmp/picture_csp_enc-058f5f.c

clang.real: note: diagnostic msg: /tmp/picture_csp_enc-058f5f.sh

clang.real: note: diagnostic msg:

********************

[ 4% 4218/98372] //external/libxml2:libxml2 clang parser.c [arm]