[
https://issues.apache.org/jira/browse/MESOS-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16932759#comment-16932759
]
Joseph Wu commented on MESOS-9971:
--
The {{dist}} and {{distcheck}} targets, which were recently added to mirror
those targets from the autotools build, are currently implemented as {{.sh}}
scripts, and are not expected to work on Windows.
I'll consider removing those targets from the Windows build, if we deem the
feature (making a clean source package) unnecessary for the Windows build.
> Mesos failed to build due to error MSB6006 on Windows with MSVC.
>
>
> Key: MESOS-9971
> URL: https://issues.apache.org/jira/browse/MESOS-9971
> Project: Mesos
> Issue Type: Bug
> Components: build
>Affects Versions: master
> Environment: {color:#172b4d}VS 2017 + Windows Server 2016{color}
>Reporter: LinGao
>Priority: Major
> Attachments: log_x64_build.log
>
>
> Mesos failed to build due to error MSB6006: "cmd.exe" exited with code 1 on
> Windows using MSVC. It can be first reproduced on
> {color:#24292e}e0f7e2d{color} reversion on master branch. Could you please
> take a look at this isssue? Thanks a lot!
> Reproduce steps:
> 1. git clone -c core.autocrlf=true [https://github.com/apache/mesos]
> D:\mesos\src
> 2. Open a VS 2017 x64 command prompt as admin and browse to D:\mesos
> 3. cd src
> 4. .\bootstrap.bat
> 5. cd ..
> 6. mkdir build_x64 && pushd build_x64
> 7. cmake ..\src -G "Visual Studio 15 2017 Win64"
> -DCMAKE_SYSTEM_VERSION=10.0.17134.0 -DENABLE_LIBEVENT=1
> -DHAS_AUTHENTICATION=0 -DPATCHEXE_PATH="C:\gnuwin32\bin" -T host=x64
> 8. msbuild Mesos.sln /p:Configuration=Debug /p:Platform=x64 /maxcpucount:4
> /t:Rebuild
>
> ErrorMessage:
> 67>PrepareForBuild:
> Creating directory "x64\Debug\dist\dist.tlog\".
> InitializeBuildStatus:
> Creating "x64\Debug\dist\dist.tlog\unsuccessfulbuild" because
> "AlwaysCreate" was specified.
> 67>C:\Program Files (x86)\Microsoft Visual
> Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5):
> error MSB6006: "cmd.exe" exited with code 1.
> [D:\Mesos\build_x64\dist.vcxproj]
> 67>Done Building Project "D:\Mesos\build_x64\dist.vcxproj" (Rebuild
> target(s)) -- FAILED.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)