Bug 193052

Summary: net/asio fails with USE_GCC
Product: Ports & Packages Reporter: Justin Hibbits <jhibbits>
Component: Individual Port(s)Assignee: Jose Alonso Cardenas Marquez <acm>
Status: Closed FIXED    
Severity: Affects Only Me CC: amdmi3, arved
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Log file of build failure none

Description Justin Hibbits freebsd_committer freebsd_triage 2014-08-26 22:39:22 UTC
Created attachment 146346 [details]
Log file of build failure

When building with gcc47 as compiler, I see the following build failure for net/asio:

In file included from ./../include/asio/error_code.hpp:159:0,
                 from ./../include/asio/io_service.hpp:25,
                 from ./../include/asio/basic_io_object.hpp:20,
                 from ./../include/asio/basic_socket_acceptor.hpp:19,
                 from ./../include/asio/ip/tcp.hpp:19,
                 from tests/latency/tcp_client.cpp:11:
./../include/asio/impl/error_code.ipp: In member function 'std::string asio::error_code::message() const':
./../include/asio/impl/error_code.ipp:99:38: error: 'strerror_r' was not declared in this scope

Full log file from poudriere is attached.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2014-08-29 10:54:31 UTC
over to maintainers
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-11-27 19:12:08 UTC
A commit references this bug:

Author: amdmi3
Date: Thu Nov 27 19:11:42 UTC 2014
New revision: 373515
URL: https://svnweb.freebsd.org/changeset/ports/373515

Log:
  - Fix build with gcc
  - Fix tab after WWW:

  PR:		193052
  Submitted by:	jhibbits
  Approved by:	maintainer timeout, bapt

Changes:
  head/net/asio/files/
  head/net/asio/files/patch-include__asio__impl__error_code.ipp
  head/net/asio/pkg-descr