Bug#286850: marked as done (gnome-games: FTBFS (amd64/gcc-4.0): static declaration of 'game_server' follows non-static declaration)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 04 Jan 2005 08:03:35 -0800


Your message dated Tue, 04 Jan 2005 10:47:13 -0500
with message-id <E1Clqtt-0005wD-00@newraff.debian.org>
and subject line Bug#286850: fixed in gnome-games 1:2.8.2-1
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; 22 Dec 2004 16:46:43 +0000
>From aj@andaco.de Wed Dec 22 08:46:43 2004
Return-path: <aj@andaco.de>
Received: from c214166.adsl.hansenet.de (localhost.localdomain) [213.39.214.166] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ch9dL-0002bQ-00; Wed, 22 Dec 2004 08:46:43 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1Ch9iA-0003dJ-3k; Wed, 22 Dec 2004 17:51:42 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gnome-games: FTBFS (amd64/gcc-4.0): static declaration of 'game_server' follows non-static declaration
Message-Id: <E1Ch9iA-0003dJ-3k@localhost.localdomain>
Date: Wed, 22 Dec 2004 17:51:42 +0100
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-games
Severity: normal
Tags: patch

When building 'gnome-games' on amd64 with gcc-4.0,
I get the following error:

 cc -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/usr/share\" -DGCONF_SCHEMA_CONFIG_SOURCE=\"xml::/etc/gconf/gconf.xml.defaults\" -Wall -Wmissing-prototypes -std=gnu89 -DXTHREADS -DORBIT2=1 -pthread -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 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/librsvg-2 -I../libgames-support -Wall -Wmissing-prototypes -g -Wall -O2 -MT games-network.lo -MD -MP -MF .deps/games-network.Tpo -c games-network.c  -fPIC -DPIC -o .libs/games-network.o
games-network.c:47: error: static declaration of 'game_server' follows non-static declaration
games-network.h:4: error: previous declaration of 'game_server' was here
make[3]: *** [games-network.lo] Error 1
make[3]: Leaving directory `/gnome-games-2.8.1/libgames-support'

With the attached patch 'gnome-games' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

?1;2cdiff -urN ../tmp-orig/gnome-games-2.8.1/libgames-support/games-network.h ./libgames-support/games-network.h
--- ../tmp-orig/gnome-games-2.8.1/libgames-support/games-network.h	2004-09-20 10:04:12.000000000 +0200
+++ ./libgames-support/games-network.h	2004-12-22 17:40:50.943855952 +0100
@@ -1,7 +1,6 @@
 #ifndef GAMES_NETWORK_H
 #define GAMES_NETWORK_H
 
-extern char *game_server;
 extern guint whose_turn;
 extern const char *player_name;
 extern const char *opponent_name;

---------------------------------------
Received: (at 286850-close) by bugs.debian.org; 4 Jan 2005 15:49:55 +0000
>From katie@ftp-master.debian.org Tue Jan 04 07:49:55 2005
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 1ClqwU-0002vq-00; Tue, 04 Jan 2005 07:49:55 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Clqtt-0005wD-00; Tue, 04 Jan 2005 10:47:13 -0500
From: Josselin Mouette <joss@debian.org>
To: 286850-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#286850: fixed in gnome-games 1:2.8.2-1
Message-Id: <E1Clqtt-0005wD-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 04 Jan 2005 10:47:13 -0500
Delivered-To: 286850-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: gnome-games
Source-Version: 1:2.8.2-1

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

gnome-games-data_2.8.2-1_all.deb
  to pool/main/g/gnome-games/gnome-games-data_2.8.2-1_all.deb
gnome-games_2.8.2-1.diff.gz
  to pool/main/g/gnome-games/gnome-games_2.8.2-1.diff.gz
gnome-games_2.8.2-1.dsc
  to pool/main/g/gnome-games/gnome-games_2.8.2-1.dsc
gnome-games_2.8.2-1_i386.deb
  to pool/main/g/gnome-games/gnome-games_2.8.2-1_i386.deb
gnome-games_2.8.2.orig.tar.gz
  to pool/main/g/gnome-games/gnome-games_2.8.2.orig.tar.gz



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

Debian distribution maintenance software
pp.
Josselin Mouette <joss@debian.org> (supplier of updated gnome-games 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: Tue,  4 Jan 2005 15:34:10 +0100
Source: gnome-games
Binary: gnome-games-data gnome-games
Architecture: source i386 all
Version: 1:2.8.2-1
Distribution: unstable
Urgency: low
Maintainer: Josselin Mouette <joss@debian.org>
Changed-By: Josselin Mouette <joss@debian.org>
Description: 
 gnome-games - games for the GNOME desktop
 gnome-games-data - data files for the GNOME games
Closes: 280663 286850
Changes: 
 gnome-games (1:2.8.2-1) unstable; urgency=low
 .
   * New upstream release.
     + Fix conflict between static and non-static declarations in
       libgames-support (closes: #286850).
   * glines-default-theme.patch: removed, included upstream.
   * gnotski-newgame.patch: correctly redraw board when starting a new game
     (closes: #280663).
Files: 
 231c263fe2404303339239dcfe83cfa6 1646 gnome optional gnome-games_2.8.2-1.dsc
 67291664aed5031051b4d5f39117942e 7923338 gnome optional gnome-games_2.8.2.orig.tar.gz
 e79a82d92c179ce78b8a9683798b210f 48400 gnome optional gnome-games_2.8.2-1.diff.gz
 3c20df1ea1ef6136f65bf1efe98ced5e 4905700 gnome optional gnome-games-data_2.8.2-1_all.deb
 9d3cabcfca18e78278ca9ef3f259e834 905746 gnome optional gnome-games_2.8.2-1_i386.deb

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

iD8DBQFB2rMorSla4ddfhTMRAqLGAKD69bXLalDOtVTVNjlIIXrz1G6evgCgvE70
z0hUkQ7mDrNaR1avGWckOzo=
=umfn
-----END PGP SIGNATURE-----