Bug#474240: csound5 fails to build on powerpc

2008-04-04 Thread Rodney Lorrimar
Package: csound
Version: 1:5.08.0.dfsg2-1
Severity: serious
Tags: patch
Justification: no longer builds from source


Firstly, thankyou for packaging csound5. However, as can be seen from
buildd, it doesn't build on powerpc.

http://buildd.debian.org/fetch.cgi?pkg=csound;ver=1%3A5.08.0.dfsg2-1;arch=powerpc;stamp=1207248874

I'm not sure why this occurs, but it can be fixed with the following
patch.

diff -u csound-5.08.0.dfsg2.old/frontends/CsoundAC/Conversions.cpp 
csound-5.08.0.dfsg2/frontends/CsoundAC/Conversions.cpp
--- csound-5.08.0.dfsg2.old/frontends/CsoundAC/Conversions.cpp  2008-03-25 
23:37:03.0 +0100
+++ csound-5.08.0.dfsg2/frontends/CsoundAC/Conversions.cpp  2008-04-04 
14:32:12.0 +0200
@@ -21,6 +21,10 @@
  */
 #include Conversions.hpp
 #include sstream
+#include cstring
+#include cstdlib
+
+using namespace std;
 
 #if defined(WIN32)  !defined(MSVC)
 extern C
diff -u csound-5.08.0.dfsg2.old/frontends/CsoundAC/Midifile.cpp 
csound-5.08.0.dfsg2/frontends/CsoundAC/Midifile.cpp
--- csound-5.08.0.dfsg2.old/frontends/CsoundAC/Midifile.cpp 2008-03-25 
23:37:03.0 +0100
+++ csound-5.08.0.dfsg2/frontends/CsoundAC/Midifile.cpp 2008-04-04 
14:39:13.0 +0200
@@ -28,6 +28,10 @@
 #include iostream
 #include map
 #include vector
+#include cstring
+
+using namespace std;
+
 
 namespace csound
 {



Cheers,

Rodney


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-rc8
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages csound depends on:
ii  libc6   2.7-10   GNU C Library: Shared libraries
ii  libcsound64-5.1 1:5.08.0.dfsg2-1 main library for csound

Versions of packages csound recommends:
ii  csound-gui  1:5.08.0.dfsg2-1 GUI interfaces for csound
ii  csound-utils1:5.08.0.dfsg2-1 miscellaneous utilities for the cs

-- no debconf information



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



Processed: Re: Bug#474240: csound5 fails to build on powerpc

2008-04-04 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 package csound
Ignoring bugs not assigned to: csound

 tag 474240 pending
Bug#474240: csound5 fails to build on powerpc
Tags were: patch
Tags added: pending

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#474240: csound5 fails to build on powerpc

2008-04-04 Thread Felipe Sateler
package csound
tag 474240 pending
thanks

On Friday 04 April 2008 09:27:48 Rodney Lorrimar wrote:
 Package: csound
 Version: 1:5.08.0.dfsg2-1
 Severity: serious
 Tags: patch
 Justification: no longer builds from source


 Firstly, thankyou for packaging csound5. However, as can be seen from
 buildd, it doesn't build on powerpc.

 http://buildd.debian.org/fetch.cgi?pkg=csound;ver=1%3A5.08.0.dfsg2-1;arch=p
owerpc;stamp=1207248874

 I'm not sure why this occurs, but it can be fixed with the following
 patch.

Thanks for the patch. Indeed it's strange: it should fail on all archs, not 
just powerpc (it appears to fail on other archs too). Maybe the compiler in 
ppc is a different version? Anyways, I applied it, so should be fixed in next 
upload.




-- 
Felipe Sateler


signature.asc
Description: This is a digitally signed message part.