[ 
https://issues.apache.org/jira/browse/MESOS-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joseph Wu reassigned MESOS-9971:
--------------------------------

          Sprint: Foundations: RI-18 55
    Story Points: 1
        Assignee: Joseph Wu
          Labels: foundations  (was: )
        Priority: Trivial  (was: Major)

> 'dist' and 'distcheck' cmake targets are implemented as shell scripts, so 
> fail on Windows/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
>            Assignee: Joseph Wu
>            Priority: Trivial
>              Labels: foundations
>         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)

Reply via email to