databases/libgda4 fails to build with graphviz installed

Kevin Oberman rkoberman at gmail.com
Tue Mar 19 18:59:32 UTC 2013


When I attempted building libgda-4.2.12 it failed wit the error:
gmake[3]: Entering directory
`/usr/ports/databases/libgda4/work/libgda-4.2.12/tools/browser/canvas'
  CC     browser-canvas.lo
browser-canvas.c: In function 'popup_export_cb':
browser-canvas.c:604: warning: null format string
browser-canvas.c: In function 'browser_canvas_perform_auto_layout':
browser-canvas.c:937: error: incompatible type for argument 2 of 'agopen'
browser-canvas.c:937: error: too few arguments to function 'agopen'
browser-canvas.c:938: warning: implicit declaration of function 'agnodeattr'
browser-canvas.c:971: error: too few arguments to function 'agnode'
browser-canvas.c:1015: error: too few arguments to function 'agedge'

This path is only taken when graphviz is installed, so a redports  or an
-exp build would not have caught it. When I look up the calls that produce
the errors, the arguments required have no similarity that I can see to
those in browser-canvas code.
>From /usr/local/include/graphviz/cgraph.h:
extern Agraph_t *agopen(char *name, Agdesc_t desc, Agdisc_t * disc);
While line 937 only passes two arguments. Similar for the remainder.

Is this a version incompatibility with the the graphviz API?
-- 
R. Kevin Oberman, Network Engineer
E-mail: rkoberman at gmail.com


More information about the freebsd-gnome mailing list