Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap build failure #8537

Closed
edidada opened this issue Oct 10, 2019 · 5 comments
Closed

bootstrap build failure #8537

edidada opened this issue Oct 10, 2019 · 5 comments
Assignees
Labels
category:port-update The issue is with a library, which is requesting update new revision requires:repro The issue is not currently repro-able

Comments

@edidada
Copy link

edidada commented Oct 10, 2019

Host Environment

  • OS: Windows 10
  • Compiler: Package: boost-build:x64-windows
    Vcpkg version: 2019.09.12-nohash

CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: D:/vcpkg/packages/boost-build_x64-windows/tools/boost-build/bootstrap.bat msvc
Working Directory: D:/vcpkg/packages/boost-build_x64-windows/tools/boost-build
Error code: 2
See logs for more information:
D:\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
D:\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log

@edidada edidada added the category:port-bug The issue is with a library, which is something the port should already support label Oct 10, 2019
@edidada edidada changed the title [<port name>] build failure bootstrap build failure Oct 10, 2019
@LilyWangL LilyWangL self-assigned this Oct 10, 2019
@LilyWangL LilyWangL added the requires:repro The issue is not currently repro-able label Oct 10, 2019
@LilyWangL
Copy link
Contributor

Hi @edidada, I can't reproduce it locally. Can you provide your build log?

D:\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-out.log
D:\vcpkg\buildtrees\boost-build\bootstrap-x64-windows-err.log

Thanks.

@LilyWangL LilyWangL removed the category:port-bug The issue is with a library, which is something the port should already support label Oct 10, 2019
@ghost
Copy link

ghost commented Oct 10, 2019

Ports boost-build & boost-modular-build-helper, last time I checked (yesterday), both have incorrect versions numbers 1.70.0 versus the version they're supposed to be building, 1.71.0 (these two seem to always be missed when the boost libraries are upgraded. Here is the findings of my research:

  1. boost-build: CONTROL and portfile.cmake needs version changed to 1.71, the SHA512 needs to be updated for the new version and I believe the arm64msvc.patch is no longer needed as the new boostcpp.jam file seems to already have all the added arm64 entries.
  2. boost-modular-build-helper: boost-modular-build.cmake, CONTROL, and Jamroot.jam, all need the version updated from 1.70 to 1.71.
  3. The 3rd item I've discovered is all the boost libraries are being built with the first msvc toolset found, and this is by the boost design. Boost (b2/bjam) allows for the toolset= option or it can be specified in a port-config.jam, site-config.jam or the user-config.jam, so one could specify the desired toolset boost uses to build all the libraries, in my case I would like it to default to the v141 toolset for VS2017 and v142 for VS2019.
    Note: I have VS2017 and VS2019 installed with all available toolsets for each and I have 2 versions of vcpkg installed completely built by each versions primary toolset, compilers and linkers, all x64-windows, in addition to building vcpkg with the -win64 option.
    So I guess what I'm asking is where would one make the add/change in the group of portfiles to make boost build using the default toolset, compiler and linker for the version of visual studio you are using?

@gtumanyan
Copy link

gtumanyan commented Oct 31, 2019

  • Change version to 1.71.0 in portfile.cmake and CONTROL
  • Replace first SHA512 in portfile.cmake with this new one ce1c070bea936d054791db3a5205dfcfa53f8a798e3c798a555fd580798a375b1e0c831dbf6803a1866fa67fdb040d35e412eac618bb5073271e209f1600b8a7
  • Remove arm64msvc.patch from portfile.cmake

You are ready to go!

@PhoebeHui PhoebeHui assigned PhoebeHui and unassigned LilyWangL Nov 19, 2019
@PhoebeHui PhoebeHui added the category:port-update The issue is with a library, which is requesting update new revision label Nov 19, 2019
@PhoebeHui
Copy link
Contributor

PhoebeHui commented Nov 26, 2019

  1. boost-build has a exist PR to update, related PR [boost-build] Update to 4.0.1 #9093
  2. boost-modular-build-helper has already upgrade to 1.71.0, related PR [boost-modular-build-helper] Update to 1.71. #8606

@PhoebeHui
Copy link
Contributor

@edidada, currently boost has been upgrade t0 1.74.0, please get latest source and try again, and report an new issue with failrure logs if the issue persist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

4 participants