Bug 174753 - change to devel/boost-libs causes adverse effects
Summary: change to devel/boost-libs causes adverse effects
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: FreeBSD Office Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-27 22:20 UTC by JINMEI Tatuya
Modified: 2014-08-26 06:37 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JINMEI Tatuya 2012-12-27 22:20:00 UTC
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

Fix: 

See the description.
How-To-Repeat: See the description.
Comment 1 Edwin Groothuis freebsd_committer 2012-12-28 02:20:42 UTC
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
Comment 2 Edwin Groothuis freebsd_committer 2012-12-28 02:20:43 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-03-10 02:04:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to new maintainer(s).
Comment 4 Baptiste Daroussin freebsd_committer 2014-08-26 06:37:23 UTC
Fixed in the meantime