You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Rinaldo Digiorgio <rd...@pace.edu> on 2016/07/15 01:36:15 UTC
Windows Build on Jenkins almost working
Hi,
The build fails with the following.
http_parser.lib(http_parser.obj) : warning LNK4217: locally defined symbol memchr imported in function http_parser_execute [C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\libprocess\src\tests\process_tests.vcxproj]
"C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\Mesos.sln" (stout_tests;Build target) (1) ->
"C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\src\mesos-1.0.0.vcxproj.metaproj" (default target) (28) ->
"C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj.metaproj" (default target) (31) ->
"C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj" (default target) (40) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj]
1474 Warning(s)
1 Error(s)
Time Elapsed 00:24:27.44
I see this.
CMake Warning at CMakeLists.txt:52 (message):
Both `ENABLE_LIBEVENT` and `REBUNDLED` (set to TRUE by default) flags have
been set. But, libevent does not come rebundled in Mesos, so it must be
downloaded.
CMake Warning at CMakeLists.txt:61 (message):
The current supported version of ZK does not compile on Windows, and does
not come rebundled in the Mesos repository. It must be downloaded from the
Internet, even though the `REBUNDLED` flag was set.
If I need to install libevent, what version and where is a good place for it?
Rinaldo
Re: Windows Build on Jenkins almost working
Posted by Joseph Wu <jo...@mesosphere.io>.
A few notes:
* Lowering the number of warnings is on our TODO list. Currently, seeing
1000's of warnings is fairly common :(
* The windows build does not work if your files have Unix-style line
endings. If you use Git on Windows, you should run: git config
core.autocrlf true
* The CMake warnings are saying that the build will download some tarballs
because those tarballs aren't committed to the Mesos repo:
https://github.com/3rdparty/mesos-3rdparty/blob/master/libevent-release-2.1.5-beta.tar.gz
https://github.com/3rdparty/mesos-3rdparty/blob/master/zookeeper-06d3f3f.tar.gz
I've posted a review to update the getting-started page accordingly:
https://reviews.apache.org/r/50080/
On Thu, Jul 14, 2016 at 6:36 PM, Rinaldo Digiorgio <rd...@pace.edu>
wrote:
> Hi,
>
> The build fails with the following.
>
> http_parser.lib(http_parser.obj) : warning LNK4217: locally defined symbol memchr imported in function http_parser_execute [C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\libprocess\src\tests\process_tests.vcxproj]
>
>
> "C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\Mesos.sln" (stout_tests;Build target) (1) ->
> "C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\src\mesos-1.0.0.vcxproj.metaproj" (default target) (28) ->
> "C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj.metaproj" (default target) (31) ->
> "C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj" (default target) (40) ->
> (CustomBuild target) ->
> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\Program Files (x86)\Jenkins\workspace\mesos-agent-windows\build\3rdparty\zookeeper-06d3f3f.vcxproj]
>
> 1474 Warning(s)
> 1 Error(s)
>
> Time Elapsed 00:24:27.44
>
>
>
> I see this.
>
> CMake Warning at CMakeLists.txt:52 (message):
>
> Both `ENABLE_LIBEVENT` and `REBUNDLED` (set to TRUE by default) flags have
> been set. But, libevent does not come rebundled in Mesos, so it must be
> downloaded.
>
>
> CMake Warning at CMakeLists.txt:61 (message):
> The current supported version of ZK does not compile on Windows, and does
> not come rebundled in the Mesos repository. It must be downloaded from the
> Internet, even though the `REBUNDLED` flag was set.
>
>
>
> If I need to install libevent, what version and where is a good place for
> it?
>
> Rinaldo
>
>