Your message dated Mon, 18 Apr 2005 06:47:20 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#303723: fixed in sam2p 0.44-10-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; 8 Apr 2005 11:38:39 +0000
>From [EMAIL PROTECTED] Fri Apr 08 04:38:38 2005
Return-path: <[EMAIL PROTECTED]>
Received: from c203154.adsl.hansenet.de (localhost.localdomain) 
[213.39.203.154] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DJros-0003Li-00; Fri, 08 Apr 2005 04:38:38 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DJror-0002ZH-JG; Fri, 08 Apr 2005 13:38:37 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: sam2p: FTBFS (amd64/gcc-4.0): cast from 'const char*' to 'slendiff_t' 
loses precision
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 08 Apr 2005 13:38:37 +0200
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: sam2p
Version: 0.44-7-1
Severity: normal
Tags: patch

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

helpere.hpp: In constructor 'HelperE::HelperE(const char*, const char*)':
helpere.hpp:22: error: cast from 'const char*' to 'slendiff_t' loses precision
make[1]: *** [in_ps.o] Error 1
make[1]: Leaving directory `/sam2p-0.44-7'
make: *** [build-stamp] Error 2

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/sam2p-0.44-7/helpere.hpp ./helpere.hpp
--- ../tmp-orig/sam2p-0.44-7/helpere.hpp        2003-12-09 11:03:58.000000000 
+0100
+++ ./helpere.hpp       2005-04-08 13:35:33.086740281 +0200
@@ -19,7 +19,7 @@
 /** Ugly multiple inheritance. !! unify with PNG, TIFF etc. */
 class HelperE: public Filter::NullE, public Filter::PipeE {
  public:
-  inline HelperE(char const*filter_cmd, char const*mainfn=NULL): 
Filter::NullE(), Filter::PipeE(*(Filter::NullE*)this, filter_cmd, 
(slendiff_t)mainfn) {
+  inline HelperE(char const*filter_cmd, char const*mainfn=NULL): 
Filter::NullE(), Filter::PipeE(*(Filter::NullE*)this, filter_cmd, (long)mainfn) 
{
     /* ^^^ (slendiff_t) is unsafe cast */
     // GenBuffer::Writable &out_, char *pipe_tmpl, slendiff_t i=0)
   }

---------------------------------------
Received: (at 303723-close) by bugs.debian.org; 18 Apr 2005 10:54:17 +0000
>From [EMAIL PROTECTED] Mon Apr 18 03:54:17 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DNTtR-00072E-00; Mon, 18 Apr 2005 03:54:17 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DNTmi-00067n-00; Mon, 18 Apr 2005 06:47:20 -0400
From: Stefan Fritsch <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#303723: fixed in sam2p 0.44-10-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 18 Apr 2005 06:47:20 -0400
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=-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: sam2p
Source-Version: 0.44-10-1

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

sam2p_0.44-10-1.diff.gz
  to pool/main/s/sam2p/sam2p_0.44-10-1.diff.gz
sam2p_0.44-10-1.dsc
  to pool/main/s/sam2p/sam2p_0.44-10-1.dsc
sam2p_0.44-10-1_i386.deb
  to pool/main/s/sam2p/sam2p_0.44-10-1_i386.deb
sam2p_0.44-10.orig.tar.gz
  to pool/main/s/sam2p/sam2p_0.44-10.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.
Stefan Fritsch <[EMAIL PROTECTED]> (supplier of updated sam2p 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: Sun, 17 Apr 2005 14:48:42 +0200
Source: sam2p
Binary: sam2p
Architecture: source i386
Version: 0.44-10-1
Distribution: unstable
Urgency: low
Maintainer: Stefan Fritsch <[EMAIL PROTECTED]>
Changed-By: Stefan Fritsch <[EMAIL PROTECTED]>
Description: 
 sam2p      - convert raster images to EPS, PDF, and other formats
Closes: 303723
Changes: 
 sam2p (0.44-10-1) unstable; urgency=low
 .
   * New upstream release
     - fixes FTBFS with gcc-4.0 and problems on 64bit arches
       Closes: #303723
Files: 
 bb93866d07ec8ca3623d90dd777d2a05 563 graphics optional sam2p_0.44-10-1.dsc
 39da17039cca3b892170b54e74185a57 486517 graphics optional 
sam2p_0.44-10.orig.tar.gz
 d6dbf224b074ba8204673ec612a2a597 5894 graphics optional sam2p_0.44-10-1.diff.gz
 b35662bb30ed27e61838a8ff8c6d1795 189092 graphics optional 
sam2p_0.44-10-1_i386.deb

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

iD8DBQFCY4yGvJtHM4T7RtYRAlc+AJ0UMeXw4GsNVH6a65PF5vyygCJeewCgyV+r
gf3ZlRgVJVHlZwTFyDzlzQI=
=7FO8
-----END PGP SIGNATURE-----


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

Reply via email to