ports/95969: net/gastman doesn't compile with newest net/asterisk

Wes Santee wes at bogon.net
Mon Apr 17 22:10:16 UTC 2006


>Number:         95969
>Category:       ports
>Synopsis:       net/gastman doesn't compile with newest net/asterisk
>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:   Mon Apr 17 22:10:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Wes Santee
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD lister.wifi.bogon.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #6: Wed Mar 29 17:59:10 PST 2006 root at lister.wifi.bogon.net:/storage/usr/obj/usr/src/sys/LISTER i386

	Running /net/asterisk port: asterisk-1.2.4_2

>Description:
	
	Apparently the manager interface for Asterisk has changed in
	newer versions.  /net/gastman attempts to use hard-coded
	manager structures, and those structures have apparently
	changed in newer versions of Asterisk.  As a result, the
	gastman port fails to compile.

>How-To-Repeat:

	1)  Install /net/asterisk from ports (1.2.4 as of this
            writing)
	2)  cd /usr/ports/net/gastman ; make install

        ===>  Building for gastman-1.0.r1_1
        cc -O2 -fno-strict-aliasing -pipe  -D__FreeBSD__ -Wall -g -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/glib12 -Iinclude -DGTK_ENABLE_BROKEN   -c -o gastman.o gastman.c
        <command line>:2:1: warning: "__FreeBSD__" redefined
        <built-in>:67:1: warning: this is the location of the previous definition
        gastman.c:43:1: warning: "MAX_HEADERS" redefined
        In file included from gastman.c:40:
        /usr/local/include/asterisk/manager.h:59:1: warning: this is the location of the previous definition
        gastman.c:44:1: warning: "MAX_LEN" redefined
        /usr/local/include/asterisk/manager.h:60:1: warning: this is the location of the previous definition
        gastman.c:81: error: redefinition of `struct mansession'
        gastman.c:88: error: redefinition of `struct message'
        gastman.c: In function `gastman_queue_select':
        gastman.c:594: warning: long int format, time_t arg (arg 4)
        gastman.c: In function `login':
        gastman.c:1716: warning: implicit declaration of function `__gethostbyname__is__not__reentrant__use__ast_gethostbyname__instead__'
        gastman.c:1716: warning: assignment makes pointer from integer without a cast
        gmake: *** [gastman.o] Error 1
        *** Error code 2

        Stop in /storage/usr/ports/net/gastman.

>Fix:

	Looks like marking the port broken is the fix for right now.
	There are no newer versions of gastman that I've seen that use
	the newer manager interface.


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



More information about the freebsd-ports-bugs mailing list