Headless Build with Bootloader


I'm trying to build our project that uses a Bootloader. The project is linked to the bootloader as described and in e2studio IDE everything works fine - but not trying to build headless (in CI).

diff --git a/.cproject b/.cproject
index 785139065391..166350b54b6a 100644
--- a/.cproject
+++ b/.cproject
@@ -3,6 +3,9 @@
        <storageModule moduleId="org.eclipse.cdt.core.settings">
                <cconfiguration id="com.renesas.cdt.managedbuild.gnuarm.config.elf.release.826160552">
                        <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.renesas.cdt.managedbuild.gnuarm.config.elf.release.826160552" moduleId="org.eclipse.cdt.core.settings" name="Release">
+                               <macros>
+                                       <stringMacro name="BootloaderDataFile" type="VALUE_PATH_FILE" value="${workspace_loc:ConvectorControlBootloader}/Release/ConvectorControlBootloader.bld"/>
+                               </macros>
                                        <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>

I invoke the headless builder with the following command

e2studio -verbose -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data <path_to_workspace> -import <path_to_bootloader_in_workspace> -import <path_to_application_in_workspace> -cleanBuild all

It successfully builds first the bootloader and then the application, both get built. But then it fails at the last step:

Invoking 'DDSC Bundle Builder' on '/ConvectorControl'.

There is also a popup window that says "An error has occured See the log file". I attached that logfile and the log from my console.

Any help would be appreciated. I cannot figure out what is missing and there is very little to no error-messages that I can understand.

Console Log: https://pastebin.com/UEcze4zS
Logfile from e2studio (in .metadata/.log): https://pastebin.com/HEmqzHBj

I'm working with Ubuntu 22.04, e2studio 2023.01 and FSP 4.2.0