Headless build displaying java error after completion

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Headless build displaying java error after completion

2,780 Views
roy_vanlierop
Contributor III

I'm trying to automate my build by performing a pre-commit hook and halting the commit on error. The following command is used to clean+build all four build configurations of a single project. 

C:\NXP\S32DS.3.4\eclipse\eclipsec  -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild  -data C:\local_projects\MyWonderfulWorkspaceS32DS -cleanBuild proj_name

After the build (of all four configurations) completes the following error appears. It seems to be the last step of the command. 

roy_vanlierop_0-1632733981502.png

Even when first removing all configuration output folders, the error still persists. Looking at the output a lot of warnings display about Eclipse and Java:

PS C:\local_projects\proj_name Firmware> C:\NXP\S32DS.3.4\eclipse\eclipsec  -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild  -data C:\local_projects\MyWonderfulWorkspaceS32DS -cleanBuild proj_name
Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.lib.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.lib.

log4j:WARN No appenders could be found for logger (org.eclipse.jgit.internal.storage.file.FileSnapshot).
log4j:WARN Please initialize the log4j system properly.
11:33:03 **** Clean-only build of configuration Debug_S32K146 for project BDS_SA ****
make -j4 clean
make: *** No rule to make target 'clean'.  Stop.
"make -j4 clean" terminated with exit code 2. Build might be incomplete.

11:33:03 Build Failed. 1 errors, 0 warnings. (took 475ms)

11:33:04 **** Build of configuration Debug_S32K146 for project proj_name ****
make -j4 all

What could be the problem?

0 Kudos
Reply
3 Replies

1,710 Views
tbuschendorf
Contributor II

I am experiencing the same issue using the same compiler but on ubuntu using following command:

sudo ./s32ds -noSplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild --launcher.ini /opt/NXP/eclipse/s32ds.ini -data /home/user/workspaceS32DS.3.5 -import /home/user/workspaceS32DS.3.5/hello_world_s32k144/  -cleanBuild hello_world_s32k144

Output:

OpenJDK 64-Bit Server VM warning: Ignoring option UnsyncloadClass; support was removed in 11.0
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Opening 'hello_world_s32k144'.
Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.debug.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.release.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.debug.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.release.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.debug.lib.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm64.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.arm64.ghs.toolchain.release.lib.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.executable.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.ram.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.debug.lib.

Managed Build system manifest file error: Unable to resolve the superClass identifier ghs.managedmake.arm.static_library.toolchain in the toolChain com.nxp.s32ds.cle.arm.mbs.ghs.toolchain.release.lib.

 

0 Kudos
Reply

2,763 Views
jiri_kral
NXP Employee
NXP Employee

Hi ,

 

What is the compiler you like to use for building project? 

2,737 Views
roy_vanlierop
Contributor III

I'm using NXP GCC 6.3 for Arm 32-bit Bare-Metal 

0 Kudos
Reply