Registry Mirror
Skip to content

jit-format crash: Cannot create a file when that file already exists #64

Closed

Description

@BruceForstall
D:\gh\coreclr3>jit-format --verbose -a x86 -o Windows -b Debug -c d:\gh\coreclr3
Formatting jit directory.
Formatting dll project.
Neither compile_commands.json exists, nor is there a build log. Running CMake to generate compile_commands.json.
Starting Build at 16:36:01.27
BUILD: Commencing CoreCLR Repo build
BUILD: Checking prerequisites
BUILD: Using environment: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\\VsDevCmd.bat"
Tools are already initialized.
Running: d:\gh\coreclr3\Tools\dotnetcli\dotnet.exe d:\gh\coreclr3\Tools\run.exe d:\gh\coreclr3\config.json build -Project=d:\gh\coreclr3\build.pr
oj -generateHeaderWindows -NativeVersionHeaderFile="d:\gh\coreclr3\bin\obj\_version.h" -BuildOS=Windows_NT -BuildType=Debug -BuildArch=x86
Running: d:\gh\coreclr3\Tools\msbuild.cmd /nologo /verbosity:minimal /clp:Summary /maxcpucount /nodeReuse:false  d:\gh\coreclr3\build.proj /p:__B
uildType=Debug /p:__BuildArch=x86 /p:__BuildOS=Windows_NT  /t:GenerateVersionHeader /p:GenerateVersionHeader=true /p:NativeVersionHeaderFile=d:\g
h\coreclr3\bin\obj\_version.h
Command execution succeeded.
BUILD: Commencing build of native components for Windows_NT.x86.Debug
BUILD: Using environment: "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\\..\..\VC\vcvarsall.bat" x86
BUILD: Regenerating the Visual Studio solution
-- VS_PLATFORM_TOOLSET is
-- VS_PLATFORM_NAME is
-- Configuring done
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_RC_CREATE_SHARED_LIBRARY
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_RC_CREATE_SHARED_LIBRARY
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_RC_CREATE_SHARED_LIBRARY
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
Missing variable is:
CMAKE_RC_CREATE_SHARED_LIBRARY
-- Generating done
-- Build files have been written to: D:/gh/coreclr3/bin/nmakeobj/Windows_NT.x86.Debug
BUILD: Repo successfully built.  Finished at 16:36:13.10
BUILD: Product binaries are available at d:\gh\coreclr3\bin\Product\Windows_NT.x86.Debug

Unhandled Exception: System.IO.IOException: Cannot create a file when that file already exists
   at System.IO.Win32FileSystem.MoveFile(String sourceFullPath, String destFullPath)
   at System.IO.File.Move(String sourceFileName, String destFileName)
   at ManagedCodeGen.jitformat.Main(String[] args)

Activity

  1. BruceForstall commented on Oct 27, 2016

    @BruceForstall
    ContributorAuthor

    @adiaaida @RussKeldorph

  2. added a commit that references this issue on Oct 28, 2016
    a32052e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions