Your message dated Tue, 20 Sep 2005 16:02:06 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#285100: fixed in amsynth 1.0.0+1.0.1cvs-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; 10 Dec 2004 16:50:06 +0000
>From [EMAIL PROTECTED] Fri Dec 10 08:50:06 2004
Return-path: <[EMAIL PROTECTED]>
Received: from c158155.adsl.hansenet.de (localhost.localdomain) 
[213.39.158.155] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Ccny2-0008B2-00; Fri, 10 Dec 2004 08:50:06 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
        id 1Cco29-00023x-SJ; Fri, 10 Dec 2004 17:54:21 +0100
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: amsynth: FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses 
precision
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 10 Dec 2004 17:54:21 +0100
Delivered-To: [EMAIL PROTECTED]
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
X-Spam-Level: 

Package: amsynth
Severity: normal
Tags: patch

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

if x86_64-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. `gtkmm-config --cflags` 
`gtk-config --cflags`    -Wall -O3 -ffast-math -fno-exceptions 
-fomit-frame-pointer -Dwith_oss -Dwith_alsa -Dwith_jack -Dwith_sndfile -MT 
main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cc; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 
1; fi
main.cc: In function 'void* midi_thread(void*)':
main.cc:50: error: cast from 'void*' to 'int' loses precision
main.cc: In function 'void* gui_thread(void*)':
main.cc:71: error: cast from 'void*' to 'int' loses precision
main.cc: In function 'void* audio_thread(void*)':
main.cc:86: error: cast from 'void*' to 'int' loses precision
main.cc: In function 'int main(int, char**)':
main.cc:342: error: 'pthread_kill' was not declared in this scope
make[4]: *** [main.o] Error 1
make[4]: Leaving directory `/amsynth-1.0.0/src'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/amsynth-1.0.0/src/main.cc ./src/main.cc
--- ../tmp-orig/amsynth-1.0.0/src/main.cc       2004-01-19 20:13:27.000000000 
+0100
+++ ./src/main.cc       2004-12-10 17:29:38.410362424 +0100
@@ -7,6 +7,7 @@
 
 #include <gtk--/main.h>
 #include <pthread.h>
+#include <signal.h>
 #include <iostream>
 #include <fstream>
 #include <unistd.h>
@@ -47,7 +48,7 @@
 #ifdef _DEBUG
     cout << "midi_thread() starting" << endl;
 #endif
-    int foo = (int) arg;
+    long foo = (long) arg;
     foo = 0;
        // run midi thread with real-time priority
        /* if we don't do this, the audio thread can lock the system due to its 
@@ -68,7 +69,7 @@
 #ifdef _DEBUG
        cout << "gui_thread() starting" << endl;
 #endif
-       int foo = (int) arg;
+       long foo = (long) arg;
        foo = 0; // not useful - just gets rid of compiler warning
        //kit->run();
 #ifdef _DEBUG
@@ -83,7 +84,7 @@
 #ifdef _DEBUG
        cout << "audio_thread() starting" << endl;
 #endif
-       int foo = (int) arg;
+       long foo = (long) arg;
        foo = 0;
 
        // set realtime priority for this (the audio) thread.

---------------------------------------
Received: (at 285100-close) by bugs.debian.org; 20 Sep 2005 23:08:29 +0000
>From [EMAIL PROTECTED] Tue Sep 20 16:08:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1EHr7m-00082o-00; Tue, 20 Sep 2005 16:02:06 -0700
From: Free Ekanayaka <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#285100: fixed in amsynth 1.0.0+1.0.1cvs-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 20 Sep 2005 16:02:06 -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=-3.4 required=4.0 tests=ADDR_FREE,BAYES_00,
        HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: amsynth
Source-Version: 1.0.0+1.0.1cvs-1

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

amsynth_1.0.0+1.0.1cvs-1.diff.gz
  to pool/main/a/amsynth/amsynth_1.0.0+1.0.1cvs-1.diff.gz
amsynth_1.0.0+1.0.1cvs-1.dsc
  to pool/main/a/amsynth/amsynth_1.0.0+1.0.1cvs-1.dsc
amsynth_1.0.0+1.0.1cvs-1_powerpc.deb
  to pool/main/a/amsynth/amsynth_1.0.0+1.0.1cvs-1_powerpc.deb
amsynth_1.0.0+1.0.1cvs.orig.tar.gz
  to pool/main/a/amsynth/amsynth_1.0.0+1.0.1cvs.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.
Free Ekanayaka <[EMAIL PROTECTED]> (supplier of updated amsynth 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: Mon,  5 Sep 2005 11:11:29 +0200
Source: amsynth
Binary: amsynth
Architecture: source powerpc
Version: 1.0.0+1.0.1cvs-1
Distribution: unstable
Urgency: low
Maintainer: Free Ekanayaka <[EMAIL PROTECTED]>
Changed-By: Free Ekanayaka <[EMAIL PROTECTED]>
Description: 
 amsynth    - two oscillator software synthesizer
Closes: 274703 275137 285100 315698 317183
Changes: 
 amsynth (1.0.0+1.0.1cvs-1) unstable; urgency=low
 .
   * New upstream (CVS snapshot)
   * Fixed FTBFS (amd64/gcc-3.4): `pthread_kill' undeclared (closes: #274703),
     thanks to Andreas Jochens <[EMAIL PROTECTED]>
   * Fixed FTBFS (amd64/gcc-4.0): cast from 'void*' to 'int' loses
     precision (closes: #285100), thanks to Andreas Jochens <[EMAIL PROTECTED]>
   * Fixed libjack0.80.0-0 removed from unstable (closes: #317183)
   * Fixed amsynth can't find data directory (closes: #275137),
     thanks to David A. Riggs <[EMAIL PROTECTED]>
   * Fixed "New instance" calls bad binary (closes: #315698),
     thanks to Christophe Combelles <[EMAIL PROTECTED]>
   * Added Desktop file
Files: 
 1a6e9e1705a2c71abca285716a0decd9 667 sound optional 
amsynth_1.0.0+1.0.1cvs-1.dsc
 2941e289cefe8c0b04a8fe02b3a0a37a 626067 sound optional 
amsynth_1.0.0+1.0.1cvs.orig.tar.gz
 71378f238e3e9365ffc9dc4a2486d343 14726 sound optional 
amsynth_1.0.0+1.0.1cvs-1.diff.gz
 6ebd7118db6cb9916466b574c3bf963e 218076 sound optional 
amsynth_1.0.0+1.0.1cvs-1_powerpc.deb

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

iD8DBQFDMJKI2PLmgVuXpdIRAn+bAJ9D9I14Cp8vhdvE8Sf762WUXPgW1wCfX+AI
o9dNkzSuw5skzE9mlKXtbL4=
=5SmS
-----END PGP SIGNATURE-----


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

Reply via email to