# Build-wrapper: execvp: No such file or directory on SonarQube-8.5

**URL:** <https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492>\
**Category:** SonarQube Server / Community Build\
**Tags:** build-wrapper, sonarqube, cfamily\
**Created:** [May 19, 2021, 9:40pm UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492 "2021-05-19T21:40:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kishore535](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/kishore535/32/18597_2.png) [@kishore535](https://community.sonarsource.com/u/kishore535)\
**Post date:** [May 19, 2021, 9:40pm UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492/1 "2021-05-19T21:40:38Z")

</div>

Hello, I am getting this error(execvp: No such file or directory) while running the sonar scanner on Centos7. I have exported the build-wrapper path and defined the build\_ouput path.  
export PATH=$PATH:/home/bu  
[build-wrapper (1).log](https://community.sonarsource.com/uploads/short-url/vfVDQaz9H0NPmy3td2nmzbsFeYu.log) (4.9 KB)  
ilds/tsd-jenkins-be/build-wrapper-linux-x86  
build-wrapper-linux-x86-64 --out-dir /home/builds/sonarqube/lte\_build\_output make clean all

This is the version of build-wrapper that I’m using:  
build-wrapper, version 6.13 (linux-x86)

attached the build-wrapper-dump.json

---

<div class="post-metadata">

**Author:** ![Joe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/joe/32/14820_2.png) [@Joe](https://community.sonarsource.com/u/Joe)\
**Post date:** [May 20, 2021, 2:39am UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492/2 "2021-05-20T02:39:46Z")

</div>

Hi @kishore535 ,

> [@kishore535](#):
>
> build-wrapper-linux-x86-64 --out-dir /home/builds/sonarqube/lte\_build\_output make clean all

Is `make clean all` your actual build command? Or did you just use the generic example from our [documentation](https://docs.sonarqube.org/latest/analysis/languages/cfamily/#header-5)? You should append `build-wrapper-linux-x86-64 --out-dir /home/builds/sonarqube/lte_build_output` with the command that you usually use to cleanly build your project. If your project doesn’t build with `make`, this will not work.

Please figure out the command that you use to build your own project before procceding.

Joe

---

<div class="post-metadata">

**Author:** ![Devops\_world](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/devops_world/32/28148_2.png) [@Devops\_world](https://community.sonarsource.com/u/Devops_world)\
**Post date:** [May 24, 2023, 8:44am UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492/3 "2023-05-24T08:44:11Z")

</div>

Hello team, we are not using make , we are using jam.sh file for build , what will be the approach for this

[backend@lonsonar01 build]$ build-wrapper-linux-x86-64 --out-dir /home/backend/product\_kernel/build/ jam.sh all  
build-wrapper: execvp: Not a directory  
[backend@lonsonar01 build]$

---

<div class="post-metadata">

**Author:** ![Joe](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/joe/32/14820_2.png) [@Joe](https://community.sonarsource.com/u/Joe)\
**Post date:** [May 25, 2023, 2:47pm UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492/4 "2023-05-25T14:47:19Z")

</div>

> [@Devops\_world](#):
>
> [backend@lonsonar01 build]$ build-wrapper-linux-x86-64 --out-dir /home/backend/product\_kernel/build/ jam.sh all

Hello @Devops_world , does your project build with just `jam.sh all`?

---

<div class="post-metadata">

**Author:** ![wcx599](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/wcx599/32/46894_2.png) [@wcx599](https://community.sonarsource.com/u/wcx599)\
**Post date:** [July 4, 2023, 10:34pm UTC](https://community.sonarsource.com/t/build-wrapper-execvp-no-such-file-or-directory-on-sonarqube-8-5/43492/5 "2023-07-04T22:34:17Z")

</div>

Hi,  
I am having same error from our Jenkins build.  
**15:25:15** + build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir cfamily-output make clean all  
**15:25:15** build-wrapper: execvp: No such file or directory  
“make clean all” is the actual build command.  
Any idea?

Thanks
