[Sony Xperia XZ2 ROMs, Kernels, Recoveries, & Other] MartinX3:
Currently the compilation of the july security patch level release (android-11.0.0_r39) fails and I don't know why except their sources are borked.

If someone can reproduce it, I don't need to remove and redownload the many gigabytes of android source code again o_O (make clean didn't work)

[ 89% 103789/115327] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
FAILED: out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm_armv8-2a_shared/unstripped/libhwui.so
prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ out/soong/.intermediates/bionic/libc/crtbegin_so/android_arm_armv8-2a/crtbegin_so.o @out/soong/.intermediates/frameworks/base/libs/hwui/lib
hwui/android_arm_armv8-2a_shared/unstripped/libhwui.so.rsp -Wl,--whole-archive out/soong/.intermediates/external/skia/libskia/android_arm_armv8-2a_static_lto-thin/libskia.a -Wl,--no-whole-archive
-Wl,--start-group out/soong/.intermediates/external/giflib/libgif/android_arm_armv8-2a_static_lto-thin/libgif.a out/soong/.intermediates/frameworks/base/tools/stats_log_api_gen/libstatslog/android_a
rm_armv8-2a_static_lto-thin/libstatslog.a out/soong/.intermediates/frameworks/native/opengl/libs/libEGL_blobCache/android_arm_armv8-2a_static_lto-thin/libEGL_blobCache.a out/soong/.intermediates/fra
meworks/base/libs/protoutil/libprotoutil/android_arm_armv8-2a_static_lto-thin/libprotoutil.a out/soong/.intermediates/frameworks/native/libs/arect/libarect/android_arm_armv8-2a_static_lto-thin/libar
ect.a out/soong/.intermediates/external/sfntly/libsfntly/android_arm_armv8-2a_static_lto-thin/libsfntly.a out/soong/.intermediates/external/webp/libwebp-decode/android_arm_armv8-2a_static_lto-thin/l
ibwebp-decode.a out/soong/.intermediates/external/webp/libwebp-encode/android_arm_armv8-2a_static_lto-thin/libwebp-encode.a out/soong/.intermediates/external/libcxxabi/libc++demangle/android_arm_arm
v8-2a_static_lto-thin/libc++demangle.a -Wl,--end-group prebuilts/clang/host/linux-x86/clang-r383902b1/lib64/clang/11.0.2/lib/linux/libclang_rt.builtins-arm-android.a prebuilts/gcc/linux-x86/arm/arm-
linux-androideabi-4.9/arm-linux-androideabi/lib/libatomic.a out/soong/.intermediates/libnativehelper/libnativehelper/android_arm_armv8-2a_shared_1/libnativehelper.so out/soong/.intermediates/system/
core/libziparchive/libziparchive/android_arm_armv8-2a_shared/libziparchive.so out/soong/.intermediates/external/icu/libandroidicu/libandroidicu/android_arm_armv8-2a_shared_1/libandroidicu.so out/soo
ng/.intermediates/external/dng_sdk/libdng_sdk/android_arm_armv8-2a_shared/libdng_sdk.so out/soong/.intermediates/external/expat/libexpat/android_arm_armv8-2a_shared/libexpat.so out/soong/.intermedia
tes/external/libjpeg-turbo/libjpeg/android_arm_armv8-2a_shared/libjpeg.so out/soong/.intermediates/external/piex/libpiex/android_arm_armv8-2a_shared/libpiex.so out/soong/.intermediates/external/libp
ng/libpng/android_arm_armv8-2a_shared/libpng.so out/soong/.intermediates/external/zlib/libz/android_arm_armv8-2a_shared/libz.so out/soong/.intermediates/system/core/base/libbase/android_arm_armv8-2a
_shared/libbase.so out/soong/.intermediates/external/harfbuzz_ng/libharfbuzz_ng/android_arm_armv8-2a_shared/libharfbuzz_ng.so out/soong/.intermediates/frameworks/minikin/libs/minikin/libminikin/andr
oid_arm_armv8-2a_shared/libminikin.so out/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm_armv8-2a_shared/libbinder.so out/soong/.intermediates/frameworks/native/libs/binder
/ndk/libbinder_ndk/android_arm_armv8-2a_shared/libbinder_ndk.so out/soong/.intermediates/frameworks/av/media/ndk/libmediandk/android_arm_armv8-2a_shared/libmediandk.so out/soong/.intermediates/exter
nal/pdfium/libpdfium/android_arm_armv8-2a_shared/libpdfium.so out/soong/.intermediates/frameworks/av/media/libheif/libheif/android_arm_armv8-2a_shared/libheif.so out/soong/.intermediates/system/core
/liblog/liblog/android_arm_armv8-2a_shared/liblog.so out/soong/.intermediates/system/core/libcutils/libcutils/android_arm_armv8-2a_shared/libcutils.so out/soong/.intermediates/frameworks/base/tools/
stats_log_api_gen/libstatslog/android_arm_armv8-2a_shared/libstatslog.so out/soong/.intermediates/system/core/libutils/libutils/android_arm_armv8-2a_shared/libutils.so out/soong/.intermediates/frame
works/native/opengl/libs/libEGL/android_arm_armv8-2a_shared/libEGL.so out/soong/.intermediates/frameworks/native/opengl/libs/libGLESv1_CM/android_arm_armv8-2a_shared/libGLESv1_CM.so out/soong/.inter
mediates/frameworks/native/opengl/libs/libGLESv2/android_arm_armv8-2a_shared/libGLESv2.so out/soong/.intermediates/frameworks/native/opengl/libs/libGLESv3/android_arm_armv8-2a_shared/libGLESv3.so ou
t/soong/.intermediates/frameworks/native/vulkan/libvulkan/libvulkan/android_arm_armv8-2a_shared/libvulkan.so out/soong/.intermediates/frameworks/native/libs/ui/libui/android_arm_armv8-2a_shared/libu
i.so out/soong/.intermediates/frameworks/native/libs/nativedisplay/libnativedisplay/android_arm_armv8-2a_shared/libnativedisplay.so out/soong/.intermediates/frameworks/native/libs/nativewindow/libna
tivewindow/android_arm_armv8-2a_shared/libnativewindow.so out/soong/.intermediates/external/protobuf/libprotobuf-cpp-lite/android_arm_armv8-2a_shared/libprotobuf-cpp-lite.so out/soong/.intermediates
/external/freetype/libft2/android_arm_armv8-2a_shared/libft2.so out/soong/.intermediates/frameworks/base/libs/androidfw/libandroidfw/android_arm_armv8-2a_shared/libandroidfw.so out/soong/.intermedia
tes/external/boringssl/libcrypto/android_arm_armv8-2a_shared/libcrypto.so out/soong/.intermediates/system/core/libsync/libsync/android_arm_armv8-2a_shared/libsync.so out/soong/.intermediates/system/
core/libstats/pull/libstatspull/android_arm_armv8-2a_shared_30/libstatspull.so out/soong/.intermediates/system/core/libstats/socket/libstatssocket/android_arm_armv8-2a_shared_30/libstatssocket.so ou
t/soong/.intermediates/external/libcxx/libc++/android_arm_armv8-2a_shared/libc++.so out/soong/.intermediates/bionic/libc/libc/android_arm_armv8-2a_shared_10000/libc.so out/soong/.intermediates/bioni
c/libm/libm/android_arm_armv8-2a_shared_10000/libm.so out/soong/.intermediates/bionic/libdl/libdl/android_arm_armv8-2a_shared_10000/libdl.so out/soong/.intermediates/bionic/libc/crtend_so/android_ar
m_armv8-2a/obj/bionic/libc/arch-common/bionic/crtend_so.o -o out/soong/.intermediates/frameworks/base/libs/hwui/libhwui/android_arm_armv8-2a_shared/unstripped/libhwui.so -target armv7a-linux-android
eabi10000 -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnin
gs -Wl,--no-undefined-version -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_stripped.a -Wl,--exclude-libs,libunwind_llvm.a -fuse-ld=lld -Wl,--pack-dyn-relocs=android+relr -Wl,--use-android-r
elr-tags -Wl,--no-undefined -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,-m,armelf -Wl,--exclude-libs=libclang_rt.builtins-arm-android.a -nostdlib -Wl,--gc-sections -shared -Wl,-soname,libhwui.so -Wl,--
exclude-libs,libunwind_llvm.a -flto=thin -fsplit-lto-unit -fprofile-use=toolchain/pgo-profiles/hwui/hwui.profdata.2020-06-02 -Wno-backend-plugin
ld.lld: error: out/soong/.intermediates/external/skia/libskia/android_arm_armv8-2a_static_lto-thin/libskia.a: Archive::children failed: truncated or malformed archive (terminator characters in archi
ve member "\000\000" not the correct "`\n" values for the archive member header for )
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
14:24:05 ninja failed with: exit status 1