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
-DQt5_DIR:PATH=/home/me/Qt/5.14.0/gcc_64/lib/cmake/Qt5
-DSlicer_USE_SYSTEM_QT:BOOL=1
ā€¦/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

/home/me/MyProjects/Slicer-SuperBuild-Debug/ex-python-source1234/Python-3.6.7

to

/home/me/MyProjects/Slicer-SuperBuild-Debug/Python-3.6.7

because: Permission denied

Any help is appreciate.

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