Bug 224093 - devel/cpprestsdk: fails to build with boost 1.66
Summary: devel/cpprestsdk: fails to build with boost 1.66
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: needs-patch
Depends on:
Blocks: 223922
  Show dependency treegraph
 
Reported: 2017-12-04 18:26 UTC by Jan Beich
Modified: 2018-01-18 18:31 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (projects)


Attachments
build fix (545 bytes, text/x-c++hdr)
2018-01-18 12:31 UTC, rozhuk.im
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.