[Samsung Galaxy M12] Matheus-TestUser1:
Look, I've been having this error, compiling twrp is starting to cause problems at this point, but look at the device tree, do I need to correct something? https://github.com/Matheus-TestUser1/android_device_samsung_a135m

[100% 241/241] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja

FAILED: out/soong/build.ninja

cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp. list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android. bp

internal error: panic in GenerateBuildActions for module "runtime-module-sdk" variant "common_os"

expected variant "bionic_libc_platform_headers{os:android,image:,arch:arm_armv7-a-neon,sdk:,fuzzer:,apex:}" to be either static or shared but was neither

goroutine 4790288 [running]:

github.com/google/blueprint.newPanicErrorf(0xd243c0, 0xc0bb6640a0, 0xc11252ceb0, 0x48, 0x0, 0x0, 0x0, 0xc07bca6520, 0xc112554780)

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:4142 +0x7b

github.com/google/blueprint.(*Context).generateModuleBuildActions.func2.1.1(0xc028fe5dc0, 0xc112537450)

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:2831 +0x3a5

panic(0xd243c0, 0xc0bb6640a0)

prebuilts/go/linux-x86/src/runtime/panic.go:969 +0x1b9

android/soong/sdk.getLinkType(0xfd6640, 0xc09b7c5000, 0xc0fb3d9a28, 0xc0fb3d99d8)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/update.go:1468 +0x259

android/soong/sdk.newArchSpecificInfo(0xfb8ca0, 0xc11257c680, 0xe68791, 0x3, 0xc00003c30c, 0x3, 0xe69ccf, 0x5, 0xe6be00, 0x7, ...)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/update.go:1436 +0x145

android/soong/sdk.newOsTypeSpecificInfo(0xfb8ca0, 0xc11257c680, 0xe6be00, 0x7, 0xc00003c5f0, 0x7, 0x1, 0x0, 0xc0fb3da030, 0xc11257e160, ...)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/update.go:1296 +0x585

android/soong/sdk.(*sdk).createMemberSnapshot(0xc0c7ec5c00, 0xc11257c680, 0xc11253fd00, 0xc11257e060)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/update.go:1603 +0x5fc

android/soong/sdk.(*sdk).buildSnapshot(0xc0c7ec5c00, 0xff42a0, 0xc112558d80, 0xc112068798, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/update.go:362 +0x9d5

android/soong/sdk.(*sdk).GenerateAndroidBuildActions(0xc0c7ec5c00, 0xff42a0, 0xc112558d80)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/sdk/sdk.go:318 +0x145

android/soong/android.(*ModuleBase).GenerateBuildActions(0xc0c7ec5c00, 0xfe3b60, 0xc112537450)

/home/runner/work/twrp-build/twrp-build/workspace/build/soong/android/module.go:1850 +0xc5f

github.com/google/blueprint.(*Context).generateModuleBuildActions.func2.1(0xc028fe5dc0, 0xc112537450)

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:2835 +0x85

github.com/google/blueprint.(*Context).generateModuleBuildActions.func2(0xc028fe5dc0, 0xc0a9eb81e0, 0x0)

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:2836 +0x345

github.com/google/blueprint.parallelVisit.func1.1(0xc055bf2480, 0xc028fe5dc0, 0xc0a9eb81e0, 0xc0a9eb8180, 0xc0a9eb8120)

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:1973 +0x3a

created by github.com/google/blueprint.parallelVisit.func1

/home/runner/work/twrp-build/twrp-build/workspace/build/blueprint/context.go:1972 +0x12e

ninja: build stopped: subcommand failed.

16:11:48 soong bootstrap failed with: exit status 1