From nobody@FreeBSD.org  Sat Jun  4 10:15:13 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 23F5D16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Jun 2005 10:15:13 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D9BEC43D1D
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Jun 2005 10:15:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j54AFCbp060115
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 4 Jun 2005 10:15:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j54AFCil060114;
	Sat, 4 Jun 2005 10:15:12 GMT
	(envelope-from nobody)
Message-Id: <200506041015.j54AFCil060114@www.freebsd.org>
Date: Sat, 4 Jun 2005 10:15:12 GMT
From: Matthias Fechner <idefix@fechner.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cannot compile net/asterisk 1.0.7 on FreeBSD 5.4
X-Send-Pr-Version: www-2.3

>Number:         81888
>Category:       ports
>Synopsis:       cannot compile net/asterisk 1.0.7 on FreeBSD 5.4
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sobomax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 04 10:20:01 GMT 2005
>Closed-Date:    Sun Jun 19 12:52:46 GMT 2005
>Last-Modified:  Sun Jun 19 12:52:46 GMT 2005
>Originator:     Matthias Fechner
>Release:        5.4 Stable
>Organization:
>Environment:
FreeBSD server.idefix.loc 5.4-STABLE FreeBSD 5.4-STABLE #1: Thu May 26 00:19:28 CEST 2005 root@server.idefix.loc:/usr/obj/usr/src/sys/SERVER2 i386
>Description:
It is not possible to compile /usr/ports/net/asterisk.
I get the following error message:
gmake[1]: Entering directory `/usr/ports/net/asterisk/work/asterisk-1.0.7/editline'
cc -c  -O -pipe -march=pentiumpro '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a
In file included from chared.h:136,
           from el.h:101,
           from common.c:51,
           from editline.c:4:
fcns.h:4:15: warning: ISO C requires whitespace after the macro name
fcns.h:18:23: warning: ISO C requires whitespace after the macro name
fcns.h:21:23: warning: ISO C requires whitespace after the macro name 
fcns.h:24:13: warning: ISO C requires whitespace after the macro name
fcns.h:25:20: warning: ISO C requires whitespace after the macro name
fcns.h:26:30: warning: ISO C requires whitespace after the macro name
fcns.h:27:30: warning: ISO C requires whitespace after the macro name
fcns.h:28:15: warning: ISO C requires whitespace after the macro name
fcns.h:31:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:14: warning: ISO C requires whitespace after the macro name
fcns.h:32:1: warning: "ED_UU" redefined
..
In file included from editline.c:4:
common.c: In function `ed_digit':
common.c:405: error: `EM_UNIVERSAL_ARGUMENT' undeclared (first use in this function)
common.c:405: error: (Each undeclared identifier is reported only once
common.c:405: error: for each function it appears in.)
In file included from editline.c:5:
emacs.c: In function `em_inc_search_next':
emacs.c:474: error: `ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
emacs.c: In function `em_inc_search_prev':
emacs.c:487: error: `ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
In file included from editline.c:6:
vi.c: In function `vi_search_prev':
vi.c:779: error: `ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
vi.c: In function `vi_search_next':
vi.c:792: error: `ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
..
help.c:185: error: (near initialization for `el_func_help[90]')
gmake[1]: *** [editline.o_a] Fehler 1
gmake[1]: Leaving directory  /usr/ports/net/asterisk/work/asterisk-1.0.7/editline'
gmake: *** [editline/libedit.a] Fehler 2
*** Error code 2

>How-To-Repeat:
Update FreeBSD to 5.4, cvsup the ports and update all packages installed to the newest version.
Then go into /usr/ports/net/asterisk and doing after a make clean a make and wait. You can see the errormessage.

>Fix:
      
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sobomax 
Responsible-Changed-By: lawrance 
Responsible-Changed-When: Sat Jun 4 10:32:49 GMT 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81888 
State-Changed-From-To: open->closed 
State-Changed-By: sobomax 
State-Changed-When: Sun Jun 19 12:52:19 GMT 2005 
State-Changed-Why:  
Probably the same error as with ports/75193, for which I've already 
committed a fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=81888 
>Unformatted:
