Source: scilab Version: 5.5.0-3 Severity: important Tags: patch Dear Maintainer,
scilab FTBFS on ppc64el with the following error: | checking if jni.h can be included... yes | configure: error: Could not detect the location of the Java | shared library. You will need to update java.m4 | to add support for this JVM configuration. | Looking for JNI libs with ppc64le as machine hardware name | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64le/libjava.so | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/amd64/libjava.so | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/i386/client/libjvm.so | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/jre/bin/classic/libjvm.so | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/lib/jvm.lib | Looking for /usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/mipsel/libjava.so | make: *** [debian/stamp-autotools] Error 1 | /usr/share/cdbs/1/class/autotools.mk:42: recipe for target 'debian/stamp-autotools' failed A full build log is available here: https://buildd.debian.org/status/fetch.php?pkg=scilab&arch=ppc64el&ver=5.5.0-3&stamp=1410496986 As suggested by the error message, here is an update of m4/java.m4 to support ppc64el. I have also changed the machine for ppc64 big endian, which use the same directory as the little endian version. I guess it was wrongly set as a 32-bit powerpc machine can run a 64-bit kernel. Packages should be built using the linux32 wrapper on such machines. diff -Nru scilab-5.5.0/debian/patches/m4-java-ppc64el.patch scilab-5.5.0/debian/patches/m4-java-ppc64el.patch --- scilab-5.5.0/debian/patches/m4-java-ppc64el.patch 1970-01-01 00:00:00.000000000 +0000 +++ scilab-5.5.0/debian/patches/m4-java-ppc64el.patch 2014-09-16 18:47:50.000000000 +0000 @@ -0,0 +1,16 @@ +--- scilab-5.5.0.orig/m4/java.m4 ++++ scilab-5.5.0/m4/java.m4 +@@ -471,9 +471,12 @@ AC_DEFUN([AC_JAVA_JNI_LIBS], [ + # Sun + machine=sparc + ;; +- powerpc|ppc64) ++ powerpc) + machine=ppc + ;; ++ ppc64|ppc64le) ++ machine=ppc64 ++ ;; + armv*) + machine=arm + ;; diff -Nru scilab-5.5.0/debian/patches/series scilab-5.5.0/debian/patches/series --- scilab-5.5.0/debian/patches/series 2014-08-02 10:48:00.000000000 +0000 +++ scilab-5.5.0/debian/patches/series 2014-09-16 18:47:55.000000000 +0000 @@ -6,3 +6,4 @@ depend-scicos.diff missing-lib.diff m4-hdf5.patch +m4-java-ppc64el.patch Would it be possible to apply this patch in the next upload? Thanks in advance. Aurelien -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.14-2-powerpc64le (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers