Slicer build error on Windows dashboard

Slicer build fails on the dashboard due to SimpleITK:

Performing install step for 'SimpleITK'
  -- SimpleITK: Removing 'install' log files
  -- SimpleITK: SimpleITK_WORKING_DIR: D:/D/P/S-0-build/SimpleITK-build/SimpleITK-build/Wrapping/Python
  -- SimpleITK: D:/D/P/S-0-build/python-install/bin/PythonSlicer.exe;-m;pip;install;.
  -- SimpleITK: Errors detected - See below.
  CMake Error at D:/D/P/S-0/CMake/ExternalProjectForNonCMakeProject.cmake:104 (message):
  Processing d:\d\p\s-0-build\simpleitk-build\simpleitk-build\wrapping\python
  
CUSTOMBUILD : error : Command errored out with exit status 1: [D:\D\P\S-0-build\SimpleITK.vcxproj]

@Sam_Horvath @jcfr Could you have a look?

This error seems to be coming up non-deterministically, the 9/20 build succeeded,
https://slicer.cdash.org/index.php?project=SlicerPreview&date=2022-09-20

It seems to be related to some temp file stuff, will look at it.

1 Like

Coming back to this, it looks like a number of issues were occurring on the factory machine, most notably that the build directory was not being cleaned before the nightly build, which can cause any number of issues when changing major dependencies.

1 Like