From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 13 08:50:13 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 801A210657C3 for ; Tue, 13 Sep 2011 08:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D94F8FC22 for ; Tue, 13 Sep 2011 08:50:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p8D8oDWO045650 for ; Tue, 13 Sep 2011 08:50:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p8D8oDx5045649; Tue, 13 Sep 2011 08:50:13 GMT (envelope-from gnats) Resent-Date: Tue, 13 Sep 2011 08:50:13 GMT Resent-Message-Id: <201109130850.p8D8oDx5045649@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hartmann@FreeBSD.org, "O." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA972106567F for ; Tue, 13 Sep 2011 08:47:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id AB04F8FC27 for ; Tue, 13 Sep 2011 08:47:25 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8D8lPwU090227 for ; Tue, 13 Sep 2011 08:47:25 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p8D8lPaF090226; Tue, 13 Sep 2011 08:47:25 GMT (envelope-from nobody) Message-Id: <201109130847.p8D8lPaF090226@red.freebsd.org> Date: Tue, 13 Sep 2011 08:47:25 GMT From: Hartmann@FreeBSD.org, "O." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160701: databases/libgda: CLANG fails to compile/update port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2011 08:50:13 -0000 >Number: 160701 >Category: ports >Synopsis: databases/libgda: CLANG fails to compile/update port >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: Tue Sep 13 08:50:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Hartmann, O. >Release: FreeBSD-9.0-BETA2 >Organization: FU Berlin >Environment: >Description: While updating ports and compiling ports via CLANG, the following error occurs in databases/libgda: libtool: compile: clang -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/glib12 -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/local/include/gconf/1 -I/usr/local/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include/gnome-1.0 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0 -I/usr/local/include/glib12 -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include/gnome-xml -I/usr/local/include/gconf/1 -I/usr/local/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include/gnome-1.0 -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0 -I../../lib/gda-common -I../../lib/gda-common -I/usr/local/include -O3 -pipe -fno-strict-aliasing -march=native -std=gnu89 -c gda-server-connection.c -fPIC -DPIC -o .libs/gda-server-connection.o gda-server-connection.c:112:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ gda-server-connection.c:250:2: error: non-void function 'impl_GDA_Connection_createTable' should return a value [-Wreturn-type] g_return_if_fail (GDA_IS_SERVER_CONNECTION (cnc)); ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:716:2: error: non-void function 'gda_server_connection_sql2xml' should return a value [-Wreturn-type] g_return_if_fail (cnc != NULL); ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:717:2: error: non-void function 'gda_server_connection_sql2xml' should return a value [-Wreturn-type] g_return_if_fail (cnc->server_impl != NULL); ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:718:2: error: non-void function 'gda_server_connection_sql2xml' should return a value [-Wreturn-type] g_return_if_fail (cnc->server_impl->functions.connection_sql2xml != ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:730:2: error: non-void function 'gda_server_connection_xml2sql' should return a value [-Wreturn-type] g_return_if_fail (cnc != NULL); ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:731:2: error: non-void function 'gda_server_connection_xml2sql' should return a value [-Wreturn-type] g_return_if_fail (cnc->server_impl != NULL); ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:732:2: error: non-void function 'gda_server_connection_xml2sql' should return a value [-Wreturn-type] g_return_if_fail (cnc->server_impl->functions.connection_xml2sql != ^ /usr/local/include/glib12/glib.h:423:3: note: expanded from: return; \ ^ gda-server-connection.c:847:43: warning: passing 'const char [82]' to parameter of type 'gchar *' (aka 'char *') discards qualifiers gda_server_error_make (error, NULL, cnc, __PRETTY_FUNCTION__); ^~~~~~~~~~~~~~~~~~~ ./gda-server-error.h:30:43: note: passing argument to parameter 'where' here GdaServerConnection * cnc, gchar * where); ^ 2 warnings and 7 errors generated. gmake[3]: *** [gda-server-connection.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/databases/libgda/work/libgda-0.2.96/lib/gda-server' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/databases/libgda/work/libgda-0.2.96/lib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/databases/libgda/work/libgda-0.2.96' gmake: *** [all-recursive-am] Error 2 *** Error code 1 Stop in /usr/ports/databases/libgda. >How-To-Repeat: Try compiling databases/libgda with CLANG. >Fix: >Release-Note: >Audit-Trail: >Unformatted: