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

Bug#294651: marked as done (xt-toolbuslib: FTBFS (amd64/gcc-4.0): static declaration of 'hash_table' follows non-static declaration)



Your message dated Sat, 11 Jun 2005 03:03:03 -0400
with message-id <E1Dh01H-00015z-00@newraff.debian.org>
and subject line Bug#294651: fixed in xt-toolbuslib 0.5.1-3
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; 10 Feb 2005 22:40:16 +0000
>From aj@andaco.de Thu Feb 10 14:40:16 2005
Return-path: <aj@andaco.de>
Received: from d159142.adsl.hansenet.de (localhost.localdomain) [80.171.159.142] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CzMyt-0006UR-00; Thu, 10 Feb 2005 14:40:16 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CzMyr-0005cT-Of; Thu, 10 Feb 2005 23:40:13 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: xt-toolbuslib: FTBFS (amd64/gcc-4.0): static declaration of 'hash_table' follows non-static declaration
Message-Id: <E1CzMyr-0005cT-Of@localhost.localdomain>
Date: Thu, 10 Feb 2005 23:40:13 +0100
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: xt-toolbuslib
Severity: normal
Tags: patch

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

gcc -DPACKAGE=\"toolbuslib\" -DVERSION=\"0.5.1\" -DHAVE_STRERROR=1 -DHAVE_STRDUP=1  -I. -I.  -I.    -Wall -g -O2 -c symbol.c
symbol.c:44: error: static declaration of 'hash_table' follows non-static declaration
symbol.h:53: error: previous declaration of 'hash_table' was here
symbol.c:45: error: static declaration of 'idx_table' follows non-static declaration
symbol.h:54: error: previous declaration of 'idx_table' was here
make[2]: *** [symbol.o] Error 1
make[2]: Leaving directory `/xt-toolbuslib-0.5.1/libtb'

With the attached patch 'xt-toolbuslib' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/xt-toolbuslib-0.5.1/libtb/symbol.h ./libtb/symbol.h
--- ../tmp-orig/xt-toolbuslib-0.5.1/libtb/symbol.h	2001-11-25 14:37:26.000000000 +0100
+++ ./libtb/symbol.h	2005-02-10 23:29:35.928754345 +0100
@@ -50,9 +50,6 @@
 #define IDM_ALL        -1
 #define IDM_INTERNAL	0
 
-extern name_bucket *hash_table[];
-extern name_bucket *idx_table[];
-
 typedef struct expr_sign {
   sym_idx name;
   type   *restype;
diff -urN ../tmp-orig/xt-toolbuslib-0.5.1/debian/control ./debian/control
--- ../tmp-orig/xt-toolbuslib-0.5.1/debian/control	2005-02-10 23:29:40.469876162 +0100
+++ ./debian/control	2005-02-10 23:18:41.000000000 +0100
@@ -7,7 +7,7 @@
 Standards-Version: 3.6.1
 
 Package: xt-toolbuslib
-Architecture: i386 s390 sparc powerpc hppa arm mipsel mips m68k
+Architecture: amd64 arm hppa i386 m68k mips mipsel powerpc ppc64 s390 sparc
 Replaces: cwi-toolbuslib, xt-sdf2, xt-sdf2-dev
 Conflicts: cwi-toolbuslib
 Depends: ${shlibs:Depends}, xt-aterm-dev

---------------------------------------
Received: (at 294651-close) by bugs.debian.org; 11 Jun 2005 07:08:02 +0000
>From katie@ftp-master.debian.org Sat Jun 11 00:08:02 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 1Dh066-0005LQ-00; Sat, 11 Jun 2005 00:08:02 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Dh01H-00015z-00; Sat, 11 Jun 2005 03:03:03 -0400
From: Frank Lichtenheld <djpig@debian.org>
To: 294651-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#294651: fixed in xt-toolbuslib 0.5.1-3
Message-Id: <E1Dh01H-00015z-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 11 Jun 2005 03:03:03 -0400
Delivered-To: 294651-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: 

Source: xt-toolbuslib
Source-Version: 0.5.1-3

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

xt-toolbuslib_0.5.1-3.diff.gz
  to pool/main/x/xt-toolbuslib/xt-toolbuslib_0.5.1-3.diff.gz
xt-toolbuslib_0.5.1-3.dsc
  to pool/main/x/xt-toolbuslib/xt-toolbuslib_0.5.1-3.dsc
xt-toolbuslib_0.5.1-3_i386.deb
  to pool/main/x/xt-toolbuslib/xt-toolbuslib_0.5.1-3_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 294651@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frank Lichtenheld <djpig@debian.org> (supplier of updated xt-toolbuslib 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: Sat, 11 Jun 2005 08:45:53 +0200
Source: xt-toolbuslib
Binary: xt-toolbuslib
Architecture: source i386
Version: 0.5.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Frank Lichtenheld <djpig@debian.org>
Description: 
 xt-toolbuslib - C Libraries needed to connect to the ToolBus
Closes: 294651
Changes: 
 xt-toolbuslib (0.5.1-3) unstable; urgency=low
 .
   * QA Upload
   * Bug fix: "xt-toolbuslib: FTBFS (amd64/gcc-4.0): static declaration of
     'hash_table' follows non-static declaration", thanks to Andreas
     Jochens (Closes: #294651).
Files: 
 92238b43a758bff084ecc65b03c62efb 735 devel optional xt-toolbuslib_0.5.1-3.dsc
 bbc923be8a919f1fce9c434944b123cc 3870 devel optional xt-toolbuslib_0.5.1-3.diff.gz
 dd376d67608182085aadc2b7e5579ddf 53054 devel optional xt-toolbuslib_0.5.1-3_i386.deb

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

iD8DBQFCqooKQbn06FtxPfARAtokAJ95BJrL4UDgDcyFa9zdwKKh4deCGQCdH0F7
GtSdQCVFfoEezRr8/xy+WFo=
=gmKT
-----END PGP SIGNATURE-----



Reply to: