[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Your message dated Thu, 29 Jul 2004 19:02:07 -0400
with message-id <E1BqJuZ-0007yR-00@newraff.debian.org>
and subject line Bug#260155: fixed in guppi 0.40.3-10
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; 18 Jul 2004 22:05:27 +0000
>From aj@andaco.de Sun Jul 18 15:05:27 2004
Return-path: <aj@andaco.de>
Received: from b104152.adsl.hansenet.de (localhost) [62.109.104.152] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BmJmg-0003gw-00; Sun, 18 Jul 2004 15:05:27 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1BmJmd-0006pY-8V; Mon, 19 Jul 2004 00:05:23 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: guppi: FTBFS with gcc-3.4: label at end of compound statement
Message-Id: <E1BmJmd-0006pY-8V@localhost>
Date: Mon, 19 Jul 2004 00:05:23 +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: guppi
Severity: normal
Tags: patch

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

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/include -I../.. -I../../src/libguppiuseful -I../../src/libguppidata -I../../src/libguppiuseful -I../../src/libguppidata -I../../src/libguppiplot -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/include/gnome-1.0 -I/usr/include/freetype2 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gnome-xml -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/inc
 lude -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/freetype2 -I/usr/include/gnome-xml -I/usr/include -I/usr/include/orbit-1.0 -DGUPPI_PLUGIN_DIR=\"/usr/lib/guppi/plug-ins/0.40.3\" -DG_LOG_DOMAIN=\"libguppiplot\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -g -O2 -Wall -Wunused -Wp,-MD,.deps/guppi-view-interval.pp -c guppi-view-interval.c  -fPIC -DPIC -o guppi-view-interval.o
guppi-view-interval.c: In function `guppi_view_interval_valid_fn':
guppi-view-interval.c:230: error: label at end of compound statement
make[4]: *** [guppi-view-interval.lo] Error 1
make[4]: Leaving directory `/guppi-0.40.3/src/libguppiplot'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/guppi-0.40.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/guppi-0.40.3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/guppi-0.40.3'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/guppi-0.40.3/libguppitank/guppi-object-barchart.c ./libguppitank/guppi-object-barchart.c
--- ../tmp-orig/guppi-0.40.3/libguppitank/guppi-object-barchart.c	2002-01-08 07:28:53.000000000 +0100
+++ ./libguppitank/guppi-object-barchart.c	2004-07-18 23:26:34.288620561 +0200
@@ -700,7 +700,6 @@
       obar->bar_callback3 (r, c, obar->bar_callback3_data);
     break;
 
-  default:
   }
 }
 
@@ -732,7 +731,6 @@
 			      obar->legend_callback3_data);
     break;
 
-  default:
   }
 }
 
diff -urN ../tmp-orig/guppi-0.40.3/src/demo.c ./src/demo.c
--- ../tmp-orig/guppi-0.40.3/src/demo.c	2002-01-08 07:28:57.000000000 +0100
+++ ./src/demo.c	2004-07-18 23:22:03.279195869 +0200
@@ -450,7 +450,6 @@
   case GUPPI_EAST:
     compass_pos = GUPPI_NORTH;
     break;
-  default:
   }
 
   guppi_element_state_set (state,
diff -urN ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-layout-constraint.c ./src/libguppiplot/guppi-layout-constraint.c
--- ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-layout-constraint.c	2002-01-19 03:45:21.000000000 +0100
+++ ./src/libguppiplot/guppi-layout-constraint.c	2004-07-18 23:18:57.890164355 +0200
@@ -163,8 +163,6 @@
     guppi_layout_constraint_add_term (glc, GLC_REGION_BOTTOM, -factor, geom);
     return;
 
-  default:
-    /* Fall through, do nothing. */
   }
 
   ti = term_info_new (type, factor, geom);
diff -urN ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-root-group-item.c ./src/libguppiplot/guppi-root-group-item.c
--- ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-root-group-item.c	2002-01-08 07:31:08.000000000 +0100
+++ ./src/libguppiplot/guppi-root-group-item.c	2004-07-18 23:20:25.093245278 +0200
@@ -547,7 +547,6 @@
   case GDK_MOTION_NOTIFY:
     return motion_notify_event (root, &(ev->motion));
 
-  default:
   }
 
   return FALSE;
@@ -776,7 +775,7 @@
 
   case ROOT_GROUP_RESIZE_NONE:
   default:
-    /* insure we do nothing */
+    break; /* insure we do nothing */
   }
 
   if (please_resize_canvas)
diff -urN ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-text-block.c ./src/libguppiplot/guppi-text-block.c
--- ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-text-block.c	2001-11-26 21:00:17.000000000 +0100
+++ ./src/libguppiplot/guppi-text-block.c	2004-07-18 23:18:30.243528431 +0200
@@ -898,8 +898,6 @@
 	 nothing. */
       break;
 
-    default:
-      /* Do nothing. */
     }
 
     render_stack_evolve (stack, tt);
diff -urN ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-view-interval.c ./src/libguppiplot/guppi-view-interval.c
--- ../tmp-orig/guppi-0.40.3/src/libguppiplot/guppi-view-interval.c	2002-01-19 03:45:21.000000000 +0100
+++ ./src/libguppiplot/guppi-view-interval.c	2004-07-18 23:18:02.052998083 +0200
@@ -226,7 +226,6 @@
     return x != 0;
 #endif
 
-  default:
   }
 
   return TRUE;

---------------------------------------
Received: (at 260155-close) by bugs.debian.org; 29 Jul 2004 23:08:01 +0000
>From katie@ftp-master.debian.org Thu Jul 29 16:08:01 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 1BqK0H-0002Uv-00; Thu, 29 Jul 2004 16:08:01 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BqJuZ-0007yR-00; Thu, 29 Jul 2004 19:02:07 -0400
From: Pierre Machard <pmachard@debian.org>
To: 260155-close@bugs.debian.org
X-Katie: $Revision: 1.51 $
Subject: Bug#260155: fixed in guppi 0.40.3-10
Message-Id: <E1BqJuZ-0007yR-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 29 Jul 2004 19:02:07 -0400
Delivered-To: 260155-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: 

Source: guppi
Source-Version: 0.40.3-10

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

guppi_0.40.3-10.diff.gz
  to pool/main/g/guppi/guppi_0.40.3-10.diff.gz
guppi_0.40.3-10.dsc
  to pool/main/g/guppi/guppi_0.40.3-10.dsc
libguppi-dev_0.40.3-10_i386.deb
  to pool/main/g/guppi/libguppi-dev_0.40.3-10_i386.deb
libguppi16_0.40.3-10_i386.deb
  to pool/main/g/guppi/libguppi16_0.40.3-10_i386.deb



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 260155@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Machard <pmachard@debian.org> (supplier of updated guppi 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: Thu, 29 Jul 2004 23:19:22 +0200
Source: guppi
Binary: libguppi16 libguppi-dev
Architecture: source i386
Version: 0.40.3-10
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Pierre Machard <pmachard@debian.org>
Description: 
 libguppi-dev - GNOME graph and plot component, development files
 libguppi16 - GNOME graph and plot component
Closes: 260155
Changes: 
 guppi (0.40.3-10) unstable; urgency=low
 .
   * QA Upload
   * Change dependencies on libtiff4-dev
   * Update config.{sub,guess}
   * Fix FTBFS with gcc-3.4 apply patch from Andreas Jochens (closes: #260155)
Files: 
 986e3842f79cb5fd007c7fc13749a77e 1003 math optional guppi_0.40.3-10.dsc
 0c30d0ad376b00d5f6bdc0beb8696cae 56120 math optional guppi_0.40.3-10.diff.gz
 80ab7bd91f78b26c501287893d02c555 693318 libs optional libguppi16_0.40.3-10_i386.deb
 5d8112ec574429c1d677d34bf2d0bb39 593402 libdevel optional libguppi-dev_0.40.3-10_i386.deb

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

iD8DBQFBCXzHs6AtZiNwb4cRAiv6AKDiu1qtOmAbeLSvCtbseN+k56212ACfT/yF
3QccAlP5skmOnmNtEkYXMno=
=SWyB
-----END PGP SIGNATURE-----



Reply to: