microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.98k stars 6.34k forks source link

Boost:x86-uwp failed to build #2744

Closed maxula closed 5 years ago

maxula commented 6 years ago

With a fresh clone of VPKG, building boost for x86-uwp triplet is failing.

Below the log files.

Building package boost-build[core]:x86-uwp...
-- CURRENT_INSTALLED_DIR=U:/vcpkg/installed/x86-uwp
-- DOWNLOADS=U:/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=U:/vcpkg/packages/boost-build_x86-uwp
-- CURRENT_BUILDTREES_DIR=U:/vcpkg/buildtrees/boost-build
-- CURRENT_PORT_DIR=U:/vcpkg/ports/boost-build/.
-- Using cached U:/vcpkg/downloads/boostorg-build-boost-1.66.0.tar.gz
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Using cached U:/vcpkg/downloads/boost_LICENSE_1_0.txt
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Using cached U:/vcpkg/downloads/boost-1.66.0-boostcpp.jam
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Bootstrapping...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: U:/vcpkg/packages/boost-build_x86-uwp/tools/boost-build/bootstrap.bat;msvc
    Working Directory: U:/vcpkg/packages/boost-build_x86-uwp/tools/boost-build
    See logs for more information:
      U:\vcpkg\buildtrees\boost-build\bootstrap-x86-uwp-out.log
      U:\vcpkg\buildtrees\boost-build\bootstrap-x86-uwp-err.log

Call Stack (most recent call first):
  ports/boost-build/portfile.cmake:47 (vcpkg_execute_required_process)
  scripts/ports.cmake:72 (include)

Error: Building package boost-build:x86-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: boost-build:x86-uwp
  Vcpkg version: 0.0.103-2018-02-06-2d324592a4ac01086191c5137efe6eead3c3c65c

Additionally, attach any relevant sections from the log files above.

bootstrap-x86-uwp-out.log bootstrap-x86-uwp-err.log

bootstrap.log

eklipse2k8 commented 6 years ago

I think this might be related to #2724

maxula commented 6 years ago

I am not sure. I think it is caused by the bootsrap trying to build the b2 executable as a universal app. B2 executable should be built as win32 app instead

JackBoosY commented 5 years ago

Hi everyone , thanks for reporting this issue! Please open a new issue if this is still a problem for you. Thx.