Package: csound
Version: 1:6.05~dfsg1-7
Tags: patch

csound fails to build on hppa, because hppa uses gcj as java compiler, and
in interfaces/CMakeLists.txt it's hardcoded:
  COMMAND ${JAVA_COMPILE} *.java -source 1.6 -target 1.6 -d .

gcj does not accept the -source and -target options.
Removing those fixes build on hppa.

Failing log is here:
https://buildd.debian.org/status/fetch.php?pkg=csound&arch=hppa&ver=1%3A6.05%7Edfsg1-7&stamp=1463527847

Attached patch fixes it for hppa, but is probably not useable for other 
architectures.
Is there any other possible work around for this problem ?

Thanks,
Helge
diff -up ./csound-6.05~dfsg1/interfaces/CMakeLists.txt.org ./csound-6.05~dfsg1/interfaces/CMakeLists.txt
--- ./csound-6.05~dfsg1/interfaces/CMakeLists.txt.org	2016-06-22 21:08:09.948429097 +0200
+++ ./csound-6.05~dfsg1/interfaces/CMakeLists.txt	2016-06-22 21:08:24.192336644 +0200
@@ -144,7 +144,7 @@ if(BUILD_PYTHON_INTERFACE OR BUILD_JAVA_
         ADD_CUSTOM_COMMAND(TARGET _jcsound6
             POST_BUILD
             COMMAND cmake -E make_directory ./csnd6
-            COMMAND ${JAVA_COMPILE} *.java -source 1.6 -target 1.6 -d .
+            COMMAND ${JAVA_COMPILE} *.java -d .
             COMMAND ${JAVA_ARCHIVE} cf ../csnd6.jar csnd6
             COMMENT "Building JAVA package csnd6.jar")
 
_______________________________________________
pkg-multimedia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to