Your message dated Wed, 26 Oct 2005 19:47:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#295074: fixed in scm 5d9-5
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; 13 Feb 2005 13:30:02 +0000
>From [EMAIL PROTECTED] Sun Feb 13 05:30:02 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d027102.adsl.hansenet.de (localhost.localdomain) [80.171.27.102] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D0Jp3-000114-00; Sun, 13 Feb 2005 05:30:02 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1D0Jp1-0007UQ-Mb; Sun, 13 Feb 2005 14:29:59 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: scm: FTBFS (amd64/gcc-4.0): static declaration of 's_read' follows 
non-static declaration
Message-Id: <[EMAIL PROTECTED]>
Date: Sun, 13 Feb 2005 14:29:59 +0100
Delivered-To: [EMAIL PROTECTED]
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: scm
Severity: normal
Tags: patch

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

cc -c  repl.c -o repl.o
repl.c: In function 'wait_for_input':
repl.c:498: warning: cast to pointer from integer of different size
repl.c: At top level:
repl.c:852: error: static declaration of 's_read' follows non-static declaration
scm.h:687: error: previous declaration of 's_read' was here

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

The attached patch also changes the Build-Depends from 'libreadline4-dev'
to 'libreadline5-dev'.

Regards
Andreas Jochens

diff -urN ../tmp-orig/scm-5d9/repl.c ./repl.c
--- ../tmp-orig/scm-5d9/repl.c  2003-08-17 19:32:52.000000000 +0200
+++ ./repl.c    2005-02-13 14:17:31.058657128 +0100
@@ -849,7 +849,7 @@
 
 /* Top-level readers */
 static SCM p_read_numbered, p_read_for_load, p_read;
-static char s_read[] = "read";
+char s_read[] = "read";
 static char s_read_for_load[] = "read-for-load";
 static char s_read_numbered[] = "read-numbered";
 SCM scm_read(port)
diff -urN ../tmp-orig/scm-5d9/scmfig.h ./scmfig.h
--- ../tmp-orig/scm-5d9/scmfig.h        2003-09-22 01:42:46.000000000 +0200
+++ ./scmfig.h  2005-02-13 14:14:58.246164571 +0100
@@ -281,7 +281,7 @@
 #ifdef __alpha
 # define SHORT_INT
 #endif
-#ifdef __ia64
+#if defined __ia64 || defined __powerpc64__ || defined __x86_64__
 # define SHORT_INT
 # define CDR_DOUBLES
 #endif
diff -urN ../tmp-orig/scm-5d9/debian/rules ./debian/rules
--- ../tmp-orig/scm-5d9/debian/rules    2005-02-13 14:18:16.626857956 +0100
+++ ./debian/rules      2005-02-13 14:16:15.441258622 +0100
@@ -79,7 +79,7 @@
 
 clean:
        $(checkdir)
-       -rm -f scm.info* scm.html tmp1 tmp2 scmflags.h scmlit
+       -rm -f scm.info* scm.html tmp1 tmp2 scmlit
        -rm -f Xlibscm.info*
        -rm -f features.txi platform.txi
        -rm -f *.info
diff -urN ../tmp-orig/scm-5d9/debian/control ./debian/control
--- ../tmp-orig/scm-5d9/debian/control  2005-02-13 14:18:16.626857956 +0100
+++ ./debian/control    2005-02-13 14:15:12.381435143 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer:  James LewisMoss <[EMAIL PROTECTED]>
 Standards-Version: 3.1.1
-Build-Depends: slib (>> 3a1), libncurses5-dev, libreadline4-dev, texi2html, 
texinfo, xlibs-dev
+Build-Depends: slib (>> 3a1), libncurses5-dev, libreadline5-dev, texi2html, 
texinfo, xlibs-dev
 
 Package: scm
 Architecture: any


---------------------------------------
Received: (at 295074-close) by bugs.debian.org; 27 Oct 2005 02:47:38 +0000
>From [EMAIL PROTECTED] Wed Oct 26 19:47:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EUxnH-0006Py-00; Wed, 26 Oct 2005 19:47:07 -0700
From: [EMAIL PROTECTED] (Thomas Bushnell, BSG)
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#295074: fixed in scm 5d9-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 26 Oct 2005 19:47:07 -0700
Delivered-To: [EMAIL PROTECTED]
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-Level: 
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

Source: scm
Source-Version: 5d9-5

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

scm_5d9-5.diff.gz
  to pool/main/s/scm/scm_5d9-5.diff.gz
scm_5d9-5.dsc
  to pool/main/s/scm/scm_5d9-5.dsc
scm_5d9-5_powerpc.deb
  to pool/main/s/scm/scm_5d9-5_powerpc.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Bushnell, BSG <[EMAIL PROTECTED]> (supplier of updated scm 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 [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 26 Oct 2005 19:31:02 -0700
Source: scm
Binary: scm
Architecture: source powerpc
Version: 5d9-5
Distribution: unstable
Urgency: low
Maintainer: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Changed-By: Thomas Bushnell, BSG <[EMAIL PROTECTED]>
Description: 
 scm        - A Scheme language interpreter
Closes: 251765 295074 326297
Changes: 
 scm (5d9-5) unstable; urgency=low
 .
   * New maintainer.  Adopted with permission of previous maintainer.
 .
   * repl.c (s_read): Remove static qualifier on declaration.
   * scmfig.h: Use SHORT_INT and CDR_DOUBLES on __powerpc64__ and
     __x86_64__ just as with __ia64.
     (Closes: #295074, #251765)
 .
   * debian/control (Build-Depends): Use libreadline5-dev in place of
     libreadline4-dev. (Closes: #326297)
Files: 
 f11eb99f540bdeab4375e2c221b7da3d 602 interpreters optional scm_5d9-5.dsc
 5342d207967d2b9102404ae5c0d92420 45679 interpreters optional scm_5d9-5.diff.gz
 a0ab10325bfa7a12e2d74ec7532fcdc6 680134 interpreters optional 
scm_5d9-5_powerpc.deb

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

iD8DBQFDYD09qMsB9b6fcOoRAj43AKCoSlj2UM48G9e7r3uewK7sVPJtggCfVLFn
5aM/EgZcgTjheos5cP9+8FU=
=9G0K
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to