openjdk-jdk9 icon indicating copy to clipboard operation
openjdk-jdk9 copied to clipboard

Fix check on AIX to determine if a file system is local

Open sxa opened this issue 8 years ago • 2 comments

Assuming modifying generated-configure.sh is valid, this will fix the fact that AIX currently claims it's output directory is not on a local filesystem when it really is.

Alternative solution 1: Use /usr/sysv/bin/df (which doesn't work unless you specify the root of the mounted file system) Alternative solution 2: Implement a check for the validity of df -l and do the check on the basis of that instead of the OPENJDK_BUILD_OS_ENV variable.

Fixes https://github.com/AdoptOpenJDK/openjdk-build/issues/181 in this repo. When accepted I'll replicate in https://github.com/adoptopenjdk/openjdk-jdk8u and https://github.com/ibmruntimes/openj9-openjdk-jdk9

sxa avatar Oct 18 '17 13:10 sxa

Is it worth trying to fix upstream first? It seems to be a fix that any AIX user will use

gdams avatar Oct 18 '17 14:10 gdams

Yep that would be the best approach - https://bugs.openjdk.java.net/browse/JDK-8189619 raised to cover that

sxa avatar Oct 18 '17 14:10 sxa