# Cmake error at 72%: '/Applications/Xcode.app/Contents/Developer/usr/bin/make' make: \*\*\* \[all\] Error 2

**URL:** <https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444>\
**Category:** Newbie\
**Created:** [February 3, 2023, 2:59pm UTC](https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444 "2023-02-03T14:59:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Baltazar](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonathan_baltazar/32/32348_2.png) [@Jonathan\_Baltazar](https://root-forum.cern.ch/u/Jonathan_Baltazar)\
**Post date:** [February 3, 2023, 2:59pm UTC](https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444/1 "2023-02-03T14:59:55Z")

</div>

Hi, I am trying to build ROOT from source with Pythia.  
When tying to execute the make -j4 command, i get the following cmake error:

[73%] Built target LLVMRES  
CMake Error at /progs/ROOT/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-Release.cmake:49 (message):  
Command failed: 2

‘/Applications/Xcode.app/Contents/Developer/usr/bin/make’

See also

```
/progs/ROOT/builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build-*.log

```

make[2]: \*\*\* [builtins/xrootd/XROOTD-prefix/src/XROOTD-stamp/XROOTD-build] Error 1  
make[1]: \*\*\* [builtins/xrootd/CMakeFiles/XROOTD.dir/all] Error 2  
make: \*\*\* [all] Error 2

\_ROOT Version: 6.24.10  
\_Platform: macOS 13.2 (M1 chip, 16GB)  
\_Compiler: Xcode 14.2

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [February 3, 2023, 3:02pm UTC](https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444/2 "2023-02-03T15:02:01Z")

</div>

> [@Undefined reference to \`uuid\_unparse'](https://root-forum.cern.ch/t/undefined-reference-to-uuid-unparse/53369/4):
>
> Try to add -Dxrootd=OFF when configuring ROOT (switches the support for XRootD off).

---

<div class="post-metadata">

**Author:** ![Jonathan\_Baltazar](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/jonathan_baltazar/32/32348_2.png) [@Jonathan\_Baltazar](https://root-forum.cern.ch/u/Jonathan_Baltazar)\
**Post date:** [February 3, 2023, 3:12pm UTC](https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444/3 "2023-02-03T15:12:27Z")

</div>

I just tried and I still get the same error, now at 65% instead.

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [February 3, 2023, 3:27pm UTC](https://root-forum.cern.ch/t/cmake-error-at-72-applications-xcode-app-contents-developer-usr-bin-make-make-all-error-2/53444/4 "2023-02-03T15:27:57Z")

</div>

You need to remove the old build and configure it from scratch again.
