From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 20 10:40:07 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 3AC911065682 for ; Fri, 20 Jun 2008 10:40:07 +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 143CB8FC3E for ; Fri, 20 Jun 2008 10:40:07 +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 m5KAe6xf019408 for ; Fri, 20 Jun 2008 10:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5KAe6Hc019407; Fri, 20 Jun 2008 10:40:06 GMT (envelope-from gnats) Resent-Date: Fri, 20 Jun 2008 10:40:06 GMT Resent-Message-Id: <200806201040.m5KAe6Hc019407@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, NAKAJI Hiroyuki Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 076611065670 for ; Fri, 20 Jun 2008 10:35:58 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) Received: from d4407.kankyo-u.ac.jp (unknown [IPv6:2001:3e0:a84:2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 8186F8FC27 for ; Fri, 20 Jun 2008 10:35:57 +0000 (UTC) (envelope-from nakaji@kankyo-u.ac.jp) Received: from roddy.4407.kankyo-u.ac.jp (localhost [127.0.0.1]) by d4407.kankyo-u.ac.jp (8.14.2/8.14.2) with ESMTP id m5KAZoKf097214 for ; Fri, 20 Jun 2008 19:35:50 +0900 (JST) (envelope-from nakaji@roddy.4407.kankyo-u.ac.jp) Received: (from nakaji@localhost) by roddy.4407.kankyo-u.ac.jp (8.14.2/8.14.2/Submit) id m5KAZmHQ097183; Fri, 20 Jun 2008 19:35:48 +0900 (JST) (envelope-from nakaji) Message-Id: <200806201035.m5KAZmHQ097183@roddy.4407.kankyo-u.ac.jp> Date: Fri, 20 Jun 2008 19:35:48 +0900 (JST) From: NAKAJI Hiroyuki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/124779: devel/gettext fails on 8-current X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: NAKAJI Hiroyuki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 10:40:07 -0000 >Number: 124779 >Category: ports >Synopsis: devel/gettext fails on 8-current >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 20 10:40:06 UTC 2008 >Closed-Date: >Last-Modified: >Originator: NAKAJI Hiroyuki >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD roddy.4407.kankyo-u.ac.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #126: Thu Jun 19 14:48:32 JST 2008 root@roddy.4407.kankyo-u.ac.jp:/usr/obj/usr/src/sys/RODDY i386 >Description: Gettext-tools in devel/gettext uses "cc -std=gnu99" option and it fails to compile. And, many packages depending on gettext cannot be upgraded. ---- /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c -o execute.lo execute.c cc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -I/usr/local/include -O2 -pipe -fno-strict-aliasing -c execute.c -fPIC -DPIC -o .libs/execute.o In file included from execute.c:48: /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:69: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator /usr/include/spawn.h:72: error: static or type qualifiers in abstract declarator *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.17/gettext-tools/gnulib-lib. ---- The revision of /usr/include/spawn.h is 1.2. $FreeBSD: src/include/spawn.h,v 1.2 2008/06/17 07:09:58 ed Exp $ >How-To-Repeat: portupgrade -fr gettext >Fix: Removing "-std=gnu99" from gettext-tools can avoid this error. Here is a patch for files/patch-gettext-tools_configure. Index: files/patch-gettext-tools_configure =================================================================== RCS file: /home/ncvs/ports/devel/gettext/files/patch-gettext-tools_configure,v retrieving revision 1.6 diff -u -r1.6 patch-gettext-tools_configure --- files/patch-gettext-tools_configure 17 Mar 2007 22:37:26 -0000 1.6 +++ files/patch-gettext-tools_configure 20 Jun 2008 10:19:42 -0000 @@ -1,6 +1,8 @@ ---- gettext-tools/configure.orig Mon Nov 27 09:34:40 2006 -+++ gettext-tools/configure Sun Dec 3 17:54:35 2006 -@@ -3962,7 +3962,3 @@ +--- gettext-tools/configure.orig 2007-11-07 08:37:40.000000000 +0900 ++++ gettext-tools/configure 2008-06-20 19:17:49.000000000 +0900 +@@ -4258,11 +4258,7 @@ + + -if test -n "$HAVE_GCJ" && test "$JAVA_CHOICE" = yes; then - BUILDJAVAEXE=yes @@ -8,7 +10,11 @@ BUILDJAVAEXE=no -fi -@@ -5110,13 +5106,5 @@ + + +@@ -5494,17 +5490,9 @@ + fi + -if test -n "$HAVE_JAVACOMP" && test -n "$JAR" && test "$JAVA_CHOICE" != no; then - BUILDJAVA=yes @@ -22,7 +28,20 @@ TESTJAVA=no -fi -@@ -50083,2 +50071,13 @@ + + +@@ -6872,7 +6860,7 @@ + return 0; + } + _ACEOF +-for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99 ++for ac_arg in '' + do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +@@ -64687,6 +64675,17 @@ + + case "$host_os" in + freebsd[5-9]*) + @@ -36,3 +55,5 @@ + + ;; linux*) + + cat >>confdefs.h <<\_ACEOF >Release-Note: >Audit-Trail: >Unformatted: