Build Slicer in Windows subsystem complaining rename permission denied

I tried to build Slicer nightly code in Ubuntu 18 (subsystem of windows 10). The cmake version is 3.13.4. The gcc/g++ versions are both 7.4. I ran cmake -DCMAKE_BUILD_TYPE:STRING=Debug
ā€¦/Slicer and configured it successfully. Then I ran sudo make. The building process complains that :slight_smile: CMake Error at python-source-prefix/src/python-source-stamp/extract-python-source.cmake:51 (file):

file RENAME failed to rename




because: Permission denied

Any help is appreciate.

It does not look like an error specific to Slicer. Can you do the rename manually?