java.lang.IllegalStateException: The “build-wrapper-dump.json” file was found empty

Hi Team,

I use a local instance of sonarqube-8.9.0.43852 (Developer Edition) and try generate C/C++ report
I test the following sample project, but always got error The “build-wrapper-dump.json” file was found empty

build-wrapper.log
build-wrapper.log (5.3 KB)

build-wrapper-dump.json
build-wrapper-dump.json (507 Bytes)

Console log
log.txt (29.3 KB)

Hi @Thom ,

what is the content of the build.sh file? Is it correctly running the build?

Hi

build.sh is in sampe project

It can run and build correctly.

Hi @Thom ,

it seems like you are running on an Apple Silicon mac (M1 cpu), right? We currently don’t support Apple Silicon for build-wrapper and our analyzer, see CPP-2882.

Ok, got it.
Do you have plan to support M1 in the near future ?

Hi @Thom ,

I cannot make any promise about near future. All CIs still run on non Apple Silicon, wouldn’t it be possible for you to run on another CPU?

Hi @mpaladin ,

Got it, I will try to get another platform.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.