Date: Mon, 20 Jul 2009 15:06:36 GMT From: Takeyuki Shiramoto <shiramoto_takeyuki@yahoo.co.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/136934: devel/root is marked as BROKEN but OK with GCC 3.4 Message-ID: <200907201506.n6KF6aCS076582@www.freebsd.org> Resent-Message-ID: <200907201510.n6KFA3qa090167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907201506.n6KF6aCS076582>