While trying to use ROOT 6 in a “Ubuntu 20.04” VirtualBox (6.1.32) machine in a “Shared Folder” working directory ("/c/Temp" below), I get:
[...]:/c/Temp$ root
root [0] .L Test.h++
Info in <TUnixSystem::ACLiC>: creating shared library /c/Temp/./Test_h.so
Warning in <ACLiC>: Failed to generate the dependency file for /c/Temp/./Test_h.so
root [1]
If the working directory is inside of the VM “.vdi” disk, then it works fine.
The host (which serves “/c/Temp”) is a Windows 10 Pro machine.
So, I patched the original “rootcling_impl.cxx” in the “clean” and “commit” routines, adding the required “ifile.close();”, but … the problem reported here is still present.