-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
x64-windows-static/boost-build: Applying fix_options.patch fails #15456
Comments
@emmedve1, I can't repro this issue locally, the patch applied successfully. What errors does patch-x64-windows-static-0-err.log show? Could you get latest clean source and try again? |
Hello @PhoebeHui, Said log file is empty:
Cheers, |
For reference, here's the non-static triplet build:
|
It's weird, do you install git locally? what revision do you install? |
Hello @PhoebeHui, Dunno what you're asking so here I go:
Does this help? Cheers, |
@emmedve1, we merged a PR about applying patch yesterday, could you try the latest source and see if this issue persist? |
Maybe related: #15578. |
Hello @PhoebeHui, Same symptoms:
Cheers. |
@emmedve1 Have you installed git manually? If yes, please provide the git version. Thanks. |
I installed git with latest revision 2.30.0, however I still can't repro this issue.
|
Can you please check the Windows region setting about utf-8? |
The important part of the log below is the last command showing e.medve@la-am300171 ~/upstream/vcpkg $ git --version
git version 2.30.1.windows.1
e.medve@la-am300171 ~/upstream/vcpkg $ git describe HEAD
2020.04-2185-g99dc49dae
e.medve@la-am300171 ~/upstream/vcpkg $ vcpkg install --triplet=x64-windows-static boost-build
Computing installation plan...
The following packages will be built and installed:
boost-build[core]:x64-windows-static -> 1.75.0.beta1#1
* boost-uninstall[core]:x64-windows-static -> 1.75.0
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows-static...
Using cached binary package: C:\Users\e.medve\AppData\Local\vcpkg\archives\ec\ec12301c6b475ec69405f923f2c43630810fbf60.zip
Could not locate cached archive: C:\Users\e.medve\AppData\Local\vcpkg\archives\f4\f4cdaa7ed8c3fef7f5d152c0e4dbabb97f4b949d.zip
Starting package 1/2: boost-uninstall:x64-windows-static
Building package boost-uninstall[core]:x64-windows-static...
Building package boost-uninstall[core]:x64-windows-static... done
Installing package boost-uninstall[core]:x64-windows-static...
Installing package boost-uninstall[core]:x64-windows-static... done
Elapsed time for package boost-uninstall:x64-windows-static: 43.01 ms
Starting package 2/2: boost-build:x64-windows-static
Building package boost-build[core]:x64-windows-static...
-- Downloading https://github.com/boostorg/build/archive/boost-1.75.0.beta1.tar.gz -> boostorg-build-boost-1.75.0.beta1.tar.gz...
-- Extracting source C:/Users/e.medve/upstream/vcpkg/downloads/boostorg-build-boost-1.75.0.beta1.tar.gz
-- Applying patch fix_options.patch
CMake Error at scripts/cmake/vcpkg_apply_patches.cmake:63 (message):
Applying patch failed.
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:145 (vcpkg_apply_patches)
scripts/cmake/vcpkg_from_github.cmake:154 (vcpkg_extract_source_archive_ex)
ports/boost-build/portfile.cmake:9 (vcpkg_from_github)
scripts/ports.cmake:133 (include)
Error: Building package boost-build:x64-windows-static 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:x64-windows-static
Vcpkg version: 2021-01-13-unknownhash
Additionally, attach any relevant sections from the log files above.
e.medve@la-am300171 ~/upstream/vcpkg $ git apply --verbose --unsafe-paths --directory=buildtrees/boost-build/src/75.0.beta1-4371cdd5cf.tmp/build-boost-1.75.0.beta1 ports/boost-build/fix_options.patch
Checking patch buildtrees/boost-build/src/75.0.beta1-4371cdd5cf.tmp/build-boost-1.75.0.beta1/src/tools/msvc.jam...
Applied patch buildtrees/boost-build/src/75.0.beta1-4371cdd5cf.tmp/build-boost-1.75.0.beta1/src/tools/msvc.jam cleanly. My default language/locale is English/United States, however I do have the Korean language pack installed. Will enable the UTF-8 support and re-test |
I can confirm this issue is the same as #16216. I do have |
As of
2020.11-1-407-g63de431b4
:The text was updated successfully, but these errors were encountered: