[ET Trac] #2868: ExternalLibraries/ssht requires cloning external repositories

Alejandra Gonzalez trac-noreply at einsteintoolkit.org
Tue Apr 15 09:39:19 CDT 2025


#2868: ExternalLibraries/ssht requires cloning external repositories

 Reporter: Alejandra Gonzalez
   Status: submitted
Milestone: 
  Version: ET_2024_05
     Type: bug
 Priority: major
Component: 

Comment (by Alejandra Gonzalez):

Sorry, I’m trying to compile ETK with CarpetX.

Ssht attempts to clone this repository: `https://gitlab.com/cmocka/cmocka.git/`  
  
This is the exact error I get: 

```
[ 11%] Creating directories for 'cmocka-populate'
[ 22%] Performing download step (git clone) for 'cmocka-populate'
Cloning into 'cmocka-src'...
fatal: unable to access 'https://gitlab.com/cmocka/cmocka.git/': Failed to connect to gitlab.com port 443: Connection timed out
Cloning into 'cmocka-src'...
fatal: unable to access 'https://gitlab.com/cmocka/cmocka.git/': Failed to connect to gitlab.com port 443: Connection timed out
Cloning into 'cmocka-src'...
fatal: unable to access 'https://gitlab.com/cmocka/cmocka.git/': Failed to connect to gitlab.com port 443: Connection timed out
Had to git clone more than once: 3 times.
CMake Error at cmocka-subbuild/cmocka-populate-prefix/tmp/cmocka-populate-gitclone.cmake:50 (message):
  Failed to clone repository: 'https://gitlab.com/cmocka/cmocka.git'


make[6]: *** [CMakeFiles/cmocka-populate.dir/build.make:102: cmocka-populate-prefix/src/cmocka-populate-stamp/cmocka-populate-download] Error 1
make[6]: Leaving directory '/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/configs/sim_cx/scratch/build/ssht/ssht-1.5.1/build/_deps/cmocka-subbuild'
make[5]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cmocka-populate.dir/all] Error 2
make[5]: Leaving directory '/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/configs/sim_cx/scratch/build/ssht/ssht-1.5.1/build/_deps/cmocka-subbuild'
gmake[4]: *** [Makefile:91: all] Error 2
gmake[4]: Leaving directory '/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/configs/sim_cx/scratch/build/ssht/ssht-1.5.1/build/_deps/cmocka-subbuild'

CMake Error at /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:1918 (message):
  Build step for cmocka failed: 2
Call Stack (most recent call first):
  /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:1609 (__FetchContent_populateSubbuild)
  /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:2145:EVAL:2 (__FetchContent_doPopulation)
  /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:2145 (cmake_language)
  /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:1978:EVAL:1 (__FetchContent_Populate)
  /gpfs/apps/MN5/GPP/CMAKE/3.30.5/share/cmake-3.30/Modules/FetchContent.cmake:1978 (cmake_language)
  cmake/fetch_cmocka.cmake:20 (FetchContent_Populate)
  CMakeLists.txt:31 (include)


-- Configuring incomplete, errors occurred!
make[3]: *** [/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/arrangements/ExternalLibraries/ssht/src/make.code.deps:10: /gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/configs/sim_cx/scratch/done/ssht] Error 1
make[2]: *** [/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/lib/make/make.thornlib:113: make.checked] Error 2
make[1]: *** [/gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/lib/make/make.configuration:179: /gpfs/home/uib/uib416720/ETK2024/CarSpX/Cactus/configs/sim_cx/lib/libthorn_ssht.a] Error 2
make: *** [Makefile:265: sim_cx] Error 2
```

Using the `-DBUILD_TESTING=OFF` actually worked out to compile ETK!  
Thank you.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2868/externallibraries-ssht-requires-cloning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20250415/a71d54eb/attachment.htm>


More information about the Trac mailing list