Hi, cloning/checkout llvm-project on Windows fails for me with: C:\Users\KaiNacke\vscode>git clone git://github.com/llvm/llvm-project.git master Cloning into 'master'... remote: Enumerating objects: 2557, done. remote: Counting objects: 100% (2557/2557), done. remote: Compressing objects: 100% (102/102), done. Receiving objects: 100% (3562454/3562454), 1.27 GiB | 6.92 MiB/s, done. Resolving deltas: 100% (2828066/2828066), done. error: unable to create file llvm/test/tools/dsymutil/Inputs/private/tmp/common/com1.o: No such file or directory error: unable to create file llvm/test/tools/dsymutil/Inputs/private/tmp/common/com2.o: No such file or directory Updating files: 100% (86286/86286), done. fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry with 'git restore --source=HEAD :/' (git 2.23.0.windows.1) Does someone else has this problem? Regards, Kai
Hi, Windows doesn't allow files named with COM1, COM2, etc. See https://superuser.com/questions/467782/why-cant-i-create-a-folder-named-com1 Regards, Chaofan Kai Nacke via llvm-dev <llvm-dev at lists.llvm.org> 于2019年10月9日周三 下午3:34写道:> > Hi, > > cloning/checkout llvm-project on Windows fails for me with: > > C:\Users\KaiNacke\vscode>git clone > git://github.com/llvm/llvm-project.git master > Cloning into 'master'... > remote: Enumerating objects: 2557, done. > remote: Counting objects: 100% (2557/2557), done. > remote: Compressing objects: 100% (102/102), done. > Receiving objects: 100% (3562454/3562454), 1.27 GiB | 6.92 MiB/s, done. > Resolving deltas: 100% (2828066/2828066), done. > error: unable to create file > llvm/test/tools/dsymutil/Inputs/private/tmp/common/com1.o: No such file > or directory > error: unable to create file > llvm/test/tools/dsymutil/Inputs/private/tmp/common/com2.o: No such file > or directory > Updating files: 100% (86286/86286), done. > fatal: unable to checkout working tree > warning: Clone succeeded, but checkout failed. > You can inspect what was checked out with 'git status' > and retry with 'git restore --source=HEAD :/' > > (git 2.23.0.windows.1) > > Does someone else has this problem? > > Regards, > Kai > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
Hi Chaofan, thanks for the explanation! I was not aware of this. So the solution is to rename the files.... Regards, Kai On 09.10.2019 10:15, Qiu Chaofan wrote:> Hi, > > Windows doesn't allow files named with COM1, COM2, etc. See > https://superuser.com/questions/467782/why-cant-i-create-a-folder-named-com1 > > Regards, > Chaofan > > Kai Nacke via llvm-dev <llvm-dev at lists.llvm.org> 于2019年10月9日周三 下午3:34写道: >> >> Hi, >> >> cloning/checkout llvm-project on Windows fails for me with: >> >> C:\Users\KaiNacke\vscode>git clone >> git://github.com/llvm/llvm-project.git master >> Cloning into 'master'... >> remote: Enumerating objects: 2557, done. >> remote: Counting objects: 100% (2557/2557), done. >> remote: Compressing objects: 100% (102/102), done. >> Receiving objects: 100% (3562454/3562454), 1.27 GiB | 6.92 MiB/s, done. >> Resolving deltas: 100% (2828066/2828066), done. >> error: unable to create file >> llvm/test/tools/dsymutil/Inputs/private/tmp/common/com1.o: No such file >> or directory >> error: unable to create file >> llvm/test/tools/dsymutil/Inputs/private/tmp/common/com2.o: No such file >> or directory >> Updating files: 100% (86286/86286), done. >> fatal: unable to checkout working tree >> warning: Clone succeeded, but checkout failed. >> You can inspect what was checked out with 'git status' >> and retry with 'git restore --source=HEAD :/' >> >> (git 2.23.0.windows.1) >> >> Does someone else has this problem? >> >> Regards, >> Kai >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev