From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 22 06:55:08 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C644FDAB for ; Fri, 22 Mar 2013 06:55:08 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward1h.mail.yandex.net (forward1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::10]) by mx1.freebsd.org (Postfix) with ESMTP id 432AD70F for ; Fri, 22 Mar 2013 06:55:08 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward1h.mail.yandex.net (Yandex) with ESMTP id 8A4719E1379; Fri, 22 Mar 2013 10:55:05 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id 1EC921700857; Fri, 22 Mar 2013 10:55:05 +0400 (MSK) Received: from ip-86-110-189-214.spark-rostov.ru (ip-86-110-189-214.spark-rostov.ru [86.110.189.214]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id t4ZKevRZ-t4ZKNYt6; Fri, 22 Mar 2013 10:55:04 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1363935305; bh=qxE+J2dASZwiOJSmTtRIOLzHErUEH0tYE9+3yqKn95o=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=t1tjA5p2iqf1vjj4Bub1YeJxmhnfYUATxdG5aE9NFBrC9p1DR45acnysEtB4v2QQ1 +vywchZHZEUqIaRZdpLjXYgDB5zVVx9P2EaUzK6AW/c6gPZ6t/z3e1gojQu8o+QGk6 Ow4Z+nGbXp6E6ZB4HU0ejatf0LeQzHhki7krHcKM= Message-ID: <514C002A.3040405@yandex.ru> Date: Fri, 22 Mar 2013 10:54:34 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Kevin Oberman Subject: Re: databases/libgda4 fails to build with graphviz installed References: <5148B845.2060602@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD GNOME Users , Jeremy Messenger X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Mar 2013 06:55:08 -0000 Kevin Oberman wrote on 22.03.2013 09:17: > On Tue, Mar 19, 2013 at 12:11 PM, Ruslan Makhmatkhanov > wrote: >> Kevin Oberman wrote on 19.03.2013 22:59: >> >>> 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? >> >> >> I second this. Both 4.2.5 and 4.2.12 fail if graphviz is installed. And get >> this if it is not: >> browser-canvas.c:33:10: fatal error: 'gvc.h' file not found > > I just did some more work on this as I had another system where it was > building fine. While the code generating the errors was only compiled > when graphviz is installed, it is ALSO only compiled when goocanvas is > installed. While I need graphviz, I don't know why goocanvas was > installed. It had only two packages that depended on it, ruby18-gnome2 > and ruby18-goocanvas. > > I deleted all three packages and libgda4 now builds fine. > > I suspect that either something I had installed used to need > ruby8-goocanvas or I have deleted whatever package caused them to be > installed. > > This does not mean the problem is fixed, of course. If built on a > system where goocanvas is required, the issue remains. Clearly the > graphviz ABI has changed at some time and libgda4 no longer will work > with it. If I have some time I may see if I can find a fix, but I'll > admit that now that I don't need it fixed, I may not get far. Thank you for your investigation. I was able to fix the build by adding --without-goocanvas to databases/libgda4/Makefile:CONFIGURE_ARGS, as Jeremy noted. The only goocanvas-related ports I have: goocanvas-0.15_4 Canvas widget for GTK+ py27-goocanvas-0.14.1_4 GooCanvas python bindings But I didn't bother to remove any of them. -- Regards, Ruslan Tinderboxing kills... the drives.