edi33416 opened a new pull request #366:
URL: https://github.com/apache/mesos/pull/366
I've been trying to build Mesos on Windows and failed for `master`,
`1.10.0`, `1.9.0` and `1.8.0`.
The build fails with the following error:
```
-- extracting...
src='C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar'
dst='C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/wclayer-WIP'
-- extracting... [tar xf]
CUSTOMBUILD : CMake error : Problem with archive_read_open_file():
Unrecognized archive format
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
-- extracting... [error clean up]
CUSTOMBUILD : CMake error : Problem extracting tar:
C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
CMake Error at wclayer-WIP-stamp/extract-wclayer-WIP.cmake:33 (message):
CUSTOMBUILD : error : extract of
[C:\workspace\mesos\build2\3rdparty\wclayer-WIP.vcxproj]
'C:/workspace/mesos/build2/3rdparty/wclayer-WIP/src/archive.tar' failed
```
The reason the build is failing is because it attempts to extract
`3rdparty/wclayer-WIP/src/archive.tar`. It fails because, as the `file` command
will tell you, this is a binary and not a tar archive.
The fix is easy, change the `DOWNLOAD_NO_EXTRACT` from `FALSE` to `TRUE`.
This should be probably be backported all the way to `1.8.x`.
I was able to build `1.6.x` and `1.7.x` easily, as they don't use `wclayer`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]