In one of my builds (DatabaseConnector) I see this message:
checking Java support in R... present: interpreter : '/usr/bin/java' archiver : '/usr/bin/jar' compiler : '/usr/bin/javac' header prep.: '/usr/bin/javah' cpp flags : '-I/usr/lib/jvm/java-8-openjdk-amd64/jre/../include -I/usr/lib/jvm/java-8-openjdk-amd64/jre/../include/linux' java libs : '-L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm' checking whether Java run-time works... yes checking whether -Xrs is supported... yes checking whether -Xrs will be used... yes checking whether JVM will be loaded dynamically... no checking whether JNI programs can be compiled... yes checking whether JNI programs run... configure: error: Unable to run a simple JNI program. Make sure you have configured R with Java support (see R documentation) and check config.log for failure reason.
In other builds (that depend on DatabaseConnector) I see:
Error: package or namespace load failed for â€˜DatabaseConnectorâ€™: .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/home/travis/R/Library/rJava/libs/rJava.so': libjvm.so: cannot open shared object file: No such file or directory
This same exact point in the branch was building fine a few days ago. We have a lot of packages that depend on rJava, and all our now showing this issue.
Links to example logs: https://api.travis-ci.org/v3/job/695872950/log.txt, https://api.travis-ci.org/v3/job/720585773/log.txt