ports/136934: devel/root is marked as BROKEN but OK with GCC 3.4

Takeyuki Shiramoto shiramoto_takeyuki at yahoo.co.jp
Mon Jul 20 15:10:04 UTC 2009


>Number:         136934
>Category:       ports
>Synopsis:       devel/root is marked as BROKEN but OK with GCC 3.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 20 15:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Takeyuki Shiramoto
>Release:        7.2-RELEASE
>Organization:
>Environment:
7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Ports devel/root is marked as BROKEN on after 7-STABLE.
The reason why BROKEN is it can not build on GCC 4.2 which is
the default compiler on 7-STABLE.
However, we can use GCC 3.4 to build it.




>How-To-Repeat:

>Fix:
Force ports to use GCC 3.4 with
  USE_GCC=3.4
  MAKE_FLAGS+= CC=gcc34 CXX=g++34

NOTE:
I could not built it with Ruby support option.
"WITHOUT_RUBY=" is needed.


Patch attached with submission follows:

*** Makefile	2009/07/18 11:37:55	1.1
--- Makefile	2009/07/20 14:29:08
***************
*** 221,227 ****
  ### Rules and version dependend variables
  
  .if ${OSVERSION} >= 700000
! BROKEN=			Does not compile
  .endif
  
  .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"
--- 221,229 ----
  ### Rules and version dependend variables
  
  .if ${OSVERSION} >= 700000
! USE_GCC=3.4
! MAKE_FLAGS+=		CC=gcc34				\
! 			CXX=g++34
  .endif
  
  .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" || ${ARCH} == "ia64"


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list