Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build corefx from build.cmd fails #31023

Closed
Simon-IT opened this issue Sep 30, 2019 · 4 comments
Closed

Build corefx from build.cmd fails #31023

Simon-IT opened this issue Sep 30, 2019 · 4 comments

Comments

@Simon-IT
Copy link

Visual Studio Community 2019 16.4.0 Preview 1.0
Windows 10 1903 build SO 18362.387
NET Core 3.0.100
CMake 3.14.5

After has been pulling the latest comimts the build procedure fails with these two errors:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(230,5): error MSB8065: Custom build for item "D:\Sources\NetFoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\CMakeFiles\af7b5fb01ed3438277a908fb1341432f\INSTALL_force.rule" succeeded, but specified output "d:\sources\netfoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work incorrectly. [D:\Sources\NetFoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\install.vcxproj] [D:\Sources\NetFoundation\dotnet\corefx\src\Native\build-native.proj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(230,5): error MSB8065: Custom build for item "D:\Sources\NetFoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\CMakeFiles\af7b5fb01ed3438277a908fb1341432f\INSTALL_force.rule" succeeded, but specified output "d:\sources\netfoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-windows_nt-debug-x64\cmakefiles\install_force" has not been created. This may cause incremental build to work incorrectly. [D:\Sources\NetFoundation\dotnet\corefx\artifacts\obj\native\netcoreapp-Windows_NT-Debug-x64\install.vcxproj] [D:\Sources\NetFoundation\dotnet\corefx\src\Native\build-native.proj]

git clean -xdf has no effects

@davidsh
Copy link
Contributor

davidsh commented Sep 30, 2019

I was able to sync the latest 'master' branch and rebuild fine.

I have cmake version 3.11.4.

@scalablecory
Copy link
Contributor

Closing as duplicate of https://github.com/dotnet/corefx/issues/41077

This is a cmake bug that has been fixed for CMake 3.15. We are waiting for them to make a new release.

@Simon-IT
Copy link
Author

Simon-IT commented Oct 1, 2019

The issue remains for CMake 3.15.3.
@davidsh What VS version have you ?

@davidsh
Copy link
Contributor

davidsh commented Oct 1, 2019

@davidsh What VS version have you ?

image

The issue remains for CMake 3.15.3.

If you're still having the problem with that version of CMake, then you should comment/re-open issue #30845.

@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the 5.0 milestone Feb 1, 2020
@dotnet dotnet locked as resolved and limited conversation to collaborators Dec 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants