-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[thrift:x64-osx] build failure #7533
Labels
category:port-bug
The issue is with a library, which is something the port should already support
Comments
esride-jts
added
the
category:port-bug
The issue is with a library, which is something the port should already support
label
Aug 3, 2019
This happens because the version of bison provided on macOS is outdated (2.3). Thrift requires at least version 2.5. A solution for building thrift with vcpkg is to install a newer version of bison with homebrew, and then put it in the PATH:
Ideally, vcpkg should download its own copy of bison on macOS, like it does on Windows. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
category:port-bug
The issue is with a library, which is something the port should already support
install-x64-osx-dbg-out.log
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install thrift:x64-osx
Failure logs
Building package thrift[core]:x64-osx...
-- Using cached /Users/jts/Projects/Microsoft/vcpkg/downloads/apache-thrift-acdd4226c210336e9e15eb812e5932a645fcd5ce.tar.gz
-- Using source at /Users/jts/Projects/Microsoft/vcpkg/buildtrees/thrift/src/a645fcd5ce-c6651aaf0e
-- Configuring x64-osx-dbg
-- Configuring x64-osx-rel
-- Building x64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: /Users/jts/Projects/Microsoft/vcpkg/downloads/tools/cmake-3.14.0-osx/cmake-3.14.0-Darwin-x86_64/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v
Working Directory: /Users/jts/Projects/Microsoft/vcpkg/buildtrees/thrift/x64-osx-dbg
See logs for more information:
/Users/jts/Projects/Microsoft/vcpkg/buildtrees/thrift/install-x64-osx-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/thrift/portfile.cmake:43 (vcpkg_install_cmake)
scripts/ports.cmake:74 (include)
Error: Building package thrift:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with
.\vcpkg update
, thensubmit an issue at https:/Microsoft/vcpkg/issues including:
Package: thrift:x64-osx
Vcpkg version: 2019.07.18-unknownhash
Additionally, attach any relevant sections from the log files above.
The text was updated successfully, but these errors were encountered: