[Bug 224183] www/wt: fails to build with boost 1.66

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 8 15:58:04 UTC 2017


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

            Bug ID: 224183
           Summary: www/wt: 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: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: info at babaei.net
            Blocks: 223922
             Flags: maintainer-feedback?(info at babaei.net)
                CC: info at babaei.net

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/www/wt
[...]
/wrkdirs/usr/ports/www/wt/work/wt-3.3.7/src/Wt/Http/Client.C:608:16: error: use
of class template 'boost::asio::strand' requires template arguments
  boost::asio::strand strand_;
               ^
/usr/local/include/boost/asio/strand.hpp:29:7: note: template is declared here
class strand
      ^
/wrkdirs/usr/ports/www/wt/work/wt-3.3.7/src/Wt/Http/Client.C:125:5: error: no
matching member function for call to 'shared_from_this'
                                shared_from_this(),
                                ^~~~~~~~~~~~~~~~
[...]
In file included from
/wrkdirs/usr/ports/www/wt/work/wt-3.3.7/src/Wt/Http/Client.C:8:
In file included from /usr/local/include/boost/asio.hpp:24:
In file included from
/usr/local/include/boost/asio/basic_deadline_timer.hpp:28:
In file included from /usr/local/include/boost/asio/time_traits.hpp:23:
In file included from
/usr/local/include/boost/date_time/posix_time/posix_time_types.hpp:10:
In file included from /usr/local/include/boost/date_time/time_clock.hpp:17:
In file included from /usr/local/include/boost/shared_ptr.hpp:17:
/usr/local/include/boost/smart_ptr/shared_ptr.hpp:698:35: error: comparison of
distinct pointer types ('Wt::Http::Client::TcpImpl *' and 'element_type *' (aka
'Wt::Http::Client::Impl *'))
        BOOST_ASSERT( p == 0 || p != px ); // catch self-reset errors
                                ~ ^  ~~
/usr/local/include/boost/assert.hpp:60:36: note: expanded from macro
'BOOST_ASSERT'
# define BOOST_ASSERT(expr) assert(expr)
                                   ^~~~
/usr/include/assert.h:54:21: note: expanded from macro 'assert'
#define assert(e)       ((e) ? (void)0 : __assert(__func__, __FILE__, \
                          ^
/wrkdirs/usr/ports/www/wt/work/wt-3.3.7/src/Wt/Http/Client.C:886:11: note: in
instantiation of function template specialization
'boost::shared_ptr<Wt::Http::Client::Impl>::reset<Wt::Http::Client::TcpImpl>'
requested here
    impl_.reset(new TcpImpl(*ioService, server, sessionId));
          ^

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/wt-3.3.7_5.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/wt-3.3.7_5.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/wt-3.3.7_5.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/wt-3.3.7_5.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