Bug 124779 - devel/gettext fails on 8-current
Summary: devel/gettext fails on 8-current
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ade Lovett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-20 11:40 UTC by NAKAJI Hiroyuki
Modified: 2008-06-20 12:42 UTC (History)
0 users

See Also:


Attachments
file.diff (1.38 KB, patch)
2008-06-20 11:40 UTC, NAKAJI Hiroyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description NAKAJI Hiroyuki 2008-06-20 11:40:06 UTC
	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 $

Fix: Removing "-std=gnu99" from gettext-tools can avoid this error. Here is a
patch for files/patch-gettext-tools_configure.
How-To-Repeat: 	
portupgrade -fr gettext
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-06-20 11:40:11 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2008-06-20 12:42:24 UTC
State Changed
From-To: open->closed

Already been fixed by davidxu.