Failing Custom ROM Build eOS: You are building on a machine with 15.4GB of RAM

Being aware of State of Community Docker: Working? and https://gitlab.e.foundation/e/backlog/-/issues/7688 I ran a variant of your docker FP4 v1.19.1-s branch on my 32G RAM + swap machine overnight.

I do not normally use docker so I would be prepared to believe that I made some docker errors, but I seem to reproduce most of the issues you report.

/srv/logs/repo-20240228.log ends repo sync has finished successfully.

At first sight using ncdu the environment looks well populated.

/src/S
130.8 GiB [##########] /.repo
49.2 GiB [### ] /vendor
45.9 GiB [### ] /prebuilts
9.9 GiB [ ] /external
2.3 GiB [ ] /packages
2.0 GiB [ ] /cts
1.8 GiB [ ] /frameworks
959.1 MiB [ ] /kernel
804.3 MiB [ ] /tools
792.2 MiB [ ] /system
468.7 MiB [ ] /test
443.8 MiB [ ] /hardware
369.2 MiB [ ] /device
221.2 MiB [ ] /developers
177.4 MiB [ ] /platform_testing
176.8 MiB [ ] /lineage
162.1 MiB [ ] /development
104.1 MiB [ ] /toolchain
93.9 MiB [ ] /art
90.8 MiB [ ] /libcore
64.0 MiB [ ] /bionic
Total disk usage: 246.7 GiB Apparent size: 241.3 GiB Items: 2832351

But the FP4 log reads

>> [Wed Feb 28 08:45:07 UTC 2024] Starting build for FP4, v1.19.1-s branch
08:45:14 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:
e[1mbuild/make/core/product_config.mk:160: e[31merror: e[0me[1mCan not locate config makefile for product "lineage_FP4".e[0m
08:45:14 dumpvars failed with: exit status 1
  File "/usr/local/bin/repo", line 51
    def print(self, *args, **kwargs):
            ^
SyntaxError: invalid syntax
Device FP4 not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_fairphone_FP4
Default revision: lineage-19.1
Checking branch info
Checking if device/fairphone/FP4 is fetched from android_device_fairphone_FP4
Adding dependency: LineageOS/android_device_fairphone_FP4 -> device/fairphone/FP4
Using default branch for android_device_fairphone_FP4
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/fairphone/FP4
device/fairphone/FP4 has no additional dependencies.
Done
08:45:15 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:
e[1mbuild/make/core/product_config.mk:160: e[31merror: e[0me[1mCan not locate config makefile for product "lineage_FP4".e[0m
08:45:15 dumpvars failed with: exit status 1
08:45:16 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:
e[1mbuild/make/core/product_config.mk:160: e[31merror: e[0me[1mCan not locate config makefile for product "lineage_FP4".e[0m
08:45:16 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_FP4'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
>> [Wed Feb 28 08:45:16 UTC 2024] Failed build for FP4
>> [Wed Feb 28 08:45:16 UTC 2024] Finishing build for FP4
>> [Wed Feb 28 08:45:16 UTC 2024] Cleaning source dir for device FP4
08:45:17 Entire build directory removed.

#### build completed successfully (1 seconds) ####

The following local_manifests files exist:
/src/S/.repo/local_manifests/proprietary_gitlab.xml, /src/S/.repo/local_manifests/proprietary.xml and /src/S/.repo/local_manifests/roomservice.xml which reads:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="LineageOS/android_device_fairphone_FP4" path="device/fairphone/FP4" remote="github" />
</manifest>

Edit

The one line roomservice.xml is unexpected. At least a part of the problem here is that docker has failed to pull in a kernel line in .repo/local_manifests/roomservice.xml

I think such line would look like

  <project path="kernel/fairphone/sm7225" remote="github" name="LineageOS/android_kernel_fairphone_sm7225" />

I will update if this seems a fix.