Build error for iode 5.2

I wanted to start a build, but get this error…any idea?

[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_gta4l.ninja
FAILED: out/soong/build.lineage_gta4l.ninja
cd “$(dirname “out/host/linux-x86/bin/soong_build”)” && BUILDER=“$PWD/$(basename “out/host/linux-x86/bin/soong_build”)” && cd / && env -i “$BUILDER” --top “$TOP” --soong_out “out/soong” --out “out” --soong_variables out/s
oong/soong.lineage_gta4l.variables -o out/soong/build.lineage_gta4l.ninja --globListDir lineage_gta4l --globFile out/soong/globs-lineage_gta4l.ninja -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.availabl
e --used_env out/soong/soong.environment.used.lineage_gta4l.build Android.bp
Killed
20:13:20 soong bootstrap failed with: exit status 1
ninja: build stopped: subcommand failed.

I used breakfast then lunch lineage_gta4l-ap2a-userdebug and m

Same with usual breakfast/brunch…

When I see the Killed error message, it usually means that an 'Out of memory` error occurrred. That has happened to me before while generating ninja file. My workaround was to configure more swap

A memory error is indeed possible.
Please also note that sources for version 5.3 have just been released, to the new gitlab repo (os / public / manifests / android · GitLab).

Strange, on 5.3 it works without issues on the same machine

Not all lineage repositories are forked (actually; this may change in the future), so there’s a discrepancy between 5.2 repos and unforked lineage repos. And, as 5.2 is based on June security patch, there’s a discrepancy between 5.2 repos and aosp repos.
In brief: only the latest sources should be safely compiled…

ok. However now for v5-staging I got different errors:

[100% 142/142] analyzing Android.bp files and generating ninja file at out/soong/build.lineage_gta4lwifi.ninja
FAILED: out/soong/build.lineage_gta4lwifi.ninja
cd “$(dirname “out/host/linux-x86/bin/soong_build”)” && BUILDER=“$PWD/$(basename “out/host/linux-x86/bin/soong_build”)” && cd / && env -i “$BUILDER” --top “$TOP” --soong_out “out/soong” --out “out”
–soong_variables out/soong/soong.lineage_gta4lwifi.variables -o out/soong/build.lineage_gta4lwifi.ninja --globListDir lineage_gta4lwifi --globFile out/soong/globs-lineage_gta4lwifi.ninja -l out/.module_path
s/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.lineage_gta4lwifi.build Android.bp
error: system/keymaster/Android.bp:18:17: unrecognized property “default_team”
error: packages/apps/Nfc/Android.bp:2:17: unrecognized property “default_team”
error: packages/modules/Wifi/framework/Android.bp:16:17: unrecognized property “default_team”
error: packages/services/Car/tests/carservice_test/Android.bp:18:17: unrecognized property “default_team”
error: packages/modules/Wifi/service/Android.bp:17:17: unrecognized property “default_team”
error: packages/providers/MediaProvider/Android.bp:4:17: unrecognized property “default_team”
error: packages/services/Car/tests/carservice_unit_test/Android.bp:18:17: unrecognized property “default_team”
error: packages/services/Car/tools/GenericCarApiBuilder/Android.bp:18:17: unrecognized property “default_team”
error: packages/services/Car/tests/SampleCustomInputService/Android.bp:16:17: unrecognized property “default_team”
error: packages/services/Telecomm/Android.bp:2:17: unrecognized property “default_team”
error: packages/services/Car/tests/vehiclehal_test/Android.bp:18:17: unrecognized property “default_team”
fatal errors encountered
09:07:08 soong bootstrap failed with: exit status 1

But got same error as 5.2 after a while when building with potential memory issue?

Sources have just been updated (v5-staging branch), they should compile now.

No, still get the same error message after repo sync