You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/06/03 17:53:15 UTC

[GitHub] [pulsar] scpeters opened a new issue #4449: Build fails with boost 1.70.0

scpeters opened a new issue #4449: Build fails with boost 1.70.0
URL: https://github.com/apache/pulsar/issues/4449
 
 
   **Describe the bug**
   This package fails to compile with boost 1.70.0. I noticed this in the test logs of boost 1.70.0 in homebrew-core:
   
   * https://github.com/Homebrew/homebrew-core/pull/38890
   * https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/43080/version=sierra/testReport/junit/brew-test-bot/sierra/install___build_bottle_libpulsar/
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Using macOS 10.12, 10.13, or 10.14 with homebrew
   2. `brew pull 38890`
   3. `brew install libpulsar`
   4. Build fails: https://gist.github.com/scpeters/d7c04bf3e531c994284c89135bf1147f
   
   ~~~
   lib/ExecutorService.cc:37:17:
    note: in instantiation of function template specialization
    'std::__1::make_shared<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>, std::__1::reference_wrapper<boost::asio::io_context> >' requested here
       return std::make_shared<boost::asio::ip::tcp::socket>(std::ref(io_service_));
                   ^
   ~~~
   
   **Expected behavior**
   Successful compilation.
   
   **Desktop (please complete the following information):**
    - OS: macOS 10.12, 10.13, 10.14
   
   **Additional context**
   Several other packages have had similar build failures with boost 1.70. The most relevant one to me seems to be websocketpp, which also has a problem with using `std::make_shared`. There is an open pull request changing from `make_shared` to `new`: https://github.com/zaphoyd/websocketpp/pull/814

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services