[Bug 229661] [cmake] net/ceph: fails to build with boost 1.68

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 10 00:01:50 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229661

            Bug ID: 229661
           Summary: [cmake] net/ceph: fails to build with boost 1.68
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: wjw at digiware.nl
            Blocks: 229569
             Flags: maintainer-feedback?(wjw at digiware.nl)
                CC: wjw at digiware.nl

$ fetch -qo- 'https://reviews.freebsd.org/D16165?download=true' | patch -Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-jam
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C /usr/ports/net/ceph
[...]
CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:840 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindBoost.cmake:951
(_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake/Modules/FindBoost.cmake:1619
(_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:567 (find_package)
[...]
CMake Error at /usr/local/share/cmake/Modules/FindBoost.cmake:2045 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.68.0

  Boost include path: /usr/local/include

  Could not find the following Boost libraries:

          boost_context

  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):
  CMakeLists.txt:567 (find_package)

[...]
-- Configuring incomplete, errors occurred!
See also "/wrkdirs/usr/ports/net/ceph/work/.build/CMakeFiles/CMakeOutput.log".
See also "/wrkdirs/usr/ports/net/ceph/work/.build/CMakeFiles/CMakeError.log".
*** Error code 1

$ pkg which /usr/local/lib/libboost_context.so
/usr/local/lib/libboost_context.so was installed by package boost-libs-1.68.0
$ echo 'int main() {}' >a.c
$ cc a.c /usr/local/lib/libboost_context.so
$ ./a.out

Full build log: https://ptpb.pw/dBFj


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229569
[Bug 229569] devel/boost-all: Update to 1.68.0 (currently, Beta phase)
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list