[ 99% 714/715] finishing build rules ...
[100% 715/715] writing build rules ...
build/make/core/Makefile:61: error: overriding commands for target `out/target/product/FP4firstname.lastname@example.org', previously defined at build/make/core/base_rules.mk:525
19:21:56 ckati failed with: exit status 1
#### failed to build some targets (03:42 (mm:ss)) ####
>> [Fri Jul 21 19:21:56 UTC 2023] Failed build for FP4
>> [Fri Jul 21 19:21:56 UTC 2023] Finishing build for FP4
>> [Fri Jul 21 19:21:56 UTC 2023] Cleaning source dir for device FP4
There were some earlier errors:
>> [Fri Jul 21 19:12:05 UTC 2023] Starting build for FP4, v1-s branch
19:12:10 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:313:
In file included from build/make/core/envsetup.mk:312:
build/make/core/product_config.mk:160: error: Can not locate config makefile for product "lineage_FP4".
19:12:10 dumpvars failed with: exit status 1
Invalid clone.bundle file; ignoring.
Looking for dependencies in kernel/fairphone/FP4
kernel/fairphone/FP4 has no additional dependencies.
19:18:11 Build sandboxing disabled due to nsjail error.
19:18:13 Build sandboxing disabled due to nsjail error
In general, if you go into the mounted "/data/e/logs:/srv/logs" directory there should be soong.log / build.log files that can give more info.
I guess your repo-sync was incomplete - so some Makefiles that should’ve been included are missing. Re-running the repo sync most often helps