Bug 224093

Summary: devel/cpprestsdk: fails to build with boost 1.66
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: projects, rozhuk.im
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (projects)
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 223922    
Attachments:
Description Flags
build fix none

Description Jan Beich freebsd_committer 2017-12-04 18:26:24 UTC
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/devel/cpprestsdk
[...]
In file included from tests/functional/websockets/utilities/test_websocket_server.cpp:35:
In file included from libs/websocketpp/websocketpp/config/asio_no_tls.hpp:32:
In file included from libs/websocketpp/websocketpp/transport/asio/endpoint.hpp:32:
libs/websocketpp/websocketpp/transport/asio/connection.hpp:425:24: error: no matching function for call to 'make_shared'
            m_strand = lib::make_shared<boost::asio::strand>(
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/memory:4808:1: note: candidate template ignored: invalid explicitly-specified argument for template parameter '_Tp'
make_shared(_Args&& ...__args)
^

http://package23.nyi.freebsd.org/data/103i386-default-PR223922/2017-12-02_11h06m37s/logs/errors/cpprestsdk-2.9.1_3.log
http://package22.nyi.freebsd.org/data/103amd64-default-PR223922/2017-12-02_11h06m39s/logs/errors/cpprestsdk-2.9.1_3.log
http://package22.nyi.freebsd.org/data/111amd64-default-PR223922/2017-12-03_09h31m05s/logs/errors/cpprestsdk-2.9.1_3.log
http://package23.nyi.freebsd.org/data/111i386-default-PR223922/2017-12-03_09h31m14s/logs/errors/cpprestsdk-2.9.1_3.log
Comment 2 Jan Beich freebsd_committer 2018-01-18 18:31:14 UTC
Thanks. Landed in ports r459366.