Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 May 2006 10:39:29 +0200 (CEST)
From:      "Raphael Becker" <rabe@p-i-n.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96703: www/apache13-modssl doesn't compile with LC_ALL set in Environment
Message-ID:  <200605030839.k438dTGj095053@pinserv7.p-i-n.com>
Resent-Message-ID: <200605030840.k438eLji038015@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96703
>Category:       ports
>Synopsis:       www/apache13-modssl doesn't compile with LC_ALL set in Environment
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 03 08:40:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 6.1-RC i386
>Organization:
PHOENIX Pharmahandel AG & Co KG 
>Environment:
System: FreeBSD pinserv7.p-i-n.com 6.1-RC FreeBSD 6.1-RC #0: Tue May 2 09:57:08 CEST 2006 root@pinserv7.p-i-n.com:/usr/obj/usr/src_RELENG_6/sys/PE6650 i386


>Description:
	Building an apache13-port having LC_ALL set in the envorinment LC_ALL=de_DE.ISO8859-1 causes an compiler error:

	In file included from ../include/ap_config.h:34,
			 from ../include/httpd.h:29,
			 from alloc.c:23:
	../include/ap_config_auto.h:25:15: warning: extra tokens at end of #ifdef directive
	../include/ap_config_auto.h:30:14: warning: extra tokens at end of #ifndef directive
	../include/ap_config_auto.h:31:14: warning: ISO C requires whitespace after the macro name
	../include/ap_config_auto.h:35:15: warning: extra tokens at end of #ifndef directive
	../include/ap_config_auto.h:36:15: warning: ISO C requires whitespace after the macro name
	../include/ap_config_auto.h:40:15: warning: extra tokens at end of #ifndef directive
	../include/ap_config_auto.h:45:14: warning: extra tokens at end of #ifdef directive
	../include/ap_config_auto.h:46:14: warning: extra tokens at end of #undef directive
	../include/ap_config_auto.h:50:15: warning: extra tokens at end of #ifndef directive
	../include/ap_config_auto.h:51:15: warning: ISO C requires whitespace after the macro name
	alloc.c: In function `spawn_child_core':
	alloc.c:2645: error: `STDOUT_FILENO' undeclared (first use in this function)
	alloc.c:2645: error: (Each undeclared identifier is reported only once
	alloc.c:2645: error: for each function it appears in.)
	alloc.c:2651: error: `STDIN_FILENO' undeclared (first use in this function)
	alloc.c:2657: error: `STDERR_FILENO' undeclared (first use in this function)
	*** Error code 1

	Stop in /usr/ports/www/apache13-modssl/work/apache_1.3.34/src/main.
	*** Error code 1

>How-To-Repeat:
	# LC_ALL=de_DE.ISO8859-1
	# export LC_ALL
	# cd /usr/ports/ww/apache13-modssl
	# make 

>Fix:
	unset LC_ALL before building the port

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605030839.k438dTGj095053>