[Bug 224180] sysutils/osquery: fails to build with boost 1.66

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 8 15:49:24 UTC 2017


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

            Bug ID: 224180
           Summary: sysutils/osquery: fails to build with boost 1.66
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
            Blocks: 223922
          Assignee: zi at FreeBSD.org
             Flags: maintainer-feedback?(zi at FreeBSD.org)

As part of exp-run in bug 223922 this port was found to break on Boost update.
If the issue won't disappear on its own by Boost release I plan to mark the
port as BROKEN. Can you check with upstream maintainer or help with a fix?

$ fetch -qo- 'https://reviews.freebsd.org/D13279?download=true' | patch -Efsp0
-d /usr/ports
$ make all deinstall install clean -C/usr/ports/devel/boost-libs
$ make -C/usr/ports/sysutils/osquery
[...]
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/config/plugins/tls_config.cpp:26:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/utility.h:17:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/transports/tls.h:15:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/http_client.h:16:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core.hpp:15:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/async_result.hpp:14:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/type_traits.hpp:15:
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/detail/type_traits.hpp:28:7:
error: definition of type 'io_service' conflicts with typedef of the same name
class io_service;
      ^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared
here
typedef io_context io_service;
                   ^
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/config/plugins/tls_config.cpp:26:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/utility.h:17:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/transports/tls.h:15:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/osquery/remote/http_client.h:16:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core.hpp:15:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/async_result.hpp:14:
In file included from
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/type_traits.hpp:15:
/wrkdirs/usr/ports/sysutils/osquery/work/osquery-2.10.2/third-party/beast/boost/beast/core/detail/type_traits.hpp:37:1:
error: too few template parameters in template redeclaration
template<class Buffer, class Buffers>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/asio/detail/consuming_buffers.hpp:53:1: note: previous
template declaration is here
template <typename Buffer, typename Buffers, typename Buffer_Iterator>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/osquery-2.10.2.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/osquery-2.10.2.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/osquery-2.10.2.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/osquery-2.10.2.log


Referenced Bugs:

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


More information about the freebsd-ports-bugs mailing list