NetBSD Problem Report #49010

From www@NetBSD.org  Thu Jul 17 20:25:53 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D3909A6531
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Jul 2014 20:25:52 +0000 (UTC)
Message-Id: <20140717202551.A9D99A6552@mollari.NetBSD.org>
Date: Thu, 17 Jul 2014 20:25:51 +0000 (UTC)
From: jwbacon@tds.net
Reply-To: jwbacon@tds.net
To: gnats-bugs@NetBSD.org
Subject: Bug fix: meta-pkgs/boost
X-Send-Pr-Version: www-1.0

>Number:         49010
>Category:       pkg
>Synopsis:       Bug fix: meta-pkgs/boost
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    linux-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 20:30:00 +0000 2014
>Last-Modified:  Sun Jul 20 12:43:42 +0000 2014
>Originator:     Jason Bacon
>Release:        pkgsrc current (2014-06-02)
>Organization:
Acadix Consulting, LLC
>Environment:
Linux centosdev.localdomain 2.6.32-431.17.1.el6.x86_64 #1 SMP Wed May 7 23:32:49 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>Description:
Boost fails to build on CentOS 6.5 due to the presence of

GCC_REQD+=		4.5

in Makefile.common.  CentOS 6.5 uses gcc 4.4.7 as a 'base' compiler.

GCC 4.5 is not really required to build boost.  Earlier versions of gcc work, but are no longer tested by the boost developers.
>How-To-Repeat:

>Fix:
--- Makefile.common	2014-07-17 15:18:19.965844636 -0500
+++ Makefile.common.new	2014-07-14 14:53:14.570145120 -0500
@@ -41,6 +41,8 @@
 # GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD
 .if ${OPSYS} == "OpenBSD"
 GCC_REQD+=		4.6
+.elif ${OPSYS} == "Linux"
+GCC_REQD+=		4.4
 .else
 GCC_REQD+=		4.5
 .endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 20 Jul 2014 11:35:58 +0000
Responsible-Changed-Why:
GCC_REQD+=4.5 was added by ryoon@.
Could you clearly on what system gcc45 is required?


From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49010 (Bug fix: meta-pkgs/boost)
Date: Sun, 20 Jul 2014 20:47:49 +0900 (JST)

 From: obache@NetBSD.org, Date: Sun, 20 Jul 2014 11:35:58 +0000 (UTC)

 > Synopsis: Bug fix: meta-pkgs/boost
 > 
 > Responsible-Changed-From-To: pkg-manager->ryoon
 > Responsible-Changed-By: obache@NetBSD.org
 > Responsible-Changed-When: Sun, 20 Jul 2014 11:35:58 +0000
 > Responsible-Changed-Why:
 > GCC_REQD+=4.5 was added by ryoon@.
 > Could you clearly on what system gcc45 is required?

 Hi,

 http://www.boost.org/doc/libs/1_55_0/libs/log/doc/html/log/installation.html
 Boost's documentation says
 " Linux. GCC 4.5 and newer. Older versions may work too, but it was not tested."
 On OpenBSD/smd64 5.5, GCC 4.4 is not sufficient to build boost-libs.
 And GCC 4.5 is not available for OpenBSD. boost-libs and libreoffice4 are
 built for OpenBSD/amd64 5.5 with GCC 4.6 from pkgsrc.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

Responsible-Changed-From-To: ryoon->linux-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 20 Jul 2014 12:43:42 +0000
Responsible-Changed-Why:
OK to reduce GCC_REQD on Linux?


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.