# Cannot build ROOT 6.10.04 (TBB-download fails)

**URL:** <https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075>\
**Category:** ROOT\
**Created:** [August 31, 2017, 3:52pm UTC](https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075 "2017-08-31T15:52:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [August 31, 2017, 3:52pm UTC](https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075/1 "2017-08-31T15:52:35Z")

</div>

The build of ROOT 6.10.04 with gcc (MacPorts gcc7 7-20170622\_1) 7.1.1 20170622 on Mac OS X 10.12.6 **fails** , but due to an error downloading a file that appears to have been moved:

```auto
...
[84%] Built target GuiHtml

CMake Error at TBB-stamp/TBB-download-RelWithDebInfo.cmake:16 (message):
  Command failed: 1

   '/opt/local/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/Users/user/programs/root/root-6.10.04/install-build-gcc7/TBB-prefix/src/TBB-stamp/TBB-download-RelWithDebInfo-impl.cmake'

  See also

    /Users/user/programs/root/root-6.10.04/install-build-gcc7/TBB-prefix/src/TBB-stamp/TBB-download-*.log

make[2]: *** [TBB-prefix/src/TBB-stamp/TBB-download] Error 1
make[1]: *** [CMakeFiles/TBB.dir/all] Error 2
make: *** [all] Error 2

```

Here is the output of `TBB-download-err.log`:

```auto
CMake Error at TBB-stamp/download-TBB.cmake:157 (message):
  Each download failed!

    error: downloading 'http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/tbb2017_U5.tar.gz' failed
         status_code: 22
         status_string: "HTTP response code said error"
         log:
         --- LOG BEGIN ---
           Trying [an IP address]...

  TCP_NODELAY set

  Connected to proxyout.awebserver.com ([an IP address]) port 8080 (#0)

  GET
  http://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/tbb2017_U5.tar.gz
  HTTP/1.1^M

  Host: lcgpackages.web.cern.ch^M

  User-Agent: curl/7.55.0^M

  Accept: */*^M

  Proxy-Connection: Keep-Alive^M

  ^M

  The requested URL returned error: 404 Not Found

  Closing connection 0

         --- LOG END ---

```

This was originally discovered here:

> [@Unpleasantly late ROOT 6.10.04 compilation error with GCC 7.1](https://root-forum.cern.ch/t/unpleasantly-late-root-6-10-04-compilation-error-with-gcc-7-1/26074/2):
>
> I think the CMakeCache would be useful. Which OS are you using? I can confirm that the build of ROOT 6.10.04 with gcc (MacPorts gcc7 7-20170622\_1) 7.1.1 20170622 on Mac OS X 10.12.6 fails, but with a different error. (Not sure this is useful to your problem.) ... [84%] Built target GuiHtml CMake Error at TBB-stamp/TBB-download-RelWithDebInfo.cmake:16 (message): Command failed: 1 '/opt/local/bin/cmake' '-Dmake=' '-Dconfig=' '-P' '/Users/user/programs/root/root-6.10.04/install-build-gcc7/…

and a suggested issue was posted here:

> [@Unpleasantly late ROOT 6.10.04 compilation error with GCC 7.1](https://root-forum.cern.ch/t/unpleasantly-late-root-6-10-04-compilation-error-with-gcc-7-1/26074/5):
>
> (From a look at your error, it looks like this TBB-download script is trying to download some TBB sources package that doesn’t exist anymore and should probably be updated to point to the proper URL. I would gladly give you a fixed URL myself, but it looks like a paranoid person disabled the web server’s ability to list the contents of the directory @ [https://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/](https://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources/) 😉 )

---

<div class="post-metadata">

**Author:** ![amadio](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/amadio/32/12562_2.png) [@amadio](https://root-forum.cern.ch/u/amadio)\
**Post date:** [August 31, 2017, 4:03pm UTC](https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075/3 "2017-08-31T16:03:17Z")

</div>

The problem is not that the package does not exist, but that [https://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources](https://lcgpackages.web.cern.ch/lcgpackages/tarFiles/sources) is currently down. Please use system TBB or try again later. The repository should be back up soon. Cheers,

---

<div class="post-metadata">

**Author:** ![ksmith](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/ksmith/32/12567_2.png) [@ksmith](https://root-forum.cern.ch/u/ksmith)\
**Post date:** [August 31, 2017, 4:05pm UTC](https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075/4 "2017-08-31T16:05:05Z")

</div>

Thanks, I’ve download a `tbb` package and it built with no issues.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [September 14, 2017, 4:05pm UTC](https://root-forum.cern.ch/t/cannot-build-root-6-10-04-tbb-download-fails/26075/5 "2017-09-14T16:05:09Z")

</div>

Closed on September 14, 2017, 4:05pm UTC

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