Extension build failure on Mac due to error copying files

There is a strange error for some of the extensions on Mac stating that files could not be copied, such as
Error copying file "@rpath/libMRMLCore.dylib" to "/.../SlicerRT-build/inner-build/_CPack_Packages/Darwin/TGZ/26298-macosx-amd64-SlicerRT-svn3210-2017-08-21/Slicer.app/Contents/lib/Slicer-4.7/libMRMLCore.dylib".

This happens for SlicerRT, but for other extensions as well
http://slicer.cdash.org/viewBuildError.php?buildid=1085258
http://slicer.cdash.org/viewBuildError.php?buildid=1085341 (DCMQI)
http://slicer.cdash.org/viewBuildError.php?buildid=1085316 (PETDICOMExtension)
http://slicer.cdash.org/viewBuildError.php?buildid=1085367 (UKFTractography)
http://slicer.cdash.org/viewBuildError.php?buildid=1085372 (SPHARM-PDM)

Although this seems like a random error, it’s not only across extensions but happening in the last three days, suggesting this won’t go away by itself
08.23: http://slicer.cdash.org/viewBuildError.php?buildid=1084455
08.22: http://slicer.cdash.org/viewBuildError.php?buildid=1083918

Hi Csaba,

That will be fixed by https://github.com/Slicer/Slicer/pull/780

Jc

Ahh, excellent, thanks :slight_smile:

See earlier discussion here: Interpreting CDash reporting: extension is packaged despite build errors?

This should be fixed in r26301

And here is a follow up commit addressing the remaining issues in Slicer. See r26305

Corresponding changes in upstream projects are here: