Your message dated Thu, 11 Aug 2005 15:50:28 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#288586: fixed in sword 1.5.8-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; 4 Jan 2005 14:40:06 +0000
>From [EMAIL PROTECTED] Tue Jan 04 06:40:06 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c158101.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.101] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Clpqv-0003oG-00; Tue, 04 Jan 2005 06:40:05 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1ClpwU-0003oL-Oy; Tue, 04 Jan 2005 15:45:50 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: sword: FTBFS (amd64/gcc-4.0): cast from 'sword::SWMgr*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 04 Jan 2005 15:45:50 +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: sword
Severity: normal
Tags: patch

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

../bindings/flatapi.cpp:46: error: cast from 'sword::SWMgr*' to 'int' loses 
precision
../bindings/flatapi.cpp: In function 'int SWMgr_getConfig(int)':
../bindings/flatapi.cpp:59: error: cast from 'sword::SWConfig*' to 'int' loses 
precision
../bindings/flatapi.cpp: In function 'int SWMgr_getModulesIterator(int)':
../bindings/flatapi.cpp:71: error: cast from 'ModItType*' to 'int' loses 
precision
../bindings/flatapi.cpp: In function 'int SWMgr_getModuleByName(int, const 
char*)':
../bindings/flatapi.cpp:77: error: cast from 'sword::SWModule*' to 'int' loses 
precision
../bindings/flatapi.cpp: In function 'int SWMgr_getGlobalOptionsIterator(int)':
../bindings/flatapi.cpp:119: error: cast from 
'std::_List_iterator<sword::SWBuf>*' to 'int' loses precision
../bindings/flatapi.cpp: In function 'int 
SWMgr_getGlobalOptionValuesIterator(int, const char*)':
../bindings/flatapi.cpp:130: error: cast from 
'std::_List_iterator<sword::SWBuf>*' to 'int' loses precision
../bindings/flatapi.cpp: In function 'int ModList_iterator_val(int)':
../bindings/flatapi.cpp:268: error: cast from 'sword::SWModule*' to 'int' loses 
precision
make[3]: *** [flatapi.lo] Error 1
make[3]: Leaving directory `/sword-1.5.7/lib'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/sword-1.5.7/include/flatapi.h ./include/flatapi.h
--- ../tmp-orig/sword-1.5.7/include/flatapi.h   2002-10-18 03:57:47.000000000 
+0200
+++ ./include/flatapi.h 2005-01-04 15:02:32.358506056 +0100
@@ -11,7 +11,7 @@
 
 extern "C" {
 
-#define SWHANDLE int
+#define SWHANDLE long
 
 //using namespace sword;
 

---------------------------------------
Received: (at 288586-close) by bugs.debian.org; 11 Aug 2005 22:53:50 +0000
>From [EMAIL PROTECTED] Thu Aug 11 15:53:50 2005
Return-path: <[EMAIL PROTECTED]>
Received: from joerg by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E3Lsa-00026l-00; Thu, 11 Aug 2005 15:50:28 -0700
From: Daniel Glassey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#288586: fixed in sword 1.5.8-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Thu, 11 Aug 2005 15:50:28 -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: sword
Source-Version: 1.5.8-1

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

diatheke_1.5.8-1_i386.deb
  to pool/main/s/sword/diatheke_1.5.8-1_i386.deb
libsword-dev_1.5.8-1_i386.deb
  to pool/main/s/sword/libsword-dev_1.5.8-1_i386.deb
libsword5_1.5.8-1_i386.deb
  to pool/main/s/sword/libsword5_1.5.8-1_i386.deb
sword_1.5.8-1.diff.gz
  to pool/main/s/sword/sword_1.5.8-1.diff.gz
sword_1.5.8-1.dsc
  to pool/main/s/sword/sword_1.5.8-1.dsc
sword_1.5.8.orig.tar.gz
  to pool/main/s/sword/sword_1.5.8.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Glassey <[EMAIL PROTECTED]> (supplier of updated sword 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, 10 Aug 2005 15:44:34 +0100
Source: sword
Binary: libsword5 libsword-dev diatheke
Architecture: source i386
Version: 1.5.8-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Glassey <[EMAIL PROTECTED]>
Changed-By: Daniel Glassey <[EMAIL PROTECTED]>
Description: 
 diatheke   - CGI script for making bible website
 libsword-dev - Development files for libsword
 libsword5  - API/library for bible software
Closes: 288586
Changes: 
 sword (1.5.8-1) unstable; urgency=low
 .
   * New upstream release
      so new package libsword5, no need for libsword4c2 now
   * Thanks for the gcc4 fix, acknowledge NMU (Closes: #288586)
   * Change to using cdbs and quilt to manage patches
   * include imp2gbs and xml2gbs utilities
Files: 
 5865a3d6e2ad8f6dbc1b7764dd90cc86 738 libs optional sword_1.5.8-1.dsc
 b5a2b31eb86e0015adf1490b1f2bd118 1705942 libs optional sword_1.5.8.orig.tar.gz
 8823a968afd47b25cb82378295038368 7811 libs optional sword_1.5.8-1.diff.gz
 a24749e74a8851b40466c75215857f92 481784 libs optional 
libsword5_1.5.8-1_i386.deb
 934d75d26d64ed57f02808bf945138d6 1163746 libdevel optional 
libsword-dev_1.5.8-1_i386.deb
 5d2820ac48bf335ae509429ff35159cd 59178 web optional diatheke_1.5.8-1_i386.deb

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

iD8DBQFC+2eg/offrSwPzRoRAoV8AJwKAzYahXlv3ZvW3xXPRfM4rgtfAQCggrLU
9PXQdMVUqAAOxEHpkbOySUE=
=jJq2
-----END PGP SIGNATURE-----


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

Reply via email to