[General Questions and Answers] bekirakil:
root@DESKTOP-VSALQPL:/home/cerberus/twrp# mka bootimage

01:36:47 ************************************************************

01:36:47 You are building on a machine with 15.6GB of RAM

01:36:47

01:36:47 The minimum required amount of free memory is around 16GB,

01:36:47 and even with that, some configurations may not work.

01:36:47

01:36:47 If you run into segfaults or other errors, try reducing your

01:36:47 -j value.

01:36:47 ************************************************************

01:36:47 Build sandboxing disabled due to nsjail error.

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=16.1.0

TARGET_PRODUCT=twrp_frost

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv7-a-neon

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-Ubuntu-22.04.3-LTS

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=RQ1A.210205.004

OUT_DIR=out

PRODUCT_SOONG_NAMESPACES=vendor/xiaomi/frost hardware/jlq/jr510 vendor/jlq/jr510

============================================

[100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja

FAILED: out/soong/.bootstrap/build.ninja

out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp

panic: too many errors

goroutine 2290 [running]:

github.com/google/blueprint/parser.(*parser).error(0xc000d98580, 0x736d20, 0xc000bbc5a0)

build/blueprint/parser/parser.go:134 +0x313

github.com/google/blueprint/parser.(*parser).errorf(0xc000d98580, 0x6e3e8e, 0x15, 0x0, 0x0, 0x0)

build/blueprint/parser/parser.go:139 +0x75

github.com/google/blueprint/parser.newParser.func1(0xc000d98580, 0x6e3e8e, 0x15)

build/blueprint/parser/parser.go:115 +0x4f

text/scanner.(*Scanner).error(0xc000d98580, 0x6e3e8e, 0x15)

/home/cerberus/twrp/prebuilts/go/linux-x86/src/text/scanner/scanner.go:333 +0x2c0

text/scanner.(*Scanner).next(0xc000d98580, 0xc000d98590)

/home/cerberus/twrp/prebuilts/go/linux-x86/src/text/scanner/scanner.go:289 +0x389

text/scanner.(*Scanner).scanIdentifier(0xc000d98580, 0x667000c000000050)

/home/cerberus/twrp/prebuilts/go/linux-x86/src/text/scanner/scanner.go:356 +0x2b

text/scanner.(*Scanner).Scan(0xc000d98580, 0x203000)

/home/cerberus/twrp/prebuilts/go/linux-x86/src/text/scanner/scanner.go:685 +0x3d4

github.com/google/blueprint/parser.(*parser).next(0xc000d98580)

build/blueprint/parser/parser.go:156 +0x50

github.com/google/blueprint/parser.newParser(0x736f80, 0xc00155cc48, 0xc00149fbc0, 0xc000c10270)

build/blueprint/parser/parser.go:119 +0x160

github.com/google/blueprint/parser.ParseAndEval(0xc0001e71a0, 0x2b, 0x736f80, 0xc00155cc48, 0xc00149fbc0, 0x2b, 0x0, 0x0, 0xc001096930)

build/blueprint/parser/parser.go:87 +0x43

github.com/google/blueprint.(*Context).parseOne(0xc0000a7380, 0x6daa75, 0x1, 0xc0001e71a0, 0x2b, 0x736f80, 0xc00155cc48, 0xc00149fbc0, 0xc000b2c1b0, 0x4c7313, ...)

build/blueprint/context.go:1022 +0x220

github.com/google/blueprint.(*Context).openAndParse.func1(0x73bd60, 0xc00155cc48, 0xc0005f8da8, 0xc000f2bea8, 0xc0000a7380, 0x6daa75, 0x1, 0xc0001e71a0, 0x2b, 0xc00149fbc0, ...)

build/blueprint/context.go:986 +0x13f

github.com/google/blueprint.(*Context).openAndParse(0xc0000a7380, 0xc0001e71a0, 0x2b, 0xc00149fbc0, 0x6daa75, 0x1, 0xc000b2c1b0, 0x0, 0x0, 0x0, ...)

build/blueprint/context.go:987 +0x575

github.com/google/blueprint.(*Context).WalkBlueprintsFiles.func1.1(0xc0000a7380, 0xc000b2c1b0, 0x6daa75, 0x1, 0xc0001dbce0, 0xc0001dbc80, 0xc0001dbd40, 0xc0001dbda0, 0xc000094980, 0xc0000ba324)

build/blueprint/context.go:833 +0x9b

created by github.com/google/blueprint.(*Context).WalkBlueprintsFiles.func1

build/blueprint/context.go:832 +0x288

01:36:48 soong minibootstrap failed with: exit status 1

#### failed to build some targets (1 seconds) ####