Skip to content
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

Fails to build with Boost 1.69 (develop snapshot) #3760

Closed
jbeich opened this issue Oct 26, 2018 · 4 comments
Closed

Fails to build with Boost 1.69 (develop snapshot) #3760

jbeich opened this issue Oct 26, 2018 · 4 comments
Labels
Milestone

Comments

@jbeich
Copy link

jbeich commented Oct 26, 2018

After boostorg/boost#189 build fails, see error log (for rstudio 1.2.679) and missing files (in boost 1.69)

CMake Error at /usr/local/share/cmake/Modules/FindBoost.cmake:2049 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.69.0

  Boost include path: /usr/local/include

  Could not find the following Boost libraries:

          boost_signals

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  src/cpp/CMakeLists.txt:208 (find_package)

Note, Boost 1.69 is scheduled to be released on 2018-12-12.

@jbeich
Copy link
Author

jbeich commented Oct 26, 2018

Duplicate of #2210?

@kevinushey kevinushey added this to the v1.2 milestone Oct 26, 2018
@kevinushey
Copy link
Contributor

Thanks -- since users often build RStudio from source, I think we need to make sure RStudio can at least compile with Boost.Signals2 (even if we end up building our own releases with the deprecated signals)

@jbeich
Copy link
Author

jbeich commented Nov 2, 2018

After boostorg/logic@23cd89d4c80f build also fails. See error log.

In file included from src/cpp/core/r_util/RSourceIndex.cpp:24:
In file included from src/cpp/core/include/core/r_util/RSourceIndex.hpp:36:
src/cpp/core/include/core/r_util/RFunctionInformation.hpp:78:33: error:
      no viable conversion from returned value of type 'const boost::tribool' to function return type 'bool'
   bool isUsed() const { return isUsed_; }
                                ^~~~~~~
src/cpp/core/include/core/r_util/RFunctionInformation.hpp:80:47: error:
      no viable conversion from returned value of type 'const boost::tribool' to function return type 'bool'
   bool isMissingnessHandled() const { return isMissingnessHandled_; }
                                              ^~~~~~~~~~~~~~~~~~~~~
src/cpp/core/include/core/r_util/RFunctionInformation.hpp:133:14: error:
      no viable conversion from returned value of type 'boost::logic::tribool' to function return type 'bool'
      return isPrimitive_ == true;
             ^~~~~~~~~~~~~~~~~~~~
src/cpp/session/modules/SessionRParser.cpp:411:14: error: no viable conversion from returned value of type 'boost::tribool' to function return type 'bool'
      return fnInfo.performsNse();
             ^~~~~~~~~~~~~~~~~~~~

@kevinushey
Copy link
Contributor

I believe this should be fixed on master now -- @jbeich, if you're still seeing failures during compile please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants