This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch py-build-fix-2.1.1
in repository

commit 6de19c8d67777e4fbe322df7e2f02af5df661626
Author: Matteo Merli <>
AuthorDate: Fri Aug 3 19:31:22 2018 +0900

    Fixed linking of boost and boost-python for osx build (#2302)
    Build of wheels files in OSX is broken due to failures in finding boost 
after installing from brew.
 pulsar-client-cpp/python/pkg/osx/ | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/pulsar-client-cpp/python/pkg/osx/ 
old mode 100644
new mode 100755
index 5720b27..71687ac
--- a/pulsar-client-cpp/python/pkg/osx/
+++ b/pulsar-client-cpp/python/pkg/osx/
@@ -23,21 +23,29 @@ set -e
 /usr/bin/ruby -e "$(curl -fsSL"
-brew install openssl git boost pkg-config jsoncpp cmake protobuf260 log4cxx
+brew install openssl git boost@$BOOST_VERSION pkg-config jsoncpp cmake 
protobuf260 log4cxx
+brew link --force boost@$BOOST_VERSION
 if [ "$PYTHONVER" = "PYTHON2" ]
-       brew install python@2 boost-python
+       brew install python@2 boost-python@$BOOST_VERSION
+       brew link --force boost-python@$BOOST_VERSION
 if [ "$PYTHONVER" = "PYTHON3" ]
-       brew install python boost-python3
+       brew install python boost-python3@BOOST_VERSION
+       brew link --force boost-python3@$BOOST_VERSION
 brew link --force protobuf260
 rm -rf incubator-pulsar
 git clone --depth 1 --branch $GITTAG
 cd incubator-pulsar/pulsar-client-cpp

Reply via email to