HABUILD_SDK [s2] koza@surfacelg:/parentroot/parentroot/mnt/myssd/hadk-s2-hybris18.1$ make -j1 systemimage
06:55:02 ************************************************************
06:55:02 You are building on a machine with 15.4GB of RAM
06:55:02
06:55:02 The minimum required amount of free memory is around 16GB,
06:55:02 and even with that, some configurations may not work.
06:55:02
06:55:02 If you run into segfaults or other errors, try reducing your
06:55:02 -j value.
06:55:02 ************************************************************
06:55:02 Build sandboxing disabled due to nsjail error.
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=11
LINEAGE_VERSION=18.1-20260511-UNOFFICIAL-s2
TARGET_PRODUCT=lineage_s2
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.19.14-200.fc43.x86_64-x86_64-Ubuntu-20.04.2-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=RQ3A.211001.001
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=vendor/leeco/s2 device/leeco/s2 hardware/qcom-caf/msm8952 vendor/qcom/opensource/data-ipa-cfg-mgr vendor/qcom/opensource/dataservices packages/a
pps/Bluetooth
============================================
$(shell date -u +%Y%m%d) was changed, regenerating...
06:55:17 Disallowed PATH tool "xmllint" used: []string{"xmllint", "--xpath", "string(/device[@name=\"Android\"]/item[@name=\"battery.capacity\"])", "device/leeco/s2/over
lay/frameworks/base/core/res/res/xml/power_profile.xml"}
06:55:17 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
06:55:17 Process tree:
06:55:17 → /parentroot/parentroot/mnt/myssd/hadk-s2-hybris18.1/out/soong_ui --make-mode -j1 systemimage
06:55:17 → prebuilts/build-tools/linux-x86/bin/ckati --ninja --ninja_dir=out --ninja_suffix=-lineage_s2 --no_ninja_prelude --regen --ignore_optional_include=out/%.P --d
etect_android_echo --color_warnings --gen_all_targets --use_find_emulator --werror_find_emulator --no_builtin_rules --werror_suffix_rules --warn_real_to_phony --warn_pho
ny_looks_real --werror_real_to_phony --werror_phony_looks_real --werror_writable --top_level_phony --kati_stats --writable out/ -f build/make/core/main.mk --werror_impli
cit_rules --werror_overriding_commands SOONG_MAKEVARS_MK=out/soong/make_vars-lineage_s2.mk SOONG_ANDROID_MK=out/soong/Android-lineage_s2.mk TARGET_DEVICE_DIR=device/leec
o/s2 KATI_PACKAGE_MK_DIR=out/target/product/s2/obj/CONFIG/kati_packaging
06:55:17 → xmllint --xpath string(/device[@name="Android"]/item[@name="battery.capacity"]) device/leeco/s2/overlay/frameworks/base/core/res/res/xml/power_profile.xml
$(shell date -u +%Y%m%d) was changed, regenerating...
[ 16% 37/221] including external/droidmedia/Android.mk ...
external/droidmedia/Android.mk:43: warning: *** ANDROID_MICRO undefined. Assuming 0
[ 22% 50/221] including external/libhybris/libhybris/compat/hwc2/Android.mk ...
external/libhybris/libhybris/compat/hwc2/Android.mk:8: warning: *** ANDROID_VERSION_MINOR undefined. Assuming 0
external/libhybris/libhybris/compat/hwc2/Android.mk:13: warning: *** ANDROID_VERSION_MICRO undefined. Assuming 0
06:58:31 Disallowed PATH tool "xmllint" used: []string{"xmllint", "--xpath", "string(/device[@name=\"Android\"]/item[@name=\"battery.capacity\"])", "device/leeco/s2/over
lay/frameworks/base/core/res/res/xml/power_profile.xml"}
06:58:31 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
06:58:31 Process tree:
06:58:31 → /parentroot/parentroot/mnt/myssd/hadk-s2-hybris18.1/out/soong_ui --make-mode -j1 systemimage
06:58:31 → prebuilts/build-tools/linux-x86/bin/ckati --ninja --ninja_dir=out --ninja_suffix=-lineage_s2 --no_ninja_prelude --regen --ignore_optional_include=out/%.P --d
etect_android_echo --color_warnings --gen_all_targets --use_find_emulator --werror_find_emulator --no_builtin_rules --werror_suffix_rules --warn_real_to_phony --warn_pho
ny_looks_real --werror_real_to_phony --werror_phony_looks_real --werror_writable --top_level_phony --kati_stats --writable out/ -f build/make/core/main.mk --werror_impli
cit_rules --werror_overriding_commands SOONG_MAKEVARS_MK=out/soong/make_vars-lineage_s2.mk SOONG_ANDROID_MK=out/soong/Android-lineage_s2.mk TARGET_DEVICE_DIR=device/leec
o/s2 KATI_PACKAGE_MK_DIR=out/target/product/s2/obj/CONFIG/kati_packaging
06:58:31 → xmllint --xpath string(/device[@name="Android"]/item[@name="battery.capacity"]) device/leeco/s2/overlay/frameworks/base/core/res/res/xml/power_profile.xml
[ 60% 133/221] including hybris/hybris-boot/Android.mk ...
hybris/hybris-boot/Android.mk:71: warning: ********************* /boot appears to live on /dev/block/bootdevice/by-name/boot
hybris/hybris-boot/Android.mk:72: warning: ********************* /data appears to live on /dev/block/bootdevice/by-name/userdata
"xmllint" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
/bin/bash: external/audioflingerglue/detect_build_targets.sh: No such file or directory
[ 77% 171/221] including system/sepolicy/Android.mk ...
system/sepolicy/Android.mk:93: warning: Be careful when using the SELINUX_IGNORE_NEVERALLOWS flag. It does not work in user builds and using it will not stop you from fa
iling CTS.
[ 0% 226/60068] //art/tools/cpp-define-generator:asm_defines.s clang++ asm_defines.cc [apex10000]
FAILED: out/soong/.intermediates/art/tools/cpp-define-generator/asm_defines.s/android_arm64_armv8-a_apex10000/obj/art/tools/cpp-define-generator/asm_defines.o
PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -c -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-derefe
rence -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -D__ANDROID_APEX__ -D__ANDROID_SDK_VERSION__=10000 -Werror=implicit-function-declaration
-DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-
aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrs
ig -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-f
unction-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-cl
ang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=retur
n-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -march=armv8-a -target aarch64-linux-android10000 -Bprebuilt
s/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -DANDROID_STRICT -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIO
NS -Wno-gnu-include-next -fvisibility-inlines-hidden -Idevice/leeco/s2/include -Iart/tools/cpp-define-generator -Ibionic/libc/platform -Iart/libartbase -Isystem/core/ba
se/include -Iexternal/fmtlib/include -Iart/runtime -Iart/libdexfile -Iexternal/libcxxabi/include -Iexternal/libcxx/include -fno-rtti -ggdb3 -Wall -Werror -Wextra -Wstric
t-aliasing -fstrict-aliasing -Wunreachable-code -Wredundant-decls -Wshadow -Wunused -fvisibility=protected -Wthread-safety -Wimplicit-fallthrough -Wfloat-equal -Wint-to-
void-pointer-cast -Wused-but-marked-unused -Wdeprecated -Wunreachable-code-break -Wunreachable-code-return -Wno-invalid-offsetof -Winconsistent-missing-override -D_LIBCP
P_ENABLE_THREAD_SAFETY_ANNOTATIONS -O3 -DART_DEFAULT_GC_TYPE_IS_CMS -DIMT_SIZE=43 -DART_USE_READ_BARRIER=1 -DART_READ_BARRIER_TYPE_IS_BAKER=1 -DART_USE_GENERATIONAL_CC=1
-DART_DEFAULT_COMPACT_DEX_LEVEL=fast -DART_STACK_OVERFLOW_GAP_arm=8192 -DART_STACK_OVERFLOW_GAP_arm64=8192 -DART_STACK_OVERFLOW_GAP_x86=8192 -DART_STACK_OVERFLOW_GAP_x8
6_64=8192 -DUSE_D8_DESUGAR=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DVIXL_DEBUG -UNDEBUG -O2 -fno-addrsig -S -Wmissing-noreturn -DART_TARGET -DART_ENABLE_CODEGEN_arm -DART_ENA
BLE_CODEGEN_arm64 -Wframe-larger-than=1736 -DART_FRAME_SIZE_LIMIT=1736 -DART_BASE_ADDRESS=0x70000000 -DART_TARGET_ANDROID -DART_BASE_ADDRESS_MIN_DELTA=-0x1000000 -DART_B
ASE_ADDRESS_MAX_DELTA=0x1000000 -Wno-frame-larger-than= -std=gnu++17 -fno-rtti -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardwa
re/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/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 -Ilibnative
helper/include_jni -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-cons
tant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautologi
cal-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversi
on -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -MD -MF out/soong/.intermediates/a
rt/tools/cpp-define-generator/asm_defines.s/android_arm64_armv8-a_apex10000/obj/art/tools/cpp-define-generator/asm_defines.o.d -o out/soong/.intermediates/art/tools/cpp-
define-generator/asm_defines.s/android_arm64_armv8-a_apex10000/obj/art/tools/cpp-define-generator/asm_defines.o art/tools/cpp-define-generator/asm_defines.cc
In file included from art/tools/cpp-define-generator/asm_defines.cc:36:
In file included from art/tools/cpp-define-generator/asm_defines.def:21:
In file included from art/tools/cpp-define-generator/globals.def:24:
In file included from art/runtime/gc/heap.h:39:
In file included from art/runtime/gc/space/large_object_space.h:25:
art/runtime/thread-current-inl.h:37:56: error: expected expression
void* thread = __get_tls()[TLS_SLOT_ART_THREAD_SELF];
^
1 error generated.
07:02:00 ninja failed with: exit status 1
#### failed to build some targets (06:59 (mm:ss)) ####