Bug 236669 - audio/ncmpc: fails to build with boost 1.70
Summary: audio/ncmpc: fails to build with boost 1.70
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
Keywords: needs-patch
Depends on:
Blocks: 235956
  Show dependency treegraph
Reported: 2019-03-20 15:56 UTC by Jan Beich
Modified: 2019-03-24 21:29 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2019-03-20 15:56:32 UTC
While preparing for Boost upgrade this port failed to build. Can you help to avoid marking it as BROKEN?

$ fetch -qo- 'https://reviews.freebsd.org/D19303?download=true' |
  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/audio/ncmpc
Regressed by boostorg/asio@a72fbb0b867f:
In file included from ../src/mpdclient.cxx:20:
../src/mpdclient.hxx:133:27: error: no member named 'get_io_service' in 'boost::asio::basic_waitable_timer<std::__1::chrono::steady_clock, boost::asio::wait_traits<std::__1::chrono::steady_clock>, boost::asio::executor>'
                return enter_idle_timer.get_io_service();
                       ~~~~~~~~~~~~~~~~ ^
../src/mpdclient.hxx:132:8: error: cannot deduce return type 'auto &' for function with no return statements
        auto &get_io_service() noexcept {
2 errors generated.
Comment 1 commit-hook freebsd_committer 2019-03-24 21:28:59 UTC
A commit references this bug:

Author: jbeich
Date: Sun Mar 24 21:28:02 UTC 2019
New revision: 496784
URL: https://svnweb.freebsd.org/changeset/ports/496784

  audio/ncmpc: unbreak with boost 1.70

  PR:		236669
  Obtained from:	upstream