From nobody@FreeBSD.org  Thu Dec 27 22:15:05 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5587B59B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 22:15:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3B55B8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 22:15:05 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRMF5jO030744
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 22:15:05 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBRMF5aq030743;
	Thu, 27 Dec 2012 22:15:05 GMT
	(envelope-from nobody)
Message-Id: <201212272215.qBRMF5aq030743@red.freebsd.org>
Date: Thu, 27 Dec 2012 22:15:05 GMT
From: JINMEI Tatuya <jinmei@isc.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: change to boost-lib causes adversary effects
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: churanov.port.maintainer@gmail.com

>Number:         174753
>Category:       ports
>Synopsis:       change to devel/boost-libs causes adverse effects
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    office
>State:          feedback
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 22:20:00 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Mar 10 02:04:49 UTC 2013
>Originator:     JINMEI Tatuya
>Release:        8.3-RELEASE
>Organization:
ISC
>Environment:
FreeBSD mon.jinmei.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Sun Dec 16 19:53:01 PST 2012     root@newmon.jinmei.org:/usr/src/sys/i386/compile/PFHOST  i386
>Description:
The change to the boost-lib port introduced in
http://www.freebsd.org/cgi/query-pr.cgi?pr=144336
caused other regression.  For example, see this:
http://bind10.isc.org/ticket/1991

I confirmed this behavior with FreeBSD 8.3-RELEASE (i386) and
boost-libs-1.48.0_1 and g++ (GCC) 4.2.2 20070831 prerelease [FreeBSD].

It can more easily be confirmed by compiling this code:
#include <boost/numeric/conversion/cast.hpp>

#include <stdint.h>

int
main() {
    return (boost::numeric_cast<uint16_t>(0));
}

as follows: g++ -Werror -I/usr/local/include -c testcode.cc

It was also discussed with the boost developers:
https://svn.boost.org/trac/boost/ticket/4381
(see also https://svn.boost.org/trac/boost/ticket/4669)
and, as discussed there, it seems the change to the port is not the
right solution.

For that matter, I just confirmed I can successfully build
libtorrent-rasterbar-15-python even suppressing the corresponding
change in /usr/local/include/boost/config/compiler/gcc.hpp by hand.

So, I now propose reverting the change.  It seems it suffices if we
can simply remove
ports/devel/boost-libs/files/patch-boost__config__compiler__gcc.hpp

>How-To-Repeat:
See the description.
>Fix:
See the description.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Dec 28 02:20:43 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174753 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: churanov.port.maintainer@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/174753: change to devel/boost-libs causes adverse effects
Date: Fri, 28 Dec 2012 02:20:42 UT

 Maintainer of devel/boost-libs,
 
 Please note that PR ports/174753 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174753
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->office 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Mar 10 02:04:08 UTC 2013 
Responsible-Changed-Why:  
Over to new maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174753 
>Unformatted:
