Bug#260419: marked as done (libgnomedb: FTBFS with gcc-3.4: label at end of compound statement)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 14 Aug 2004 15:18:07 -0700


Your message dated Sat, 14 Aug 2004 18:02:09 -0400
with message-id <E1Bw6bJ-00044D-00@newraff.debian.org>
and subject line Bug#260419: fixed in libgnomedb 1.0.4-5
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; 20 Jul 2004 14:16:20 +0000
>From aj@andaco.de Tue Jul 20 07:16:20 2004
Return-path: <aj@andaco.de>
Received: from b101162.adsl.hansenet.de (localhost) [62.109.101.162] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BmvPo-0003BS-00; Tue, 20 Jul 2004 07:16:20 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BmvPn-0003ax-2X; Tue, 20 Jul 2004 16:16:19 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: libgnomedb: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <E1BmvPn-0003ax-2X@localhost>
Date: Tue, 20 Jul 2004 16:16:19 +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: libgnomedb
Severity: normal
Tags: patch

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

 x86_64-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libgnomedb\" -DVERSION=\"1.0.4\" -DGNOME_DB_EXPLICIT_TRANSLATION_DOMAIN=\"libgnomedb-2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGETTEXT_PACKAGE=\"libgnomedb-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1 -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DENABLE_NLS=1 -I. -I. -I.. -I.. -DXTHREADS -I/usr/include/gtk-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 -DXTHREADS -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -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 -DHAVE_LIBGLADE -DORBIT2=1 -pthread -DXTHREADS -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -DBUILD_WITH_GNOME -DLIBGNOMEDB_ICONSDIR=\"/usr/share/pixmaps/libgnomedb\" -DLIBGNOMEDB_DATADIR=\"/usr/share/gnome-db\" -DLIBGNOMEDB_LOCALEDIR=\"/usr/share/locale\" -DLIBGNOMEDB_UIDIR=\"/usr/share/gnome-db/ui\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" -g -O2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c  -fPIC -DPIC -o .libs/utils.o
utils.c: In function `client_notification_cb':
utils.c:47: warning: passing arg 2 of `gnome_db_error_dialog_show_errors' discards qualifiers from pointer target type
utils.c:49: error: label at end of compound statement
make[2]: *** [utils.lo] Error 1
make[2]: Leaving directory `/libgnomedb-1.0.4/build-tree/libgnomedb-1.0.4/libgnomedb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/libgnomedb-1.0.4/build-tree/libgnomedb-1.0.4'
make: *** [debian/stampdir/build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/libgnomedb-1.0.4/debian/patches/001_gcc-3.4_fix.patch ./debian/patches/001_gcc-3.4_fix.patch
--- ../tmp-orig/libgnomedb-1.0.4/debian/patches/001_gcc-3.4_fix.patch	1970-01-01 01:00:00.000000000 +0100
+++ ./debian/patches/001_gcc-3.4_fix.patch	2004-07-20 16:06:48.658236732 +0200
@@ -0,0 +1,19 @@
+--- utils.c	2003-11-30 12:41:40.000000000 +0100
++++ libgnomedb-1.0.4/libgnomedb/utils.c	2004-07-20 15:38:27.398253118 +0200
+@@ -45,7 +45,6 @@
+ 		dialog = gnome_db_error_dialog_new (_("Error"));
+ 		gnome_db_error_dialog_show_errors (GNOME_DB_ERROR_DIALOG (dialog),
+ 						   gda_connection_get_errors (cnc));
+-	default :
+ 	}
+ }
+ 
+--- gnome-db-form.c	2004-01-15 12:57:34.000000000 +0100
++++ libgnomedb-1.0.4/libgnomedb/gnome-db-form.c	2004-07-20 16:06:23.416710182 +0200
+@@ -583,5 +583,6 @@
+ 		show_navigator_row (form);
+ 		break;
+ 	case GNOME_DB_FORM_TYPE_LIST :
++		break;
+ 	}
+ }

---------------------------------------
Received: (at 260419-close) by bugs.debian.org; 14 Aug 2004 22:03:56 +0000
>From katie@ftp-master.debian.org Sat Aug 14 15:03:56 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bw6d2-0003Q0-00; Sat, 14 Aug 2004 15:03:56 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Bw6bJ-00044D-00; Sat, 14 Aug 2004 18:02:09 -0400
From: grmontesino@ig.com.br (Gustavo R. Montesino)
To: 260419-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#260419: fixed in libgnomedb 1.0.4-5
Message-Id: <E1Bw6bJ-00044D-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 14 Aug 2004 18:02:09 -0400
Delivered-To: 260419-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: libgnomedb
Source-Version: 1.0.4-5

We believe that the bug you reported is fixed in the latest version of
libgnomedb, which is due to be installed in the Debian FTP archive:

libgnomedb2-3_1.0.4-5_i386.deb
  to pool/main/libg/libgnomedb/libgnomedb2-3_1.0.4-5_i386.deb
libgnomedb2-common_1.0.4-5_i386.deb
  to pool/main/libg/libgnomedb/libgnomedb2-common_1.0.4-5_i386.deb
libgnomedb2-dbg_1.0.4-5_i386.deb
  to pool/main/libg/libgnomedb/libgnomedb2-dbg_1.0.4-5_i386.deb
libgnomedb2-dev_1.0.4-5_i386.deb
  to pool/main/libg/libgnomedb/libgnomedb2-dev_1.0.4-5_i386.deb
libgnomedb2-doc_1.0.4-5_all.deb
  to pool/main/libg/libgnomedb/libgnomedb2-doc_1.0.4-5_all.deb
libgnomedb_1.0.4-5.diff.gz
  to pool/main/libg/libgnomedb/libgnomedb_1.0.4-5.diff.gz
libgnomedb_1.0.4-5.dsc
  to pool/main/libg/libgnomedb/libgnomedb_1.0.4-5.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 260419@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gustavo R. Montesino <grmontesino@ig.com.br> (supplier of updated libgnomedb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  8 Aug 2004 16:47:01 -0300
Source: libgnomedb
Binary: libgnomedb2-common libgnomedb2-dev libgnomedb2-doc libgnomedb2-dbg libgnomedb2-3
Architecture: source all i386
Version: 1.0.4-5
Distribution: unstable
Urgency: medium
Maintainer: Akira TAGOH <tagoh@debian.org>
Changed-By: Gustavo R. Montesino <grmontesino@ig.com.br>
Description: 
 libgnomedb2-3 - Database UI widget library for GNOME2
 libgnomedb2-common - Database UI widget library for GNOME2 -- common files
 libgnomedb2-dbg - Database UI widget library for GNOME2 and debugging symbols
 libgnomedb2-dev - Database UI widget library for GNOME2 -- development files
 libgnomedb2-doc - Database UI widget library for GNOME2 -- documentation files
Closes: 178727 259499 260419 263684
Changes: 
 libgnomedb (1.0.4-5) unstable; urgency=medium
 .
   * GNOME Team Upload
   * Added myself as uploader
   * Make a symlink at /usr/share/doc/gtk-doc/html/libgnomedb,
     pointing to /usr/share/doc/libgnomedb2-doc/libgnomedb
   * Rebuild agains libgcrypt11/libgnutls11 (Closes: #263684)
   * debian/patches/000_libgnomedb-debian-omf.patch: Fixed to really
     allow yelp to show libgnomedb docs (Closes: #178727)
   * debian/patches/001_gcc-3.4_fix.patch: Added to fix building with gcc-3.4,
     thanks to Andreas Jochens <aj@andaco.de> (Closes: #260419)
   * debian/patches/002_menu_shell_check.patch: added to fix segfault when
     trying to see the tables of a data source (Closes: #259499)
Files: 
 3a523082906c117bc401494294f54fec 1795 libs optional libgnomedb_1.0.4-5.dsc
 89125e53dfec912db7726babb9c99f5f 13945 libs optional libgnomedb_1.0.4-5.diff.gz
 76ca5a06fed78d1a7162f32c74805ee0 73580 doc optional libgnomedb2-doc_1.0.4-5_all.deb
 bd36e2d85e8986dcea81fd606b7cf121 103554 libs optional libgnomedb2-3_1.0.4-5_i386.deb
 a74434e24250e25a20253158f7ca6f10 169128 misc optional libgnomedb2-common_1.0.4-5_i386.deb
 41698d3caf9581a9a5a3ed6a3b5b0b3e 98842 libdevel optional libgnomedb2-dev_1.0.4-5_i386.deb
 19f123a0d5933ed80b0b578729e5ea28 2264262 libdevel extra libgnomedb2-dbg_1.0.4-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHofsQxo87aLX0pIRAlPxAJ9wT6wGzJz7SCmSC0L3GE2EKjPP9ACeJ9R9
kbnjwlFzkTLtOaeUxfG7gBA=
=q3YL
-----END PGP SIGNATURE-----