microsoft / vcpkg

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

Error: Building package boost-container:x64-windows failed with: BUILD_FAILED #6289

Closed acgetchell closed 5 years ago

acgetchell commented 5 years ago
PS C:\Users\adam\source\repos\vcpkg> git pull
Already up to date.
PS C:\Users\adam\source\repos\vcpkg> .\vcpkg.exe update
Using local portfile versions. To update the local portfiles, use `git pull`.
No packages need updating.
PS C:\Users\adam\source\repos\vcpkg> .\vcpkg.exe install cgal --triplet x64-windows
The following packages will be built and installed:
  * boost-algorithm[core]:x64-windows
  * boost-array[core]:x64-windows
  * boost-atomic[core]:x64-windows
  * boost-bimap[core]:x64-windows
  * boost-chrono[core]:x64-windows
  * boost-container[core]:x64-windows
  * boost-date-time[core]:x64-windows
  * boost-dynamic-bitset[core]:x64-windows
  * boost-endian[core]:x64-windows
  * boost-exception[core]:x64-windows
  * boost-filesystem[core]:x64-windows
  * boost-foreach[core]:x64-windows
  * boost-function[core]:x64-windows
  * boost-graph[core]:x64-windows
  * boost-heap[core]:x64-windows
  * boost-io[core]:x64-windows
  * boost-iostreams[core]:x64-windows
  * boost-lambda[core]:x64-windows
  * boost-lexical-cast[core]:x64-windows
  * boost-locale[core]:x64-windows
  * boost-logic[core]:x64-windows
  * boost-math[core]:x64-windows
  * boost-multi-index[core]:x64-windows
  * boost-multiprecision[core]:x64-windows
  * boost-numeric-conversion[core]:x64-windows
  * boost-parameter[core]:x64-windows
  * boost-phoenix[core]:x64-windows
  * boost-pool[core]:x64-windows
  * boost-property-map[core]:x64-windows
  * boost-property-tree[core]:x64-windows
  * boost-proto[core]:x64-windows
  * boost-random[core]:x64-windows
  * boost-range[core]:x64-windows
  * boost-ratio[core]:x64-windows
  * boost-rational[core]:x64-windows
  * boost-regex[core]:x64-windows
  * boost-serialization[core]:x64-windows
  * boost-spirit[core]:x64-windows
  * boost-system[core]:x64-windows
  * boost-test[core]:x64-windows
  * boost-thread[core]:x64-windows
  * boost-timer[core]:x64-windows
  * boost-tokenizer[core]:x64-windows
  * boost-tti[core]:x64-windows
  * boost-unordered[core]:x64-windows
  * boost-winapi[core]:x64-windows
  * boost-xpressive[core]:x64-windows
  * bzip2[core]:x64-windows
    cgal[core]:x64-windows
  * liblzma[core]:x64-windows
  * zstd[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/51: boost-container:x64-windows
Building package boost-container[core]:x64-windows...
-- Using cached C:/Users/adam/source/repos/vcpkg/downloads/boostorg-container-boost-1.69.0.tar.gz
-- Using source at C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/src/ost-1.69.0-4d1d511a97
-- Building x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: C:/Users/adam/source/repos/vcpkg/installed/x64-windows/tools/boost-build/b2.exe;--stagedir=C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/x64-windows-rel/stage;--build-dir=C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/x64-windows-rel;--user-config=C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/x64-windows-rel/user-config.jam;-j2;--debug-configuration;--debug-building;--debug-generators;--disable-icu;--ignore-site-config;--hash;-q;-sZLIB_INCLUDE="C:/Users/adam/source/repos/vcpkg/installed/x64-windows/include";-sBZIP2_INCLUDE="C:/Users/adam/source/repos/vcpkg/installed/x64-windows/include";threading=multi;threadapi=win32;runtime-link=shared;link=shared;address-model=64;architecture=x86;toolset=msvc-14.1;-sZLIB_BINARY=zlib;-sZLIB_LIBPATH="C:/Users/adam/source/repos/vcpkg/installed/x64-windows/lib";-sBZIP2_BINARY=bz2;-sBZIP2_LIBPATH="C:/Users/adam/source/repos/vcpkg/installed/x64-windows/lib";variant=release;debug-symbols=on
    Working Directory: C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/src/ost-1.69.0-4d1d511a97/build
    Error code: 1
    See logs for more information:
      C:\Users\adam\source\repos\vcpkg\buildtrees\boost-container\build-x64-windows-rel-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/boost-build/boost-modular-build.cmake:272 (vcpkg_execute_required_process)
  ports/boost-container/portfile.cmake:14 (boost_modular_build)
  scripts/ports.cmake:71 (include)

Error: Building package boost-container:x64-windows 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-container:x64-windows
  Vcpkg version: 2018.11.23-nohash

Additionally, attach any relevant sections from the log files above.
acgetchell commented 5 years ago
PS C:\Users\adam\source\repos\vcpkg\buildtrees\boost-container> cat .\build-x64-windows-rel-out.log
notice: found boost-build.jam at C:/Users/adam/source/repos/vcpkg/installed/x64-windows/tools/boost-build/boost-build.jam
notice: loading Boost.Build from C:/Users/adam/source/repos/vcpkg/installed/x64-windows/tools/boost-build/src/kernel
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
    C:\Users\adam\source\repos\vcpkg\buildtrees\boost-container\x64-windows-rel\user-config.jam
notice: Searching 'C:\Users\adam\source\repos\vcpkg\buildtrees\boost-container\x64-windows-rel' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from 'C:/Users/adam/source/repos/vcpkg/buildtrees/boost-container/x64-windows-rel'.

warning: Did not find command for MSVC toolset. If you have Visual Studio 2017 installed you will need to specify the full path to the command, set VS150COMNTOOLS for your installation, or build from the 'Visual Studio Command Prompt for VS 2017'.

notice: will use 'cl.exe' for msvc, condition <toolset>msvc
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>', setup: 'x86'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>32', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>32', setup: 'x86'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>', setup: 'x86'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>32', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>32', setup: 'x86'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>64', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>/<address-model>64', setup: 'amd64'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>64', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>x86/<address-model>64', setup: 'amd64'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>ia64/<address-model>', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>ia64/<address-model>', setup: 'x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>ia64/<address-model>64', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>ia64/<address-model>64', setup: 'x86_ia64'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>', setup: 'x86_arm'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>32', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>32', setup: 'x86_arm'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>', setup: 'x86_arm64'
notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>64', setup: 'C:/Users/adam/source/repos/vcpkg/installed/x64-windows/share/boost-build/nothing.bat' notice: [msvc-cfg] condition: '<toolset>msvc/<architecture>arm/<address-model>64', setup: 'x86_arm64'
notice: [cmdline-cfg] toolset msvc-14.1 not previously configured; attempting to auto-configure now
error: msvc initialization: parameter 'version' inconsistent
error: no value was specified in earlier initialization
error: an explicit value is specified now
MVoz commented 5 years ago

error: msvc initialization: parameter 'version' inconsistent

MSVC 2019 ??? no support

acgetchell commented 5 years ago

Visual Studio 2019

MVoz commented 5 years ago

try \ test version 1.70

https://github.com/ras0219-msft/vcpkg/tree/dev/roschuma/boost

maybe there is support

LilyWangL commented 5 years ago

Hi @acgetchell, PR #6141 has been merged. I installed it successfully with VS2019 and VCPKG latest source. You can update vcpkg and rebuild.

.\vcpkg.exe install cgal:x64-windows The following packages will be built and installed: / boost-algorithm[core]:x64-windows / boost-any[core]:x64-windows / * boost-array[core]:x64-windows ...... Starting package 72/72: cgal:x64-windows Building package cgal[core]:x64-windows... CMake Warning at ports/cgal/portfile.cmake:5 (message): Cgal's buildsystem uses very long paths and may fail on your system. / We recommend moving vcpkg to a short path such as 'C:\src\vcpkg' or using the subst command. Call Stack (most recent call first): scripts/ports.cmake:71 (include) / / -- Downloading https://github.com/CGAL/cgal/archive/releases/CGAL-4.14.tar.gz... -- Extracting source F:/Lily/issue6475/vcpkg/downloads/CGAL-cgal-releases-CGAL-4.14.tar.gz -- Using source at F:/Lily/issue6475/vcpkg/buildtrees/cgal/src/-CGAL-4.14-1ad8507d18 -- Configuring x64-windows -- Building x64-windows-dbg -- Building x64-windows-rel -- Performing post-build validation -- Performing post-build validation done Building package cgal[core]:x64-windows... done Installing package cgal[core]:x64-windows... Installing package cgal[core]:x64-windows... done Elapsed time for package cgal:x64-windows: 2.935 min / Total elapsed time: 33.92 min

acgetchell commented 5 years ago

Yes, it worked. Thanks!

aragon5956 commented 4 years ago

https://github.com/ras0219-msft/vcpkg/tree/dev/roschuma/boost ==> page not found now

we wait