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

Bug#285597: marked as done (cook: FTBFS (amd64/gcc-4.0): static declaration of 'limit' follows non-static declaration)

Your message dated Fri, 25 Feb 2005 04:17:28 -0500
with message-id <E1D4bbE-0005w9-00@newraff.debian.org>
and subject line Bug#285597: fixed in cook 2.25-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; 14 Dec 2004 10:35:49 +0000
>From aj@andaco.de Tue Dec 14 02:35:49 2004
Return-path: <aj@andaco.de>
Received: from gluck.debian.org [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CeA20-0000yQ-00; Tue, 14 Dec 2004 02:35:48 -0800
Received: from c158150.adsl.hansenet.de (localhost.localdomain) [] 
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CeA1z-00057d-00; Tue, 14 Dec 2004 03:35:48 -0700
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CeA6L-0007AD-Iz; Tue, 14 Dec 2004 11:40:17 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: cook: FTBFS (amd64/gcc-4.0): static declaration of 'limit' follows non-static declaration
Message-Id: <E1CeA6L-0007AD-Iz@localhost.localdomain>
Date: Tue, 14 Dec 2004 11:40:17 +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

Package: cook
Severity: normal
Tags: patch

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

gcc -Ifile_check -Icommon  -g -O2 -c \
file_check/file_check.c:31: error: static declaration of 'limit' follows non-static declaration
file_check/file_check.h:29: error: previous declaration of 'limit' was here
make[1]: *** [file_check/file_check.o] Error 1
make[1]: Leaving directory `/cook-2.23'
make: *** [build-stamp] Error 2

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

Andreas Jochens

diff -urN ../tmp-orig/cook-2.23/file_check/file_check.c ./file_check/file_check.c
--- ../tmp-orig/cook-2.23/file_check/file_check.c	2003-05-01 01:56:20.000000000 +0200
+++ ./file_check/file_check.c	2004-12-14 11:32:57.730866296 +0100
@@ -28,7 +28,7 @@
 #include <error_intl.h>
 int		warning;
-static int	limit;
+int		limit;
 static int	number_of_blank_lines;
 static int	number_of_errors;
 static int	line_number;

Received: (at 285597-close) by bugs.debian.org; 25 Feb 2005 09:25:27 +0000
>From katie@ftp-master.debian.org Fri Feb 25 01:25:27 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D4bix-0003Mp-00; Fri, 25 Feb 2005 01:25:27 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D4bbE-0005w9-00; Fri, 25 Feb 2005 04:17:28 -0500
From: Florian Weimer <fw@deneb.enyo.de>
To: 285597-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#285597: fixed in cook 2.25-1
Message-Id: <E1D4bbE-0005w9-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Fri, 25 Feb 2005 04:17:28 -0500
Delivered-To: 285597-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-CrossAssassin-Score: 3

Source: cook
Source-Version: 2.25-1

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

  to pool/main/c/cook/cook-doc_2.25-1_all.deb
  to pool/main/c/cook/cook-rsh_2.25-1_i386.deb
  to pool/main/c/cook/cook_2.25-1.diff.gz
  to pool/main/c/cook/cook_2.25-1.dsc
  to pool/main/c/cook/cook_2.25-1_i386.deb
  to pool/main/c/cook/cook_2.25.orig.tar.gz

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

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

Debian distribution maintenance software
Florian Weimer <fw@deneb.enyo.de> (supplier of updated cook 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)

Hash: SHA1

Format: 1.7
Date: Fri, 25 Feb 2005 09:51:10 +0100
Source: cook
Binary: cook cook-doc cook-rsh
Architecture: source i386 all
Version: 2.25-1
Distribution: unstable
Urgency: low
Maintainer: Florian Weimer <fw@deneb.enyo.de>
Changed-By: Florian Weimer <fw@deneb.enyo.de>
 cook       - Powerful make replacement
 cook-doc   - Documentation for cook
 cook-rsh   - Remote execution scripts for cook
Closes: 247826 279521 285597
 cook (2.25-1) unstable; urgency=low
   * Adopting the package (Closes: #279521).
   * New upstream release (Closes: #247826).
   * Apply patch from Andreas Jochens to fix a build problem with GCC 4.0
     (Closes: #285597).
   * Builds with current Bison versions.
 3f07816328f04b2f4512abfb0b6ad4cf 883 devel optional cook_2.25-1.dsc
 fd116da31c59c04abe41519fc131b504 876446 devel optional cook_2.25.orig.tar.gz
 7a60313f3d40b8cdb5076b483d4fcabd 3692 devel optional cook_2.25-1.diff.gz
 3d7cadc35ab8fdb7bc7b9640db93582c 641530 devel optional cook-doc_2.25-1_all.deb
 728c848e950a29d5c85f5e064d2a2f04 403572 devel optional cook_2.25-1_i386.deb
 72ad2126cece3c289473561ea25a4c69 11550 devel optional cook-rsh_2.25-1_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)


Reply to: