Your message dated Sun, 14 Aug 2005 14:47:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322896: fixed in quelcom 0.4.0-9
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 Aug 2005 11:50:44 +0000
>From [EMAIL PROTECTED] Sat Aug 13 04:50:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from d001162.adsl.hansenet.de (localhost.localdomain) [80.171.1.162] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E3uXE-0005nL-00; Sat, 13 Aug 2005 04:50:44 -0700
Received: from aj by localhost.localdomain with local (Exim 4.52)
        id 1E3uXC-0006kq-2D; Sat, 13 Aug 2005 13:50:42 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: quelcom: FTBFS (amd64): cast from 'qwavsample::sample*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 13 Aug 2005 13:50:42 +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-Level: 
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

Package: quelcom
Version: 0.4.0-8
Severity: serious
Tags: patch

When building 'quelcom' on amd64/unstable,
I get the following error:

g++ -g -DNLS -Wall -fPIC -o qwavsample.o -c qwavsample.cc
qwavsample.cc: In constructor 'qwavsample::qwavsample(qwav*, u_int32_t)':
qwavsample.cc:29: error: cast from 'qwavsample::sample*' to 'int' loses 
precision
qwavsample.cc: In constructor 'qwavsample::qwavsample(char*, u_int32_t, 
u_int32_t)':
qwavsample.cc:66: error: cast from 'qwavsample::sample*' to 'int' loses 
precision
make[2]: *** [qwavsample.o] Error 1

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

Regards
Andreas Jochens

diff -urN 
../tmp-orig/quelcom-0.4.0/debian/patches/05_wavheaderdump-endian.patch 
./debian/patches/05_wavheaderdump-endian.patch
--- ../tmp-orig/quelcom-0.4.0/debian/patches/05_wavheaderdump-endian.patch      
2005-08-13 11:41:57.000000000 +0000
+++ ./debian/patches/05_wavheaderdump-endian.patch      2005-08-13 
11:41:25.000000000 +0000
@@ -24,7 +24,7 @@
          continue;
        }
  
-+        if ((int)f.getMap() % sizeof(u_int32_t) != 0) {
++        if ((long)f.getMap() % sizeof(u_int32_t) != 0) {
 +              // should never happen with a mapping at offset 0, but if it 
does,
 +              // we need to catch it rather than tossing subtle memory misread
 +              // bugs.  32-bit alignment is adequate since no integer in a 
WAV header
diff -urN ../tmp-orig/quelcom-0.4.0/debian/patches/06_wavsample-endian.patch 
./debian/patches/06_wavsample-endian.patch
--- ../tmp-orig/quelcom-0.4.0/debian/patches/06_wavsample-endian.patch  
2005-08-13 11:41:57.000000000 +0000
+++ ./debian/patches/06_wavsample-endian.patch  2005-08-13 11:41:55.000000000 
+0000
@@ -14,7 +14,7 @@
    sample = (union sample*) (wav->getMap()+wav->getOffset(s));
  
    if (wav->getBitsPerSample()==16) {
-+      if ((int)sample % sizeof(int16_t) != 0)
++      if ((long)sample % sizeof(int16_t) != 0)
 +        throw qexception(__PRETTY_FUNCTION__, _("misaligned 16-bit sample"));
 +
      if (wav->getChannels()==2) {
@@ -24,7 +24,7 @@
    sample = (union sample*) pointer;
    
    if (bitspersample==16) {
-+      if ((int)sample % sizeof(int16_t) != 0)
++      if ((long)sample % sizeof(int16_t) != 0)
 +        throw qexception(__PRETTY_FUNCTION__, _("misaligned 16-bit sample"));
      if (channels==2) {
        type = STEREO16;

---------------------------------------
Received: (at 322896-close) by bugs.debian.org; 14 Aug 2005 21:49:44 +0000
>From [EMAIL PROTECTED] Sun Aug 14 14:49:44 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E4QJv-0003FB-00; Sun, 14 Aug 2005 14:47:07 -0700
From: Devin Carraway <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#322896: fixed in quelcom 0.4.0-9
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 14 Aug 2005 14: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: quelcom
Source-Version: 0.4.0-9

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

quelcom_0.4.0-9.diff.gz
  to pool/main/q/quelcom/quelcom_0.4.0-9.diff.gz
quelcom_0.4.0-9.dsc
  to pool/main/q/quelcom/quelcom_0.4.0-9.dsc
quelcom_0.4.0-9_powerpc.deb
  to pool/main/q/quelcom/quelcom_0.4.0-9_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.
Devin Carraway <[EMAIL PROTECTED]> (supplier of updated quelcom 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, 14 Aug 2005 14:06:35 -0700
Source: quelcom
Binary: quelcom
Architecture: source powerpc
Version: 0.4.0-9
Distribution: unstable
Urgency: low
Maintainer: Devin Carraway <[EMAIL PROTECTED]>
Changed-By: Devin Carraway <[EMAIL PROTECTED]>
Description: 
 quelcom    - Command line editing tools for MP3 and WAV files
Closes: 322896
Changes: 
 quelcom (0.4.0-9) unstable; urgency=low
 .
   * Fix FTBFS on LP64 archs with gcc4, e.g. amd64 (Closes: #322896)
Files: 
 8ff9540f3fb1a376b796e6b2b6a8da3f 580 sound extra quelcom_0.4.0-9.dsc
 e02147c9f330fb03da29775eba5d850b 24957 sound extra quelcom_0.4.0-9.diff.gz
 b53a83462024ff9b21351e3736d07ef8 201574 sound extra quelcom_0.4.0-9_powerpc.deb

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

iD8DBQFC/7naU5XKDemr/NIRArgXAKD133IcbCDEnGx9st3AmL2QF/TZiwCgi7N9
FApjNtkdhlvQvjYX2E1O0ds=
=olCq
-----END PGP SIGNATURE-----


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

Reply via email to