pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49010: Bug fix: meta-pkgs/boost



>Number:         49010
>Category:       pkg
>Synopsis:       Bug fix: meta-pkgs/boost
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 17 20:30:00 +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



Home | Main Index | Thread Index | Old Index