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. 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. 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.
State Changed From-To: open->feedback Awaiting maintainers feedback
Hi, I'm the maintainer, I agree to mark this port BROKEN. best regards Filippo
State Changed From-To: feedback->open Maintainer approved.
State Changed From-To: open->feedback The port has no dependency on asterisk and builds fine without asterisk installed, so i think a CONFLICT would be more appropriate. Maintainer OK?
State Changed From-To: feedback->closed I have committed a fix. Thanks for reporting.