Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2018 00:01:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 229661] [cmake] net/ceph: fails to build with boost 1.68
Message-ID:  <bug-229661-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229661

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: wjw@digiware.nl
            Blocks: 229569
             Flags: maintainer-feedback?(wjw@digiware.nl)
                CC: wjw@digiware.nl

$ fetch -qo- 'https://reviews.freebsd.org/D16165?download=3Dtrue' | 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 (messag=
e):
  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.lo=
g".
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=3D229569
[Bug 229569] devel/boost-all: Update to 1.68.0 (currently, Beta phase)
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229661-7788>