Windows 10 X64 Build Wrapper - Access is Denied

Must-share information (formatted with Markdown):
Sonarqube LTS 8.9
Build and Scan C code
We have tried what has worked for many other projects. Build using build wrapper, then scan. All seems well, except…

When trying to run a clean build with the Build Wrapper, we get an “access is denied” error. We’ve checked permissions on everything from the wrapper, to gmake, to the CCS compiler and environment, and the source folders. The scan post build attempt “works” in that it completes the scan, but of course it is empty. We’re trying to figure out what access is denied in this message:

C:\Users\XYZ123\Source\src\application\Release config>build-wrapper-win-x86-64.exe --out-dir bw_output “C:\ti\ccs920\ccs\utils\bin\gmake” -k -j 4 clean all -O

[SONARSOURCE BUILD-WRAPPER] failed to execute “C:\ti\ccs920\ccs\utils\bin\gmake” -k -j 4 clean all -O: Access is denied.

Hi @jhill2769 ,

regarding access is denied, have you tried to disable Windows Defender and any other antivirus you may have?

Hi Massimo,

Our IT may not let us do that, even temporarily. But I’ll have the developer try and see if she can.

What would your next thought be if that doesn’t work or if IT won’t let us? It would be a bit of a pain to disable that to run every scan from her system.

Thanks,

Jeremy Hill

Research & Development Engineer

Undersea Systems Office

814-865-2195 (Office)

image001.png

Hi @jhill2769 ,

it would be nice if you could try in an environment that you can control to identify the issue.

Once the cause of the issue is going to be clear we can see the best solution.

The developer fixed the issue by tracing permissions on anything and everything they could and setting them appropriately. We thought we had checked everything (build wrapper, compiler, directories, etc). They are using a TI CCS compiler, so there are some nuances to check for with those permissions when using command line. Thanks!

Jeremy Hill

Research & Development Engineer

Undersea Systems Office

814-865-2195 (Office)

image001.png

1 Like

Ok, thank you for the notification, I am glad you fixed the issue.

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