Source: gridengine Version: 8.1.9+dfsg-4 Severity: serious Tags: patch Control: block 903015 by -1
Hi,gridengine fails to build on armhf due to the VM-related changes in OpenJDK 8u144-b01-2, which mean that the lib/server directory no longer exists on that architecture.
I've build-tested the attached patch on abel.d.o (the armhf porterbox). Regards, Adam
--- a/source/aimk.orig 2018-07-09 14:23:01.642562774 +0000 +++ b/source/aimk 2018-07-09 14:25:39.495856441 +0000 @@ -2002,7 +2002,10 @@ set JAVA_LIB_ARCH = "" echo "WARNING: no JAVA_LIB_ARCH for architecture $buildarch" endsw - if ( "$JAVA_LIB_ARCH" != "") then + if ( "$buildarch" == "lx-armhf") then + # Debian/armhf doesn't ship a "server" VM + set JAVA_LFLAGS="-L$JAVA_HOME/jre/lib/$JAVA_LIB_ARCH/client" + else if ( "$JAVA_LIB_ARCH" != "") then set JAVA_LFLAGS="-L$JAVA_HOME/jre/lib/$JAVA_LIB_ARCH/server" else set JAVA_LFLAGS=""