Bug 226272 - net/kea 1.3.0 fails to build on FreeBSD 11.1-RELEASE-p4 (GENERIC) ZFS
Summary: net/kea 1.3.0 fails to build on FreeBSD 11.1-RELEASE-p4 (GENERIC) ZFS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 07:25 UTC by Bill Aylward
Modified: 2018-03-02 05:29 UTC (History)
1 user (show)

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


Attachments
patch-io__acceptor.h (382 bytes, text/plain)
2018-03-01 08:35 UTC, Walter Schwarzenfeld
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Aylward 2018-03-01 07:25:47 UTC
Previous version builds and runs without problems.

Default build configuration used.

Using postmaster to update to 1.3.0 results in build error:

.
.
.
In file included from command_mgr.cc:11:
In file included from ../../../src/lib/asiolink/unix_domain_socket_acceptor.h:14:
../../../src/lib/asiolink/io_acceptor.h:50:28: error: no member named 'native' in 'boost::asio::basic_socket_acceptor<boost::asio::local::stream_protocol>'
        return (acceptor_->native());
                ~~~~~~~~~  ^
command_mgr.cc:480:70: note: in instantiation of member function 'isc::asiolink::IOAcceptor<boost::asio::local::stream_protocol, std::__1::function<void (const boost::system::error_code &)> >::getNative' requested here
        isc::dhcp::IfaceMgr::instance().addExternalSocket(acceptor_->getNative(), 0);
                                                                     ^
1 error generated.
*** [command_mgr.lo] Error code 1

make[8]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
--- config_messages.lo ---
mv -f .deps/config_messages.Tpo .deps/config_messages.Plo
--- config_log.lo ---
mv -f .deps/config_log.Tpo .deps/config_log.Plo
--- hooked_command_mgr.lo ---
libtool: compile:  c++ --std=c++11 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib -I/usr/local/include -DOS_BSD -I../../../ext/coroutine -DBOOST_ASIO_HEADER_ONLY -DBOOST_ASIO_DISABLE_THREADS=1 -O2 -pipe -fstack-protector -fno-strict-aliasing -MT hooked_command_mgr.lo -MD -MP -MF .deps/hooked_command_mgr.Tpo -c hooked_command_mgr.cc -o hooked_command_mgr.o >/dev/null 2>&1
mv -f .deps/hooked_command_mgr.Tpo .deps/hooked_command_mgr.Plo
1 error

make[8]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
*** [all-recursive] Error code 1

make[7]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
1 error

make[7]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
*** [all] Error code 2

make[6]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
1 error

make[6]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib/config
*** [all-recursive] Error code 1

make[5]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib
1 error

make[5]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src/lib
*** [all-recursive] Error code 1

make[4]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src
1 error

make[4]: stopped in /usr/ports/net/kea/work/kea-1.3.0/src
*** [all-recursive] Error code 1

make[3]: stopped in /usr/ports/net/kea/work/kea-1.3.0
1 error

make[3]: stopped in /usr/ports/net/kea/work/kea-1.3.0
*** [all] Error code 2

make[2]: stopped in /usr/ports/net/kea/work/kea-1.3.0
1 error

make[2]: stopped in /usr/ports/net/kea/work/kea-1.3.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net/kea
*** Error code 1

Stop.
make: stopped in /usr/ports/net/kea

===>>> make build failed for net/kea
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> net/kea 

This command has been saved to /tmp/portmasterfail.txt
Comment 1 Walter Schwarzenfeld freebsd_triage 2018-03-01 08:35:13 UTC
Created attachment 191095 [details]
patch-io__acceptor.h
Comment 2 commit-hook freebsd_committer 2018-03-02 05:27:37 UTC
A commit references this bug:

Author: hrs
Date: Fri Mar  2 05:26:37 UTC 2018
New revision: 463371
URL: https://svnweb.freebsd.org/changeset/ports/463371

Log:
  Fix build.

  PR:	226272

Changes:
  head/net/kea/files/patch-src-lib-asiolink-io_acceptor.h
Comment 3 Hiroki Sato freebsd_committer 2018-03-02 05:29:06 UTC
Fixed.  Thank you for your report!