michaeljmarshall commented on issue #13429:
URL: https://github.com/apache/pulsar/issues/13429#issuecomment-1063648052


   For reference, here is my complete log. I am running this from 
`pulsar-client-cpp/python/pkg/osx` and I checked out the tag `v2.8.3`.
   
   ```
   $ ./generate-all-wheel.sh v2.8.3
   GIT_TAG: 'v2.8.3'
   GIT_REPO: 'https://github.com/apache/pulsar.git'
   
   ------------- BUILDING PYTHON WHEELS FOR osx-10.12 ---------------------
   ~/dev/apache/pulsar.v2.8.3/pulsar-client-cpp/python/pkg/osx/osx-10.12 
~/dev/apache/pulsar.v2.8.3/pulsar-client-cpp/python/pkg/osx
   Bringing machine 'default' up with 'virtualbox' provider...
   ==> default: Importing base box 'apachepulsar/osx-10.12-python-dev'...
   ==> default: Matching MAC address for NAT networking...
   ==> default: Checking if box 'apachepulsar/osx-10.12-python-dev' version 
'0.1' is up to date...
   ==> default: Setting the name of the VM: pulsar-python-osx-10.12
   ==> default: Clearing any previously set network interfaces...
   ==> default: Preparing network interfaces based on configuration...
       default: Adapter 1: nat
   ==> default: Forwarding ports...
       default: 22 (guest) => 2222 (host) (adapter 1)
   ==> default: Booting VM...
   ==> default: Waiting for machine to boot. This may take a few minutes...
       default: SSH address: 127.0.0.1:2222
       default: SSH username: vagrant
       default: SSH auth method: private key
   ==> default: Machine booted and ready!
   ==> default: Checking for guest additions in VM...
       default: No guest additions were detected on the base box for this VM! 
Guest
       default: additions are required for forwarded ports, shared folders, 
host only
       default: networking, and more. If SSH fails on this machine, please 
install
       default: the guest additions and repackage the box to continue.
       default:
       default: This is not an error message; everything may continue to work 
properly,
       default: in which case you may ignore this message.
   ==> default: Running provisioner: shell...
       default: Running: 
/var/folders/yl/07dpwzpn5wldvrvpf_rk1pzm0000gn/T/vagrant-shell20220309-14804-168s9hb.sh
       default: + rm -rf pulsar
       default: + git clone -q --depth 1 --branch v2.8.3 
https://github.com/apache/pulsar.git
       default: Note: checking out 'ee87c7d6c20186ae59298a9a9ec1fdb2b09954c7'.
       default:
       default: You are in 'detached HEAD' state. You can look around, make 
experimental
       default: changes and commit them, and you can discard any commits you 
make in this
       default: state without impacting any branches by performing another 
checkout.
       default:
       default: If you want to create a new branch to retain commits you 
create, you may
       default: do so (now or later) by using -b with the checkout command 
again. Example:
       default:
       default:   git checkout -b <new-branch-name>
       default:
       default: + cd pulsar/pulsar-client-cpp
       default: + brew link --force boost
       default: Warning: Already linked: /usr/local/Cellar/boost/1.68.0_1
       default: To relink: brew unlink boost && brew link boost
       default: + brew link --force protobuf260
       default: Warning: Already linked: /usr/local/Cellar/[email protected]/2.6.1
       default: To relink: brew unlink [email protected] && brew link --force 
[email protected]
       default: + brew unlink python
       default: Unlinking /usr/local/Cellar/python/3.7.2_1... 0 symlinks removed
       default: + brew unlink boost-python3
       default: Unlinking /usr/local/Cellar/boost-python3/1.68.0... 0 symlinks 
removed
       default: + brew link --force python@2
       default: Warning: Already linked: /usr/local/Cellar/python@2/2.7.15_2
       default: To relink: brew unlink python@2 && brew link python@2
       default: + brew link --force boost-python
       default: Warning: Already linked: /usr/local/Cellar/boost-python/1.68.0
       default: To relink: brew unlink boost-python && brew link boost-python
       default: + cmake . -DBUILD_TESTS=OFF -DLINK_STATIC=ON 
-DPYTHON_LIBRARY=/usr/local/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
       default: -- The C compiler identification is AppleClang 9.0.0.9000039
       default: -- The CXX compiler identification is AppleClang 9.0.0.9000039
       default: -- Check for working C compiler: 
/Library/Developer/CommandLineTools/usr/bin/cc
       default: -- Check for working C compiler: 
/Library/Developer/CommandLineTools/usr/bin/cc -- works
       default: -- Detecting C compiler ABI info
       default: -- Detecting C compiler ABI info - done
       default: -- Detecting C compile features
       default: -- Detecting C compile features - done
       default: -- Check for working CXX compiler: 
/Library/Developer/CommandLineTools/usr/bin/c++
       default: -- Check for working CXX compiler: 
/Library/Developer/CommandLineTools/usr/bin/c++ -- works
       default: -- Detecting CXX compiler ABI info
       default: -- Detecting CXX compiler ABI info - done
       default: -- Detecting CXX compile features
       default: -- Detecting CXX compile features - done
       default: -- ARCHITECTURE: x86_64
       default: -- BUILD_DYNAMIC_LIB:  ON
       default: -- BUILD_STATIC_LIB:  ON
       default: -- BUILD_TESTS:  OFF
       default: -- BUILD_PYTHON_WRAPPER:  ON
       default: -- BUILD_PERF_TOOLS:  OFF
       default: -- LINK_STATIC:  ON
       default: -- USE_LOG4CXX:  OFF
       default: -- CMAKE_BUILD_TYPE:  RelWithDebInfo
       default: -- Looking for pthread.h
       default: -- Looking for pthread.h - found
       default: -- Looking for pthread_create
       default: -- Looking for pthread_create - found
       default: -- Found Threads: TRUE
       default: -- Threads library:
       default: -- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib
       default: -- Protobuf_LITE_LIBRARIES: /usr/local/lib/libprotobuf-lite.a
       default: -- Boost version: 1.68.0
       default: -- Linking with Boost:System
       default: -- Using std::regex
       default: -- Boost version: 1.68.0
       default: -- Found the following Boost libraries:
       default: --   system
       default: -- Found PythonLibs: 
/usr/local/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib 
(found version "2.7.10")
       default: -- PYTHON: 2.7.10
       default: CMake Warning at 
/usr/local/Cellar/cmake/3.13.3/share/cmake/Modules/FindBoost.cmake:1775 
(message):
       default:   No header defined for python-mt; skipping header check
       default: Call Stack (most recent call first):
       default:   CMakeLists.txt:276 (find_package)
       default:
       default:
       default: CMake Warning at 
/usr/local/Cellar/cmake/3.13.3/share/cmake/Modules/FindBoost.cmake:1775 
(message):
       default:   No header defined for python-py27; skipping header check
       default: Call Stack (most recent call first):
       default:   CMakeLists.txt:276 (find_package)
       default:
       default:
       default: CMake Warning at 
/usr/local/Cellar/cmake/3.13.3/share/cmake/Modules/FindBoost.cmake:1775 
(message):
       default:   No header defined for python27-mt; skipping header check
       default: Call Stack (most recent call first):
       default:   CMakeLists.txt:276 (find_package)
       default:
       default:
       default: CMake Warning at 
/usr/local/Cellar/cmake/3.13.3/share/cmake/Modules/FindBoost.cmake:1775 
(message):
       default:   No header defined for python27-mt; skipping header check
       default: Call Stack (most recent call first):
       default:   CMakeLists.txt:287 (find_package)
       default:
       default:
       default: -- Boost version: 1.68.0
       default: -- Found the following Boost libraries:
       default: --   python27-mt
       default: -- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.a
       default: -- HAS_ZSTD: 1
       default: -- HAS_SNAPPY: 0
       default: -- Using Boost Python libs: 
/usr/local/lib/libboost_python27-mt.a
       default: clang-tidy not found
       default: clang-format not found
       default: -- Configuring done
       default: -- Generating done
       default: -- Build files have been written to: 
/Users/vagrant/pulsar/pulsar-client-cpp
       default: + make _pulsar -j8
       default: [  0%] Generating ../generated/lib/PulsarApi.pb.cc, 
../generated/lib/PulsarApi.pb.h
       default: Scanning dependencies of target PULSAR_OBJECT_LIB
       default: [  1%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTracker.cc.o
       default: [  2%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerDisabled.cc.o
       default: [  2%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerEnabled.cc.o
       default: [  4%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Authentication.cc.o
       default: [  4%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Backoff.cc.o
       default: [  5%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchAcknowledgementTracker.cc.o
       default: [  5%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainer.cc.o
       default: [  7%] Building CXX object 
lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainerBase.cc.o
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Authentication.cc.o] Error 1
       default: make[3]: *** Waiting for unfinished jobs....
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/Backoff.cc.o] Error 1
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerDisabled.cc.o] Error 1
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainerBase.cc.o] Error 1
       default: make[3]: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTracker.cc.o] Error 1
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchMessageContainer.cc.o] Error 1
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/AckGroupingTrackerEnabled.cc.o] Error 1
       default: error: unknown warning option '-Werror=cpp' 
[-Werror,-Wunknown-warning-option]
       default: make[3]: *** 
[lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/BatchAcknowledgementTracker.cc.o] Error 1
       default: make[2]: *** [lib/CMakeFiles/PULSAR_OBJECT_LIB.dir/all] Error 2
       default: make[1]: *** [python/CMakeFiles/_pulsar.dir/rule] Error 2
       default: make: *** [_pulsar] Error 2
   The SSH command responded with a non-zero exit status. Vagrant
   assumes that this means the command failed. The output for this command
   should be in the log above. Please read the output to determine what
   went wrong.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to