Bug#258796: marked as done (gnome-db2: FTBFS with gcc-3.4: label at end of compound statement)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 24 May 2005 16:03:11 -0700


Your message dated Tue, 24 May 2005 23:47:55 +0100
with message-id <20050524224755.GA15584@deprecation.cyrius.com>
and subject line no longer exists
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Jul 2004 13:27:53 +0000
>From aj@andaco.de Sun Jul 11 06:27:53 2004
Return-path: <aj@andaco.de>
Received: from c147245.adsl.hansenet.de (localhost) [213.39.147.245] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjeMx-0004T3-00; Sun, 11 Jul 2004 06:27:52 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BjeMw-000890-JL; Sun, 11 Jul 2004 15:27:50 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gnome-db2: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <E1BjeMw-000890-JL@localhost>
Date: Sun, 11 Jul 2004 15:27:50 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gnome-db2
Severity: normal
Tags: patch

When building 'gnome-db2' with gcc-3.4 I get the following error:

x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. 	-I.. 	-I/usr/include 	 -DXTHREADS -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libglade-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2   	-DG_LOG_DOMAIN=\"mergeant\" 	-DDTDINSTALLDIR=\""/usr/share/mergeant/dtd"\" 	-DPLUGINSINSTALLDIR=\""/usr/lib/mergeant/plugins"\" 	-DPIXMAPDIR=\""/usr/share/pixmaps/mergeant"\"         -I../lib 	-I../lib    -Wall -g -O2 -c interface_cb.c
interface_cb.c: In function `sql_data_view_cb':
interface_cb.c:467: warning: unused variable `dlg'
interface_cb.c: In function `refresh_plugins_table_cb':
interface_cb.c:685: warning: passing arg 3 of `gtk_clist_insert' from incompatible pointer type
interface_cb.c:688: warning: passing arg 2 of `gtk_clist_append' from incompatible pointer type
interface_cb.c: In function `sql_server_event_cb':
interface_cb.c:2215: warning: passing arg 2 of `gnome_db_error_dialog_show_errors' discards qualifiers from pointer target type
interface_cb.c:2218: error: label at end of compound statement
make[4]: *** [interface_cb.o] Error 1
make[4]: Leaving directory `/gnome-db2-0.12.1/build-tree/mergeant-0.12.1/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/gnome-db2-0.12.1/build-tree/mergeant-0.12.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gnome-db2-0.12.1/build-tree/mergeant-0.12.1'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/gnome-db2-0.12.1/build-tree/mergeant-0.12.1'
make: *** [debian/stampdir/build-stamp] Error 2

With the attached patch 'gnome-db2' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnome-db2-0.12.1/debian/patches/003_gcc-3.4_fix.patch ./debian/patches/003_gcc-3.4_fix.patch
--- ../tmp-orig/gnome-db2-0.12.1/debian/patches/003_gcc-3.4_fix.patch	1970-01-01 01:00:00.000000000 +0100
+++ ./debian/patches/003_gcc-3.4_fix.patch	2004-07-11 14:43:19.201333319 +0200
@@ -0,0 +1,9 @@
+--- mergeant-0.12.1/src/interface_cb.c~	2004-07-11 14:42:05.213653961 +0200
++++ mergeant-0.12.1/src/interface_cb.c	2004-07-11 14:42:22.265353545 +0200
+@@ -2214,6 +2214,5 @@
+ 		gnome_db_error_dialog_show_errors (GNOME_DB_ERROR_DIALOG (conf->error_dlg),
+ 						   gda_connection_get_errors (cnc));
+ 		break;
+-	default :
+ 	}
+ }

---------------------------------------
Received: (at 258796-done) by bugs.debian.org; 24 May 2005 22:48:13 +0000
>From tbm@cyrius.com Tue May 24 15:48:12 2005
Return-path: <tbm@cyrius.com>
Received: from sorrow.cyrius.com [65.19.161.204] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DaiC4-0003VB-00; Tue, 24 May 2005 15:48:12 -0700
Received: by sorrow.cyrius.com (Postfix, from userid 10)
	id A9BB764D46; Tue, 24 May 2005 22:48:12 +0000 (UTC)
Received: by deprecation.cyrius.com (Postfix, from userid 1000)
	id 149134FD32; Tue, 24 May 2005 23:47:55 +0100 (BST)
Date: Tue, 24 May 2005 23:47:55 +0100
From: Martin Michlmayr <tbm@cyrius.com>
To: 258796-done@bugs.debian.org
Subject: no longer exists
Message-ID: <20050524224755.GA15584@deprecation.cyrius.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: 258796-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This package doesn't exist anymore.
-- 
Martin Michlmayr
http://www.cyrius.com/