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

Bug#287626: marked as done (lush: FTBFS (amd64/gcc-4.0): static declaration of 'ansidatenames' follows non-static declaration)

Your message dated Thu, 10 Feb 2005 13:17:20 -0500
with message-id <E1CzIsS-0006KB-00@newraff.debian.org>
and subject line Bug#287626: fixed in lush 1.0+final-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; 29 Dec 2004 08:27:09 +0000
>From aj@andaco.de Wed Dec 29 00:27:09 2004
Return-path: <aj@andaco.de>
Received: from d007021.adsl.hansenet.de (localhost.localdomain) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CjZAi-0000wM-00; Wed, 29 Dec 2004 00:27:08 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CjZFk-0002kW-ND; Wed, 29 Dec 2004 09:32:20 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: lush: FTBFS (amd64/gcc-4.0): static declaration of 'ansidatenames' follows non-static declaration
Message-Id: <E1CjZFk-0002kW-ND@localhost.localdomain>
Date: Wed, 29 Dec 2004 09:32:20 +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: lush
Severity: normal
Tags: patch

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

gcc   -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -I../include -pthread  -c date.c
date.c:66: error: static declaration of 'ansidatenames' follows non-static declaration
../include/header.h:791: error: previous declaration of 'ansidatenames' was here
date.c: In function 'date_serialize':
date.c:317: error: invalid storage class for function 'make_date'
make[2]: *** [date.o] Error 1
make[2]: Leaving directory `/lush-1.0+cvs.2004.05.16/src'

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

Andreas Jochens

diff -urN ../tmp-orig/lush-1.0+cvs.2004.05.16/include/header.h ./include/header.h
--- ../tmp-orig/lush-1.0+cvs.2004.05.16/include/header.h	2004-02-09 21:59:51.000000000 +0100
+++ ./include/header.h	2004-12-28 17:58:11.732853040 +0100
@@ -788,7 +788,6 @@
 #define DATE_MINUTE     4
 #define DATE_SECOND     5
-extern char *ansidatenames[];
 extern class date_class;
 TLAPI char *str_date( at *p, int *pfrom, int *pto );
diff -urN ../tmp-orig/lush-1.0+cvs.2004.05.16/src/date.c ./src/date.c
--- ../tmp-orig/lush-1.0+cvs.2004.05.16/src/date.c	2003-07-11 15:03:45.000000000 +0200
+++ ./src/date.c	2004-12-28 17:58:23.814016424 +0100
@@ -311,10 +311,11 @@
   return string_buffer;
+static at *make_date(struct date *d);
 static void
 date_serialize(at **pp, int code)
-  static at *make_date(struct date *d);
   void *p;
   if (code == SRZ_READ)
diff -urN ../tmp-orig/lush-1.0+cvs.2004.05.16/src/index.c ./src/index.c
--- ../tmp-orig/lush-1.0+cvs.2004.05.16/src/index.c	2004-04-16 01:45:34.000000000 +0200
+++ ./src/index.c	2004-12-28 18:08:24.241737536 +0100
@@ -142,6 +142,9 @@
+static at *index_set(struct index*,at**,at*,int);
+static at *index_ref(struct index*,at**);
 static at *
 index_listeval(at *p, at *q)
@@ -150,9 +153,6 @@
   register at *qsav;
   at *myp[MAXDIMS];
-  static at *index_set(struct index*,at**,at*,int);
-  static at *index_ref(struct index*,at**);
   ind = p->Object;
   if (ind->flags & IDF_UNSIZED)

Received: (at 287626-close) by bugs.debian.org; 10 Feb 2005 18:25:36 +0000
>From katie@ftp-master.debian.org Thu Feb 10 10:25:36 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 1CzJ0R-0003hb-00; Thu, 10 Feb 2005 10:25:35 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CzIsS-0006KB-00; Thu, 10 Feb 2005 13:17:20 -0500
From: Daniel Baumann <daniel.baumann@panthera-systems.net>
To: 287626-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#287626: fixed in lush 1.0+final-1
Message-Id: <E1CzIsS-0006KB-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 10 Feb 2005 13:17:20 -0500
Delivered-To: 287626-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: 2

Source: lush
Source-Version: 1.0+final-1

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

  to pool/main/l/lush/lush-library_1.0+final-1_all.deb
  to pool/main/l/lush/lush_1.0+final-1.diff.gz
  to pool/main/l/lush/lush_1.0+final-1.dsc
  to pool/main/l/lush/lush_1.0+final-1_i386.deb
  to pool/main/l/lush/lush_1.0+final.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 287626@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Daniel Baumann <daniel.baumann@panthera-systems.net> (supplier of updated lush 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: Wed,  2 Feb 2005 11:38:00 +0100
Source: lush
Binary: lush-library lush
Architecture: source i386 all
Version: 1.0+final-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Baumann <daniel.baumann@panthera-systems.net>
Changed-By: Daniel Baumann <daniel.baumann@panthera-systems.net>
 lush       - Lisp Universal Shell Executable
 lush-library - Lisp Universal Shell Library
Closes: 250414 287626
 lush (1.0+final-1) unstable; urgency=low
   * New maintainer (Closes: #250414).
   * New upstream release.
   * debian/* redone.
   * fixed lintian errors.
   * src/{date.c,index.c}: fixed FTBS on amd64/gcc-4.0 (Closes: #287626).
 482bac379177560afd1c844a979fd35d 628 devel extra lush_1.0+final-1.dsc
 62ea0245a0cd0413edaaa4344f87a466 4155938 devel extra lush_1.0+final.orig.tar.gz
 0aa488ee176947b9b62d818344483d9d 3844 devel extra lush_1.0+final-1.diff.gz
 05e37bd97b4d9d1aa1e4c1bbec6fb7cf 1339116 devel extra lush_1.0+final-1_i386.deb
 91c61cb5b5eefbd106b21bdb63701447 4463088 devel extra lush-library_1.0+final-1_all.deb

Version: GnuPG v1.2.5 (GNU/Linux)


Reply to: