From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 17 13:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE2EE1065670 for ; Thu, 17 Apr 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 91FC38FC27 for ; Thu, 17 Apr 2008 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3HDo1o8018330 for ; Thu, 17 Apr 2008 13:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3HDo1xt018329; Thu, 17 Apr 2008 13:50:01 GMT (envelope-from gnats) Resent-Date: Thu, 17 Apr 2008 13:50:01 GMT Resent-Message-Id: <200804171350.m3HDo1xt018329@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shin-ichi Okano Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7001106567A for ; Thu, 17 Apr 2008 13:46:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id ACB308FC18 for ; Thu, 17 Apr 2008 13:46:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m3HDkkck030557 for ; Thu, 17 Apr 2008 13:46:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m3HDkk6q030556; Thu, 17 Apr 2008 13:46:46 GMT (envelope-from nobody) Message-Id: <200804171346.m3HDkk6q030556@www.freebsd.org> Date: Thu, 17 Apr 2008 13:46:46 GMT From: Shin-ichi Okano To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122854: lang/gcc34 fails to build when sysutils/torque is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 13:50:01 -0000 >Number: 122854 >Category: ports >Synopsis: lang/gcc34 fails to build when sysutils/torque is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 17 13:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Shin-ichi Okano >Release: 7.0-STABLE >Organization: iTSCOM >Environment: FreeBSD kappa3.s-okano.n08.itscom.net 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 29 01:34:16 JST 2008 root@kappa3.s-okano.n08.itscom.net:/usr/obj/usr/src/sys/KAPPA i386 >Description: When 'sysutils/torque' is installed, 'lang/gcc34' fails to build with the following message: cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I/usr/local/include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include .././..//gcc-3.4.6/gcc/read-rtl.c -o read-rtl.o In file included from .././..//gcc-3.4.6/gcc/read-rtl.c:27: ././..//gcc-3.4.6/gcc/rtl.h:1767: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/rtl.h:1768: warning: ISO C forbids forward references to 'enum' types In file included from .././..//gcc-3.4.6/gcc/read-rtl.c:27: ././..//gcc-3.4.6/gcc/rtl.h:2190: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/rtl.h:2190: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/rtl.h:2191: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/rtl.h:2191: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/rtl.h:2209: warning: ISO C forbids forward references to 'enum' types ././..//gcc-3.4.6/gcc/read-rtl.c: In function 'read_rtx': ././..//gcc-3.4.6/gcc/read-rtl.c:536: error: 'obstack_chunk_alloc' undeclared (first use in this function) ././..//gcc-3.4.6/gcc/read-rtl.c:536: error: (Each undeclared identifier is reported only once ././..//gcc-3.4.6/gcc/read-rtl.c:536: error: for each function it appears in.) ././..//gcc-3.4.6/gcc/read-rtl.c:536: error: 'obstack_chunk_free' undeclared (first use in this function) gmake[2]: *** [read-rtl.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. The cause seems that 'cc' includes '/usr/local/include/tm.h' instead of './tm.h' because the option '-I/usr/local/include' is placed before '-I.'. >How-To-Repeat: # cd /usr/ports/sysutils/torque # make; make install # cd /usr/ports/lang/gcc34 # make >Fix: >Release-Note: >Audit-Trail: >Unformatted: